Skip to content

Commit 2f06065

Browse files
authored
Merge pull request #202 from smile-io/vlad/act-103-migrate-to-pnpm
Migrate to pnpm
2 parents 722600d + 9443f1e commit 2f06065

File tree

7 files changed

+15065
-16239
lines changed

7 files changed

+15065
-16239
lines changed

.travis.yml

-65
This file was deleted.

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
* `git clone <repository-url>`
66
* `cd ember-cli-stripe`
7-
* `yarn install`
7+
* `pnpm install`
88

99
## Linting
1010

11-
* `yarn lint:hbs`
12-
* `yarn lint:js`
13-
* `yarn lint:js --fix`
11+
* `pnpm lint:hbs`
12+
* `pnpm lint:js`
13+
* `pnpm lint:js --fix`
1414

1515
## Running tests
1616

config/ember-try.js

+43-43
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,89 @@
1-
'use strict';
1+
"use strict";
22

3-
const getChannelURL = require('ember-source-channel-url');
3+
const getChannelURL = require("ember-source-channel-url");
44

5-
module.exports = async function() {
5+
module.exports = async function () {
66
return {
7-
useYarn: true,
7+
usePnpm: true,
88
scenarios: [
99
{
10-
name: 'ember-lts-3.12',
10+
name: "ember-lts-3.12",
1111
npm: {
1212
devDependencies: {
13-
'ember-source': '~3.12.0'
14-
}
15-
}
13+
"ember-source": "~3.12.0",
14+
},
15+
},
1616
},
1717
{
18-
name: 'ember-lts-3.16',
18+
name: "ember-lts-3.16",
1919
npm: {
2020
devDependencies: {
21-
'ember-source': '~3.16.0'
22-
}
23-
}
21+
"ember-source": "~3.16.0",
22+
},
23+
},
2424
},
2525
{
26-
name: 'ember-release',
26+
name: "ember-release",
2727
npm: {
2828
devDependencies: {
29-
'ember-source': await getChannelURL('release')
30-
}
31-
}
29+
"ember-source": await getChannelURL("release"),
30+
},
31+
},
3232
},
3333
{
34-
name: 'ember-beta',
34+
name: "ember-beta",
3535
npm: {
3636
devDependencies: {
37-
'ember-source': await getChannelURL('beta')
38-
}
39-
}
37+
"ember-source": await getChannelURL("beta"),
38+
},
39+
},
4040
},
4141
{
42-
name: 'ember-canary',
42+
name: "ember-canary",
4343
npm: {
4444
devDependencies: {
45-
'ember-source': await getChannelURL('canary')
46-
}
47-
}
45+
"ember-source": await getChannelURL("canary"),
46+
},
47+
},
4848
},
4949
// The default `.travis.yml` runs this scenario via `npm test`,
5050
// not via `ember try`. It's still included here so that running
5151
// `ember try:each` manually or from a customized CI config will run it
5252
// along with all the other scenarios.
5353
{
54-
name: 'ember-default',
54+
name: "ember-default",
5555
npm: {
56-
devDependencies: {}
57-
}
56+
devDependencies: {},
57+
},
5858
},
5959
{
60-
name: 'ember-default-with-jquery',
60+
name: "ember-default-with-jquery",
6161
env: {
6262
EMBER_OPTIONAL_FEATURES: JSON.stringify({
63-
'jquery-integration': true
64-
})
63+
"jquery-integration": true,
64+
}),
6565
},
6666
npm: {
6767
devDependencies: {
68-
'@ember/jquery': '^0.5.1'
69-
}
70-
}
68+
"@ember/jquery": "^0.5.1",
69+
},
70+
},
7171
},
7272
{
73-
name: 'ember-classic',
73+
name: "ember-classic",
7474
env: {
7575
EMBER_OPTIONAL_FEATURES: JSON.stringify({
76-
'application-template-wrapper': true,
77-
'default-async-observers': false,
78-
'template-only-glimmer-components': false
79-
})
76+
"application-template-wrapper": true,
77+
"default-async-observers": false,
78+
"template-only-glimmer-components": false,
79+
}),
8080
},
8181
npm: {
8282
ember: {
83-
edition: 'classic'
84-
}
85-
}
86-
}
87-
]
83+
edition: "classic",
84+
},
85+
},
86+
},
87+
],
8888
};
8989
};

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,15 @@
7070
"engines": {
7171
"node": "10.* || >= 12"
7272
},
73+
"packageManager": "[email protected]",
7374
"ember": {
7475
"edition": "octane"
7576
},
7677
"ember-addon": {
7778
"configPath": "tests/dummy/config"
7879
},
7980
"volta": {
80-
"node": "16.14.0",
81-
"yarn": "1.22.10"
81+
"node": "18.12.0",
82+
"pnpm": "9.15.4"
8283
}
8384
}

0 commit comments

Comments
 (0)