Skip to content

Commit

Permalink
chore(deps): update dependencies and fixing vulnerabilities (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
elmarbeckmann committed Jan 18, 2024
1 parent 9f9b7a5 commit 5fe1ffa
Show file tree
Hide file tree
Showing 28 changed files with 8,550 additions and 9,116 deletions.
4 changes: 2 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"project": "./tsconfig.*?.json"
},
"ignorePatterns": ["**/*"],
"plugins": ["@typescript-eslint", "@nrwl/nx"],
"plugins": ["@typescript-eslint", "@nx"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
Expand All @@ -19,7 +19,7 @@
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@nrwl/nx/enforce-module-boundaries": [
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 17.x ]
node-version: [ 18.x ]

steps:
- name: Checkout
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
node-version: [ 16.x ]
node-version: [ 18.x ]

steps:
- name: Checkout
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ testem.log
Thumbs.db

/openapitools.json

.nx/cache
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

/dist
/coverage

/.nx/cache
Empty file removed apps/.gitkeep
Empty file.
14 changes: 0 additions & 14 deletions apps/generator-cli/jest.config.js

This file was deleted.

12 changes: 12 additions & 0 deletions apps/generator-cli/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* eslint-disable */
export default {
displayName: 'generator-cli',
preset: '../../jest.preset.js',
testEnvironment: 'node',
transform: {
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
},
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: '../../coverage/apps/generator-cli',
// snapshotFormat: { escapeString: true, printBasicPrototype: true },
};
62 changes: 62 additions & 0 deletions apps/generator-cli/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"name": "generator-cli",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/generator-cli/src",
"projectType": "application",
"prefix": "generator-cli",
"generators": {},
"targets": {
"build": {
"executor": "@nx/webpack:webpack",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"target": "node",
"compiler": "tsc",
"outputPath": "dist/apps/generator-cli",
"main": "apps/generator-cli/src/main.ts",
"tsConfig": "apps/generator-cli/tsconfig.app.json",
"assets": [
"apps/generator-cli/src/config.schema.json",
"apps/generator-cli/src/README.md"
],
"webpackConfig": "apps/generator-cli/webpack.config.js"
},
"configurations": {
"production": {
"optimization": true,
"extractLicenses": true,
"inspect": false,
"fileReplacements": [
{
"replace": "apps/generator-cli/src/environments/environment.ts",
"with": "apps/generator-cli/src/environments/environment.prod.ts"
}
]
}
}
},
"serve": {
"executor": "@nx/js:node",
"defaultConfiguration": "production",
"options": {
"buildTarget": "generator-cli:build"
},
"configurations": {
"production": {
"buildTarget": "generator-cli:build:production"
}
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
"options": {
"jestConfig": "apps/generator-cli/jest.config.ts"
}
}
}
}
Loading

0 comments on commit 5fe1ffa

Please sign in to comment.