Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.

Commit 85fd6d2

Browse files
authored
chore: migrate the repo from npm to yarn workspaces (#673)
1 parent 43eb494 commit 85fd6d2

File tree

30 files changed

+11320
-22451
lines changed

30 files changed

+11320
-22451
lines changed

.github/workflows/nodejs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Node CI
22

33
on: [push, pull_request]
4-
4+
55
jobs:
66
build:
77

@@ -20,18 +20,18 @@ jobs:
2020
uses: actions/setup-node@v1
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
- name: npm ci
23+
- name: yarn install
2424
run: |
25-
npm ci
25+
yarn install --frozen-lockfile
2626
env:
2727
CI: true
28-
- name: npm build
28+
- name: yarn build
2929
run: |
30-
npm run build
30+
yarn build
3131
env:
3232
CI: true
33-
- name: npm test
33+
- name: yarn test
3434
run: |
35-
npm t
35+
yarn test
3636
env:
3737
CI: true

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ functional-tests/
1212
test262
1313
temp
1414
dist-es6
15-
polyfill-locales.js
15+
polyfill-locales.js

.vscode/settings.json

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
11
{
2-
"files.watcherExclude": {
3-
"**/.git/objects/**": true,
4-
"**/.git/subtree-cache/**": true,
5-
"**/node_modules/*/**": true,
6-
"test262/**": true,
7-
"**/test_artifacts/**": true,
8-
"**/*.map": true,
9-
"**/*.d.ts.map": true,
2+
"files.exclude": {
3+
"**/.git": true,
4+
"**/.svn": true,
5+
"**/.hg": true,
6+
"**/CVS": true,
7+
"**/.DS_Store": true,
8+
".yarn": true
9+
},
10+
"files.watcherExclude": {
11+
"**/.git/objects/**": true,
12+
"**/.git/subtree-cache/**": true,
13+
"**/node_modules/*/**": true,
14+
"test262/**": true,
15+
"**/test_artifacts/**": true,
16+
"**/*.map": true,
17+
"**/*.d.ts.map": true
18+
},
19+
"json.schemas": [
20+
{
21+
"fileMatch": ["/lerna.json"],
22+
"url": "http://json.schemastore.org/lerna"
1023
}
24+
],
25+
"typescript.tsdk": "node_modules/typescript/lib"
1126
}

lerna.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@
88
},
99
"run": {
1010
"stream": true
11-
},
12-
"bootstrap": {
13-
"hoist": true,
14-
"includeDependencies": true,
15-
"ci": false
1611
}
17-
}
12+
},
13+
"npmClient": "yarn",
14+
"useWorkspaces": true
1815
}

0 commit comments

Comments
 (0)