@exhaustive-ui/core 22.0.0-rc.3 → 22.0.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/README.md
CHANGED
|
@@ -70,7 +70,7 @@ ng update @exhaustive-ui/core@22
|
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
`ng update` rewrites the affected templates and lists what it left for review. See the
|
|
73
|
-
[
|
|
73
|
+
[migration guide to v22](https://exhaustive-ui.com/migration/v22).
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
## 🚀 Quick Start
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exhaustive-ui/core",
|
|
3
|
-
"version": "22.0.0
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"author": "e-xiste",
|
|
5
5
|
"description": "ExhaustiveUI is a community-maintained, MIT licensed UI library for Angular with 80+ accessible components and design-agnostic theming, including Aura, Material, Lara and Nora presets.",
|
|
6
6
|
"homepage": "https://exhaustive-ui.com/",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"tslib": "^2.3.0",
|
|
59
|
-
"@exhaustive-ui/
|
|
60
|
-
"@exhaustive-ui/
|
|
61
|
-
"@exhaustive-ui/utils": "22.0.0
|
|
62
|
-
"@exhaustive-ui/styles": "22.0.0
|
|
59
|
+
"@exhaustive-ui/motion": "22.0.0",
|
|
60
|
+
"@exhaustive-ui/styled": "22.0.0",
|
|
61
|
+
"@exhaustive-ui/utils": "22.0.0",
|
|
62
|
+
"@exhaustive-ui/styles": "22.0.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependenciesMeta": {
|
|
65
65
|
"chart.js": {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"schema": "./ng-add/schema.json"
|
|
8
8
|
},
|
|
9
9
|
"migrate-from-primeng": {
|
|
10
|
-
"description": "
|
|
10
|
+
"description": "Migrate a PrimeNG v21 project, updated to Angular 22, to ExhaustiveUI (including PrimeIcons to @openng/icons).",
|
|
11
11
|
"factory": "./migrate-from-primeng/index#migrateFromPrimeng",
|
|
12
12
|
"schema": "./migrate-from-primeng/schema.json"
|
|
13
13
|
},
|
|
@@ -27,15 +27,11 @@ const MIN_PRIMENG_MAJOR = 21;
|
|
|
27
27
|
// leftover report with dozens of registry URL lines for a dependency we already swapped out.
|
|
28
28
|
const LOCKFILE_NAMES = new Set(['package-lock.json', 'npm-shrinkwrap.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb', 'bun.lock']);
|
|
29
29
|
/**
|
|
30
|
-
* Migrates a PrimeNG v21 workspace to ExhaustiveUI.
|
|
31
|
-
*
|
|
32
|
-
* @deprecated This schematic is only maintained on the `release/1.x` line (the `@exhaustive-ui/core@1`
|
|
33
|
-
* package, published to v1.optimus.openng.org). It is not actively maintained on `main` going forward.
|
|
34
|
-
* Run it via `ng generate @exhaustive-ui/core@1:migrate-from-primeng` rather than an unpinned install.
|
|
30
|
+
* Migrates a PrimeNG v21 workspace to ExhaustiveUI. The v22 `ng update` migrations then run with
|
|
31
|
+
* `ng update @exhaustive-ui/core --migrate-only --from=3.0.0`.
|
|
35
32
|
*/
|
|
36
33
|
function migrateFromPrimeng(options) {
|
|
37
34
|
return (tree, context) => {
|
|
38
|
-
warnDeprecated(context);
|
|
39
35
|
checkVersionGate(tree, options);
|
|
40
36
|
const isIgnored = (0, gitignore_1.createIgnoreMatcher)(tree);
|
|
41
37
|
const packageJsonPaths = [];
|
|
@@ -84,16 +80,6 @@ function migrateFromPrimeng(options) {
|
|
|
84
80
|
return tree;
|
|
85
81
|
};
|
|
86
82
|
}
|
|
87
|
-
/**
|
|
88
|
-
* This schematic is deprecated on `main` — it is only maintained on the `release/1.x` line. Printed
|
|
89
|
-
* once, up front, so CLI users see it even though they will never read the JSDoc above.
|
|
90
|
-
*/
|
|
91
|
-
function warnDeprecated(context) {
|
|
92
|
-
context.logger.warn('migrate-from-primeng is deprecated on this line of @exhaustive-ui/core and is only maintained on release/1.x. ' +
|
|
93
|
-
'Run it via the pinned v1 package instead:\n' +
|
|
94
|
-
' npm install @exhaustive-ui/core@1\n' +
|
|
95
|
-
' ng generate @exhaustive-ui/core@1:migrate-from-primeng');
|
|
96
|
-
}
|
|
97
83
|
/**
|
|
98
84
|
* PrimeFlex is an independent utility-CSS library that this schematic does not migrate. If the
|
|
99
85
|
* workspace also depends on it, point the user at the dedicated `migrate-from-primeflex` schematic,
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"$id": "ExhaustiveUiMigrateFromPrimeng",
|
|
4
4
|
"title": "Migrate a PrimeNG v21 project to ExhaustiveUI",
|
|
5
|
-
"description": "
|
|
6
|
-
"deprecated": true,
|
|
5
|
+
"description": "Migrate a PrimeNG v21 workspace, updated to Angular 22, to ExhaustiveUI: dependencies, imports, configuration API and PrimeIcons.",
|
|
7
6
|
"type": "object",
|
|
8
7
|
"properties": {
|
|
9
8
|
"skipInstall": {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"@exhaustive-ui/core": "^22.0.0
|
|
3
|
-
"@exhaustive-ui/locale": "^22.0.0
|
|
4
|
-
"@exhaustive-ui/motion": "^22.0.0
|
|
5
|
-
"@exhaustive-ui/styled": "^22.0.0
|
|
6
|
-
"@exhaustive-ui/styles": "^22.0.0
|
|
7
|
-
"@exhaustive-ui/tailwindcss": "^22.0.0
|
|
8
|
-
"@exhaustive-ui/themes": "^22.0.0
|
|
9
|
-
"@exhaustive-ui/utils": "^22.0.0
|
|
2
|
+
"@exhaustive-ui/core": "^22.0.0",
|
|
3
|
+
"@exhaustive-ui/locale": "^22.0.0",
|
|
4
|
+
"@exhaustive-ui/motion": "^22.0.0",
|
|
5
|
+
"@exhaustive-ui/styled": "^22.0.0",
|
|
6
|
+
"@exhaustive-ui/styles": "^22.0.0",
|
|
7
|
+
"@exhaustive-ui/tailwindcss": "^22.0.0",
|
|
8
|
+
"@exhaustive-ui/themes": "^22.0.0",
|
|
9
|
+
"@exhaustive-ui/utils": "^22.0.0",
|
|
10
10
|
"@openng/icons": "^1.0.0"
|
|
11
11
|
}
|