@skyux/packages 12.0.0-alpha.5 → 12.0.0-alpha.7

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/collection.json CHANGED
@@ -11,6 +11,11 @@
11
11
  "factory": "./src/schematics/ng-generate/add-ag-grid-styles/add-ag-grid-styles.schematic",
12
12
  "schema": "./src/schematics/ng-generate/add-ag-grid-styles/schema.json"
13
13
  },
14
+ "ag-grid-migrate": {
15
+ "description": "Run AG Grid code modifications.",
16
+ "factory": "./src/schematics/ag-grid-migrate/ag-grid-migrate.schematic",
17
+ "schema": "./src/schematics/ag-grid-migrate/schema.json"
18
+ },
14
19
  "polyfills": {
15
20
  "description": "Add @skyux/packages/polyfills to project config.",
16
21
  "factory": "./src/schematics/ng-generate/polyfills/polyfills.schematic",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/packages",
3
- "version": "12.0.0-alpha.5",
3
+ "version": "12.0.0-alpha.7",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "description": "Handles the `ng update` command for SKY UX component libraries.",
6
6
  "keywords": [
@@ -35,61 +35,61 @@
35
35
  "ng-update": {
36
36
  "migrations": "./src/schematics/migrations/migration-collection.json",
37
37
  "packageGroup": {
38
- "@skyux/packages": "12.0.0-alpha.5",
38
+ "@skyux/packages": "12.0.0-alpha.7",
39
39
  "@blackbaud/angular-tree-component": "^1.0.0",
40
- "@skyux-sdk/eslint-config": "12.0.0-alpha.5",
41
- "@skyux-sdk/prettier-schematics": "12.0.0-alpha.5",
42
- "@skyux-sdk/testing": "12.0.0-alpha.5",
43
- "@skyux/a11y": "12.0.0-alpha.5",
44
- "@skyux/action-bars": "12.0.0-alpha.5",
45
- "@skyux/ag-grid": "12.0.0-alpha.5",
46
- "@skyux/angular-tree-component": "12.0.0-alpha.5",
47
- "@skyux/animations": "12.0.0-alpha.5",
48
- "@skyux/assets": "12.0.0-alpha.5",
49
- "@skyux/autonumeric": "12.0.0-alpha.5",
50
- "@skyux/avatar": "12.0.0-alpha.5",
51
- "@skyux/code-examples": "12.0.0-alpha.5",
52
- "@skyux/colorpicker": "12.0.0-alpha.5",
53
- "@skyux/config": "12.0.0-alpha.5",
54
- "@skyux/core": "12.0.0-alpha.5",
55
- "@skyux/data-manager": "12.0.0-alpha.5",
56
- "@skyux/datetime": "12.0.0-alpha.5",
57
- "@skyux/docs-tools": "12.0.0-alpha.5",
58
- "@skyux/errors": "12.0.0-alpha.5",
59
- "@skyux/flyout": "12.0.0-alpha.5",
60
- "@skyux/forms": "12.0.0-alpha.5",
61
- "@skyux/grids": "12.0.0-alpha.5",
62
- "@skyux/help-inline": "12.0.0-alpha.5",
63
- "@skyux/i18n": "12.0.0-alpha.5",
64
- "@skyux/icon": "12.0.0-alpha.5",
40
+ "@skyux-sdk/eslint-config": "12.0.0-alpha.7",
41
+ "@skyux-sdk/prettier-schematics": "12.0.0-alpha.7",
42
+ "@skyux-sdk/testing": "12.0.0-alpha.7",
43
+ "@skyux/a11y": "12.0.0-alpha.7",
44
+ "@skyux/action-bars": "12.0.0-alpha.7",
45
+ "@skyux/ag-grid": "12.0.0-alpha.7",
46
+ "@skyux/angular-tree-component": "12.0.0-alpha.7",
47
+ "@skyux/animations": "12.0.0-alpha.7",
48
+ "@skyux/assets": "12.0.0-alpha.7",
49
+ "@skyux/autonumeric": "12.0.0-alpha.7",
50
+ "@skyux/avatar": "12.0.0-alpha.7",
51
+ "@skyux/code-examples": "12.0.0-alpha.7",
52
+ "@skyux/colorpicker": "12.0.0-alpha.7",
53
+ "@skyux/config": "12.0.0-alpha.7",
54
+ "@skyux/core": "12.0.0-alpha.7",
55
+ "@skyux/data-manager": "12.0.0-alpha.7",
56
+ "@skyux/datetime": "12.0.0-alpha.7",
57
+ "@skyux/docs-tools": "12.0.0-alpha.7",
58
+ "@skyux/errors": "12.0.0-alpha.7",
59
+ "@skyux/flyout": "12.0.0-alpha.7",
60
+ "@skyux/forms": "12.0.0-alpha.7",
61
+ "@skyux/grids": "12.0.0-alpha.7",
62
+ "@skyux/help-inline": "12.0.0-alpha.7",
63
+ "@skyux/i18n": "12.0.0-alpha.7",
64
+ "@skyux/icon": "12.0.0-alpha.7",
65
65
  "@skyux/icons": "^7.10.0",
66
- "@skyux/indicators": "12.0.0-alpha.5",
67
- "@skyux/inline-form": "12.0.0-alpha.5",
68
- "@skyux/layout": "12.0.0-alpha.5",
69
- "@skyux/list-builder": "12.0.0-alpha.5",
70
- "@skyux/list-builder-common": "12.0.0-alpha.5",
71
- "@skyux/list-builder-view-checklist": "12.0.0-alpha.5",
72
- "@skyux/list-builder-view-grids": "12.0.0-alpha.5",
73
- "@skyux/lists": "12.0.0-alpha.5",
74
- "@skyux/lookup": "12.0.0-alpha.5",
75
- "@skyux/manifest": "12.0.0-alpha.5",
76
- "@skyux/modals": "12.0.0-alpha.5",
77
- "@skyux/navbar": "12.0.0-alpha.5",
78
- "@skyux/pages": "12.0.0-alpha.5",
79
- "@skyux/phone-field": "12.0.0-alpha.5",
80
- "@skyux/popovers": "12.0.0-alpha.5",
81
- "@skyux/progress-indicator": "12.0.0-alpha.5",
82
- "@skyux/router": "12.0.0-alpha.5",
83
- "@skyux/select-field": "12.0.0-alpha.5",
84
- "@skyux/split-view": "12.0.0-alpha.5",
85
- "@skyux/tabs": "12.0.0-alpha.5",
86
- "@skyux/text-editor": "12.0.0-alpha.5",
87
- "@skyux/theme": "12.0.0-alpha.5",
88
- "@skyux/tiles": "12.0.0-alpha.5",
89
- "@skyux/toast": "12.0.0-alpha.5",
90
- "@skyux/validation": "12.0.0-alpha.5",
91
- "ag-grid-angular": "^32.3.3",
92
- "ag-grid-community": "^32.3.3",
66
+ "@skyux/indicators": "12.0.0-alpha.7",
67
+ "@skyux/inline-form": "12.0.0-alpha.7",
68
+ "@skyux/layout": "12.0.0-alpha.7",
69
+ "@skyux/list-builder": "12.0.0-alpha.7",
70
+ "@skyux/list-builder-common": "12.0.0-alpha.7",
71
+ "@skyux/list-builder-view-checklist": "12.0.0-alpha.7",
72
+ "@skyux/list-builder-view-grids": "12.0.0-alpha.7",
73
+ "@skyux/lists": "12.0.0-alpha.7",
74
+ "@skyux/lookup": "12.0.0-alpha.7",
75
+ "@skyux/manifest": "12.0.0-alpha.7",
76
+ "@skyux/modals": "12.0.0-alpha.7",
77
+ "@skyux/navbar": "12.0.0-alpha.7",
78
+ "@skyux/pages": "12.0.0-alpha.7",
79
+ "@skyux/phone-field": "12.0.0-alpha.7",
80
+ "@skyux/popovers": "12.0.0-alpha.7",
81
+ "@skyux/progress-indicator": "12.0.0-alpha.7",
82
+ "@skyux/router": "12.0.0-alpha.7",
83
+ "@skyux/select-field": "12.0.0-alpha.7",
84
+ "@skyux/split-view": "12.0.0-alpha.7",
85
+ "@skyux/tabs": "12.0.0-alpha.7",
86
+ "@skyux/text-editor": "12.0.0-alpha.7",
87
+ "@skyux/theme": "12.0.0-alpha.7",
88
+ "@skyux/tiles": "12.0.0-alpha.7",
89
+ "@skyux/toast": "12.0.0-alpha.7",
90
+ "@skyux/validation": "12.0.0-alpha.7",
91
+ "ag-grid-angular": "^33.1.1",
92
+ "ag-grid-community": "^33.1.1",
93
93
  "ag-grid-enterprise": "^32.1.0",
94
94
  "autonumeric": "^4.10.5"
95
95
  }
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = default_1;
4
4
  const child_process_1 = require("child_process");
5
5
  const os_1 = require("os");
6
- const AG_GRID_MIGRATION = '32.2.1';
7
- const AG_GRID_VERSION = '32.3.3';
6
+ const AG_GRID_MIGRATION = '33.0.0';
7
+ const AG_GRID_VERSION = '33.1.1';
8
8
  function getStartingVersion(sourceRoot) {
9
9
  try {
10
10
  const content = (0, child_process_1.spawnSync)('git',
@@ -1,42 +1,47 @@
1
1
  {
2
2
  "schematics": {
3
3
  "noop": {
4
- "version": "12.0.0-alpha.5",
4
+ "version": "12.0.0-alpha.7",
5
5
  "factory": "./noop/noop.schematic",
6
6
  "description": "Update all SKY UX component packages"
7
7
  },
8
+ "ag-grid": {
9
+ "version": "12.0.0-alpha.7",
10
+ "factory": "./update-12/ag-grid/ag-grid.schematic",
11
+ "description": "Changes to support AG Grid 33."
12
+ },
8
13
  "axe-core": {
9
- "version": "12.0.0-alpha.5",
14
+ "version": "12.0.0-alpha.7",
10
15
  "factory": "./update-12/axe-core/axe-core.schematic",
11
16
  "description": "Update axe-core if @skyux-sdk/testing installed."
12
17
  },
13
18
  "help-inline-import-path": {
14
- "version": "12.0.0-alpha.5",
19
+ "version": "12.0.0-alpha.7",
15
20
  "factory": "./update-12/help-inline-import-path/help-inline-import-path.schematic",
16
21
  "description": "Update help inline import paths to help inline library."
17
22
  },
18
23
  "i18n-resources-module": {
19
- "version": "12.0.0-alpha.5",
24
+ "version": "12.0.0-alpha.7",
20
25
  "factory": "./update-12/i18n-resources-module/i18n-resources-module.schematic",
21
26
  "description": "Regenerate i18n resources modules for libraries."
22
27
  },
23
28
  "icons-migration": {
24
- "version": "12.0.0-alpha.5",
29
+ "version": "12.0.0-alpha.7",
25
30
  "factory": "./update-12/icons-migration/icons-migration.schematic",
26
31
  "description": "Update icons import paths to icons library and add new peer."
27
32
  },
28
33
  "remove-nx-cache": {
29
- "version": "12.0.0-alpha.5",
34
+ "version": "12.0.0-alpha.7",
30
35
  "factory": "./update-12/remove-nx-cache/remove-nx-cache.schematic",
31
36
  "description": "Remove `.nx/cache` from git and add `.gitignore` entry."
32
37
  },
33
38
  "remove-old-compat-stylesheets": {
34
- "version": "12.0.0-alpha.5",
39
+ "version": "12.0.0-alpha.7",
35
40
  "factory": "./update-12/remove-old-compat-stylesheets/remove-old-compat-stylesheets.schematic",
36
41
  "description": "Remove backward compatible stylesheets for older versions of SKY UX."
37
42
  },
38
43
  "workspace-check": {
39
- "version": "12.0.0-alpha.5",
44
+ "version": "12.0.0-alpha.7",
40
45
  "factory": "./update-12/workspace-check/workspace-check.schematic",
41
46
  "description": "Log warnings if the workspace is not configured correctly."
42
47
  }
@@ -0,0 +1,5 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ /**
3
+ * Upgrade to AG Grid 33 and address breaking changes:
4
+ */
5
+ export default function (): Rule;
@@ -0,0 +1,127 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = default_1;
4
+ const tslib_1 = require("tslib");
5
+ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
+ const schematics_1 = require("@angular/cdk/schematics");
7
+ const schematics_2 = require("@angular/cdk/schematics");
8
+ const typescript_1 = tslib_1.__importDefault(require("@schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript"));
9
+ const ast_utils_1 = require("@schematics/angular/utility/ast-utils");
10
+ const change_1 = require("@schematics/angular/utility/change");
11
+ const dependencies_1 = require("@schematics/angular/utility/dependencies");
12
+ const visit_project_files_1 = require("../../../utility/visit-project-files");
13
+ const workspace_1 = require("../../../utility/workspace");
14
+ const ANY_MODULE = '@ag-grid-community/';
15
+ const ENT_MODULE = '@ag-grid-enterprise/';
16
+ const AG_GRID = 'ag-grid-community';
17
+ const AG_GRID_ENT = 'ag-grid-enterprise';
18
+ const AG_GRID_NG = 'ag-grid-angular';
19
+ const AG_GRID_SKY = '@skyux/ag-grid';
20
+ const AG_GRID_VERSION = '^33.1.1';
21
+ /**
22
+ * Check package.json for AG Grid dependencies.
23
+ */
24
+ function checkAgGridDependency(tree, context) {
25
+ const agGridDependency = (0, dependencies_1.getPackageJsonDependency)(tree, AG_GRID);
26
+ const agGridDependencyEnt = (0, dependencies_1.getPackageJsonDependency)(tree, AG_GRID_ENT);
27
+ const agGridDependencyNg = (0, dependencies_1.getPackageJsonDependency)(tree, AG_GRID_NG);
28
+ if (agGridDependency || agGridDependencyEnt || agGridDependencyNg) {
29
+ if (!agGridDependency) {
30
+ // Missing peer dependency.
31
+ (0, dependencies_1.addPackageJsonDependency)(tree, {
32
+ name: AG_GRID,
33
+ type: dependencies_1.NodeDependencyType.Default,
34
+ version: AG_GRID_VERSION,
35
+ });
36
+ context.addTask(new tasks_1.NodePackageInstallTask());
37
+ }
38
+ return true;
39
+ }
40
+ const packageJson = tree.readJson('package.json');
41
+ return ['dependencies', 'devDependencies'].some((dep) => Object.keys((packageJson && packageJson[dep]) || {}).some((dep) => dep.startsWith(ANY_MODULE) || dep.startsWith(ENT_MODULE)));
42
+ }
43
+ /**
44
+ * If available, switch gridOptions.api and gridOptions.columnApi to gridApi.
45
+ */
46
+ function addAgGridModuleRegistry(tree, path) {
47
+ const content = tree.readText(path);
48
+ if (content.includes('SkyAgGridModule') &&
49
+ !content.includes('ModuleRegistry')) {
50
+ const sourceFile = (0, schematics_2.parseSourceFile)(tree, path);
51
+ const changes = [];
52
+ if ((0, ast_utils_1.isImported)(sourceFile, 'SkyAgGridModule', AG_GRID_SKY) &&
53
+ !(0, ast_utils_1.isImported)(sourceFile, 'ModuleRegistry', AG_GRID) &&
54
+ !(0, ast_utils_1.isImported)(sourceFile, 'AllCommunityModule', AG_GRID)) {
55
+ changes.push((0, ast_utils_1.insertImport)(sourceFile, path, 'AllCommunityModule, ModuleRegistry', AG_GRID));
56
+ changes.push((0, ast_utils_1.insertAfterLastOccurrence)((0, schematics_1.findNodes)(sourceFile, typescript_1.default.SyntaxKind.ImportDeclaration), `\n\n// Added during the SKY UX 12 migration. For details and additional options, see https://www.ag-grid.com/angular-data-grid/modules/\n` +
57
+ `ModuleRegistry.registerModules([AllCommunityModule]);`, path, 0));
58
+ const recorder = tree.beginUpdate(path);
59
+ (0, change_1.applyToUpdateRecorder)(recorder, changes);
60
+ tree.commitUpdate(recorder);
61
+ }
62
+ }
63
+ }
64
+ /**
65
+ * Check if the file includes any AG Grid imports.
66
+ */
67
+ function includesAgGrid(updatedContent) {
68
+ return (updatedContent.includes(AG_GRID) ||
69
+ updatedContent.includes(AG_GRID_ENT) ||
70
+ updatedContent.includes(AG_GRID_SKY));
71
+ }
72
+ /**
73
+ * Visit all files and apply the changes.
74
+ */
75
+ async function updateSourceFiles(tree, context) {
76
+ const warned = [];
77
+ function warnOnce(message) {
78
+ if (!warned.includes(message)) {
79
+ warned.push(message);
80
+ context.logger.warn(message);
81
+ }
82
+ }
83
+ const { workspace } = await (0, workspace_1.getWorkspace)(tree);
84
+ workspace.projects.forEach((project) => {
85
+ context.logger.debug(`Running SKY UX AG Grid updates within ${project.sourceRoot || project.root}.`);
86
+ (0, visit_project_files_1.visitProjectFiles)(tree, project.sourceRoot || project.root, (filePath) => {
87
+ // If the file is not a TypeScript file, we can skip it.
88
+ if (!filePath.endsWith('.ts') || filePath.includes('schematics')) {
89
+ return;
90
+ }
91
+ const content = tree.readText(filePath);
92
+ if (!content || !includesAgGrid(content)) {
93
+ return;
94
+ }
95
+ // Prompt the user to moderate the use of AG Grid modules
96
+ if (content.includes(ANY_MODULE) || content.includes(ENT_MODULE)) {
97
+ warnOnce(`\n
98
+ AG Grid recommends not mixing module and package imports.
99
+ https://ag-grid.com/angular-data-grid/modules/\n\n`);
100
+ }
101
+ addAgGridModuleRegistry(tree, filePath);
102
+ });
103
+ });
104
+ }
105
+ /**
106
+ * Upgrade to AG Grid 33 and address breaking changes:
107
+ */
108
+ function default_1() {
109
+ return async (tree, context) => {
110
+ const hasAgGrid = checkAgGridDependency(tree, context);
111
+ // AG Grid is not installed, so we don't need to do anything.
112
+ if (!hasAgGrid) {
113
+ context.logger.debug(`AG Grid is not installed.`);
114
+ return;
115
+ }
116
+ await updateSourceFiles(tree, context);
117
+ const { workspace } = await (0, workspace_1.getWorkspace)(tree);
118
+ for (const project of workspace.projects.values()) {
119
+ const sourceRoot = project.sourceRoot || `${project.root}/src`;
120
+ context.logger.debug(`Scheduling AG Grid code modifications for ${sourceRoot}.`);
121
+ context.addTask(new tasks_1.RunSchematicTask('@skyux/packages', 'ag-grid-migrate', {
122
+ sourceRoot,
123
+ }));
124
+ }
125
+ };
126
+ }
127
+ //# sourceMappingURL=ag-grid.schematic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ag-grid.schematic.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/packages/src/schematics/migrations/update-12/ag-grid/ag-grid.schematic.ts"],"names":[],"mappings":";;AAyKA,4BAwBC;;AAhMD,4DAG0C;AAC1C,wDAAoD;AACpD,wDAA0D;AAC1D,wIAAgG;AAChG,qEAI+C;AAC/C,+DAG4C;AAC5C,2EAIkD;AAElD,8EAAyE;AACzE,0DAA0D;AAE1D,MAAM,UAAU,GAAG,qBAAqB,CAAC;AACzC,MAAM,UAAU,GAAG,sBAAsB,CAAC;AAC1C,MAAM,OAAO,GAAG,mBAAmB,CAAC;AACpC,MAAM,WAAW,GAAG,oBAAoB,CAAC;AACzC,MAAM,UAAU,GAAG,iBAAiB,CAAC;AACrC,MAAM,WAAW,GAAG,gBAAgB,CAAC;AAErC,MAAM,eAAe,GAAG,SAAS,CAAC;AAElC;;GAEG;AACH,SAAS,qBAAqB,CAAC,IAAU,EAAE,OAAyB;IAClE,MAAM,gBAAgB,GAAG,IAAA,uCAAwB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IACjE,MAAM,mBAAmB,GAAG,IAAA,uCAAwB,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IACxE,MAAM,kBAAkB,GAAG,IAAA,uCAAwB,EAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACtE,IAAI,gBAAgB,IAAI,mBAAmB,IAAI,kBAAkB,EAAE,CAAC;QAClE,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtB,2BAA2B;YAC3B,IAAA,uCAAwB,EAAC,IAAI,EAAE;gBAC7B,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,iCAAkB,CAAC,OAAO;gBAChC,OAAO,EAAE,eAAe;aACzB,CAAC,CAAC;YACH,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAChD,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,WAAW,GAAG,IAAI,CAAC,QAAQ,CAAC,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,CAAC;QACJ,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "type": "object",
4
+ "properties": {}
5
+ }
@@ -6,20 +6,16 @@ const move_class_to_library_1 = require("../../../utility/move-class-to-library"
6
6
  const visit_project_files_1 = require("../../../utility/visit-project-files");
7
7
  function default_1() {
8
8
  return (tree) => {
9
- (0, visit_project_files_1.visitProjectFiles)(tree, '', (path, entry) => {
9
+ (0, visit_project_files_1.visitProjectFiles)(tree, '', (path) => {
10
10
  if (!path.endsWith('.ts')) {
11
11
  return;
12
12
  }
13
- const content = entry?.content.toString();
14
- if (!content) {
15
- return;
16
- }
17
13
  const sourceFile = (0, schematics_1.parseSourceFile)(tree, path);
18
14
  if (!sourceFile ||
19
15
  !(0, schematics_1.isImported)(sourceFile, 'SkyHelpInlineModule', '@skyux/indicators')) {
20
16
  return;
21
17
  }
22
- (0, move_class_to_library_1.moveClassToLibrary)(tree, path, sourceFile, content, {
18
+ (0, move_class_to_library_1.moveClassToLibrary)(tree, path, {
23
19
  classNames: ['SkyHelpInlineModule'],
24
20
  previousLibrary: '@skyux/indicators',
25
21
  newLibrary: '@skyux/help-inline',
@@ -1 +1 @@
1
- {"version":3,"file":"help-inline-import-path.schematic.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/packages/src/schematics/migrations/update-12/help-inline-import-path/help-inline-import-path.schematic.ts"],"names":[],"mappings":";;AAMA,4BA6BC;AAlCD,wDAAsE;AAEtE,kFAA4E;AAC5E,8EAAyE;AAEzE;IACE,OAAO,CAAC,IAAU,EAAQ,EAAE;QAC1B,IAAA,uCAAiB,EAAC,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;YAC1C,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC1B,OAAO;YACT,CAAC;YAED,MAAM,OAAO,GAAG,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC;YAE1C,IAAI,CAAC,OAAO,EAAE,CAAC;gBACb,OAAO;YACT,CAAC;YAED,MAAM,UAAU,GAAG,IAAA,4BAAe,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YAE/C,IACE,CAAC,UAAU;gBACX,CAAC,IAAA,uBAAU,EAAC,UAAU,EAAE,qBAAqB,EAAE,mBAAmB,CAAC,EACnE,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAA,0CAAkB,EAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE;gBAClD,UAAU,EAAE,CAAC,qBAAqB,CAAC;gBACnC,eAAe,EAAE,mBAAmB;gBACpC,UAAU,EAAE,oBAAoB;aACjC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"help-inline-import-path.schematic.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/packages/src/schematics/migrations/update-12/help-inline-import-path/help-inline-import-path.schematic.ts"],"names":[],"mappings":";;AAMA,4BAuBC;AA5BD,wDAAsE;AAEtE,kFAA4E;AAC5E,8EAAyE;AAEzE;IACE,OAAO,CAAC,IAAU,EAAQ,EAAE;QAC1B,IAAA,uCAAiB,EAAC,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE;YACnC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC1B,OAAO;YACT,CAAC;YAED,MAAM,UAAU,GAAG,IAAA,4BAAe,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YAE/C,IACE,CAAC,UAAU;gBACX,CAAC,IAAA,uBAAU,EAAC,UAAU,EAAE,qBAAqB,EAAE,mBAAmB,CAAC,EACnE,CAAC;gBACD,OAAO;YACT,CAAC;YAED,IAAA,0CAAkB,EAAC,IAAI,EAAE,IAAI,EAAE;gBAC7B,UAAU,EAAE,CAAC,qBAAqB,CAAC;gBACnC,eAAe,EAAE,mBAAmB;gBACpC,UAAU,EAAE,oBAAoB;aACjC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC"}
@@ -1 +1,2 @@
1
- export default function (): import("@angular-devkit/schematics").Rule;
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ export default function (): Rule;
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = default_1;
4
4
  const schematics_1 = require("@angular-devkit/schematics");
5
- const schematics_2 = require("@angular/cdk/schematics");
6
5
  const dependencies_1 = require("@schematics/angular/utility/dependencies");
7
6
  const ensure_peers_installed_1 = require("../../../rules/ensure-peers-installed");
8
7
  const move_class_to_library_1 = require("../../../utility/move-class-to-library");
@@ -17,21 +16,11 @@ function default_1() {
17
16
  },
18
17
  ]),
19
18
  (tree) => {
20
- (0, visit_project_files_1.visitProjectFiles)(tree, '', (path, entry) => {
21
- if (!path.endsWith('.ts')) {
19
+ (0, visit_project_files_1.visitProjectFiles)(tree, '', (filePath) => {
20
+ if (!filePath.endsWith('.ts')) {
22
21
  return;
23
22
  }
24
- const content = entry?.content.toString();
25
- if (!content) {
26
- return;
27
- }
28
- const sourceFile = (0, schematics_2.parseSourceFile)(tree, path);
29
- /* safety check */
30
- /* istanbul ignore if */
31
- if (!sourceFile) {
32
- return;
33
- }
34
- (0, move_class_to_library_1.moveClassToLibrary)(tree, path, sourceFile, content, {
23
+ (0, move_class_to_library_1.moveClassToLibrary)(tree, filePath, {
35
24
  classNames: [
36
25
  'SkyIconStackItem',
37
26
  'SkyIconModule',
@@ -41,6 +30,11 @@ function default_1() {
41
30
  previousLibrary: '@skyux/indicators',
42
31
  newLibrary: '@skyux/icon',
43
32
  });
33
+ (0, move_class_to_library_1.moveClassToLibrary)(tree, filePath, {
34
+ classNames: ['SkyIconHarness', 'SkyIconHarnessFilters'],
35
+ previousLibrary: '@skyux/indicators/testing',
36
+ newLibrary: '@skyux/icon/testing',
37
+ });
44
38
  });
45
39
  },
46
40
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"icons-migration.schematic.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/packages/src/schematics/migrations/update-12/icons-migration/icons-migration.schematic.ts"],"names":[],"mappings":";;AAQA,4BAuCC;AA/CD,2DAAyD;AACzD,wDAA0D;AAC1D,2EAA8E;AAE9E,kFAA6E;AAC7E,kFAA4E;AAC5E,8EAAyE;AAEzE;IACE,OAAO,IAAA,kBAAK,EAAC;QACX,IAAA,6CAAoB,EAAC,mBAAmB,EAAE;YACxC;gBACE,YAAY,EAAE,IAAI;gBAClB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,iCAAkB,CAAC,OAAO;aACjC;SACF,CAAC;QACF,CAAC,IAAU,EAAE,EAAE;YACb,IAAA,uCAAiB,EAAC,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;gBAC1C,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;oBAC1B,OAAO;gBACT,CAAC;gBACD,MAAM,OAAO,GAAG,KAAK,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC;gBAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;oBACb,OAAO;gBACT,CAAC;gBAED,MAAM,UAAU,GAAG,IAAA,4BAAe,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;gBAC/C,kBAAkB;gBAClB,wBAAwB;gBACxB,IAAI,CAAC,UAAU,EAAE,CAAC;oBAChB,OAAO;gBACT,CAAC;gBAED,IAAA,0CAAkB,EAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE;oBAClD,UAAU,EAAE;wBACV,kBAAkB;wBAClB,eAAe;wBACf,aAAa;wBACb,oBAAoB;qBACrB;oBACD,eAAe,EAAE,mBAAmB;oBACpC,UAAU,EAAE,aAAa;iBAC1B,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;KACF,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"icons-migration.schematic.js","sourceRoot":"","sources":["../../../../../../../../../libs/components/packages/src/schematics/migrations/update-12/icons-migration/icons-migration.schematic.ts"],"names":[],"mappings":";;AAOA,4BAkCC;AAzCD,2DAA+D;AAC/D,2EAA8E;AAE9E,kFAA6E;AAC7E,kFAA4E;AAC5E,8EAAyE;AAEzE;IACE,OAAO,IAAA,kBAAK,EAAC;QACX,IAAA,6CAAoB,EAAC,mBAAmB,EAAE;YACxC;gBACE,YAAY,EAAE,IAAI;gBAClB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,iCAAkB,CAAC,OAAO;aACjC;SACF,CAAC;QACF,CAAC,IAAU,EAAQ,EAAE;YACnB,IAAA,uCAAiB,EAAC,IAAI,EAAE,EAAE,EAAE,CAAC,QAAQ,EAAE,EAAE;gBACvC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;oBAC9B,OAAO;gBACT,CAAC;gBAED,IAAA,0CAAkB,EAAC,IAAI,EAAE,QAAQ,EAAE;oBACjC,UAAU,EAAE;wBACV,kBAAkB;wBAClB,eAAe;wBACf,aAAa;wBACb,oBAAoB;qBACrB;oBACD,eAAe,EAAE,mBAAmB;oBACpC,UAAU,EAAE,aAAa;iBAC1B,CAAC,CAAC;gBAEH,IAAA,0CAAkB,EAAC,IAAI,EAAE,QAAQ,EAAE;oBACjC,UAAU,EAAE,CAAC,gBAAgB,EAAE,uBAAuB,CAAC;oBACvD,eAAe,EAAE,2BAA2B;oBAC5C,UAAU,EAAE,qBAAqB;iBAClC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import { Tree } from '@angular-devkit/schematics';
2
- import ts from '@schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript';
3
2
  export interface MoveClassToLibraryOptions {
4
3
  classNames: string[];
5
4
  previousLibrary: string;
6
5
  newLibrary: string;
7
6
  }
8
- export declare function moveClassToLibrary(tree: Tree, projectPath: string, sourceFile: ts.SourceFile, content: string, options: MoveClassToLibraryOptions): void;
7
+ export declare function moveClassToLibrary(tree: Tree, filePath: string, options: MoveClassToLibraryOptions): void;
@@ -4,8 +4,10 @@ exports.moveClassToLibrary = moveClassToLibrary;
4
4
  const tslib_1 = require("tslib");
5
5
  const schematics_1 = require("@angular/cdk/schematics");
6
6
  const typescript_1 = tslib_1.__importDefault(require("@schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript"));
7
- function moveClassToLibrary(tree, projectPath, sourceFile, content, options) {
8
- const recorder = tree.beginUpdate(projectPath);
7
+ function moveClassToLibrary(tree, filePath, options) {
8
+ const sourceFile = (0, schematics_1.parseSourceFile)(tree, filePath);
9
+ const content = tree.readText(filePath);
10
+ const recorder = tree.beginUpdate(filePath);
9
11
  const replacedImports = [];
10
12
  const moduleImports = (0, schematics_1.findNodes)(sourceFile, typescript_1.default.SyntaxKind.ImportDeclaration).filter((node) => typescript_1.default.isImportDeclaration(node) &&
11
13
  typescript_1.default.isStringLiteral(node.moduleSpecifier) &&
@@ -1 +1 @@
1
- {"version":3,"file":"move-class-to-library.js","sourceRoot":"","sources":["../../../../../../../libs/components/packages/src/schematics/utility/move-class-to-library.ts"],"names":[],"mappings":";;AAUA,gDA8EC;;AAvFD,wDAAoD;AACpD,wIAAgG;AAQhG,SAAgB,kBAAkB,CAChC,IAAU,EACV,WAAmB,EACnB,UAAyB,EACzB,OAAe,EACf,OAAkC;IAElC,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAC/C,MAAM,eAAe,GAIf,EAAE,CAAC;IAET,MAAM,aAAa,GAAG,IAAA,sBAAS,EAC7B,UAAU,EACV,oBAAE,CAAC,UAAU,CAAC,iBAAiB,CAChC,CAAC,MAAM,CACN,CAAC,IAAI,EAAgC,EAAE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,CAAC,MAAM;oBACrD,cAAc,CAAC,MAAM,EACvB,CAAC;gBACD,sEAAsE;gBACtE,cAAc,CAAC,OAAO,CAAC,CAAC,EAAE,oBAAoB,EAAE,EAAE,EAAE;oBAClD,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,QAAQ,EAAE,CAAC;oBACzD,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,QAAQ,EAAE,CAAC;oBAEzD,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;oBAEpD,IAAI,OAAO,CAAC,MAAM,CAAC,gBAAgB,GAAG,gBAAgB,CAAC,KAAK,GAAG,EAAE,CAAC;wBAChE,QAAQ,CAAC,MAAM,CAAC,gBAAgB,GAAG,gBAAgB,EAAE,CAAC,CAAC,CAAC;oBAC1D,CAAC;gBACH,CAAC,CAAC,CAAC;YACL,CAAC;iBAAM,CAAC;gBACN,qEAAqE;gBACrE,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,EAAE,YAAY,CAAC,QAAQ,EAAE,CAAC,CAAC;YACpE,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC/B,QAAQ,CAAC,UAAU,CACjB,eAAe,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE,EAC1C,YAAY,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,OAAO,CAAC,UAAU,MAAM,CAC7G,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;AAC9B,CAAC"}
1
+ {"version":3,"file":"move-class-to-library.js","sourceRoot":"","sources":["../../../../../../../libs/components/packages/src/schematics/utility/move-class-to-library.ts"],"names":[],"mappings":";;AAUA,gDAgFC;;AAzFD,wD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E,CAAC;QAC/B,QAAQ,CAAC,UAAU,CACjB,eAAe,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,EAAE,EAC1C,YAAY,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,OAAO,CAAC,UAAU,MAAM,CAC7G,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;AAC9B,CAAC"}
package/src/version.js CHANGED
@@ -19,5 +19,5 @@ exports.Version = Version;
19
19
  /**
20
20
  * Represents the version of @skyux/core.
21
21
  */
22
- exports.VERSION = new Version('12.0.0-alpha.5');
22
+ exports.VERSION = new Version('12.0.0-alpha.7');
23
23
  //# sourceMappingURL=version.js.map