ng-alain 13.2.0 → 13.4.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.
@@ -10,6 +10,7 @@
10
10
  "stylelint-declaration-block-no-ignored-properties"
11
11
  ],
12
12
  "rules": {
13
+ "function-no-unknown": null,
13
14
  "no-descending-specificity": null,
14
15
  "plugin/declaration-block-no-ignored-properties": true,
15
16
  "selector-type-no-unknown": [
@@ -64,7 +64,7 @@ function addDependenciesToPackageJson(options) {
64
64
  return (tree) => {
65
65
  (0, versions_1.UpgradeMainVersions)(tree);
66
66
  // 3rd
67
- (0, utils_1.addPackage)(tree, ['screenfull@^6.0.0']);
67
+ (0, utils_1.addPackage)(tree, ['screenfull@^6.0.1']);
68
68
  return tree;
69
69
  };
70
70
  }
@@ -123,13 +123,13 @@ function addCodeStylesToPackageJson() {
123
123
  }
124
124
  // dependencies
125
125
  (0, utils_1.addPackage)(tree, [
126
- `husky@^6.0.0`,
127
- `lint-staged@^12.1.4`,
128
- `prettier@^2.5.1`,
129
- `stylelint@^14.2.0`,
126
+ `husky@^7.0.4`,
127
+ `lint-staged@^12.3.7`,
128
+ `prettier@^2.6.0`,
129
+ `stylelint@^14.6.0`,
130
130
  `stylelint-config-prettier@^9.0.3`,
131
131
  `stylelint-config-rational-order@^0.1.2`,
132
- `stylelint-config-standard@^24.0.0`,
132
+ `stylelint-config-standard@^25.0.0`,
133
133
  `stylelint-declaration-block-no-ignored-properties@^2.5.0`,
134
134
  `stylelint-order@^5.0.0`
135
135
  ], 'devDependencies');
@@ -96,7 +96,7 @@ function addDependenciesToPackageJson(options: ApplicationOptions): Rule {
96
96
  return (tree: Tree) => {
97
97
  UpgradeMainVersions(tree);
98
98
  // 3rd
99
- addPackage(tree, ['screenfull@^6.0.0']);
99
+ addPackage(tree, ['screenfull@^6.0.1']);
100
100
  return tree;
101
101
  };
102
102
  }
@@ -155,13 +155,13 @@ function addCodeStylesToPackageJson(): Rule {
155
155
  addPackage(
156
156
  tree,
157
157
  [
158
- `husky@^6.0.0`,
159
- `lint-staged@^12.1.4`,
160
- `prettier@^2.5.1`,
161
- `stylelint@^14.2.0`,
158
+ `husky@^7.0.4`,
159
+ `lint-staged@^12.3.7`,
160
+ `prettier@^2.6.0`,
161
+ `stylelint@^14.6.0`,
162
162
  `stylelint-config-prettier@^9.0.3`,
163
163
  `stylelint-config-rational-order@^0.1.2`,
164
- `stylelint-config-standard@^24.0.0`,
164
+ `stylelint-config-standard@^25.0.0`,
165
165
  `stylelint-declaration-block-no-ignored-properties@^2.5.0`,
166
166
  `stylelint-order@^5.0.0`
167
167
  ],
package/curd/schema.json CHANGED
@@ -43,7 +43,6 @@
43
43
  "description": "Include template inline in the component.ts file. By default, an external template file is created and referenced in the component.ts file.",
44
44
  "type": "boolean",
45
45
  "default": false,
46
- "alias": "t",
47
46
  "x-user-analytics": 10
48
47
  },
49
48
  "viewEncapsulation": {
package/edit/schema.json CHANGED
@@ -44,7 +44,6 @@
44
44
  "description": "Include template inline in the component.ts file. By default, an external template file is created and referenced in the component.ts file.",
45
45
  "type": "boolean",
46
46
  "default": false,
47
- "alias": "t",
48
47
  "x-user-analytics": 10
49
48
  },
50
49
  "viewEncapsulation": {
package/empty/schema.json CHANGED
@@ -44,7 +44,6 @@
44
44
  "description": "Include template inline in the component.ts file. By default, an external template file is created and referenced in the component.ts file.",
45
45
  "type": "boolean",
46
46
  "default": false,
47
- "alias": "t",
48
47
  "x-user-analytics": 10
49
48
  },
50
49
  "viewEncapsulation": {
package/list/schema.json CHANGED
@@ -44,7 +44,6 @@
44
44
  "description": "Include template inline in the component.ts file. By default, an external template file is created and referenced in the component.ts file.",
45
45
  "type": "boolean",
46
46
  "default": false,
47
- "alias": "t",
48
47
  "x-user-analytics": 10
49
48
  },
50
49
  "viewEncapsulation": {
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../schematics/ng-update/data/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAAsC;AACtC,gDAA8B;AAC9B,uDAAqC;AACrC,kDAAgC;AAChC,sDAAoC;AACpC,gDAA8B;AAC9B,uDAAqC;AACrC,iDAA+B;AAC/B,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../schematics/ng-update/data/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gDAA8B;AAC9B,uDAAqC;AACrC,kDAAgC;AAChC,sDAAoC;AACpC,gDAA8B;AAC9B,uDAAqC;AACrC,iDAA+B;AAC/B,mDAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-alain",
3
- "version": "13.2.0",
3
+ "version": "13.4.0",
4
4
  "description": "Schematics specific to ng-alain",
5
5
  "author": "cipchk<cipchk@qq.com>",
6
6
  "license": "MIT",
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
6
  const utils_1 = require("../utils");
7
7
  function fixPackage(options) {
8
8
  return (tree) => {
9
- (options.type === 'add' ? utils_1.addPackage : utils_1.removePackage)(tree, ['ng-alain-sts@^0.0.1'], 'devDependencies');
9
+ (options.type === 'add' ? utils_1.addPackage : utils_1.removePackage)(tree, ['ng-alain-sts@^0.0.2'], 'devDependencies');
10
10
  };
11
11
  }
12
12
  function fixFiles() {
@@ -18,7 +18,7 @@ function fixPackage(options: PluginOptions): Rule {
18
18
  return (tree: Tree) => {
19
19
  (options.type === 'add' ? addPackage : removePackage)(
20
20
  tree,
21
- ['ng-alain-sts@^0.0.1'],
21
+ ['ng-alain-sts@^0.0.2'],
22
22
  'devDependencies'
23
23
  );
24
24
  };
package/tpl/schema.json CHANGED
@@ -44,7 +44,6 @@
44
44
  "description": "Include template inline in the component.ts file. By default, an external template file is created and referenced in the component.ts file.",
45
45
  "type": "boolean",
46
46
  "default": false,
47
- "alias": "t",
48
47
  "x-user-analytics": 10
49
48
  },
50
49
  "viewEncapsulation": {
package/utils/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAuB;AACvB,4CAA0B;AAC1B,yCAAuB;AACvB,8CAA4B;AAC5B,yCAAuB;AACvB,iDAA+B;AAC/B,wCAAsB;AACtB,wCAAsB;AACtB,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,4CAA0B;AAC1B,yCAAuB;AACvB,8CAA4B;AAC5B,yCAAuB;AACvB,iDAA+B;AAC/B,wCAAsB;AACtB,wCAAsB;AACtB,0CAAwB"}
@@ -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 = '^13.2.0';
5
- exports.ZORROVERSION = '^13.0.0';
4
+ exports.VERSION = '^13.4.0';
5
+ exports.ZORROVERSION = '^13.1.1';
6
6
  //# sourceMappingURL=lib-versions.js.map
@@ -1,2 +1,2 @@
1
- export const VERSION = '^13.2.0';
2
- export const ZORROVERSION = '^13.0.0';
1
+ export const VERSION = '^13.4.0';
2
+ export const ZORROVERSION = '^13.1.1';
package/utils/versions.js CHANGED
@@ -21,30 +21,30 @@ const workspace_2 = require("./workspace");
21
21
  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
- `@angular-eslint/builder@~13.0.1`,
25
- `@angular-eslint/eslint-plugin@~13.0.1`,
26
- `@angular-eslint/eslint-plugin-template@~13.0.1`,
27
- `@angular-eslint/schematics@~13.0.1`,
28
- `@angular-eslint/template-parser@~13.0.1`,
29
- `@typescript-eslint/eslint-plugin@~5.8.1`,
30
- `@typescript-eslint/parser@~5.8.1`,
31
- `eslint@^8.5.0`,
32
- `eslint-config-prettier@^2.5.1`,
33
- `eslint-plugin-import@~2.25.3`,
34
- `eslint-plugin-jsdoc@~37.4.0`,
24
+ `@angular-eslint/builder@~13.1.0`,
25
+ `@angular-eslint/eslint-plugin@~13.1.0`,
26
+ `@angular-eslint/eslint-plugin-template@~13.1.0`,
27
+ `@angular-eslint/schematics@~13.1.0`,
28
+ `@angular-eslint/template-parser@~13.1.0`,
29
+ `@typescript-eslint/eslint-plugin@~5.15.0`,
30
+ `@typescript-eslint/parser@~5.15.0`,
31
+ `eslint@^8.11.0`,
32
+ `eslint-config-prettier@^2.6.0`,
33
+ `eslint-plugin-import@~2.25.4`,
34
+ `eslint-plugin-jsdoc@~38.0.4`,
35
35
  `eslint-plugin-prefer-arrow@~1.2.3`,
36
- `eslint-plugin-prettier@^2.5.1`,
37
- `prettier@^2.5.1`,
38
- `husky@^6.0.0`,
36
+ `eslint-plugin-prettier@^2.6.0`,
37
+ `prettier@^2.6.0`,
38
+ `husky@^7.0.4`,
39
39
  `ng-alain@${version}`,
40
- `ng-alain-plugin-theme@^13.0.1`,
40
+ `ng-alain-plugin-theme@^13.0.3`,
41
41
  `source-map-explorer@^2.5.2`,
42
- `@angular/language-service@~13.1.1`,
42
+ `@angular/language-service@~13.3.0`,
43
43
  `@delon/testing@${version}`
44
44
  ], 'devDependencies');
45
45
  (0, package_1.addPackage)(tree, [
46
- `ng-zorro-antd@^13.0.0`,
47
- 'ajv@^8.8.2',
46
+ `ng-zorro-antd@^13.1.1`,
47
+ 'ajv@^8.10.0',
48
48
  'ajv-formats@^2.1.1'
49
49
  ]);
50
50
  }
package/utils/versions.ts CHANGED
@@ -17,32 +17,32 @@ export function UpgradeMainVersions(tree: Tree, version: string = VERSION): void
17
17
  addPackage(
18
18
  tree,
19
19
  [
20
- `@angular-eslint/builder@~13.0.1`,
21
- `@angular-eslint/eslint-plugin@~13.0.1`,
22
- `@angular-eslint/eslint-plugin-template@~13.0.1`,
23
- `@angular-eslint/schematics@~13.0.1`,
24
- `@angular-eslint/template-parser@~13.0.1`,
25
- `@typescript-eslint/eslint-plugin@~5.8.1`,
26
- `@typescript-eslint/parser@~5.8.1`,
27
- `eslint@^8.5.0`,
28
- `eslint-config-prettier@^2.5.1`,
29
- `eslint-plugin-import@~2.25.3`,
30
- `eslint-plugin-jsdoc@~37.4.0`,
20
+ `@angular-eslint/builder@~13.1.0`,
21
+ `@angular-eslint/eslint-plugin@~13.1.0`,
22
+ `@angular-eslint/eslint-plugin-template@~13.1.0`,
23
+ `@angular-eslint/schematics@~13.1.0`,
24
+ `@angular-eslint/template-parser@~13.1.0`,
25
+ `@typescript-eslint/eslint-plugin@~5.15.0`,
26
+ `@typescript-eslint/parser@~5.15.0`,
27
+ `eslint@^8.11.0`,
28
+ `eslint-config-prettier@^2.6.0`,
29
+ `eslint-plugin-import@~2.25.4`,
30
+ `eslint-plugin-jsdoc@~38.0.4`,
31
31
  `eslint-plugin-prefer-arrow@~1.2.3`,
32
- `eslint-plugin-prettier@^2.5.1`,
33
- `prettier@^2.5.1`,
34
- `husky@^6.0.0`,
32
+ `eslint-plugin-prettier@^2.6.0`,
33
+ `prettier@^2.6.0`,
34
+ `husky@^7.0.4`,
35
35
  `ng-alain@${version}`,
36
- `ng-alain-plugin-theme@^13.0.1`,
36
+ `ng-alain-plugin-theme@^13.0.3`,
37
37
  `source-map-explorer@^2.5.2`,
38
- `@angular/language-service@~13.1.1`,
38
+ `@angular/language-service@~13.3.0`,
39
39
  `@delon/testing@${version}`
40
40
  ],
41
41
  'devDependencies'
42
42
  );
43
43
  addPackage(tree, [
44
- `ng-zorro-antd@^13.0.0`,
45
- 'ajv@^8.8.2',
44
+ `ng-zorro-antd@^13.1.1`,
45
+ 'ajv@^8.10.0',
46
46
  'ajv-formats@^2.1.1'
47
47
  ]);
48
48
  }
package/view/schema.json CHANGED
@@ -44,7 +44,6 @@
44
44
  "description": "Include template inline in the component.ts file. By default, an external template file is created and referenced in the component.ts file.",
45
45
  "type": "boolean",
46
46
  "default": false,
47
- "alias": "t",
48
47
  "x-user-analytics": 10
49
48
  },
50
49
  "viewEncapsulation": {