Browse Source

update packages via nx

pull/18134/head
Sinan Öztürk 3 years ago
parent
commit
2cddfe1b78
  1. 2
      npm/ng-packs/.gitignore
  2. 3
      npm/ng-packs/.prettierignore
  3. 2
      npm/ng-packs/apps/dev-app-e2e/project.json
  4. 11
      npm/ng-packs/apps/dev-app/project.json
  5. 152
      npm/ng-packs/migrations.json
  6. 38
      npm/ng-packs/nx.json
  7. 89
      npm/ng-packs/package.json
  8. 5
      npm/ng-packs/packages/account-core/project.json
  9. 5
      npm/ng-packs/packages/account/project.json
  10. 5
      npm/ng-packs/packages/components/project.json
  11. 5
      npm/ng-packs/packages/core/project.json
  12. 5
      npm/ng-packs/packages/feature-management/project.json
  13. 11
      npm/ng-packs/packages/generators/project.json
  14. 5
      npm/ng-packs/packages/identity/project.json
  15. 5
      npm/ng-packs/packages/oauth/project.json
  16. 5
      npm/ng-packs/packages/permission-management/project.json
  17. 5
      npm/ng-packs/packages/schematics/project.json
  18. 5
      npm/ng-packs/packages/setting-management/project.json
  19. 5
      npm/ng-packs/packages/tenant-management/project.json
  20. 5
      npm/ng-packs/packages/theme-basic/project.json
  21. 5
      npm/ng-packs/packages/theme-shared/project.json

2
npm/ng-packs/.gitignore

@ -56,3 +56,5 @@ Thumbs.db
*.internal.* *.internal.*
.angular .angular
.nx/cache

3
npm/ng-packs/.prettierignore

@ -7,4 +7,5 @@
/node_modules /node_modules
/scripts /scripts
/tools /tools
/source-code-requirements /source-code-requirements
/.nx/cache

2
npm/ng-packs/apps/dev-app-e2e/project.json

@ -18,7 +18,7 @@
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["apps/dev-app-e2e/**/*.{js,ts}"] "lintFilePatterns": ["apps/dev-app-e2e/**/*.{js,ts}"]
}, },

11
npm/ng-packs/apps/dev-app/project.json

@ -151,10 +151,10 @@
"executor": "@angular-devkit/build-angular:dev-server", "executor": "@angular-devkit/build-angular:dev-server",
"configurations": { "configurations": {
"production": { "production": {
"browserTarget": "dev-app:build:production" "buildTarget": "dev-app:build:production"
}, },
"development": { "development": {
"browserTarget": "dev-app:build:development" "buildTarget": "dev-app:build:development"
} }
}, },
"defaultConfiguration": "development" "defaultConfiguration": "development"
@ -162,11 +162,11 @@
"extract-i18n": { "extract-i18n": {
"executor": "@angular-devkit/build-angular:extract-i18n", "executor": "@angular-devkit/build-angular:extract-i18n",
"options": { "options": {
"browserTarget": "dev-app:build" "buildTarget": "dev-app:build"
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["apps/dev-app/src/**/*.ts", "apps/dev-app/src/**/*.html"] "lintFilePatterns": ["apps/dev-app/src/**/*.ts", "apps/dev-app/src/**/*.html"]
} }
@ -175,8 +175,7 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/apps/dev-app"], "outputs": ["{workspaceRoot}/coverage/apps/dev-app"],
"options": { "options": {
"jestConfig": "apps/dev-app/jest.config.ts", "jestConfig": "apps/dev-app/jest.config.ts"
"passWithNoTests": true
} }
} }
} }

152
npm/ng-packs/migrations.json

