Skip to content

Commit 4d5d95c

Browse files
authored
prepare 6.2.11, update dependencies, switch to npm (#374)
1 parent f86d093 commit 4d5d95c

File tree

10 files changed

+2973
-1574
lines changed

10 files changed

+2973
-1574
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ jobs:
2222
uses: actions/setup-node@v3
2323
with:
2424
node-version: ${{ matrix.node-version }}
25-
- run: yarn --frozen-lockfile
26-
- run: yarn test
25+
- run: npm ci
26+
- run: npm test

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test/
1212
.travis.yml
1313
gulpfile.js
1414
tslint.json
15-
yarn.lock
15+
package-lock.json
1616
azure-pipelines.yml
1717
.editorconfig
1818
.mocharc.json

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Development
3939
-----------
4040

4141

42-
- clone this repo, run yarn
43-
- `yarn test` to compile and run tests
42+
- clone this repo, run `npm install``
43+
- `npm test` to compile and run tests
4444

4545
How can I run and debug the service?
4646

@@ -53,8 +53,8 @@ How can I run and debug the service?
5353
How can I run and debug the service inside an instance of VSCode?
5454

5555
- run VSCode out of sources setup as described here: https://github.com/Microsoft/vscode/wiki/How-to-Contribute
56-
- run `yarn link` in the folder of `vscode-css-languageservice`
57-
- use `yarn link vscode-css-languageservice` in `vscode/extensions/css-language-features/server` to run VSCode with the latest changes from `vscode-css-languageservice`
56+
- run `npm link` in the folder of `vscode-css-languageservice`
57+
- use `npm link vscode-css-languageservice` in `vscode/extensions/css-language-features/server` to run VSCode with the latest changes from `vscode-css-languageservice`
5858
- run VSCode out of source (`vscode/scripts/code.sh|bat`) and open a `.css` file
5959
- in VSCode window that is open on the `vscode-css-languageservice` sources, run command `Debug: Attach to Node process` and pick the `code-oss` process with the `css-language-features` path
6060
![image](https://user-images.githubusercontent.com/6461412/94242567-842b1200-ff16-11ea-8f85-3ebb72d06ba8.png)

build/pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ extends:
3535
- name: vscode-css-languageservice
3636

3737
buildSteps:
38-
- script: yarn --frozen-lockfile
38+
- script: npm ci
3939
displayName: Install dependencies
4040

41-
# the rest of the build steps are part of the 'prepack' script, automatically run when the pipeline invokes 'yarn pack'
41+
# the rest of the build steps are part of the 'prepack' script, automatically run when the pipeline invokes 'npm run pack'
4242

4343
tag: ${{ parameters.quality }}
4444
preReleaseTag: next
@@ -57,7 +57,7 @@ extends:
5757
- 16.x
5858

5959
testSteps:
60-
- script: yarn --frozen-lockfile
60+
- script: npm ci
6161
displayName: Install dependencies
62-
- script: yarn test
62+
- script: npm test
6363
displayName: Test npm package

0 commit comments

Comments
 (0)