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

WEBDEV-7198: Update Dev Dependencies & Fix CI/CD #164

Merged
merged 28 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
dc113bb
Update yarn.lock
jbuckner Dec 18, 2024
120ae37
Update codecov
jbuckner Dec 18, 2024
a3444a1
Testing demo update
jbuckner Dec 18, 2024
58808b7
Update dependencies
jbuckner Dec 18, 2024
de9bc35
Revert "Testing demo update"
jbuckner Dec 18, 2024
d90e2dd
Revert "Update dependencies"
jbuckner Dec 18, 2024
f7fc2db
Revert yarn.lock
jbuckner Dec 18, 2024
19b9a28
Update yarn.lock
jbuckner Dec 18, 2024
c436b89
Update node version
jbuckner Dec 19, 2024
776a1e2
Update dev dependencies
jbuckner Dec 19, 2024
08cc63e
Linting
jbuckner Dec 19, 2024
73a2c64
Fix coverage reporting
jbuckner Dec 19, 2024
86bc2e7
Update lockfiles
jbuckner Dec 19, 2024
cbbb273
Use prettierignore file
jbuckner Dec 19, 2024
b5b1f11
Merge branch 'main' into update-dependencies
jbuckner Dec 19, 2024
9ebb231
Update form-section with coverage and prettier updates
jbuckner Dec 19, 2024
97e4db6
Update TS version in data-models
jbuckner Dec 19, 2024
4b38893
Update data model dependencies
jbuckner Dec 19, 2024
790227c
Remove unused import
jbuckner Dec 20, 2024
1ae9eae
DRY up eslint config
jbuckner Dec 21, 2024
3497aa5
Disable no-unused-expressions for test files and fix instances
jbuckner Dec 21, 2024
f254c04
Stop the test script on first failure
jbuckner Dec 21, 2024
7309a1d
Merge branch 'main' into update-dependencies
jbuckner Dec 23, 2024
6daa334
Stop bootstrap on failure
jbuckner Dec 23, 2024
70a7199
Fix tests
jbuckner Dec 23, 2024
c66e79d
Switch to lcov reporting
jbuckner Dec 24, 2024
9349b4e
Revert version of promised singleton
jbuckner Dec 26, 2024
0f9e843
Update versions
jbuckner Dec 26, 2024
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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: latest

- name: Install dependencies
run: ./scripts/bootstrap.sh
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
dist
node_modules
coverage
.vscode

package-lock.json
53 changes: 53 additions & 0 deletions common/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import typescriptEslint from '@typescript-eslint/eslint-plugin';
import html from 'eslint-plugin-html';
import tsParser from '@typescript-eslint/parser';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import js from '@eslint/js';
import { FlatCompat } from '@eslint/eslintrc';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

export default [
...compat.extends('plugin:@typescript-eslint/recommended'),
{
plugins: {
'@typescript-eslint': typescriptEslint,
html,
},

languageOptions: {
parser: tsParser,
},

settings: {
'import/resolver': {
node: {
extensions: ['.ts', '.tsx'],
moduleDirectory: ['node_modules', 'src', 'demo'],
},
},
},

rules: {
'@typescript-eslint/no-unsafe-function-type': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/no-explicit-any': 'warn',
},
},
{
ignores: ['**/*.js', '**/*.mjs'],
},
{
files: ['**/*.test.ts'],
rules: {
'@typescript-eslint/no-unused-expressions': 'off',
},
},
];
10 changes: 10 additions & 0 deletions common/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"license": "AGPL-3.0-only",
"devDependencies": {
"@open-wc/eslint-config": "^12.0.3",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"eslint": "^9.17.0",
"typescript": "^5.7.2"
}
}
Loading
Loading