Skip to content

Commit 17fa2be

Browse files
authored
Merge pull request #1268 from BlueCutOfficial/move-to-pnpm
Use pnpm package manager instead of yarn
2 parents 0a7b0c1 + 717fbee commit 17fa2be

File tree

7 files changed

+19318
-15994
lines changed

7 files changed

+19318
-15994
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,16 @@ jobs:
2121
- uses: actions/checkout@v3
2222
- name: Install Node
2323
uses: volta-cli/action@v4
24+
- name: Install pnpm
25+
uses: pnpm/[email protected]
26+
with:
27+
version: 10
2428
- name: Install Dependencies
25-
run: yarn install --frozen-lockfile
29+
run: pnpm install --frozen-lockfile
2630
- name: Lint
27-
run: yarn lint
31+
run: pnpm lint
2832
- name: Run Tests
29-
run: yarn test:ember
33+
run: pnpm test:ember
3034

3135
floating:
3236
name: "Floating Dependencies"
@@ -37,10 +41,14 @@ jobs:
3741
- uses: actions/checkout@v3
3842
- name: Install Node
3943
uses: volta-cli/action@v4
44+
- name: Install pnpm
45+
uses: pnpm/[email protected]
46+
with:
47+
version: 10
4048
- name: Install Dependencies
41-
run: yarn install --no-lockfile
49+
run: pnpm install --no-lockfile
4250
- name: Run Tests
43-
run: yarn test:ember
51+
run: pnpm test:ember
4452

4553
try-scenarios:
4654
name: ${{ matrix.try-scenario }}
@@ -72,7 +80,11 @@ jobs:
7280
- uses: actions/checkout@v3
7381
- name: Install Node
7482
uses: volta-cli/action@v4
83+
- name: Install pnpm
84+
uses: pnpm/[email protected]
85+
with:
86+
version: 10
7587
- name: Install Dependencies
76-
run: yarn install --frozen-lockfile
88+
run: pnpm install --frozen-lockfile
7789
- name: Run Tests
7890
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44

55
* `git clone https://github.com/elwayman02/ember-scroll-modifiers`
66
* `cd ember-scroll-modifiers`
7-
* `yarn install`
7+
* `pnpm install`
88

99
## Linting
1010

11-
- `yarn lint`
12-
- `yarn lint:fix`
11+
- `pnpm lint`
12+
- `pnpm lint:fix`
1313

1414
## Running tests
1515

16-
- `yarn test` – Runs the test suite on the current Ember version
17-
- `yarn test:ember --server` – Runs the test suite in "watch mode"
18-
- `yarn test:ember-compatibility` – Runs the test suite against multiple Ember versions
16+
- `pnpm test` – Runs the test suite on the current Ember version
17+
- `pnpm test:ember --server` – Runs the test suite in "watch mode"
18+
- `pnpm test:ember-compatibility` – Runs the test suite against multiple Ember versions
1919

2020
## Running the dummy application
2121

22-
- `yarn start`
22+
- `pnpm start`
2323
- Visit the dummy application at [http://localhost:4200](http://localhost:4200).
2424

2525
For more information on using ember-cli, visit [https://cli.emberjs.com/release/](https://cli.emberjs.com/release/).

RELEASE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Once the prep work is completed, the actual release is straight forward:
3737
# using https://volta.sh
3838
volta install release-it
3939
40-
# using Yarn
41-
yarn global add release-it
40+
# using pnpm
41+
pnpm add -g release-it
4242
4343
# using npm
4444
npm install --global release-it
@@ -52,8 +52,8 @@ npm install --global release-it
5252
* Third, ensure that you have installed your projects dependencies:
5353

5454
```
55-
# using yarn
56-
yarn install
55+
# using pnpm
56+
pnpm install
5757
5858
# using npm
5959
npm install

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
},
1818
"scripts": {
1919
"build": "ember build --environment=production",
20-
"lint": "concurrently \"yarn:lint:*(!fix|hbs)\" --names \"lint:\"",
20+
"lint": "concurrently \"pnpm:lint:*(!fix|hbs)\" --names \"lint:\"",
2121
"lint:css": "stylelint \"**/*.css\"",
22-
"lint:css:fix": "concurrently \"yarn:lint:css -- --fix\"",
23-
"lint:fix": "concurrently \"yarn:lint:*:fix\" --names \"fix:\"",
22+
"lint:css:fix": "concurrently \"pnpm:lint:css -- --fix\"",
23+
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\"",
2424
"lint:hbs": "ember-template-lint .",
2525
"lint:hbs:fix": "ember-template-lint . --fix",
2626
"lint:js": "eslint . --cache",
2727
"lint:js:fix": "eslint . --fix",
2828
"start": "ember serve",
29-
"test": "concurrently \"yarn:lint\" \"yarn:test:*\" --names \"lint,test:\"",
29+
"test": "concurrently \"pnpm:lint\" \"pnpm:test:*\" --names \"lint,test:\"",
3030
"test:ember": "ember test",
3131
"test:ember-compatibility": "ember try:each"
3232
},
@@ -107,7 +107,7 @@
107107
},
108108
"volta": {
109109
"node": "18.20.4",
110-
"yarn": "1.22.22"
110+
"pnpm": "10.19.0"
111111
},
112112
"ember": {
113113
"edition": "octane"

0 commit comments

Comments
 (0)