Skip to content

Commit 87d23a9

Browse files
committed
Update yarn references in docs and package.json
1 parent eca7d61 commit 87d23a9

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515

1616
### 1. Install plugin
1717

18-
```shell
19-
yarn add --dev eslint-plugin-ember
20-
```
21-
22-
Or
23-
2418
```shell
2519
npm install --save-dev eslint-plugin-ember
2620
```
@@ -354,10 +348,10 @@ If you have any suggestions, ideas, or problems, feel free to [create an issue](
354348
- `lib/rules/new-rule.js` (implementation, see [no-proxies](lib/rules/no-proxies.js) for an example)
355349
- `docs/rules/new-rule.md` (documentation, start from the template -- [raw](https://raw.githubusercontent.com/ember-cli/eslint-plugin-ember/master/docs/rules/_TEMPLATE_.md), [rendered](docs/rules/_TEMPLATE_.md))
356350
- `tests/lib/rules/new-rule.js` (tests, see [no-proxies](tests/lib/rules/no-proxies.js) for an example)
357-
- Run `yarn update` to automatically update the README and other files (and re-run this if you change the rule name or description)
351+
- Run `pnpm update` to automatically update the README and other files (and re-run this if you change the rule name or description)
358352
- Make sure your changes will pass [CI](./.github/workflows/ci.yml) by running:
359-
- `yarn test`
360-
- `yarn lint` (`yarn lint:js --fix` can fix many errors)
353+
- `pnpm test`
354+
- `pnpm lint` (`pnpm lint:js --fix` can fix many errors)
361355
- Create a PR and link the created issue in the description
362356

363357
Note that new rules should not immediately be added to the [recommended](./lib/recommended-rules.js) configuration, as we only consider such breaking changes during major version updates.

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
4. `export EDITOR="vim"` to choose an editor for editing the changelog
1010

11-
5. `yarn release` (uses [@release-it-plugins/lerna-changelog](https://github.com/release-it-plugins/lerna-changelog) to handle versioning, the changelog, publishing to GitHub and NPM, etc)
11+
5. `pnpm release` (uses [@release-it-plugins/lerna-changelog](https://github.com/release-it-plugins/lerna-changelog) to handle versioning, the changelog, publishing to GitHub and NPM, etc)

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"lint:package-json-sorting:fix": "sort-package-json package.json",
5252
"lint:remote": "eslint-remote-tester",
5353
"release": "release-it",
54-
"start": "yarn run test:watch",
54+
"start": "pnpm test:watch",
5555
"test": "jest",
5656
"test:coverage": "jest --coverage",
5757
"test:watch": "jest --watchAll",
@@ -133,10 +133,7 @@
133133
"engines": {
134134
"node": "18.* || 20.* || >= 21"
135135
},
136-
"volta": {
137-
"node": "21.5.0",
138-
"yarn": "1.22.21"
139-
},
136+
"packageManager": "[email protected]",
140137
"publishConfig": {
141138
"registry": "https://registry.npmjs.org"
142139
},

0 commit comments

Comments
 (0)