@skyux/packages 9.0.0-alpha.1 → 9.0.0-alpha.3
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 +51 -51
- package/src/schematics/migrations/migration-collection.json +1 -1
- package/src/schematics/migrations/update-9/update-angular-tree-component/update-angular-tree-component.schematic.js +32 -10
- package/src/schematics/migrations/update-9/update-angular-tree-component/update-angular-tree-component.schematic.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/packages",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.3",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"description": "Handles the `ng update` command for SKY UX component libraries.",
|
|
6
6
|
"keywords": [
|
|
@@ -37,57 +37,57 @@
|
|
|
37
37
|
"ng-update": {
|
|
38
38
|
"migrations": "./src/schematics/migrations/migration-collection.json",
|
|
39
39
|
"packageGroup": {
|
|
40
|
-
"@skyux-sdk/eslint-config": "9.0.0-alpha.
|
|
41
|
-
"@skyux-sdk/prettier-schematics": "9.0.0-alpha.
|
|
42
|
-
"@skyux-sdk/testing": "9.0.0-alpha.
|
|
43
|
-
"@skyux/a11y": "9.0.0-alpha.
|
|
44
|
-
"@skyux/action-bars": "9.0.0-alpha.
|
|
45
|
-
"@skyux/ag-grid": "9.0.0-alpha.
|
|
46
|
-
"@skyux/angular-tree-component": "9.0.0-alpha.
|
|
47
|
-
"@skyux/animations": "9.0.0-alpha.
|
|
48
|
-
"@skyux/assets": "9.0.0-alpha.
|
|
49
|
-
"@skyux/autonumeric": "9.0.0-alpha.
|
|
50
|
-
"@skyux/avatar": "9.0.0-alpha.
|
|
51
|
-
"@skyux/colorpicker": "9.0.0-alpha.
|
|
52
|
-
"@skyux/config": "9.0.0-alpha.
|
|
53
|
-
"@skyux/core": "9.0.0-alpha.
|
|
54
|
-
"@skyux/data-manager": "9.0.0-alpha.
|
|
55
|
-
"@skyux/datetime": "9.0.0-alpha.
|
|
56
|
-
"@skyux/errors": "9.0.0-alpha.
|
|
57
|
-
"@skyux/flyout": "9.0.0-alpha.
|
|
58
|
-
"@skyux/forms": "9.0.0-alpha.
|
|
59
|
-
"@skyux/grids": "9.0.0-alpha.
|
|
60
|
-
"@skyux/http": "9.0.0-alpha.
|
|
61
|
-
"@skyux/i18n": "9.0.0-alpha.
|
|
40
|
+
"@skyux-sdk/eslint-config": "9.0.0-alpha.3",
|
|
41
|
+
"@skyux-sdk/prettier-schematics": "9.0.0-alpha.3",
|
|
42
|
+
"@skyux-sdk/testing": "9.0.0-alpha.3",
|
|
43
|
+
"@skyux/a11y": "9.0.0-alpha.3",
|
|
44
|
+
"@skyux/action-bars": "9.0.0-alpha.3",
|
|
45
|
+
"@skyux/ag-grid": "9.0.0-alpha.3",
|
|
46
|
+
"@skyux/angular-tree-component": "9.0.0-alpha.3",
|
|
47
|
+
"@skyux/animations": "9.0.0-alpha.3",
|
|
48
|
+
"@skyux/assets": "9.0.0-alpha.3",
|
|
49
|
+
"@skyux/autonumeric": "9.0.0-alpha.3",
|
|
50
|
+
"@skyux/avatar": "9.0.0-alpha.3",
|
|
51
|
+
"@skyux/colorpicker": "9.0.0-alpha.3",
|
|
52
|
+
"@skyux/config": "9.0.0-alpha.3",
|
|
53
|
+
"@skyux/core": "9.0.0-alpha.3",
|
|
54
|
+
"@skyux/data-manager": "9.0.0-alpha.3",
|
|
55
|
+
"@skyux/datetime": "9.0.0-alpha.3",
|
|
56
|
+
"@skyux/errors": "9.0.0-alpha.3",
|
|
57
|
+
"@skyux/flyout": "9.0.0-alpha.3",
|
|
58
|
+
"@skyux/forms": "9.0.0-alpha.3",
|
|
59
|
+
"@skyux/grids": "9.0.0-alpha.3",
|
|
60
|
+
"@skyux/http": "9.0.0-alpha.3",
|
|
61
|
+
"@skyux/i18n": "9.0.0-alpha.3",
|
|
62
62
|
"@skyux/icons": "^6.0.0",
|
|
63
|
-
"@skyux/indicators": "9.0.0-alpha.
|
|
64
|
-
"@skyux/inline-form": "9.0.0-alpha.
|
|
65
|
-
"@skyux/layout": "9.0.0-alpha.
|
|
66
|
-
"@skyux/list-builder": "9.0.0-alpha.
|
|
67
|
-
"@skyux/list-builder-common": "9.0.0-alpha.
|
|
68
|
-
"@skyux/list-builder-view-checklist": "9.0.0-alpha.
|
|
69
|
-
"@skyux/list-builder-view-grids": "9.0.0-alpha.
|
|
70
|
-
"@skyux/lists": "9.0.0-alpha.
|
|
71
|
-
"@skyux/lookup": "9.0.0-alpha.
|
|
72
|
-
"@skyux/modals": "9.0.0-alpha.
|
|
73
|
-
"@skyux/navbar": "9.0.0-alpha.
|
|
74
|
-
"@skyux/omnibar-interop": "9.0.0-alpha.
|
|
75
|
-
"@skyux/pages": "9.0.0-alpha.
|
|
76
|
-
"@skyux/phone-field": "9.0.0-alpha.
|
|
77
|
-
"@skyux/popovers": "9.0.0-alpha.
|
|
78
|
-
"@skyux/progress-indicator": "9.0.0-alpha.
|
|
79
|
-
"@skyux/router": "9.0.0-alpha.
|
|
80
|
-
"@skyux/select-field": "9.0.0-alpha.
|
|
81
|
-
"@skyux/split-view": "9.0.0-alpha.
|
|
82
|
-
"@skyux/tabs": "9.0.0-alpha.
|
|
83
|
-
"@skyux/text-editor": "9.0.0-alpha.
|
|
84
|
-
"@skyux/theme": "9.0.0-alpha.
|
|
85
|
-
"@skyux/tiles": "9.0.0-alpha.
|
|
86
|
-
"@skyux/toast": "9.0.0-alpha.
|
|
87
|
-
"@skyux/validation": "9.0.0-alpha.
|
|
88
|
-
"ag-grid-angular": "^
|
|
89
|
-
"ag-grid-community": "^
|
|
90
|
-
"ag-grid-enterprise": "^
|
|
63
|
+
"@skyux/indicators": "9.0.0-alpha.3",
|
|
64
|
+
"@skyux/inline-form": "9.0.0-alpha.3",
|
|
65
|
+
"@skyux/layout": "9.0.0-alpha.3",
|
|
66
|
+
"@skyux/list-builder": "9.0.0-alpha.3",
|
|
67
|
+
"@skyux/list-builder-common": "9.0.0-alpha.3",
|
|
68
|
+
"@skyux/list-builder-view-checklist": "9.0.0-alpha.3",
|
|
69
|
+
"@skyux/list-builder-view-grids": "9.0.0-alpha.3",
|
|
70
|
+
"@skyux/lists": "9.0.0-alpha.3",
|
|
71
|
+
"@skyux/lookup": "9.0.0-alpha.3",
|
|
72
|
+
"@skyux/modals": "9.0.0-alpha.3",
|
|
73
|
+
"@skyux/navbar": "9.0.0-alpha.3",
|
|
74
|
+
"@skyux/omnibar-interop": "9.0.0-alpha.3",
|
|
75
|
+
"@skyux/pages": "9.0.0-alpha.3",
|
|
76
|
+
"@skyux/phone-field": "9.0.0-alpha.3",
|
|
77
|
+
"@skyux/popovers": "9.0.0-alpha.3",
|
|
78
|
+
"@skyux/progress-indicator": "9.0.0-alpha.3",
|
|
79
|
+
"@skyux/router": "9.0.0-alpha.3",
|
|
80
|
+
"@skyux/select-field": "9.0.0-alpha.3",
|
|
81
|
+
"@skyux/split-view": "9.0.0-alpha.3",
|
|
82
|
+
"@skyux/tabs": "9.0.0-alpha.3",
|
|
83
|
+
"@skyux/text-editor": "9.0.0-alpha.3",
|
|
84
|
+
"@skyux/theme": "9.0.0-alpha.3",
|
|
85
|
+
"@skyux/tiles": "9.0.0-alpha.3",
|
|
86
|
+
"@skyux/toast": "9.0.0-alpha.3",
|
|
87
|
+
"@skyux/validation": "9.0.0-alpha.3",
|
|
88
|
+
"ag-grid-angular": "^29.3.5",
|
|
89
|
+
"ag-grid-community": "^29.3.5",
|
|
90
|
+
"ag-grid-enterprise": "^29.3.5"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
@@ -1,18 +1,40 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
3
4
|
const dependencies_1 = require("@schematics/angular/utility/dependencies");
|
|
4
5
|
const ensure_peers_installed_1 = require("../../../rules/ensure-peers-installed");
|
|
6
|
+
const tree_1 = require("../../../utility/tree");
|
|
7
|
+
const workspace_1 = require("../../../utility/workspace");
|
|
8
|
+
function renameTypeScriptImportPaths() {
|
|
9
|
+
return async (tree) => {
|
|
10
|
+
const { workspace } = await (0, workspace_1.getWorkspace)(tree);
|
|
11
|
+
for (const [, projectDefinition] of workspace.projects.entries()) {
|
|
12
|
+
tree.getDir(projectDefinition.root).visit((filePath) => {
|
|
13
|
+
if (filePath.match(/\.ts$/)) {
|
|
14
|
+
const content = (0, tree_1.readRequiredFile)(tree, filePath);
|
|
15
|
+
const updatedContent = content.replace(/import {\s*(?:\w|,|\s)+\s*} from ['"](@circlon)\/angular-tree-component(?:\w|\/)*['"];/g, (match, importPath) => match.replace(importPath, '@blackbaud'));
|
|
16
|
+
if (updatedContent !== content) {
|
|
17
|
+
tree.overwrite(filePath, updatedContent);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
}
|
|
5
24
|
function default_1() {
|
|
6
|
-
return (0,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
25
|
+
return (0, schematics_1.chain)([
|
|
26
|
+
renameTypeScriptImportPaths(),
|
|
27
|
+
(0, ensure_peers_installed_1.ensurePeersInstalled)('@skyux/angular-tree-component', [
|
|
28
|
+
{
|
|
29
|
+
name: '@blackbaud/angular-tree-component',
|
|
30
|
+
version: '1.0.0-alpha.0',
|
|
31
|
+
type: dependencies_1.NodeDependencyType.Default,
|
|
32
|
+
},
|
|
33
|
+
], [
|
|
34
|
+
{
|
|
35
|
+
name: '@circlon/angular-tree-component',
|
|
36
|
+
},
|
|
37
|
+
]),
|
|
16
38
|
]);
|
|
17
39
|
}
|
|
18
40
|
exports.default = default_1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-angular-tree-component.schematic.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/packages/src/schematics/migrations/update-9/update-angular-tree-component/update-angular-tree-component.schematic.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"update-angular-tree-component.schematic.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/packages/src/schematics/migrations/update-9/update-angular-tree-component/update-angular-tree-component.schematic.ts"],"names":[],"mappings":";;AAAA,2DAAyD;AACzD,2EAA8E;AAE9E,kFAA6E;AAC7E,gDAAyD;AACzD,0DAA0D;AAE1D,SAAS,2BAA2B;IAClC,OAAO,KAAK,EAAE,IAAI,EAAE,EAAE;QACpB,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,IAAA,wBAAY,EAAC,IAAI,CAAC,CAAC;QAE/C,KAAK,MAAM,CAAC,EAAE,iBAAiB,CAAC,IAAI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,EAAE;YAChE,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,EAAE;gBACrD,IAAI,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE;oBAC3B,MAAM,OAAO,GAAG,IAAA,uBAAgB,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;oBAEjD,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CACpC,yFAAyF,EACzF,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,YAAY,CAAC,CAC/D,CAAC;oBAEF,IAAI,cAAc,KAAK,OAAO,EAAE;wBAC9B,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;qBAC1C;iBACF;YACH,CAAC,CAAC,CAAC;SACJ;IACH,CAAC,CAAC;AACJ,CAAC;AAED;IACE,OAAO,IAAA,kBAAK,EAAC;QACX,2BAA2B,EAAE;QAC7B,IAAA,6CAAoB,EAClB,+BAA+B,EAC/B;YACE;gBACE,IAAI,EAAE,mCAAmC;gBACzC,OAAO,EAAE,eAAe;gBACxB,IAAI,EAAE,iCAAkB,CAAC,OAAO;aACjC;SACF,EACD;YACE;gBACE,IAAI,EAAE,iCAAiC;aACxC;SACF,CACF;KACF,CAAC,CAAC;AACL,CAAC;AAnBD,4BAmBC"}
|