Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare 0.0.48, update dependencies, switch from yarn to npm #111

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading