-
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #375 from keesschollaart81/dev
v1.7.0 - From Frenck with love
- Loading branch information
Showing
61 changed files
with
9,982 additions
and
3,225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: false, | ||
es2020: true, | ||
}, | ||
extends: [ | ||
"airbnb-typescript/base", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"plugin:wc/recommended", | ||
"prettier/@typescript-eslint", | ||
"plugin:prettier/recommended", | ||
], | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
ecmaVersion: 2020, | ||
sourceType: "module", | ||
project: "./tsconfig.json", | ||
}, | ||
rules: { | ||
"@typescript-eslint/ban-ts-comment": 0, | ||
"@typescript-eslint/ban-ts-ignore": 0, | ||
"@typescript-eslint/explicit-function-return-type": 0, | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"@typescript-eslint/no-misused-promises": 0, // This one really needs to go | ||
"@typescript-eslint/no-unsafe-assignment": 0, | ||
"@typescript-eslint/no-unsafe-member-access": 0, | ||
"@typescript-eslint/no-unused-vars": 0, | ||
"@typescript-eslint/no-use-before-define": 0, | ||
"@typescript-eslint/restrict-template-expressions": 0, | ||
"class-methods-use-this": 0, | ||
"default-case": 0, | ||
"import/no-cycle": 0, | ||
"import/prefer-default-export": 0, | ||
"no-console": 0, | ||
"no-continue": 0, | ||
"no-param-reassign": 0, | ||
"no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"], | ||
"no-void": 0, | ||
"prefer-destructuring": 0, | ||
"vars-on-top": 0, | ||
strict: 0, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
time: "04:00" | ||
open-pull-requests-limit: 10 | ||
target-branch: dev | ||
assignees: | ||
- keesschollaart81 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,58 @@ | ||
name: Language Sevice | ||
|
||
on: | ||
on: | ||
push: | ||
paths: | ||
- 'src/language-service/*' | ||
- '.github/*' | ||
- "src/language-service/*" | ||
- ".github/*" | ||
pull_request: | ||
paths: | ||
- 'src/language-service/*' | ||
- '.github/*' | ||
- "src/language-service/*" | ||
- ".github/*" | ||
|
||
jobs: | ||
language-service: | ||
name: Language Service | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@master | ||
|
||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 12.x | ||
|
||
- name: NPM Install | ||
working-directory: src/language-service | ||
run: | | ||
rm package-lock.json | ||
npm install | ||
- name: NPM Compile | ||
working-directory: src/language-service | ||
run: npm run compile | ||
|
||
- name: Create .npmrc | ||
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: NPM Publish to Registry | ||
if: success() && github.ref == 'refs/heads/master' | ||
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: | | ||
npm publish src/language-service | ||
- uses: actions/checkout@master | ||
|
||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 12.x | ||
|
||
- name: NPM Install | ||
working-directory: src/language-service | ||
run: | | ||
rm package-lock.json | ||
npm install | ||
- name: NPM Lint | ||
working-directory: src/language-service | ||
run: npm run lint | ||
|
||
- name: NPM Compile | ||
working-directory: src/language-service | ||
run: npm run compile | ||
|
||
- name: Create .npmrc | ||
run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: NPM Publish to Registry | ||
if: success() && github.ref == 'refs/heads/master' | ||
env: | ||
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: | | ||
npm publish src/language-service | ||
# - name: NPM Publish to Registry | ||
# uses: actions/npm@master | ||
# uses: actions/npm@master | ||
# if: success() && github.ref == 'refs/heads/master' | ||
# env: | ||
# NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# with: | ||
# args: publish src/language-service | ||
# args: publish src/language-service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
name: VS Code Extension | ||
|
||
on: [ push, pull_request] | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
vscode-extension: | ||
name: VS Code Extension | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
||
- name: NPM Install & Compile | ||
run: | | ||
npm install | ||
npm run compile | ||
- name: VS Marketplace Publish | ||
if: success() && github.ref == 'refs/heads/master' | ||
run: | | ||
npm install -g vsce | ||
vsce publish -p $VSCE_TOKEN | ||
env: | ||
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
||
- name: NPM Install & Compile | ||
run: npm install | ||
|
||
- name: NPM Lint | ||
run: npm run lint | ||
|
||
- name: NPM Compile | ||
run: npm run compile | ||
|
||
- name: VS Marketplace Publish | ||
if: success() && github.ref == 'refs/heads/master' | ||
run: | | ||
npm install -g vsce | ||
vsce publish -p $VSCE_TOKEN | ||
env: | ||
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
12.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.vscode-test/ | ||
node_modules | ||
out | ||
src/language-service/dist | ||
src/language-service/src/schemas/json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.