-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use pnpm & renovate, update lint packages (#319)
* chore: use pnpm * update test infra * add packageManager field * bump lint deps, use prettier standalone * update prettier-ification * fixup lint * fix install in test * fix lint
- Loading branch information
Showing
149 changed files
with
19,252 additions
and
15,399 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
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 was deleted.
Oops, something went wrong.
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,23 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["config:base"], | ||
"labels": [":dependabot:", ":label: dependencies"], | ||
"packageRules": [ | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"groupName": "github-actions" | ||
} | ||
], | ||
"npm": { | ||
"stabilityDays": 3 | ||
}, | ||
"rangeStrategy": "bump", | ||
"prHourlyLimit": 10, | ||
"vulnerabilityAlerts": { | ||
"labels": [":label: security"], | ||
"automerge": false, | ||
"assignees": ["@runspired"], | ||
"enabled": true | ||
}, | ||
"ignorePaths": ["node_modules/**", "**/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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
/coverage/ | ||
!.* | ||
.eslintcache | ||
pnpm-lock.yaml | ||
/DEBUG | ||
/packages/*/DEBUG | ||
/.github/ | ||
|
This file was deleted.
Oops, something went wrong.
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,36 @@ | ||
module.exports = { | ||
trailingComma: 'es5', | ||
printWidth: 120, | ||
plugins: ['prettier-plugin-ember-template-tag'], | ||
overrides: [ | ||
{ | ||
files: '*.{js,ts,cjs,cts,mjs,mts}', | ||
options: { | ||
singleQuote: true, | ||
}, | ||
}, | ||
{ | ||
files: '*.scss', | ||
options: { | ||
parser: 'scss', | ||
trailingComma: 'none', | ||
singleQuote: false, | ||
}, | ||
}, | ||
{ | ||
files: ['*.hbs'], | ||
options: { | ||
singleQuote: false, | ||
}, | ||
}, | ||
{ | ||
files: ['*.gjs', '*.gts'], | ||
options: { | ||
parser: 'ember-template-tag', | ||
singleQuote: true, | ||
templateSingleQuote: false, | ||
trailingComma: 'es5', | ||
}, | ||
}, | ||
], | ||
}; |
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 |
---|---|---|
|
@@ -10,6 +10,6 @@ | |
"packages/*/dist", | ||
"packages/*/tmp", | ||
"packages/*/vendor", | ||
".git", | ||
".git" | ||
] | ||
} |
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,16 +1,11 @@ | ||
{ | ||
"npmClient": "yarn", | ||
"useWorkspaces": true, | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"version": "3.0.0-alpha.0", | ||
"command": { | ||
"version": { | ||
"allowBranch": [ | ||
"main", | ||
"release" | ||
] | ||
} | ||
"npmClient": "pnpm", | ||
"useWorkspaces": true, | ||
"packages": ["packages/*"], | ||
"version": "3.0.0-alpha.0", | ||
"command": { | ||
"version": { | ||
"allowBranch": ["main", "release"] | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -24,31 +24,38 @@ | |
} | ||
], | ||
"scripts": { | ||
"lint": "pnpm run lint:prettier && pnpm run lint:js", | ||
"lint:js": "eslint --cache --ext=js,ts .", | ||
"lint:prettier": "prettier --check --cache --cache-location=.prettier-cache --log-level=warn .", | ||
"lint:prettier:fix": "prettier --write --cache --cache-location=.prettier-cache --log-level=warn .", | ||
"test:development": "lerna run --stream --parallel --no-private test:development" | ||
}, | ||
"packageManager": "[email protected]", | ||
"volta": { | ||
"node": "14.17.0", | ||
"yarn": "1.22.4" | ||
"node": "23.1.0", | ||
"pnpm": "9.12.3" | ||
}, | ||
"engines": { | ||
"node": "12.* || 14.* || >= 16" | ||
"node": "18.* || 20.* || >= 22", | ||
"npm": "use pnpm", | ||
"yarn": "use pnpm" | ||
}, | ||
"devDependencies": { | ||
"@babel/eslint-parser": "^7.17.0", | ||
"@babel/plugin-proposal-decorators": "^7.17.2", | ||
"eslint": "^8.10.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-ember": "^10.5.9", | ||
"eslint-plugin-import": "^2.25.4", | ||
"@babel/eslint-parser": "^7.25.9", | ||
"@babel/plugin-proposal-decorators": "^7.25.9", | ||
"eslint": "^8.57.1", | ||
"prettier-plugin-ember-template-tag": "2.0.2", | ||
"ember-template-tag": "2.3.16", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-ember": "^12.3.1", | ||
"eslint-plugin-import": "^2.31.0", | ||
"eslint-plugin-no-useless-assign": "^1.0.3", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-qunit": "^7.2.0", | ||
"eslint-plugin-simple-import-sort": "^7.0.0", | ||
"eslint-plugin-unicorn": "^39.0.0", | ||
"eslint-plugin-unused-imports": "^2.0.0", | ||
"eslint-plugin-n": "^17.12.0", | ||
"eslint-plugin-qunit": "^8.1.2", | ||
"eslint-plugin-simple-import-sort": "^12.1.1", | ||
"eslint-plugin-unicorn": "56.0.0", | ||
"eslint-plugin-unused-imports": "^4.1.4", | ||
"lerna": "^4.0.0", | ||
"prettier": "^2.5.1" | ||
"prettier": "^3.3.3" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
/ember-cli-build.js | ||
/testem.js | ||
/tests/ | ||
/yarn.lock | ||
/pnpm-lock.yaml | ||
.gitkeep | ||
|
||
# ember-try | ||
|
Oops, something went wrong.