styled-components-to-stylex-codemod 0.0.2 → 0.0.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/README.md +40 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -1
- package/dist/{logger-Ckk2VkqY.mjs → logger-Dhb8r1Ry.mjs} +29 -2
- package/dist/{transform-types-Cry4CAGJ.d.mts → transform-types-t2Vk9Bka.d.mts} +36 -0
- package/dist/transform.d.mts +1 -1
- package/dist/transform.mjs +2547 -1713
- package/package.json +22 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "styled-components-to-stylex-codemod",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Codemod to transform styled-components to StyleX",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codemod",
|
|
@@ -28,23 +28,6 @@
|
|
|
28
28
|
},
|
|
29
29
|
"./package.json": "./package.json"
|
|
30
30
|
},
|
|
31
|
-
"scripts": {
|
|
32
|
-
"build": "tsdown",
|
|
33
|
-
"dev": "tsdown --watch",
|
|
34
|
-
"test": "vitest",
|
|
35
|
-
"test:run": "vitest run",
|
|
36
|
-
"test:coverage": "vitest run --coverage",
|
|
37
|
-
"lint": "oxlint --type-aware --deny-warnings",
|
|
38
|
-
"lint:fix": "oxfmt && pnpm lint --fix",
|
|
39
|
-
"typecheck:src": "tsc --noEmit",
|
|
40
|
-
"typecheck:fixtures": "tsc -p test-cases/tsconfig.json --noEmit",
|
|
41
|
-
"typecheck": "pnpm run typecheck:src && pnpm run typecheck:fixtures",
|
|
42
|
-
"ci": "pnpm run lint && pnpm run typecheck && pnpm run test:run",
|
|
43
|
-
"prepublishOnly": "pnpm run build",
|
|
44
|
-
"storybook": "storybook dev -p 6006",
|
|
45
|
-
"playground": "vite --config playground/vite.config.ts",
|
|
46
|
-
"build:playground": "vite build --config playground/vite.config.ts"
|
|
47
|
-
},
|
|
48
31
|
"dependencies": {
|
|
49
32
|
"jscodeshift": "^17.3.0",
|
|
50
33
|
"stylis": "^4.3.2"
|
|
@@ -52,7 +35,6 @@
|
|
|
52
35
|
"devDependencies": {
|
|
53
36
|
"@codemirror/lang-javascript": "^6.2.4",
|
|
54
37
|
"@emotion/is-prop-valid": "^1.4.0",
|
|
55
|
-
"@playwright/test": "^1.57.0",
|
|
56
38
|
"@storybook/react": "^10.1.10",
|
|
57
39
|
"@storybook/react-vite": "^10.1.10",
|
|
58
40
|
"@stylexjs/babel-plugin": "^0.17.4",
|
|
@@ -66,10 +48,13 @@
|
|
|
66
48
|
"@uiw/react-codemirror": "^4.25.4",
|
|
67
49
|
"@vitejs/plugin-react": "^5.1.2",
|
|
68
50
|
"@vitest/coverage-v8": "^4.0.16",
|
|
51
|
+
"assert": "^2.1.0",
|
|
52
|
+
"knip": "^5.81.0",
|
|
69
53
|
"lefthook": "^2.0.13",
|
|
70
54
|
"oxfmt": "^0.20.0",
|
|
71
55
|
"oxlint": "^1.35.0",
|
|
72
56
|
"oxlint-tsgolint": "^0.10.1",
|
|
57
|
+
"path-browserify": "^1.0.1",
|
|
73
58
|
"react": "^19.2.3",
|
|
74
59
|
"react-dom": "^19.2.3",
|
|
75
60
|
"storybook": "^10.1.10",
|
|
@@ -77,12 +62,27 @@
|
|
|
77
62
|
"tsdown": "^0.18.3",
|
|
78
63
|
"typescript": "^5.9.3",
|
|
79
64
|
"vite": "^7.3.0",
|
|
80
|
-
"vite-plugin-node-polyfills": "^0.24.0",
|
|
81
65
|
"vitest": "^4.0.16"
|
|
82
66
|
},
|
|
83
67
|
"engines": {
|
|
84
68
|
"node": ">=22.20",
|
|
85
69
|
"pnpm": ">=10.22.0"
|
|
86
70
|
},
|
|
87
|
-
"
|
|
88
|
-
|
|
71
|
+
"scripts": {
|
|
72
|
+
"build": "tsdown",
|
|
73
|
+
"dev": "tsdown --watch",
|
|
74
|
+
"test": "vitest",
|
|
75
|
+
"test:run": "vitest run",
|
|
76
|
+
"test:coverage": "vitest run --coverage",
|
|
77
|
+
"lint": "oxlint --type-aware --deny-warnings",
|
|
78
|
+
"lint:fix": "oxfmt && pnpm lint --fix",
|
|
79
|
+
"typecheck:src": "tsc --noEmit",
|
|
80
|
+
"typecheck:fixtures": "tsc -p test-cases/tsconfig.json --noEmit",
|
|
81
|
+
"typecheck": "pnpm run typecheck:src && pnpm run typecheck:fixtures",
|
|
82
|
+
"ci": "pnpm run lint && pnpm run typecheck && pnpm run test:run && knip",
|
|
83
|
+
"knip": "knip",
|
|
84
|
+
"storybook": "storybook dev -p 6006",
|
|
85
|
+
"playground": "vite --config playground/vite.config.ts",
|
|
86
|
+
"build:playground": "vite build --config playground/vite.config.ts"
|
|
87
|
+
}
|
|
88
|
+
}
|