ng-alain 21.1.0 → 21.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +1,37 @@
1
+ // Place your settings in this file to overwrite default and user settings.
1
2
  {
2
- "typescript.tsdk": "./node_modules/typescript/lib",
3
- "editor.formatOnSave": true,
3
+ "files.watcherExclude": {
4
+ "**/.git/objects/**": true,
5
+ "**/.git/subtree-cache/**": true,
6
+ "**/node_modules/*/**": true,
7
+ "**/dist/*/**": true,
8
+ "**/coverage/*/**": true,
9
+ "**/.yarn/**": true
10
+ },
11
+ "search.exclude": {
12
+ "**/node_modules": true,
13
+ "**/bower_components": true,
14
+ "**/*.code-search": true,
15
+ "**/dist/*/**": true,
16
+ "**/ng-alain": true,
17
+ "**/.yarn": true,
18
+ "**/src/app/routes/gen/": true
19
+ },
4
20
  "editor.codeActionsOnSave": {
5
21
  "source.fixAll.eslint": "always",
6
22
  "source.fixAll.stylelint": "explicit"
7
23
  },
24
+ "eslint.useFlatConfig": true,
25
+ "eslint.format.enable": true,
8
26
  "eslint.validate": ["typescript", "html"],
9
27
  "[html]": {
10
28
  "editor.formatOnSave": false,
11
29
  "editor.defaultFormatter": "dbaeumer.vscode-eslint"
12
30
  },
13
31
  "[typescript]": {
14
- "editor.formatOnSave": false,
32
+ "editor.formatOnSave": true,
15
33
  "editor.defaultFormatter": "dbaeumer.vscode-eslint",
16
34
  },
17
- "[markdown]": {
18
- "editor.formatOnSave": false
19
- },
20
- "[javascript]": {
21
- "editor.formatOnSave": false
22
- },
23
- "[json]": {
24
- "editor.formatOnSave": false
25
- },
26
- "[jsonc]": {
27
- "editor.formatOnSave": false
28
- },
29
35
  "css.validate": false,
30
36
  "less.validate": false,
31
37
  "scss.validate": false,
@@ -35,24 +41,20 @@
35
41
  "editor.formatOnSave": true,
36
42
  "editor.defaultFormatter": "esbenp.prettier-vscode"
37
43
  },