@ -2,115 +2,131 @@
"migrations": [ "migrations": [
{ {
"cli": "nx", "cli": "nx",
"version": "16.6.0-beta.6", "version": "17.0.0-beta.1",
"description": "Prefix outputs with {workspaceRoot}/{projectRoot} if needed", "description": "Updates the default cache directory to .nx/cache",
"implementation": "./src/migrations/update-15-0-0/prefix-outputs", "implementation": "./src/migrations/update-17-0-0/move-cache-directory",
"package": "nx", "package": "nx",
"name": "16.6.0-prefix-outputs" "name": "17.0.0-move-cache-directory"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.8.0-beta.3", "version": "17.0.0-beta.3",
"description": "Escape $ in env variables", "description": "Use minimal config for tasksRunnerOptions",
"implementation": "./src/migrations/update-16-8-0/escape-dollar-sign-env-variables", "implementation": "./src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options",
"package": "nx", "package": "nx",
"name": "16.8.0-escape-dollar-sign-env" "name": "17.0.0-use-minimal-config-for-tasks-runner-options"
}, },
{ {
"version": "16.8.0", "version": "17.0.0-rc.1",
"description": "update-16-8-0-add-ignored-files", "description": "Migration for v17.0.0-rc.1",
"implementation": "./src/migrations/update-16-8-0-add-ignored-files/update-16-8-0-add-ignored-files", "implementation": "./src/migrations/update-17-0-0/rm-default-collection-npm-scope",
"package": "@nx/linter", "package": "nx",
"name": "update-16-8-0-add-ignored-files" "name": "rm-default-collection-npm-scope"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.9.0-beta.1", "version": "17.0.2",
"description": "Replace imports of Module Federation utils frm @nx/devkit to @nx/webpack", "description": "Remove deprecated build options",
"implementation": "./src/migrations/update-16-9-0/migrate-mf-util-usage", "implementation": "./src/migrations/update-17-0-0/remove-deprecated-build-options",
"package": "@nx/devkit", "package": "@nx/js",
"name": "update-16-9-0-migrate-mf-usage-to-webpack" "name": "update-17-0-0-remove-deprecated-build-options"
},
{
"version": "17.0.0-beta.7",
"description": "update-17-0-0-rename-to-eslint",
"implementation": "./src/migrations/update-17-0-0-rename-to-eslint/update-17-0-0-rename-to-eslint",
"package": "@nx/eslint",
"name": "update-17-0-0-rename-to-eslint"
},
{
"version": "17.1.0-beta.1",
"description": "Updates for @typescript-utils/utils v6.9.1+",
"implementation": "./src/migrations/update-17-1-0/update-typescript-eslint",
"package": "@nx/eslint",
"name": "update-typescript-eslint"
},
{
"version": "17.1.0-beta.2",
"description": "Move jest executor options to nx.json targetDefaults",
"implementation": "./src/migrations/update-17-1-0/move-options-to-target-defaults",
"package": "@nx/jest",
"name": "move-options-to-target-defaults"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.4.0-beta.6", "version": "17.1.0-beta.5",
"requires": { "requires": {
"@angular-eslint/eslint-plugin-template": ">=16.0.0" "@angular/core": ">=17.0.0"
}, },
"description": "Remove the 'accessibility-' prefix from '@angular-eslint/eslint-plugin-template' rules.", "description": "Update the @angular/cli package version to ~17.0.0.",
"factory": "./src/migrations/update-16-4-0/rename-angular-eslint-accesibility-rules", "factory": "./src/migrations/update-17-1-0/update-angular-cli",
"package": "@nx/angular", "package": "@nx/angular",
"name": "rename-angular-eslint-accesibility-rules" "name": "update-angular-cli-version-17-0-0"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.4.0-beta.11", "version": "17.1.0-beta.5",
"requires": { "requires": {
"@angular/core": ">=16.1.0" "@angular/core": ">=17.0.0"
}, },
"description": "Update the @angular/cli package version to ~16.1.0.", "description": "Rename 'browserTarget' to 'buildTarget'.",
"factory": "./src/migrations/update-16-4-0/update-angular-cli", "factory": "./src/migrations/update-17-1-0/browser-target-to-build-target",
"package": "@nx/angular", "package": "@nx/angular",
"name": "update-angular-cli-version-16-1-0" "name": "rename-browser-target-to-build-target"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.6.0-beta.0", "version": "17.1.0-beta.5",
"description": "Explicitly set 'updateBuildableProjectDepsInPackageJson' to 'true' in targets that rely on that value as the default.", "requires": {
"factory": "./src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps", "@angular/core": ">=17.0.0"
},
"description": "Replace usages of '@nguniversal/builders' with '@angular-devkit/build-angular'.",
"factory": "./src/migrations/update-17-1-0/replace-nguniversal-builders",
"package": "@nx/angular", "package": "@nx/angular",
"name": "explicitly-set-projects-to-update-buildable-deps" "name": "replace-nguniversal-builders"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.7.0-beta.6", "version": "17.1.0-beta.5",
"requires": { "requires": {
"@angular/core": ">=16.2.0" "@angular/core": ">=17.0.0"
}, },
"description": "Update the @angular/cli package version to ~16.2.0.", "description": "Replace usages of '@nguniversal/' packages with '@angular/ssr'.",
"factory": "./src/migrations/update-16-7-0/update-angular-cli", "factory": "./src/migrations/update-17-1-0/replace-nguniversal-engines",
"package": "@nx/angular", "package": "@nx/angular",
"name": "update-angular-cli-version-16-2-0" "name": "replace-nguniversal-engines"
}, },
{ {
"cli": "nx", "cli": "nx",
"version": "16.4.0-beta.10", "version": "17.1.0-beta.5",
"description": "Remove tsconfig.e2e.json and add settings to project tsconfig.json. tsConfigs executor option is now deprecated. The project level tsconfig.json file should be used instead.", "requires": {
"implementation": "./src/migrations/update-16-4-0/tsconfig-sourcemaps", "@angular/core": ">=17.0.0"
"package": "@nx/cypress", },
"name": "update-16-3-0-remove-old-tsconfigs" "description": "Replace the deep imports from 'zone.js/dist/zone' and 'zone.js/dist/zone-testing' with 'zone.js' and 'zone.js/testing'.",
}, "factory": "./src/migrations/update-17-1-0/update-zone-js-deep-import",
{ "package": "@nx/angular",
"cli": "nx", "name": "update-zone-js-deep-import"
"version": "16.8.0-beta.4",
"description": "Update to Cypress v13. Most noteable change is video recording is off by default. This migration will only update if the workspace is already on Cypress v12. https://docs.cypress.io/guides/references/migration-guide#Migrating-to-Cypress-130",
"implementation": "./src/migrations/update-16-8-0/cypress-13",
"package": "@nx/cypress",
"name": "update-16-8-0-cypress-13"
}, },
{ {
"cli": "nx", "version": "17.0.0",
"version": "16.5.0-beta.2", "description": "Angular v17 introduces a new control flow syntax that uses the @ and } characters. This migration replaces the existing usages with their corresponding HTML entities.",
"description": "Add test-setup.ts to ignored files in production input", "factory": "./migrations/block-template-entities/bundle",
"implementation": "./src/migrations/update-16-5-0/add-test-setup-to-inputs-ignore", "package": "@angular/core",
"package": "@nx/jest", "name": "block-template-entities"
"name": "add-test-setup-to-inputs-ignore"
}, },
{ {
"cli": "nx", "version": "17.0.0",
"version": "16.6.0-beta.0", "description": "CompilerOption.useJit and CompilerOption.missingTranslation are unused under Ivy. This migration removes their usage",
"description": "Explicitly set 'updateBuildableProjectDepsInPackageJson' to 'true' in targets that rely on that value as the default.", "factory": "./migrations/compiler-options/bundle",
"factory": "./src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps", "package": "@angular/core",
"package": "@nx/js", "name": "migration-v17-compiler-options"
"name": "explicitly-set-projects-to-update-buildable-deps"
}, },
{ {
"cli": "nx", "version": "17.0.0",
"version": "16.8.2-beta.0", "description": "Updates `TransferState`, `makeStateKey`, `StateKey` imports from `@angular/platform-browser` to `@angular/core`.",
"description": "Remove invalid options (strict, noInterop) for ES6 type modules.", "factory": "./migrations/transfer-state/bundle",
"factory": "./src/migrations/update-16-8-2/update-swcrc", "package": "@angular/core",
"package": "@nx/js", "name": "migration-transfer-state"
"name": "16-8-2-update-swcrc"
} }
] ]
} }

