codemod 0.8.0 → 0.8.2
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/LICENSE +3 -3
- package/README.md +2 -2
- package/dist/index.cjs +1519 -1412
- package/package.json +27 -35
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codemod",
|
|
3
|
-
"
|
|
3
|
+
"author": "Codemod, Inc.",
|
|
4
|
+
"version": "0.8.2",
|
|
4
5
|
"description": "A codemod engine for Node.js libraries (jscodeshift, ts-morph, etc.)",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"exports": null,
|
|
7
8
|
"repository": {
|
|
8
|
-
"type": "git"
|
|
9
|
-
"url": "https://github.com/codemod-com/codemod-engine-node"
|
|
9
|
+
"type": "git"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
12
12
|
"codemod",
|
|
@@ -25,21 +25,29 @@
|
|
|
25
25
|
"ember",
|
|
26
26
|
"react"
|
|
27
27
|
],
|
|
28
|
-
"
|
|
28
|
+
"main": "./dist/index.cjs",
|
|
29
|
+
"bin": "./dist/index.cjs",
|
|
30
|
+
"devDependencies": {
|
|
29
31
|
"@babel/core": "^7.20.2",
|
|
30
32
|
"@babel/parser": "^7.22.10",
|
|
31
33
|
"@babel/preset-env": "^7.20.2",
|
|
32
34
|
"@babel/traverse": "7.23.2",
|
|
33
35
|
"@effect/schema": "0.27.0",
|
|
34
|
-
"@intuita-inc/filemod": "2.0.2",
|
|
35
|
-
"@intuita-inc/utilities": "1.1.0",
|
|
36
36
|
"@svgr/hast-util-to-babel-ast": "^7.0.0",
|
|
37
|
+
"@types/babel__traverse": "^7.20.1",
|
|
38
|
+
"@types/jscodeshift": "^0.11.5",
|
|
39
|
+
"@types/node": "18.11.9",
|
|
40
|
+
"@types/sinon": "^10.0.20",
|
|
41
|
+
"@types/tar": "^6.1.5",
|
|
42
|
+
"@types/yargs": "^17.0.13",
|
|
43
|
+
"@vitest/coverage-v8": "^1.0.1",
|
|
37
44
|
"applicationinsights": "^2.9.1",
|
|
38
45
|
"ast-types": "^0.14.2",
|
|
39
46
|
"axios": "^1.4.0",
|
|
40
47
|
"cosmiconfig": "^8.3.6",
|
|
41
|
-
"
|
|
48
|
+
"esbuild": "^0.17.14",
|
|
42
49
|
"fast-glob": "3.3.2",
|
|
50
|
+
"form-data": "^4.0.0",
|
|
43
51
|
"jscodeshift": "^0.14.0",
|
|
44
52
|
"mdast-util-from-markdown": "^2.0.0",
|
|
45
53
|
"mdast-util-mdx": "^3.0.0",
|
|
@@ -47,44 +55,30 @@
|
|
|
47
55
|
"memfs": "^4.2.0",
|
|
48
56
|
"micromark-extension-mdxjs": "^2.0.0",
|
|
49
57
|
"minimatch": "^9.0.3",
|
|
50
|
-
"prettier": "^2
|
|
58
|
+
"prettier": "^2",
|
|
51
59
|
"rehype-parse": "^8.0.4",
|
|
60
|
+
"sinon": "^17.0.0",
|
|
52
61
|
"tar": "^6.1.15",
|
|
53
62
|
"terminal-link": "^3.0.0",
|
|
54
63
|
"ts-morph": "18.0.0",
|
|
64
|
+
"ts-node": "^10.9.1",
|
|
65
|
+
"typescript": "5.2.2",
|
|
55
66
|
"unified": "^10.1.2",
|
|
56
67
|
"unist-util-filter": "^5.0.1",
|
|
57
68
|
"unist-util-visit": "^5.0.0",
|
|
58
69
|
"valibot": "^0.24.1",
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"devDependencies": {
|
|
64
|
-
"@types/babel__traverse": "^7.20.1",
|
|
65
|
-
"@types/jscodeshift": "^0.11.5",
|
|
66
|
-
"@types/node": "18.11.9",
|
|
67
|
-
"@types/prettier": "^2.7.3",
|
|
68
|
-
"@types/sinon": "^10.0.20",
|
|
69
|
-
"@types/tar": "^6.1.5",
|
|
70
|
-
"@types/yargs": "^17.0.13",
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "6.9.1",
|
|
72
|
-
"@typescript-eslint/parser": "6.9.1",
|
|
73
|
-
"@vitest/coverage-v8": "^1.0.1",
|
|
74
|
-
"esbuild": "^0.17.14",
|
|
75
|
-
"eslint": "^8.28.0",
|
|
76
|
-
"eslint-config-prettier": "^8.5.0",
|
|
77
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
78
|
-
"sinon": "^17.0.0",
|
|
79
|
-
"ts-node": "^10.9.1",
|
|
80
|
-
"typescript": "5.2.2",
|
|
81
|
-
"vitest": "^1.0.1"
|
|
70
|
+
"vitest": "^1.0.1",
|
|
71
|
+
"yargs": "^17.6.2",
|
|
72
|
+
"@codemod-com/filemod": "2.0.2",
|
|
73
|
+
"@codemod-com/utilities": "1.1.0"
|
|
82
74
|
},
|
|
83
75
|
"packageManager": "pnpm@8.6.7",
|
|
76
|
+
"engines": {
|
|
77
|
+
"node": ">=18.5.0"
|
|
78
|
+
},
|
|
84
79
|
"pkg": {
|
|
85
80
|
"outputPath": "./package/"
|
|
86
81
|
},
|
|
87
|
-
"author": "Caartaa, Inc.",
|
|
88
82
|
"license": "Apache License, Version 2.0",
|
|
89
83
|
"files": [
|
|
90
84
|
"./dist/index.cjs",
|
|
@@ -95,9 +89,7 @@
|
|
|
95
89
|
"access": "public"
|
|
96
90
|
},
|
|
97
91
|
"scripts": {
|
|
98
|
-
"build": "esbuild ./src/index.ts --define:__CODEMODCOM_CLI_VERSION__=\\\"0.8.
|
|
99
|
-
"lint:eslint": "eslint src --fix --ext ts",
|
|
100
|
-
"lint:prettier": "prettier --write .",
|
|
92
|
+
"build": "esbuild ./src/index.ts --define:__CODEMODCOM_CLI_VERSION__=\\\"0.8.2\\\" --bundle --platform=node --target=node18 --minify --format=cjs --legal-comments=inline --outfile=./dist/index.cjs",
|
|
101
93
|
"package": "pkg --compress GZip .",
|
|
102
94
|
"test": "TEST=1 vitest run",
|
|
103
95
|
"coverage": "TEST=1 vitest run --coverage"
|