Skip to content

Commit

Permalink
prepare 0.0.48, update dependencies, switch from yarn to npm (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli authored Oct 27, 2023
1 parent 0d5bd22 commit 8114541
Show file tree
Hide file tree
Showing 13 changed files with 7,082 additions and 4,494 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
with:
node-version: 16.x
- name: Install root project dependencies
run: yarn
run: npm ci
- name: Install extensions dependencies
run: yarn install-extensions
run: npm run install-extensions
- name: Run tests
uses: GabrielBB/[email protected]
with:
run: yarn sample-tests
run: npm run sample-tests
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ Corresponding options are available in the API.

## Development

- `yarn && yarn install-extensions`
- `npm i && npm run install-extensions`
- Make necessary changes in [`src`](./src)
- `yarn compile` (or `yarn watch`)
- `npm run compile` (or `npm run watch`)

- run `yarn sample` to launch VS Code Browser with the `sample` extension bundled in this repo.
- run `npm run sample` to launch VS Code Browser with the `sample` extension bundled in this repo.

- run `yarn sample-tests` to launch VS Code Browser running the extension tests of the `sample` extension bundled in this repo.
- run `npm run sample-tests` to launch VS Code Browser running the extension tests of the `sample` extension bundled in this repo.


## License
Expand Down
14 changes: 7 additions & 7 deletions build/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ extends:
- name: test-web

buildSteps:
- script: yarn --frozen-lockfile
- script: npm ci
displayName: Install dependencies

- script: yarn --cwd=fs-provider --frozen-lockfile
- script: npm --prefix=fs-provider ci
displayName: Install dependencies (fs-provider)

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

testPlatforms:
- name: Linux
Expand All @@ -48,13 +48,13 @@ extends:
- 18.17.x

testSteps:
- script: yarn --frozen-lockfile
- script: npm ci
displayName: Install dependencies

- script: yarn --cwd=fs-provider --frozen-lockfile
- script: npm --prefix=fs-provider ci
displayName: Install dependencies (fs-provider)

- script: yarn --cwd=sample --frozen-lockfile
- script: npm --prefix=sample ci
displayName: Install dependencies (sample)

- bash: |
Expand All @@ -63,7 +63,7 @@ extends:
displayName: Start xvfb
condition: eq(variables['Agent.OS'], 'Linux')
- script: yarn sample-tests
- script: npm run sample-tests
displayName: Compile & test npm package
env:
DISPLAY: ':99.0'
Expand Down
Loading

0 comments on commit 8114541

Please sign in to comment.