@maz-ui/upgrade 5.0.0-beta.2 → 5.0.0-beta.24
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
|
@@ -8,7 +8,7 @@ from your todo list, then walk through the rest of the
|
|
|
8
8
|
need a human eye (theme `foundation.radius` reshape, `MazIcon` API,
|
|
9
9
|
`MazBadge` numeric sizes, `MazChart` `update-mode`).
|
|
10
10
|
|
|
11
|
-
The companion [`@maz-ui/mcp`](https://maz-ui.com/
|
|
11
|
+
The companion [`@maz-ui/mcp`](https://maz-ui.com/ecosystem/mcp) server lets your
|
|
12
12
|
AI assistant read the migration guide and apply the manual steps with full
|
|
13
13
|
context.
|
|
14
14
|
|
|
@@ -270,7 +270,7 @@ Next: see https://maz-ui.com/guide/migration-v5 for the manual steps
|
|
|
270
270
|
## What it does NOT do
|
|
271
271
|
|
|
272
272
|
Some changes need a human (or your AI assistant via the
|
|
273
|
-
[`@maz-ui/mcp`](https://maz-ui.com/
|
|
273
|
+
[`@maz-ui/mcp`](https://maz-ui.com/ecosystem/mcp) server) — see the
|
|
274
274
|
[migration guide](https://maz-ui.com/guide/migration-v5) for the full
|
|
275
275
|
context:
|
|
276
276
|
|
package/dist/cli.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { resolve, dirname } from 'node:path';
|
|
|
5
5
|
import process from 'node:process';
|
|
6
6
|
import { logger } from '@maz-ui/node';
|
|
7
7
|
import { globby } from 'globby';
|
|
8
|
-
import { A as ALL_GROUPS, h as hasFoundationRadius,
|
|
8
|
+
import { A as ALL_GROUPS, h as hasFoundationRadius, d as transformFile, a as hasMazUiRootImport } from './shared/upgrade.TLmNPyOG.mjs';
|
|
9
9
|
|
|
10
10
|
const DEFAULT_IGNORES = [
|
|
11
11
|
"**/node_modules/**",
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { A as ALL_GROUPS,
|
|
1
|
+
export { A as ALL_GROUPS, t as transformConfig, b as transformCssVars, c as transformDeps, d as transformFile, e as transformHslVar, f as transformImports, g as transformPresetColors, i as transformProps } from './shared/upgrade.TLmNPyOG.mjs';
|
|
@@ -169,4 +169,4 @@ function transformFile(filename, content, options = {}) {
|
|
|
169
169
|
return out;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
export { ALL_GROUPS as A, hasMazUiRootImport as a,
|
|
172
|
+
export { ALL_GROUPS as A, hasMazUiRootImport as a, transformCssVars as b, transformDeps as c, transformFile as d, transformHslVar as e, transformImports as f, transformPresetColors as g, hasFoundationRadius as h, transformProps as i, transformConfig as t };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maz-ui/upgrade",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.24",
|
|
5
5
|
"description": "Automated source rewrites for migrating a project from Maz-UI v4 to v5.",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|
|
25
25
|
"types": "./dist/index.d.ts",
|
|
26
|
-
"import": "./dist/index.mjs"
|
|
26
|
+
"import": "./dist/index.mjs",
|
|
27
|
+
"default": "./dist/index.mjs"
|
|
27
28
|
}
|
|
28
29
|
},
|
|
29
30
|
"main": "./dist/index.mjs",
|
|
@@ -41,14 +42,14 @@
|
|
|
41
42
|
},
|
|
42
43
|
"dependencies": {
|
|
43
44
|
"globby": "^16.2.0",
|
|
44
|
-
"@maz-ui/node": "5.0.0-beta.
|
|
45
|
+
"@maz-ui/node": "5.0.0-beta.24"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
|
-
"@types/node": "^25.
|
|
48
|
+
"@types/node": "^25.9.0",
|
|
48
49
|
"typescript": "^5.9.3",
|
|
49
50
|
"unbuild": "^3.6.1",
|
|
50
|
-
"vitest": "4.1.
|
|
51
|
-
"@maz-ui/eslint-config": "5.0.0-beta.
|
|
51
|
+
"vitest": "4.1.6",
|
|
52
|
+
"@maz-ui/eslint-config": "5.0.0-beta.24"
|
|
52
53
|
},
|
|
53
54
|
"lint-staged": {
|
|
54
55
|
"*.{js,ts,mjs,mts,cjs,md,yml,json}": "cross-env NODE_ENV=production eslint --fix"
|