Skip to content

Commit 5fe1ffa

Browse files
chore(deps): update dependencies and fixing vulnerabilities (#730)
1 parent 9f9b7a5 commit 5fe1ffa

28 files changed

+8550
-9116
lines changed

.eslintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"project": "./tsconfig.*?.json"
88
},
99
"ignorePatterns": ["**/*"],
10-
"plugins": ["@typescript-eslint", "@nrwl/nx"],
10+
"plugins": ["@typescript-eslint", "@nx"],
1111
"extends": [
1212
"eslint:recommended",
1313
"plugin:@typescript-eslint/eslint-recommended",
@@ -19,7 +19,7 @@
1919
"@typescript-eslint/explicit-function-return-type": "off",
2020
"@typescript-eslint/no-parameter-properties": "off",
2121
"@typescript-eslint/explicit-module-boundary-types": "off",
22-
"@nrwl/nx/enforce-module-boundaries": [
22+
"@nx/enforce-module-boundaries": [
2323
"error",
2424
{
2525
"enforceBuildableLibDependency": true,

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
node-version: [ 17.x ]
17+
node-version: [ 18.x ]
1818

1919
steps:
2020
- name: Checkout
@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
matrix:
5656
os: [ ubuntu-latest, macos-latest ]
57-
node-version: [ 16.x ]
57+
node-version: [ 18.x ]
5858

5959
steps:
6060
- name: Checkout

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ testem.log
4040
Thumbs.db
4141

4242
/openapitools.json
43+
44+
.nx/cache

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22

33
/dist
44
/coverage
5+
6+
/.nx/cache

apps/.gitkeep

Whitespace-only changes.

apps/generator-cli/jest.config.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

apps/generator-cli/jest.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* eslint-disable */
2+
export default {
3+
displayName: 'generator-cli',
4+
preset: '../../jest.preset.js',
5+
testEnvironment: 'node',
6+
transform: {
7+
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
8+
},
9+
moduleFileExtensions: ['ts', 'js', 'html'],
10+
coverageDirectory: '../../coverage/apps/generator-cli',
11+
// snapshotFormat: { escapeString: true, printBasicPrototype: true },
12+
};

apps/generator-cli/project.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"name": "generator-cli",
3+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
4+
"sourceRoot": "apps/generator-cli/src",
5+
"projectType": "application",
6+
"prefix": "generator-cli",
7+
"generators": {},
8+
"targets": {
9+
"build": {
10+
"executor": "@nx/webpack:webpack",
11+
"outputs": ["{options.outputPath}"],
12+
"defaultConfiguration": "production",
13+
"options": {
14+
"target": "node",
15+
"compiler": "tsc",
16+
"outputPath": "dist/apps/generator-cli",
17+
"main": "apps/generator-cli/src/main.ts",
18+
"tsConfig": "apps/generator-cli/tsconfig.app.json",
19+
"assets": [
20+
"apps/generator-cli/src/config.schema.json",
21+
"apps/generator-cli/src/README.md"
22+
],
23+
"webpackConfig": "apps/generator-cli/webpack.config.js"
24+
},
25+
"configurations": {
26+
"production": {
27+
"optimization": true,
28+
"extractLicenses": true,
29+
"inspect": false,
30+
"fileReplacements": [
31+
{
32+
"replace": "apps/generator-cli/src/environments/environment.ts",
33+
"with": "apps/generator-cli/src/environments/environment.prod.ts"
34+
}
35+
]
36+
}
37+
}
38+
},
39+
"serve": {
40+
"executor": "@nx/js:node",
41+
"defaultConfiguration": "production",
42+
"options": {
43+
"buildTarget": "generator-cli:build"
44+
},
45+
"configurations": {
46+
"production": {
47+
"buildTarget": "generator-cli:build:production"
48+
}
49+
}
50+
},
51+
"lint": {
52+
"executor": "@nx/eslint:lint",
53+
"outputs": ["{options.outputFile}"]
54+
},
55+
"test": {
56+
"executor": "@nx/jest:jest",
57+
"options": {
58+
"jestConfig": "apps/generator-cli/jest.config.ts"
59+
}
60+
}
61+
}
62+
}

0 commit comments

Comments
 (0)