Skip to content

Commit 84ebec3

Browse files
committed
Switch from yarn to npm
1 parent a4b088e commit 84ebec3

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

.azure-pipelines/publish-nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ extends:
5757
- script: npm ci
5858
displayName: Install NPM dependencies
5959

60-
- script: yarn ts-node ./scripts/ci/monaco-editor-core-prepare nightly
60+
- script: npm run ts-node ./scripts/ci/monaco-editor-core-prepare nightly
6161
env:
6262
VSCODE_REF: ${{ parameters.vscodeRef }}
6363
PRERELEASE_VERSION: ${{ parameters.prereleaseVersion }}
@@ -78,7 +78,7 @@ extends:
7878
- script: npm ci
7979
displayName: Install NPM dependencies
8080

81-
- script: yarn ts-node ./scripts/ci/monaco-editor-prepare nightly
81+
- script: npm run ts-node ./scripts/ci/monaco-editor-prepare nightly
8282
env:
8383
VSCODE_REF: ${{ parameters.vscodeRef }}
8484
PRERELEASE_VERSION: ${{ parameters.prereleaseVersion }}

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ jobs:
6565

6666
- name: Install website node modules
6767
working-directory: website
68-
run: yarn install --frozen-lockfile
68+
run: npm ci
6969

7070
- name: Build website
7171
working-directory: website
72-
run: yarn run build
72+
run: npm run build
7373

7474
- name: Test website
7575
working-directory: website
76-
run: yarn test
76+
run: npm run test

.github/workflows/website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@v3
2929
- uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # pin@v2
3030
with:
31-
node-version: 16
31+
node-version: 20
3232
- name: Cache node modules
3333
id: cacheNodeModules
3434
uses: actions/cache@v2

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This can be done directly from the VS Code repository and does not involve the m
3535

3636
- Clone the [VS Code repository](https://github.com/microsoft/vscode): `git clone https://github.com/microsoft/vscode`
3737
- Open the repository in VS Code: `code vscode`
38-
- Run `yarn install`
38+
- Run `npm install`
3939
- Select and run the launch configuration "Monaco Editor Playground" (this might take a while, as it compiles the sources):
4040

4141
![](./docs/launch%20config.png)

scripts/ci/monaco-editor-core.sh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ set -e
33

44
# cwd must be the vscode repository.
55

6-
yarn --frozen-lockfile --network-timeout 180000
7-
yarn playwright-install
8-
yarn gulp hygiene
9-
yarn valid-layers-check
10-
yarn --cwd build compile
11-
yarn eslint
12-
yarn monaco-compile-check
13-
yarn --max_old_space_size=4095 compile
6+
npm ci
7+
npm run playwright-install
8+
npm run gulp hygiene
9+
npm run valid-layers-check
10+
cd build && npm run compile && cd -
11+
npm run eslint
12+
npm run monaco-compile-check
13+
npm run compile
1414

15-
yarn test-browser --browser chromium
15+
npm run test-browser --browser chromium
1616

17-
yarn gulp editor-distro
17+
npm run gulp editor-distro
1818
mkdir typings-test
1919

2020
cd typings-test
@@ -25,10 +25,10 @@ echo "import '../out-monaco-editor-core';" > a.ts
2525
cd ..
2626

2727
cd test/monaco
28-
yarn run esm-check
29-
yarn run bundle-webpack
30-
yarn run compile
31-
yarn test
28+
npm run esm-check
29+
npm run bundle-webpack
30+
npm run compile
31+
npm test
3232
cd ../..
3333

3434
# npm package is now in dependencies/vscode/out-monaco-editor-core, ready to be published

0 commit comments

Comments
 (0)