Skip to content

Commit

Permalink
2.10.0 (#96)
Browse files Browse the repository at this point in the history
* chore: migrate to package-lock.json
* chore: fix CI to use npm and generate ESM
* chore: bump several packages
* chore: add branch protection
  • Loading branch information
rzhao271 authored Nov 11, 2024
1 parent 035d510 commit de9d848
Show file tree
Hide file tree
Showing 7 changed files with 1,067 additions and 620 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ node_modules
.vscode-test
*.vsix
.DS_Store
package-lock.json
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"git.branchProtection": ["main"],
"git.branchRandomName.enable": true
}
16 changes: 8 additions & 8 deletions build/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,31 @@ extends:
- name: emmet-helper

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

- script: yarn compile
- script: npm run compile && npm run compile-esm
displayName: Compile npm package

testPlatforms:
- name: Linux
nodeVersions:
- 16.x
- 20.x
- name: MacOS
nodeVersions:
- 16.x
- 20.x
- name: Windows
nodeVersions:
- 16.x
- 20.x

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

- script: yarn compile
- script: npm run compile && npm run compile-esm
displayName: Compile npm package

- script: yarn test
- script: npm run test
displayName: Test npm package

publishPackage: ${{ parameters.publishPackage }}
Loading

0 comments on commit de9d848

Please sign in to comment.