@skyux/packages 6.0.0 → 6.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/packages",
3
- "version": "6.0.0",
3
+ "version": "6.1.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "description": "Handles the `ng update` command for SKY UX component libraries.",
6
6
  "keywords": [
@@ -27,54 +27,54 @@
27
27
  "@blackbaud/skyux-lib-code-block": "^5.0.0-beta.0",
28
28
  "@blackbaud/skyux-lib-media": "^5.0.0-beta.0",
29
29
  "@blackbaud/skyux-lib-stache": "^5.0.0-beta.0",
30
- "@skyux-sdk/prettier-schematics": "6.0.0",
31
- "@skyux-sdk/testing": "6.0.0",
32
- "@skyux/a11y": "6.0.0",
33
- "@skyux/action-bars": "6.0.0",
34
- "@skyux/ag-grid": "6.0.0",
35
- "@skyux/angular-tree-component": "6.0.0",
36
- "@skyux/animations": "6.0.0",
37
- "@skyux/assets": "6.0.0",
38
- "@skyux/autonumeric": "6.0.0",
39
- "@skyux/avatar": "6.0.0",
40
- "@skyux/colorpicker": "6.0.0",
41
- "@skyux/config": "6.0.0",
42
- "@skyux/core": "6.0.0",
43
- "@skyux/data-manager": "6.0.0",
44
- "@skyux/datetime": "6.0.0",
30
+ "@skyux-sdk/prettier-schematics": "6.1.0",
31
+ "@skyux-sdk/testing": "6.1.0",
32
+ "@skyux/a11y": "6.1.0",
33
+ "@skyux/action-bars": "6.1.0",
34
+ "@skyux/ag-grid": "6.1.0",
35
+ "@skyux/angular-tree-component": "6.1.0",
36
+ "@skyux/animations": "6.1.0",
37
+ "@skyux/assets": "6.1.0",
38
+ "@skyux/autonumeric": "6.1.0",
39
+ "@skyux/avatar": "6.1.0",
40
+ "@skyux/colorpicker": "6.1.0",
41
+ "@skyux/config": "6.1.0",
42
+ "@skyux/core": "6.1.0",
43
+ "@skyux/data-manager": "6.1.0",
44
+ "@skyux/datetime": "6.1.0",
45
45
  "@skyux/docs-tools": "^6.0.0-beta.0",
46
- "@skyux/errors": "6.0.0",
47
- "@skyux/flyout": "6.0.0",
48
- "@skyux/forms": "6.0.0",
49
- "@skyux/grids": "6.0.0",
50
- "@skyux/http": "6.0.0",
51
- "@skyux/i18n": "6.0.0",
46
+ "@skyux/errors": "6.1.0",
47
+ "@skyux/flyout": "6.1.0",
48
+ "@skyux/forms": "6.1.0",
49
+ "@skyux/grids": "6.1.0",
50
+ "@skyux/http": "6.1.0",
51
+ "@skyux/i18n": "6.1.0",
52
52
  "@skyux/icons": "^5.0.0",
53
- "@skyux/indicators": "6.0.0",
54
- "@skyux/inline-form": "6.0.0",
55
- "@skyux/layout": "6.0.0",
56
- "@skyux/list-builder": "6.0.0",
57
- "@skyux/list-builder-common": "6.0.0",
58
- "@skyux/list-builder-view-checklist": "6.0.0",
59
- "@skyux/list-builder-view-grids": "6.0.0",
60
- "@skyux/lists": "6.0.0",
61
- "@skyux/lookup": "6.0.0",
62
- "@skyux/modals": "6.0.0",
63
- "@skyux/navbar": "6.0.0",
64
- "@skyux/omnibar-interop": "6.0.0",
65
- "@skyux/pages": "6.0.0",
66
- "@skyux/phone-field": "6.0.0",
67
- "@skyux/popovers": "6.0.0",
68
- "@skyux/progress-indicator": "6.0.0",
69
- "@skyux/router": "6.0.0",
70
- "@skyux/select-field": "6.0.0",
71
- "@skyux/split-view": "6.0.0",
72
- "@skyux/tabs": "6.0.0",
73
- "@skyux/text-editor": "6.0.0",
74
- "@skyux/theme": "6.0.0",
75
- "@skyux/tiles": "6.0.0",
76
- "@skyux/toast": "6.0.0",
77
- "@skyux/validation": "6.0.0",
53
+ "@skyux/indicators": "6.1.0",
54
+ "@skyux/inline-form": "6.1.0",
55
+ "@skyux/layout": "6.1.0",
56
+ "@skyux/list-builder": "6.1.0",
57
+ "@skyux/list-builder-common": "6.1.0",
58
+ "@skyux/list-builder-view-checklist": "6.1.0",
59
+ "@skyux/list-builder-view-grids": "6.1.0",
60
+ "@skyux/lists": "6.1.0",
61
+ "@skyux/lookup": "6.1.0",
62
+ "@skyux/modals": "6.1.0",
63
+ "@skyux/navbar": "6.1.0",
64
+ "@skyux/omnibar-interop": "6.1.0",
65
+ "@skyux/pages": "6.1.0",
66
+ "@skyux/phone-field": "6.1.0",
67
+ "@skyux/popovers": "6.1.0",
68
+ "@skyux/progress-indicator": "6.1.0",
69
+ "@skyux/router": "6.1.0",
70
+ "@skyux/select-field": "6.1.0",
71
+ "@skyux/split-view": "6.1.0",
72
+ "@skyux/tabs": "6.1.0",
73
+ "@skyux/text-editor": "6.1.0",
74
+ "@skyux/theme": "6.1.0",
75
+ "@skyux/tiles": "6.1.0",
76
+ "@skyux/toast": "6.1.0",
77
+ "@skyux/validation": "6.1.0",
78
78
  "ag-grid-angular": "^27.2.0",
79
79
  "ag-grid-community": "^27.2.0",
80
80
  "ag-grid-enterprise": "^27.2.0"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schematics": {
3
3
  "noop": {
4
- "version": "6.0.0",
4
+ "version": "6.1.0",
5
5
  "factory": "./noop/noop.schematic",
6
6
  "description": "Update all SKY UX component packages"
7
7
  },
@@ -54,6 +54,11 @@
54
54
  "version": "6.0.0",
55
55
  "factory": "./update-6/prettier-ignore.schematic",
56
56
  "description": "Add '.angular/cache' to .prettierignore"
57
+ },
58
+ "prettier-ignore-updates": {
59
+ "version": "6.0.1",
60
+ "factory": "./update-6/prettier-ignore-updates.schematic",
61
+ "description": "Add new items to .prettierignore"
57
62
  }
