@skyux/packages 9.0.0-alpha.1 → 9.0.0-alpha.2

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": "9.0.0-alpha.1",
3
+ "version": "9.0.0-alpha.2",
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.1",
41
- "@skyux-sdk/prettier-schematics": "9.0.0-alpha.1",
42
- "@skyux-sdk/testing": "9.0.0-alpha.1",
43
- "@skyux/a11y": "9.0.0-alpha.1",
44
- "@skyux/action-bars": "9.0.0-alpha.1",
45
- "@skyux/ag-grid": "9.0.0-alpha.1",
46
- "@skyux/angular-tree-component": "9.0.0-alpha.1",
47
- "@skyux/animations": "9.0.0-alpha.1",
48
- "@skyux/assets": "9.0.0-alpha.1",
49
- "@skyux/autonumeric": "9.0.0-alpha.1",
50
- "@skyux/avatar": "9.0.0-alpha.1",
51
- "@skyux/colorpicker": "9.0.0-alpha.1",
52
- "@skyux/config": "9.0.0-alpha.1",
53
- "@skyux/core": "9.0.0-alpha.1",
54
- "@skyux/data-manager": "9.0.0-alpha.1",
55
- "@skyux/datetime": "9.0.0-alpha.1",
56
- "@skyux/errors": "9.0.0-alpha.1",
57
- "@skyux/flyout": "9.0.0-alpha.1",
58
- "@skyux/forms": "9.0.0-alpha.1",
59
- "@skyux/grids": "9.0.0-alpha.1",
60
- "@skyux/http": "9.0.0-alpha.1",
61
- "@skyux/i18n": "9.0.0-alpha.1",
40
+ "@skyux-sdk/eslint-config": "9.0.0-alpha.2",
41
+ "@skyux-sdk/prettier-schematics": "9.0.0-alpha.2",
42
+ "@skyux-sdk/testing": "9.0.0-alpha.2",
43
+ "@skyux/a11y": "9.0.0-alpha.2",
44
+ "@skyux/action-bars": "9.0.0-alpha.2",
45
+ "@skyux/ag-grid": "9.0.0-alpha.2",
46
+ "@skyux/angular-tree-component": "9.0.0-alpha.2",
47
+ "@skyux/animations": "9.0.0-alpha.2",
48
+ "@skyux/assets": "9.0.0-alpha.2",
49
+ "@skyux/autonumeric": "9.0.0-alpha.2",
50
+ "@skyux/avatar": "9.0.0-alpha.2",
51
+ "@skyux/colorpicker": "9.0.0-alpha.2",
52
+ "@skyux/config": "9.0.0-alpha.2",
53
+ "@skyux/core": "9.0.0-alpha.2",
54
+ "@skyux/data-manager": "9.0.0-alpha.2",
55
+ "@skyux/datetime": "9.0.0-alpha.2",
56
+ "@skyux/errors": "9.0.0-alpha.2",
57
+ "@skyux/flyout": "9.0.0-alpha.2",
58
+ "@skyux/forms": "9.0.0-alpha.2",
59
+ "@skyux/grids": "9.0.0-alpha.2",
60
+ "@skyux/http": "9.0.0-alpha.2",
61
+ "@skyux/i18n": "9.0.0-alpha.2",
62
62
  "@skyux/icons": "^6.0.0",
