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 5.1.2 #175

Merged
merged 2 commits into from
Jan 22, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: yarn --frozen-lockfile
- run: yarn test
- run: npm ci
- run: npm test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
lib/
node_modules/
package-lock.json
yarn.lock
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ and the Monaco editor.
- *doComplete* / *doComplete2* (async) provide completion proposals for a given location.
- *setCompletionParticipants* allows participant to provide suggestions for specific tokens.
- *doHover* provides hover information at a given location.

- *format* formats the code at the given range.
- *findDocumentLinks* finds all links in the document.
- *findDocumentSymbols* finds all the symbols in the document.
- *getFoldingRanges* return folding ranges for the given document.
- *getSelectionRanges* return the selection ranges for the given document.
...

For the complete API see [htmlLanguageService.ts](./src/htmlLanguageService.ts) and [htmlLanguageTypes.ts](./src/htmlLanguageTypes.ts)
For the complete API see [htmlLanguageService.ts](./src/htmlLanguageService.ts) and [htmlLanguageTypes.ts](./src/htmlLanguageTypes.ts)

Installation
------------
Expand All @@ -33,8 +33,8 @@ Installation
Development
-----------

- clone this repo, run yarn
- `yarn test` to compile and run tests
- clone this repo, run `npm i``
- `npm test` to compile and run tests


How can I run and debug the service?
Expand All @@ -49,8 +49,8 @@ How can I run and debug the service inside an instance of VSCode?

- run VSCode out of sources setup as described here: https://github.com/Microsoft/vscode/wiki/How-to-Contribute
- link the folder of the `vscode-html-languageservice` repo to `vscode/extensions/html-language-features/server` to run VSCode with the latest changes from that folder:
- cd `vscode-html-languageservice`, `yarn link`
- cd `vscode/extensions/html-language-features/server`, `yarn link vscode-html-languageservice`
- cd `vscode-html-languageservice`, `npm link`
- cd `vscode/extensions/html-language-features/server`, `npm link vscode-html-languageservice`
- run VSCode out of source (`vscode/scripts/code.sh|bat`) and open a `.html` file
- in VSCode window that is open on the `vscode-html-languageservice` sources, run command `Debug: Attach to Node process` and pick the `code-oss` process with the `html-language-features` path
![image](https://user-images.githubusercontent.com/6461412/94239296-dfa6d100-ff11-11ea-8e30-6444cf5defb8.png)
Expand Down
14 changes: 7 additions & 7 deletions build/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ extends:
- name: vscode-html-languageservice

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

# 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'

tag: ${{ parameters.quality }}
preReleaseTag: next
preReleaseTagAddToLatest: true
publishPackage: ${{ parameters.publishPackage }}
publishPackage: ${{ parameters.publishPackage }}

testPlatforms:
- name: Linux
Expand All @@ -54,10 +54,10 @@ extends:
- 16.x
- name: Windows
nodeVersions:
- 16.x
- 16.x

testSteps:
- script: yarn --frozen-lockfile
displayName: Install dependencies
- script: yarn test
- script: npm ci
displayName: Install dependencies
- script: npm test
displayName: Test npm package
Loading