58
63
  }
59
64
  }
@@ -0,0 +1,2 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ export default function addNewItemsToPrettierIgnore(): Rule;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const regex_1 = require("../../utility/regex");
4
+ function addNewItemsToPrettierIgnore() {
5
+ return (tree) => {
6
+ var _a;
7
+ const ignorePaths = [
8
+ '/src/assets/',
9
+ '/projects/*/src/assets/',
10
+ '/src/app/lib/',
11
+ ];
12
+ const prettierIgnorePath = '/.prettierignore';
13
+ const prettierIgnore = (_a = tree.read(prettierIgnorePath)) === null || _a === void 0 ? void 0 : _a.toString();
14
+ if (prettierIgnore) {
15
+ let replacementString = prettierIgnore;
16
+ for (const ignorePath of ignorePaths) {
17
+ if (prettierIgnore &&
18
+ !new RegExp(`^` + (0, regex_1.regexEscape)(ignorePath) + `$`, 'm').exec(replacementString)) {
19
+ replacementString = `${ignorePath}\n` + replacementString;
20
+ }
21
+ }
22
+ if (replacementString !== prettierIgnore) {
23
+ tree.overwrite(prettierIgnorePath, replacementString);
24
+ }
25
+ }
26
+ };
27
+ }
28
+ exports.default = addNewItemsToPrettierIgnore;
29
+ //# sourceMappingURL=prettier-ignore-updates.schematic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prettier-ignore-updates.schematic.js","sourceRoot":"","sources":["../../../../../../../../libs/components/packages/src/schematics/migrations/update-6/prettier-ignore-updates.schematic.ts"],"names":[],"mappings":";;AAEA,+CAAkD;AAElD,SAAwB,2BAA2B;IACjD,OAAO,CAAC,IAAI,EAAE,EAAE;;QACd,MAAM,WAAW,GAAG;YAClB,cAAc;YACd,yBAAyB;YACzB,eAAe;SAChB,CAAC;QACF,MAAM,kBAAkB,GAAG,kBAAkB,CAAC;QAC9C,MAAM,cAAc,GAAG,MAAA,IAAI,CAAC,IAAI,CAAC,kBAAkB,CAAC,0CAAE,QAAQ,EAAE,CAAC;QAEjE,IAAI,cAAc,EAAE;YAClB,IAAI,iBAAiB,GAAG,cAAc,CAAC;YAEvC,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE;gBACpC,IACE,cAAc;oBACd,CAAC,IAAI,MAAM,CAAC,GAAG,GAAG,IAAA,mBAAW,EAAC,UAAU,CAAC,GAAG,GAAG,EAAE,GAAG,CAAC,CAAC,IAAI,CACxD,iBAAiB,CAClB,EACD;oBACA,iBAAiB,GAAG,GAAG,UAAU,IAAI,GAAG,iBAAiB,CAAC;iBAC3D;aACF;YAED,IAAI,iBAAiB,KAAK,cAAc,EAAE;gBACxC,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,CAAC;aACvD;SACF;IACH,CAAC,CAAC;AACJ,CAAC;AA7BD,8CA6BC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Escapes a string value to be used in a `RegExp` constructor.
3
+ * @see https://stackoverflow.com/questions/3446170/escape-string-for-use-in-javascript-regex
4
+ */
5
+ export declare function regexEscape(value: string): string;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.regexEscape = void 0;
4
+ /**
5
+ * Escapes a string value to be used in a `RegExp` constructor.
6
+ * @see https://stackoverflow.com/questions/3446170/escape-string-for-use-in-javascript-regex
7
+ */
8
+ function regexEscape(value) {
9
+ return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
10
+ }
11
+ exports.regexEscape = regexEscape;
12
+ //# sourceMappingURL=regex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regex.js","sourceRoot":"","sources":["../../../../../../../libs/components/packages/src/schematics/utility/regex.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,SAAgB,WAAW,CAAC,KAAa;IACvC,OAAO,KAAK,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;AACtD,CAAC;AAFD,kCAEC"}