Skip to content

Commit bb4044a

Browse files
chore(deps-dev): ESM + bump the all group with 3 updates (#451)
Updates `@nihalgonsalves/esconfig` from 0.7.1 to 0.8.1 - [Release notes](https://github.com/nihalgonsalves/esconfig/releases) - [Changelog](https://github.com/nihalgonsalves/esconfig/blob/main/CHANGELOG.md) - [Commits](nihalgonsalves/esconfig@v0.7.1...esconfig-v0.8.1) Updates `lefthook` from 1.5.5 to 1.6.0 - [Release notes](https://github.com/evilmartians/lefthook/releases) - [Changelog](https://github.com/evilmartians/lefthook/blob/master/CHANGELOG.md) - [Commits](evilmartians/lefthook@v1.5.5...v1.6.0) Updates `prettier` from 3.1.1 to 3.2.4 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.1.1...3.2.4) * style: prettier * fix: use ESM --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nihal Gonsalves <nihal@nihalgonsalves.com>
1 parent ae53560 commit bb4044a

File tree

8 files changed

+121
-122
lines changed

8 files changed

+121
-122
lines changed

.devcontainer/devcontainer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "Node.js",
33
"build": {
4-
"dockerfile": "Dockerfile"
4+
"dockerfile": "Dockerfile",
55
},
66
"customizations": {
77
"vscode": {
8-
"extensions": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
9-
}
8+
"extensions": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"],
9+
},
1010
},
1111
"mounts": [
1212
{
1313
"source": "/var/run/docker.sock",
1414
"target": "/var/run/docker.sock",
15-
"type": "bind"
16-
}
15+
"type": "bind",
16+
},
1717
],
1818
"onCreateCommand": "yarn install",
1919
"postCreateCommand": "sudo chown root:docker /var/run/docker.sock",
20-
"remoteUser": "node"
20+
"remoteUser": "node",
2121
}

.github/dependabot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
version: 2
22
updates:
33
- package-ecosystem: npm
4-
directory: '/'
4+
directory: "/"
55
schedule:
66
interval: weekly
77
versioning-strategy: increase
88
groups:
99
all:
1010
patterns:
11-
- '*'
11+
- "*"
1212
ignore:
13-
- dependency-name: '@types/node'
13+
- dependency-name: "@types/node"
1414
update-types:
15-
- 'version-update:semver-major'
15+
- "version-update:semver-major"
1616
- package-ecosystem: github-actions
17-
directory: '/'
17+
directory: "/"
1818
schedule:
1919
interval: weekly

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"editor.formatOnSave": true,
33
"editor.defaultFormatter": "esbenp.prettier-vscode",
44
"editor.codeActionsOnSave": {
5-
"source.fixAll.eslint": true
5+
"source.fixAll.eslint": "explicit"
66
}
77
}

lefthook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ pre-commit:
55
- rebase
66
commands:
77
eslint_prettier:
8-
glob: '*.{js,ts,jsx,tsx,cjs,cts,mjs,mts}'
8+
glob: "*.{js,ts,jsx,tsx,cjs,cts,mjs,mts}"
99
run: node_modules/.bin/eslint --fix {staged_files} && node_modules/.bin/prettier --write {staged_files}
1010
stage_fixed: true
1111

1212
prettier:
13-
glob: '*.{html,json,yaml,yml}'
13+
glob: "*.{html,json,yaml,yml}"
1414
run: node_modules/.bin/prettier --write {staged_files}
1515
stage_fixed: true

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "node-typescript-eslint-template",
33
"description": "",
44
"version": "0.0.1",
5-
"main": "build/index.js",
5+
"type": "module",
66
"author": "",
77
"license": "",
88
"packageManager": "yarn@4.0.2+sha256.825003a0f561ad09a3b1ac4a3b3ea6207af2796d54f62a9420520915721f5186",
@@ -16,11 +16,11 @@
1616
"format:check": "prettier . --check"
1717
},
1818
"devDependencies": {
19-
"@nihalgonsalves/esconfig": "^0.7.1",
19+
"@nihalgonsalves/esconfig": "^0.8.1",
2020
"@types/node": "20",
2121
"eslint": "^8.56.0",
22-
"lefthook": "^1.5.5",
23-
"prettier": "^3.1.1",
22+
"lefthook": "^1.6.0",
23+
"prettier": "^3.2.4",
2424
"ts-node-dev": "^2.0.0",
2525
"typescript": "^5.3.3"
2626
}

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// eslint-disable-next-line no-console
2-
console.log('🚀');
2+
console.log("🚀");

tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"extends": "@nihalgonsalves/esconfig",
33
"compilerOptions": {
4-
"module": "commonjs",
54
"outDir": "./build",
6-
"rootDir": "./src"
7-
}
5+
"rootDir": "./src",
6+
},
87
}

0 commit comments

Comments
 (0)