Skip to content

Commit

Permalink
fix workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
frux committed Nov 14, 2024
1 parent d5e6851 commit 6e0d6bb
Show file tree
Hide file tree
Showing 26 changed files with 4,965 additions and 8,432 deletions.
17 changes: 0 additions & 17 deletions .eslintrc

This file was deleted.

7 changes: 2 additions & 5 deletions .github/workflows/codechecks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
node-version: 18
- run: npm ci
- run: lerna bootstrap
- run: lerna run build
- run: npm run lint
- run: npm test
- run: npx nx run-many -t test lint
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
dist
node_modules
npm-debug.log
tsconfig.tsbuildinfo


.nx/cache
.nx/workspace-data
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
12 changes: 12 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = [
{
ignores: ['dist/**/*'],
rules: {
indent: [
'error',
'tab'
],
'no-prototype-builtin': 'off'
}
}
];
6 changes: 6 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
// @ts-check

/**
* @type {import('jest').Config}
*/
module.exports = {
testMatch: ['<rootDir>/tests/*.test.ts'],
transform: {
'^.+\\.ts$': 'ts-jest'
},
Expand Down
6 changes: 0 additions & 6 deletions lerna.json

This file was deleted.

15 changes: 15 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"build": {
"dependsOn": ["^build"]
},
"express-csp-header": {
"dependsOn": ["csp-header:build"]
},
"test": {
"dependsOn": ["build"]
}
},
"defaultBase": "master"
}
Loading

0 comments on commit 6e0d6bb

Please sign in to comment.