bestax-migrate 0.0.1
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 +59 -0
- package/dist/cli.d.ts +22 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +225 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/dist/report.d.ts +24 -0
- package/dist/report.d.ts.map +1 -0
- package/dist/report.js +66 -0
- package/dist/runner.d.ts +16 -0
- package/dist/runner.d.ts.map +1 -0
- package/dist/runner.js +69 -0
- package/dist/sources/react-bulma-components/deps.d.ts +9 -0
- package/dist/sources/react-bulma-components/deps.d.ts.map +1 -0
- package/dist/sources/react-bulma-components/deps.js +96 -0
- package/dist/sources/react-bulma-components/index.d.ts +3 -0
- package/dist/sources/react-bulma-components/index.d.ts.map +1 -0
- package/dist/sources/react-bulma-components/index.js +10 -0
- package/dist/sources/react-bulma-components/jsx-utils.d.ts +69 -0
- package/dist/sources/react-bulma-components/jsx-utils.d.ts.map +1 -0
- package/dist/sources/react-bulma-components/jsx-utils.js +130 -0
- package/dist/sources/react-bulma-components/mapping.d.ts +31 -0
- package/dist/sources/react-bulma-components/mapping.d.ts.map +1 -0
- package/dist/sources/react-bulma-components/mapping.js +852 -0
- package/dist/sources/react-bulma-components/props.d.ts +15 -0
- package/dist/sources/react-bulma-components/props.d.ts.map +1 -0
- package/dist/sources/react-bulma-components/props.js +124 -0
- package/dist/sources/react-bulma-components/responsive.d.ts +17 -0
- package/dist/sources/react-bulma-components/responsive.d.ts.map +1 -0
- package/dist/sources/react-bulma-components/responsive.js +113 -0
- package/dist/sources/react-bulma-components/specials.d.ts +23 -0
- package/dist/sources/react-bulma-components/specials.d.ts.map +1 -0
- package/dist/sources/react-bulma-components/specials.js +546 -0
- package/dist/sources/react-bulma-components/styles.d.ts +13 -0
- package/dist/sources/react-bulma-components/styles.d.ts.map +1 -0
- package/dist/sources/react-bulma-components/styles.js +199 -0
- package/dist/sources/react-bulma-components/transform.d.ts +19 -0
- package/dist/sources/react-bulma-components/transform.d.ts.map +1 -0
- package/dist/sources/react-bulma-components/transform.js +495 -0
- package/dist/sources/registry.d.ts +9 -0
- package/dist/sources/registry.d.ts.map +1 -0
- package/dist/sources/registry.js +14 -0
- package/dist/types.d.ts +122 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +9 -0
- package/package.json +74 -0
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bestax-migrate",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Codemods for migrating existing React apps from other Bulma libraries to @allxsmith/bestax-bulma",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"bestax-migrate": "./dist/index.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc",
|
|
14
|
+
"dev": "tsc --watch",
|
|
15
|
+
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
|
|
16
|
+
"test:watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch",
|
|
17
|
+
"test:coverage": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --coverage",
|
|
18
|
+
"lint": "eslint src e2e",
|
|
19
|
+
"typecheck": "tsc --noEmit",
|
|
20
|
+
"validate:corpus": "pnpm run build && node scripts/validate-corpus.mjs",
|
|
21
|
+
"format": "prettier --write \"src/**/*.{ts,tsx}\" \"e2e/**/*.ts\"",
|
|
22
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx}\" \"e2e/**/*.ts\"",
|
|
23
|
+
"clean": "rimraf dist",
|
|
24
|
+
"release": "npx semantic-release"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"bestax",
|
|
28
|
+
"bulma",
|
|
29
|
+
"react",
|
|
30
|
+
"codemod",
|
|
31
|
+
"jscodeshift",
|
|
32
|
+
"migration",
|
|
33
|
+
"react-bulma-components"
|
|
34
|
+
],
|
|
35
|
+
"author": "Alex Smith",
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=18.0.0"
|
|
39
|
+
},
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/allxsmith/bestax.git",
|
|
43
|
+
"directory": "bestax-migrate"
|
|
44
|
+
},
|
|
45
|
+
"homepage": "https://bestax.io",
|
|
46
|
+
"llms": "https://bestax.io/llms.txt",
|
|
47
|
+
"bugs": {
|
|
48
|
+
"url": "https://github.com/allxsmith/bestax/issues"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@allxsmith/bestax-bulma": "workspace:^",
|
|
52
|
+
"@babel/parser": "^7.26.0",
|
|
53
|
+
"chalk": "^5.6.2",
|
|
54
|
+
"commander": "^15.0.0",
|
|
55
|
+
"jscodeshift": "^17.3.0"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@jest/globals": "^30.0.0",
|
|
59
|
+
"@types/jest": "^30.0.0",
|
|
60
|
+
"@types/jscodeshift": "^17.3.0",
|
|
61
|
+
"@types/node": "^26.0.1",
|
|
62
|
+
"@types/react": "^19.0.0",
|
|
63
|
+
"@types/react-dom": "^19.0.0",
|
|
64
|
+
"jest": "^30.2.0",
|
|
65
|
+
"react": "^19.0.0",
|
|
66
|
+
"react-dom": "^19.0.0",
|
|
67
|
+
"ts-jest": "^29.4.6",
|
|
68
|
+
"typescript": "^6.0.3"
|
|
69
|
+
},
|
|
70
|
+
"publishConfig": {
|
|
71
|
+
"access": "public",
|
|
72
|
+
"provenance": "false"
|
|
73
|
+
}
|
|
74
|
+
}
|