38
npm/ng-packs/nx.json

@ -1,17 +1,7 @@
{ {
"npmScope": "abp",
"affected": { "affected": {
"defaultBase": "dev" "defaultBase": "dev"
}, },
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "lint", "test", "e2e"],
"parallel": 3
}
}
},
"workspaceLayout": { "workspaceLayout": {
"libsDir": "packages", "libsDir": "packages",
"appsDir": "" "appsDir": ""
@ -51,16 +41,29 @@
"targetDefaults": { "targetDefaults": {
"build": { "build": {
"dependsOn": ["^build"], "dependsOn": ["^build"],
"inputs": ["production", "^production"] "inputs": ["production", "^production"],
"cache": true
}, },
"e2e": { "e2e": {
"inputs": ["default", "^production"] "inputs": ["default", "^production"],
}, "cache": true
"test": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
}, },
"lint": { "lint": {
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"] "inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
"cache": true
},
"@nx/jest:jest": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"cache": true,
"options": {
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
} }
}, },
"namedInputs": { "namedInputs": {
@ -73,5 +76,6 @@
"!{projectRoot}/jest.config.[jt]s", "!{projectRoot}/jest.config.[jt]s",
"!{projectRoot}/.eslintrc.json" "!{projectRoot}/.eslintrc.json"
] ]
} },
"parallel": 3
} }

