-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use corepack and yarn v4 (#441)
- Loading branch information
1 parent
32325f1
commit d8d2b6d
Showing
10 changed files
with
3,755 additions
and
2,215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-20 | ||
FROM mcr.microsoft.com/devcontainers/javascript-node:20 | ||
|
||
RUN corepack enable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ updates: | |
- package-ecosystem: github-actions | ||
directory: '/' | ||
schedule: | ||
interval: monthly | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
pre-commit: | ||
parallel: true | ||
skip: | ||
- merge | ||
- rebase | ||
commands: | ||
eslint_prettier: | ||
glob: '*.{js,ts,jsx,tsx,cjs,cts,mjs,mts}' | ||
run: node_modules/.bin/eslint --fix {staged_files} && node_modules/.bin/prettier --write {staged_files} | ||
stage_fixed: true | ||
|
||
prettier: | ||
glob: '*.{html,json,yaml,yml}' | ||
run: node_modules/.bin/prettier --write {staged_files} | ||
stage_fixed: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
"main": "build/index.js", | ||
"author": "", | ||
"license": "", | ||
"packageManager": "[email protected]+sha256.825003a0f561ad09a3b1ac4a3b3ea6207af2796d54f62a9420520915721f5186", | ||
"scripts": { | ||
"dev": "ts-node-dev src/index.ts", | ||
"start": "NODE_ENV=production node build/index.js", | ||
|
@@ -18,6 +19,7 @@ | |
"@nihalgonsalves/esconfig": "^0.6.9", | ||
"@types/node": "20", | ||
"eslint": "^8.54.0", | ||
"lefthook": "^1.5.4", | ||
"prettier": "^3.1.0", | ||
"ts-node-dev": "^2.0.0", | ||
"typescript": "^5.2.2" | ||
|
Oops, something went wrong.