63
- "@skyux/indicators": "9.0.0-alpha.1",
64
- "@skyux/inline-form": "9.0.0-alpha.1",
65
- "@skyux/layout": "9.0.0-alpha.1",
66
- "@skyux/list-builder": "9.0.0-alpha.1",
67
- "@skyux/list-builder-common": "9.0.0-alpha.1",
68
- "@skyux/list-builder-view-checklist": "9.0.0-alpha.1",
69
- "@skyux/list-builder-view-grids": "9.0.0-alpha.1",
70
- "@skyux/lists": "9.0.0-alpha.1",
71
- "@skyux/lookup": "9.0.0-alpha.1",
72
- "@skyux/modals": "9.0.0-alpha.1",
73
- "@skyux/navbar": "9.0.0-alpha.1",
74
- "@skyux/omnibar-interop": "9.0.0-alpha.1",
75
- "@skyux/pages": "9.0.0-alpha.1",
76
- "@skyux/phone-field": "9.0.0-alpha.1",
77
- "@skyux/popovers": "9.0.0-alpha.1",
78
- "@skyux/progress-indicator": "9.0.0-alpha.1",
79
- "@skyux/router": "9.0.0-alpha.1",
80
- "@skyux/select-field": "9.0.0-alpha.1",
81
- "@skyux/split-view": "9.0.0-alpha.1",
82
- "@skyux/tabs": "9.0.0-alpha.1",
83
- "@skyux/text-editor": "9.0.0-alpha.1",
84
- "@skyux/theme": "9.0.0-alpha.1",
85
- "@skyux/tiles": "9.0.0-alpha.1",
86
- "@skyux/toast": "9.0.0-alpha.1",
87
- "@skyux/validation": "9.0.0-alpha.1",
88
- "ag-grid-angular": "^28.2.1",
89
- "ag-grid-community": "^28.2.1",
90
- "ag-grid-enterprise": "^28.2.1"
63
+ "@skyux/indicators": "9.0.0-alpha.2",
64
+ "@skyux/inline-form": "9.0.0-alpha.2",
65
+ "@skyux/layout": "9.0.0-alpha.2",
66
+ "@skyux/list-builder": "9.0.0-alpha.2",
67
+ "@skyux/list-builder-common": "9.0.0-alpha.2",
68
+ "@skyux/list-builder-view-checklist": "9.0.0-alpha.2",
69
+ "@skyux/list-builder-view-grids": "9.0.0-alpha.2",
70
+ "@skyux/lists": "9.0.0-alpha.2",
71
+ "@skyux/lookup": "9.0.0-alpha.2",
72
+ "@skyux/modals": "9.0.0-alpha.2",
73
+ "@skyux/navbar": "9.0.0-alpha.2",
74
+ "@skyux/omnibar-interop": "9.0.0-alpha.2",
75
+ "@skyux/pages": "9.0.0-alpha.2",
76
+ "@skyux/phone-field": "9.0.0-alpha.2",
77
+ "@skyux/popovers": "9.0.0-alpha.2",
78
+ "@skyux/progress-indicator": "9.0.0-alpha.2",
79
+ "@skyux/router": "9.0.0-alpha.2",
80
+ "@skyux/select-field": "9.0.0-alpha.2",
81
+ "@skyux/split-view": "9.0.0-alpha.2",
82
+ "@skyux/tabs": "9.0.0-alpha.2",
83
+ "@skyux/text-editor": "9.0.0-alpha.2",
84
+ "@skyux/theme": "9.0.0-alpha.2",
85
+ "@skyux/tiles": "9.0.0-alpha.2",
86
+ "@skyux/toast": "9.0.0-alpha.2",
87
+ "@skyux/validation": "9.0.0-alpha.2",
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,7 +1,7 @@
1
1
  {
2
2
  "schematics": {
3
3
  "noop": {
4
- "version": "9.0.0-alpha.1",
4
+ "version": "9.0.0-alpha.2",
5
5
  "factory": "./noop/noop.schematic",
6
6
  "description": "Update all SKY UX component packages"
7
7
  },
@@ -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, ensure_peers_installed_1.ensurePeersInstalled)('@skyux/angular-tree-component', [
7
- {
8
- name: '@blackbaud/angular-tree-component',
9
- version: '1.0.0-alpha.0',
10
- type: dependencies_1.NodeDependencyType.Default,
11
- },
12
- ], [
13
- {
14
- name: '@circlon/angular-tree-component',
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":";;AACA,2EAA8E;AAE9E,kFAA6E;AAE7E;IACE,OAAO,IAAA,6CAAoB,EACzB,+BAA+B,EAC/B;QACE;YACE,IAAI,EAAE,mCAAmC;YACzC,OAAO,EAAE,eAAe;YACxB,IAAI,EAAE,iCAAkB,CAAC,OAAO;SACjC;KACF,EACD;QACE;YACE,IAAI,EAAE,iCAAiC;SACxC;KACF,CACF,CAAC;AACJ,CAAC;AAhBD,4BAgBC"}
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,QAA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