89
npm/ng-packs/package.json

@ -46,46 +46,45 @@
"devDependencies": { "devDependencies": {
"@abp/ng.theme.lepton-x": "~2.4.1", "@abp/ng.theme.lepton-x": "~2.4.1",
"@abp/utils": "~7.4.1", "@abp/utils": "~7.4.1",
"@angular-devkit/build-angular": "~16.2.0", "@angular-devkit/build-angular": "~17.0.0",
"@angular-devkit/core": "~16.2.0", "@angular-devkit/core": "~17.0.0",
"@angular-devkit/schematics": "~16.2.0", "@angular-devkit/schematics": "~17.0.0",
"@angular-devkit/schematics-cli": "~16.2.0", "@angular-devkit/schematics-cli": "~17.0.0",
"@angular-eslint/eslint-plugin": "~16.2.0", "@angular-eslint/eslint-plugin": "~17.0.0",
"@angular-eslint/eslint-plugin-template": "~16.2.0", "@angular-eslint/eslint-plugin-template": "~17.0.0",
"@angular-eslint/template-parser": "~16.2.0", "@angular-eslint/template-parser": "~17.0.0",
"@angular/animations": "~16.2.0", "@angular/animations": "~17.0.0",
"@angular/cli": "~16.2.0", "@angular/cli": "~17.0.0",
"@angular/common": "~16.2.0", "@angular/common": "~17.0.0",
"@angular/compiler": "~16.2.0", "@angular/compiler": "~17.0.0",
"@angular/compiler-cli": "~16.2.0", "@angular/compiler-cli": "~17.0.0",
"@angular/core": "~16.2.0", "@angular/core": "~17.0.0",
"@angular/forms": "~16.2.0", "@angular/forms": "~17.0.0",
"@angular/language-service": "~16.2.0", "@angular/language-service": "~17.0.0",
"@angular/localize": "~16.2.0", "@angular/localize": "~17.0.0",
"@angular/platform-browser": "~16.2.0", "@angular/platform-browser": "~17.0.0",
"@angular/platform-browser-dynamic": "~16.2.0", "@angular/platform-browser-dynamic": "~17.0.0",
"@angular/router": "~16.2.0", "@angular/router": "~17.0.0",
"@fortawesome/fontawesome-free": "^5.0.0", "@fortawesome/fontawesome-free": "^6.0.0",
"@ng-bootstrap/ng-bootstrap": "^15.0.0", "@ng-bootstrap/ng-bootstrap": "^15.0.0",
"@ngneat/spectator": "^10.0.0", "@ngneat/spectator": "^15.0.0",
"@ngx-validate/core": "^0.2.0", "@ngx-validate/core": "^0.2.0",
"@nx/angular": "16.9.0", "@nx/angular": "17.1.1",
"@nx/cypress": "16.9.0", "@nx/cypress": "17.1.1",
"@nx/eslint-plugin": "16.9.0", "@nx/eslint-plugin": "17.1.1",
"@nx/jest": "16.9.0", "@nx/jest": "17.1.1",
"@nx/js": "16.9.0", "@nx/js": "17.1.1",
"@nx/linter": "16.9.0", "@nx/workspace": "17.1.1",
"@nx/workspace": "16.9.0",
"@popperjs/core": "~2.11.0", "@popperjs/core": "~2.11.0",
"@schematics/angular": "~16.2.0", "@schematics/angular": "17.0.0",
"@swc-node/register": "~1.4.0", "@swc-node/register": "1.6.8",
"@swc/cli": "~0.1.0", "@swc/cli": "~0.1.0",
"@swc/core": "1.3.94", "@swc/core": "1.3.94",
"@swimlane/ngx-datatable": "^20.0.0", "@swimlane/ngx-datatable": "^20.0.0",
"@types/jest": "29.4.4", "@types/jest": "29.4.4",
"@types/node": "20.2.5", "@types/node": "20.2.5",
"@typescript-eslint/eslint-plugin": "5.62.0", "@typescript-eslint/eslint-plugin": "6.9.1",
"@typescript-eslint/parser": "5.62.0", "@typescript-eslint/parser": "6.9.1",
"angular-oauth2-oidc": "^15.0.0", "angular-oauth2-oidc": "^15.0.0",
"bootstrap": "^5.0.0", "bootstrap": "^5.0.0",
"bootstrap-icons": "^1.0.0", "bootstrap-icons": "^1.0.0",
@ -93,23 +92,22 @@
"cypress": "^7.0.0", "cypress": "^7.0.0",
"dotenv": "10.0.0", "dotenv": "10.0.0",
"eslint": "8.46.0", "eslint": "8.46.0",
"eslint-config-prettier": "8.1.0", "eslint-config-prettier": "9.0.0",
"eslint-plugin-cypress": "2.15.1",
"got": "^11.0.0",
"eslint-plugin-cypress": "^2.10.3", "eslint-plugin-cypress": "^2.10.3",
"jest": "^29.0.0", "got": "^11.0.0",
"jest": "^29.0.0",
"jest-canvas-mock": "^2.0.0", "jest-canvas-mock": "^2.0.0",
"jest-environment-jsdom": "^29.0.0", "jest-environment-jsdom": "^29.0.0",
"jest-preset-angular": "13.1.0", "jest-preset-angular": "13.1.3",
"jsonc-eslint-parser": "^2.0.0", "jsonc-eslint-parser": "^2.0.0",
"jsonc-parser": "^2.0.0", "jsonc-parser": "^2.0.0",
"just-clone": "^6.0.0", "just-clone": "^6.0.0",
"just-compare": "^2.0.0", "just-compare": "^2.0.0",
"lerna": "^4.0.0", "lerna": "^4.0.0",
"lint-staged": "^13.0.0", "lint-staged": "^13.0.0",
"ng-packagr": "~16.2.0", "ng-packagr": "17.0.0",
"ng-zorro-antd": "^16.0.0", "ng-zorro-antd": "^15.0.0",
"nx": "16.9.0", "nx": "17.1.1",
"perfect-scrollbar": "^1.0.0", "perfect-scrollbar": "^1.0.0",
"postcss": "^8.0.0", "postcss": "^8.0.0",
"postcss-import": "14.1.0", "postcss-import": "14.1.0",
@ -124,11 +122,12 @@
"ts-toolbelt": "6.15.4", "ts-toolbelt": "6.15.4",
"tslib": "^2.0.0", "tslib": "^2.0.0",
"tslint": "~6.1.0", "tslint": "~6.1.0",
"typescript": "5.1.6", "typescript": "~5.2.0",
"zone.js": "~0.13.0", "zone.js": "0.14.2",
"@nx/devkit": "16.9.0", "@nx/devkit": "17.1.1",
"@nx/plugin": "16.9.0", "@nx/plugin": "17.1.1",
"@swc/helpers": "0.5.3" "@swc/helpers": "0.5.3",
"@nx/eslint": "17.1.1"
}, },
"lint-staged": { "lint-staged": {
"**/*.{js,jsx,ts,tsx,html,css,scss}": [ "**/*.{js,jsx,ts,tsx,html,css,scss}": [

5
npm/ng-packs/packages/account-core/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/account-core"], "outputs": ["{workspaceRoot}/coverage/packages/account-core"],
"options": { "options": {
"jestConfig": "packages/account-core/jest.config.ts", "jestConfig": "packages/account-core/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
"packages/account-core/src/**/*.ts", "packages/account-core/src/**/*.ts",

5
npm/ng-packs/packages/account/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/account"], "outputs": ["{workspaceRoot}/coverage/packages/account"],
"options": { "options": {
"jestConfig": "packages/account/jest.config.ts", "jestConfig": "packages/account/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["packages/account/src/**/*.ts", "packages/account/src/**/*.html"] "lintFilePatterns": ["packages/account/src/**/*.ts", "packages/account/src/**/*.html"]
}, },

5
npm/ng-packs/packages/components/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/components"], "outputs": ["{workspaceRoot}/coverage/packages/components"],
"options": { "options": {
"jestConfig": "packages/components/jest.config.ts", "jestConfig": "packages/components/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
"packages/components/src/**/*.ts", "packages/components/src/**/*.ts",

5
npm/ng-packs/packages/core/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/core"], "outputs": ["{workspaceRoot}/coverage/packages/core"],
"options": { "options": {
"jestConfig": "packages/core/jest.config.ts", "jestConfig": "packages/core/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["packages/core/src/**/*.ts", "packages/core/src/**/*.html"] "lintFilePatterns": ["packages/core/src/**/*.ts", "packages/core/src/**/*.html"]
}, },

5
npm/ng-packs/packages/feature-management/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/feature-management"], "outputs": ["{workspaceRoot}/coverage/packages/feature-management"],
"options": { "options": {
"jestConfig": "packages/feature-management/jest.config.ts", "jestConfig": "packages/feature-management/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
"packages/feature-management/src/**/*.ts", "packages/feature-management/src/**/*.ts",

11
npm/ng-packs/packages/generators/project.json

@ -41,7 +41,7 @@
"dependsOn": ["build"] "dependsOn": ["build"]
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"], "outputs": ["{options.outputFile}"],
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
@ -55,14 +55,7 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": { "options": {
"jestConfig": "packages/generators/jest.config.ts", "jestConfig": "packages/generators/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
} }
} }
}, },

5
npm/ng-packs/packages/identity/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/identity"], "outputs": ["{workspaceRoot}/coverage/packages/identity"],
"options": { "options": {
"jestConfig": "packages/identity/jest.config.ts", "jestConfig": "packages/identity/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["packages/identity/src/**/*.ts", "packages/identity/src/**/*.html"] "lintFilePatterns": ["packages/identity/src/**/*.ts", "packages/identity/src/**/*.html"]
}, },

5
npm/ng-packs/packages/oauth/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": { "options": {
"jestConfig": "packages/oauth/jest.config.ts", "jestConfig": "packages/oauth/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["packages/oauth/**/*.ts", "packages/oauth/**/*.html"] "lintFilePatterns": ["packages/oauth/**/*.ts", "packages/oauth/**/*.html"]
} }

5
npm/ng-packs/packages/permission-management/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/permission-management"], "outputs": ["{workspaceRoot}/coverage/packages/permission-management"],
"options": { "options": {
"jestConfig": "packages/permission-management/jest.config.ts", "jestConfig": "packages/permission-management/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
"packages/permission-management/src/**/*.ts", "packages/permission-management/src/**/*.ts",

5
npm/ng-packs/packages/schematics/project.json

@ -9,12 +9,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/schematics"], "outputs": ["{workspaceRoot}/coverage/packages/schematics"],
"options": { "options": {
"jestConfig": "packages/schematics/jest.config.ts", "jestConfig": "packages/schematics/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": ["packages/schematics/src/**/*.ts", "packages/schematics/src/**/*.html"] "lintFilePatterns": ["packages/schematics/src/**/*.ts", "packages/schematics/src/**/*.html"]
}, },

5
npm/ng-packs/packages/setting-management/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/setting-management"], "outputs": ["{workspaceRoot}/coverage/packages/setting-management"],
"options": { "options": {
"jestConfig": "packages/setting-management/jest.config.ts", "jestConfig": "packages/setting-management/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
"packages/setting-management/src/**/*.ts", "packages/setting-management/src/**/*.ts",

5
npm/ng-packs/packages/tenant-management/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/tenant-management"], "outputs": ["{workspaceRoot}/coverage/packages/tenant-management"],
"options": { "options": {
"jestConfig": "packages/tenant-management/jest.config.ts", "jestConfig": "packages/tenant-management/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
"packages/tenant-management/src/**/*.ts", "packages/tenant-management/src/**/*.ts",

5
npm/ng-packs/packages/theme-basic/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/theme-basic"], "outputs": ["{workspaceRoot}/coverage/packages/theme-basic"],
"options": { "options": {
"jestConfig": "packages/theme-basic/jest.config.ts", "jestConfig": "packages/theme-basic/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
"packages/theme-basic/src/**/*.ts", "packages/theme-basic/src/**/*.ts",

5
npm/ng-packs/packages/theme-shared/project.json

@ -25,12 +25,11 @@
"executor": "@nx/jest:jest", "executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/theme-shared"], "outputs": ["{workspaceRoot}/coverage/packages/theme-shared"],
"options": { "options": {
"jestConfig": "packages/theme-shared/jest.config.ts", "jestConfig": "packages/theme-shared/jest.config.ts"
"passWithNoTests": true
} }
}, },
"lint": { "lint": {
"executor": "@nx/linter:eslint", "executor": "@nx/eslint:lint",
"options": { "options": {
"lintFilePatterns": [ "lintFilePatterns": [
"packages/theme-shared/src/**/*.ts", "packages/theme-shared/src/**/*.ts",

Loading…
Cancel
Save