38
- "files.watcherExclude": {
39
- "**/.git/*/**": true,
40
- "**/node_modules/*/**": true,
41
- "**/dist/*/**": true,
42
- "**/coverage/*/**": true,
43
- "**/.angular/*/**": true,
44
- "**/.yarn/*/**": true
44
+ "[javascript]": {
45
+ "editor.formatOnSave": true
45
46
  },
46
- "search.exclude": {
47
- "**/node_modules": true,
48
- "**/.angular": true,
49
- "**/.github": true,
50
- "**/.yarn": true,
51
- "**/*.css": true
47
+ "[jsonc]": {
48
+ "editor.formatOnSave": false
49
+ },
50
+ "[yaml]": {
51
+ "editor.formatOnSave": false
52
52
  },
53
53
  "files.associations": {
54
+ "package.json": "json",
54
55
  "*.json": "jsonc",
55
- ".prettierrc": "jsonc"
56
+ ".prettierrc": "json"
56
57
  },
57
- "typescript.referencesCodeLens.enabled": true
58
+ "js/ts.referencesCodeLens.enabled": true,
59
+ "angular.enable-strict-mode-prompt": false
58
60
  }
@@ -145,9 +145,9 @@ function addCodeStylesToPackageJson() {
145
145
  // dependencies
146
146
  (0, utils_1.addPackage)(tree, [
147
147
  `husky@^9.1.7`,
148
- `lint-staged@^16.3.2`,
149
- `prettier@^3.8.1`,
150
- `stylelint@^17.6.0`,
148
+ `lint-staged@^16.4.0`,
149
+ `prettier@^3.8.3`,
150
+ `stylelint@^17.9.1`,
151
151
  `stylelint-config-standard@^40.0.0`,
152
152
  `stylelint-declaration-block-no-ignored-properties@^3.0.0`,
153
153
  `stylelint-config-clean-order@^8.0.1`,
@@ -192,9 +192,9 @@ function addCodeStylesToPackageJson(): Rule {
192
192
  tree,
193
193
  [
194
194
  `husky@^9.1.7`,
195
- `lint-staged@^16.3.2`,
196
- `prettier@^3.8.1`,
197
- `stylelint@^17.6.0`,
195
+ `lint-staged@^16.4.0`,
196
+ `prettier@^3.8.3`,
197
+ `stylelint@^17.9.1`,
198
198
  `stylelint-config-standard@^40.0.0`,
199
199
  `stylelint-declaration-block-no-ignored-properties@^3.0.0`,
200
200
  `stylelint-config-clean-order@^8.0.1`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-alain",
3
- "version": "21.1.0",
3
+ "version": "21.2.0",
4
4
  "description": "Schematics specific to NG-ALAIN",
5
5
  "author": "cipchk<cipchk@qq.com>",
6
6
  "license": "MIT",
@@ -25,7 +25,7 @@
25
25
  "swagger-typescript-api": "^12.0.4",
26
26
  "ng-alain-sts": "^0.0.2",
27
27
  "ng-alain-plugin-theme": "^18.0.0",
28
- "@angular/cdk": "^21.2.4"
28
+ "@angular/cdk": "^21.2.9"
29
29
  },
30
30
  "ng-update": {
31
31
  "migrations": "./migration.json",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ZORROVERSION = exports.VERSION = void 0;
4
- exports.VERSION = '^21.1.0';
5
- exports.ZORROVERSION = '^21.2.0';
4
+ exports.VERSION = '^21.2.0';
5
+ exports.ZORROVERSION = '^21.2.2';
6
6
  //# sourceMappingURL=lib-versions.js.map
@@ -1,2 +1,2 @@
1
- export const VERSION = '^21.1.0';
2
- export const ZORROVERSION = '^21.2.0';
1
+ export const VERSION = '^21.2.0';
2
+ export const ZORROVERSION = '^21.2.2';
package/utils/versions.js CHANGED
@@ -22,25 +22,25 @@ function UpgradeMainVersions(tree, version = lib_versions_1.VERSION) {
22
22
  (0, package_1.addPackage)(tree, ['abc', 'acl', 'auth', 'cache', 'form', 'mock', 'theme', 'util', 'chart'].map(name => `@delon/${name}@${version}`));
23
23
  (0, package_1.addPackage)(tree, [
24
24
  `angular-eslint@^21.3.1`,
25
- `@typescript-eslint/eslint-plugin@^8.57.2`,
26
- `@typescript-eslint/parser@^8.57.2`,
27
- `@typescript-eslint/utils@^8.57.2`,
28
- `eslint@^9.39.3`,
25
+ `@typescript-eslint/eslint-plugin@^8.59.1`,
26
+ `@typescript-eslint/parser@^8.59.1`,
27
+ `@typescript-eslint/utils@^8.59.1`,
28
+ `eslint@^9.39.4`,
29
29
  `eslint-config-prettier@^10.1.8`,
30
30
  `eslint-plugin-import@~2.32.0`,
31
- `eslint-plugin-jsdoc@~62.8.1`,
31
+ `eslint-plugin-jsdoc@~62.9.0`,
32
32
  `eslint-plugin-prefer-arrow@~1.2.3`,
33
33
  `eslint-plugin-prettier@~5.5.5`,
34
34
  `eslint-plugin-unused-imports@^4.4.1`,
35
35
  `typescript@~5.9.2`,
36
- `typescript-eslint@^8.56.1`,
37
- `prettier@^3.8.1`,
36
+ `typescript-eslint@^8.59.1`,
37
+ `prettier@^3.8.3`,
38
38
  `husky@^9.1.7`,
39
39
  `ng-alain@${version}`,
40
40
  `ng-alain-plugin-theme@^18.0.0`,
41
41
  `source-map-explorer@^2.5.3`,
42
42
  `ngx-tinymce@^21.0.0`,
43
- `@ng-util/monaco-editor@^21.1.0`,
43
+ `@ng-util/monaco-editor@^21.2.0`,
44
44
  `@delon/testing@${version}`,
45
45
  // vi test
46
46
  // `@playwright/test@undefined`,
@@ -55,7 +55,7 @@ function UpgradeMainVersions(tree, version = lib_versions_1.VERSION) {
55
55
  `vitest@^4.0.16`,
56
56
  `jsdom@^27.4.0`
57
57
  ], 'devDependencies');
58
- (0, package_1.addPackage)(tree, [`rxjs@~7.8.0`, `ng-zorro-antd@^21.2.0`]);
58
+ (0, package_1.addPackage)(tree, [`rxjs@~7.8.0`, `ng-zorro-antd@^21.2.2`]);
59
59
  }
60
60
  function addESLintRule(projectName) {
61
61
  return (0, workspace_1.updateWorkspace)((workspace) => __awaiter(this, void 0, void 0, function* () {
package/utils/versions.ts CHANGED
@@ -17,25 +17,25 @@ export function UpgradeMainVersions(tree: Tree, version: string = VERSION): void
17
17
  tree,
18
18
  [
19
19
  `angular-eslint@^21.3.1`,
20
- `@typescript-eslint/eslint-plugin@^8.57.2`,
21
- `@typescript-eslint/parser@^8.57.2`,
22
- `@typescript-eslint/utils@^8.57.2`,
23
- `eslint@^9.39.3`,
20
+ `@typescript-eslint/eslint-plugin@^8.59.1`,
21
+ `@typescript-eslint/parser@^8.59.1`,
22
+ `@typescript-eslint/utils@^8.59.1`,
23
+ `eslint@^9.39.4`,
24
24
  `eslint-config-prettier@^10.1.8`,
25
25
  `eslint-plugin-import@~2.32.0`,
26
- `eslint-plugin-jsdoc@~62.8.1`,
26
+ `eslint-plugin-jsdoc@~62.9.0`,
27
27
  `eslint-plugin-prefer-arrow@~1.2.3`,
28
28
  `eslint-plugin-prettier@~5.5.5`,
29
29
  `eslint-plugin-unused-imports@^4.4.1`,
30
30
  `typescript@~5.9.2`,
31
- `typescript-eslint@^8.56.1`,
32
- `prettier@^3.8.1`,
31
+ `typescript-eslint@^8.59.1`,
32
+ `prettier@^3.8.3`,
33
33
  `husky@^9.1.7`,
34
34
  `ng-alain@${version}`,
35
35
  `ng-alain-plugin-theme@^18.0.0`,
36
36
  `source-map-explorer@^2.5.3`,
37
37
  `ngx-tinymce@^21.0.0`,
38
- `@ng-util/monaco-editor@^21.1.0`,
38
+ `@ng-util/monaco-editor@^21.2.0`,
39
39
  `@delon/testing@${version}`,
40
40
  // vi test
41
41
  // `@playwright/test@undefined`,
@@ -52,7 +52,7 @@ export function UpgradeMainVersions(tree: Tree, version: string = VERSION): void
52
52
  ],
53
53
  'devDependencies'
54
54
  );
55
- addPackage(tree, [`rxjs@~7.8.0`, `ng-zorro-antd@^21.2.0`]);
55
+ addPackage(tree, [`rxjs@~7.8.0`, `ng-zorro-antd@^21.2.2`]);
56
56
  }
57
57
 
58
58
  export function addESLintRule(projectName: string): Rule {