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

chore(deps): update deps #695

Merged
merged 10 commits into from
Oct 7, 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
98 changes: 84 additions & 14 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nx", "@typescript-eslint"],
"ignorePatterns": [
"**/*"
],
"plugins": [
"@nx",
"@typescript-eslint",
"@stylistic"
],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx", "*.vue"],
"files": [
"*.ts",
"*.tsx",
"*.js",
"*.jsx",
"*.vue"
],
"parserOptions": {
"project": ["tsconfig.*?.json"]
"project": [
"tsconfig.*?.json"
]
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"airbnb-typescript",
"plugin:@nx/react"
"plugin:@stylistic/recommended-extends"
//"airbnb-typescript/base"
],
"rules": {
"@nx/enforce-module-boundaries": [
Expand All @@ -23,32 +37,88 @@
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
"onlyDependOnLibsWithTags": [
"*"
]
}
]
}
],
"@typescript-eslint/quotes": [
"@typescript-eslint/no-empty-function": [
"error",
{
"allow": [
"arrowFunctions"
]
}
],
"@stylistic/quotes": [
"error",
"double",
{
"allowTemplateLiterals": true
}
],
"@typescript-eslint/indent": ["error", 4]
"@stylistic/lines-between-class-members": [
"error",
"always"
],
"@stylistic/padded-blocks": [
"error",
{
"blocks": "never",
"classes": "never",
"switches": "never"
}
],
"@stylistic/indent": "off",
"@stylistic/semi": [
"error",
"always"
],
"@stylistic/operator-linebreak": "off",
"@stylistic/arrow-parens": [
"error",
"always"
],
"@stylistic/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "semi",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}
],
"@stylistic/brace-style": "off",
"@stylistic/indent-binary-ops": "off"
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"files": [
"*.ts",
"*.tsx"
],
"extends": [
"plugin:@nx/typescript"
],
"rules": {
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-explicit-any": "warn",
"import/no-extraneous-dependencies": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"files": [
"*.js",
"*.jsx"
],
"extends": [
"plugin:@nx/javascript"
],
"rules": {}
}
]
Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,26 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup NodeJS 16
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Enable corepack
run: corepack enable
- name: Setup NodeJS 18
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install dependencies
run: npm install
run: yarn
- name: Lint
run: npm run lint
run: yarn lint
- name: Test
run: npm run test
run: yarn test
- name: Build
run: npm run build
run: yarn build
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down
22 changes: 13 additions & 9 deletions .github/workflows/dry-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,25 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup NodeJS 16
- name: Corepack enable
run: corepack enable
- name: Setup NodeJS 18
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Install dependencies
run: npm install
run: yarn
- name: Lint
run: npm run lint
run: yarn lint
- name: Test
run: npm run test
run: yarn test
- name: Build
run: npm run build
run: yarn build
- uses: actions/upload-artifact@v4
with:
name: dist
Expand All @@ -36,16 +38,18 @@ jobs:
needs:
- build
steps:
- name: Setup NodeJS 16
- name: Enable corepack
run: corepack enable
- name: Setup NodeJS 18
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- uses: actions/download-artifact@v4
with:
name: dist
- name: Install vsce
run: npm install -g @vscode/vsce@latest
run: yarn global add @vscode/vsce@latest
- name: Build vsix miranum-extension-pack
run: |
cd apps/miranum-extension-pack
Expand Down
Loading