@delance/builder 0.2.0 → 0.2.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/dist/index.js +2642 -595
- package/dist/index.js.map +101 -9
- package/package.json +41 -13
package/package.json
CHANGED
|
@@ -1,23 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delance/builder",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"author": "mochaaP <npm@mochaa.ws>",
|
|
5
|
-
"
|
|
5
|
+
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"delance-builder": "dist/cli.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
|
+
"packageManager": "pnpm@8.12.1",
|
|
12
13
|
"devDependencies": {
|
|
14
|
+
"@codemod/core": "https://gitpkg.vercel.app/api/pkg.tgz?url=codemod-js/codemod/packages/core&commit=f7526b4223cf97415c635b445271dee907d1401e&scripts.postinstall=rimraf%20tsconfig.json",
|
|
15
|
+
"@codemod/matchers": "https://gitpkg.vercel.app/api/pkg.tgz?url=codemod-js/codemod/packages/matchers&commit=f7526b4223cf97415c635b445271dee907d1401e&scripts.postinstall=rimraf%20tsconfig.json",
|
|
16
|
+
"@codemod/parser": "https://gitpkg.vercel.app/api/pkg.tgz?url=codemod-js/codemod/packages/parser&commit=f7526b4223cf97415c635b445271dee907d1401e&scripts.postinstall=rimraf%20tsconfig.json",
|
|
17
|
+
"@codemod/utils": "https://gitpkg.vercel.app/api/pkg.tgz?url=codemod-js/codemod/packages/utils&commit=f7526b4223cf97415c635b445271dee907d1401e&scripts.postinstall=rimraf%20tsconfig.json",
|
|
18
|
+
"@types/babel__core": "^7.20.5",
|
|
13
19
|
"@types/babel__generator": "^7",
|
|
14
20
|
"@types/babel__helper-validator-identifier": "^7",
|
|
15
21
|
"@types/babel__template": "^7",
|
|
16
22
|
"@types/babel__traverse": "^7",
|
|
17
23
|
"@types/bun": "^1.0.0",
|
|
18
24
|
"@types/debug": "^4",
|
|
25
|
+
"bun": "^1.0.20",
|
|
26
|
+
"rimraf": "^5.0.5",
|
|
19
27
|
"typescript": "^5.3",
|
|
20
|
-
"webcrack": "https://gitpkg.vercel.app/j4k0xb/webcrack/packages/webcrack",
|
|
28
|
+
"webcrack": "https://gitpkg.vercel.app/api/pkg.tgz?url=j4k0xb/webcrack/packages/webcrack&commit=fdf21377287e6b492a152c3c588e6614d59af212&scripts.postinstall=rimraf%20tsconfig.json",
|
|
21
29
|
"xo": "^0.56.0"
|
|
22
30
|
},
|
|
23
31
|
"description": "A spear to the Python language server built with black magic",
|
|
@@ -43,6 +51,7 @@
|
|
|
43
51
|
"@typescript-eslint/naming-convention": "off",
|
|
44
52
|
"@typescript-eslint/consistent-type-definitions": "warn",
|
|
45
53
|
"import/extensions": "off",
|
|
54
|
+
"import/no-named-as-default-member": "off",
|
|
46
55
|
"unicorn/prefer-regexp-test": "off",
|
|
47
56
|
"n/prefer-global/process": "off"
|
|
48
57
|
}
|
|
@@ -68,27 +77,46 @@
|
|
|
68
77
|
"license": "0BSD",
|
|
69
78
|
"type": "module",
|
|
70
79
|
"peerDependencies": {
|
|
71
|
-
"@babel/generator": "^7",
|
|
72
|
-
"@babel/helper-validator-identifier": "^7",
|
|
73
|
-
"@babel/parser": "^7",
|
|
74
|
-
"@babel/template": "^7",
|
|
75
|
-
"@babel/traverse": "^7",
|
|
76
|
-
"@babel/types": "^7",
|
|
77
|
-
"@codemod/matchers": "^1.7.0",
|
|
78
80
|
"debug": "^4"
|
|
79
81
|
},
|
|
80
82
|
"dependencies": {
|
|
83
|
+
"@babel/code-frame": "esm",
|
|
84
|
+
"@babel/core": "esm",
|
|
85
|
+
"@babel/generator": "esm",
|
|
86
|
+
"@babel/helper-validator-identifier": "esm",
|
|
87
|
+
"@babel/parser": "esm",
|
|
88
|
+
"@babel/template": "esm",
|
|
89
|
+
"@babel/traverse": "esm",
|
|
90
|
+
"@babel/types": "esm",
|
|
81
91
|
"quickjs-emscripten": "^0.25.1"
|
|
82
92
|
},
|
|
83
|
-
"
|
|
84
|
-
"
|
|
93
|
+
"overrides": {
|
|
94
|
+
"webcrack": {
|
|
95
|
+
"@codemod/matchers": "$@codemod/matchers",
|
|
96
|
+
"@codemod/utils": "$@codemod/utils",
|
|
97
|
+
"@codemod/core": "$@codemod/core",
|
|
98
|
+
"@codemod/parser": "$@codemod/parser",
|
|
99
|
+
"@babel/generator": "$@babel/generator",
|
|
100
|
+
"@babel/helper-validator-identifier": "$@babel/helper-validator-identifier",
|
|
101
|
+
"@babel/parser": "$@babel/parser",
|
|
102
|
+
"@babel/template": "$@babel/template",
|
|
103
|
+
"@babel/traverse": "$@babel/traverse",
|
|
104
|
+
"@babel/types": "$@babel/types",
|
|
105
|
+
"@babel/code-frame": "$@babel/code-frame",
|
|
106
|
+
"@babel/core": "$@babel/core"
|
|
107
|
+
}
|
|
85
108
|
},
|
|
86
109
|
"scripts": {
|
|
87
|
-
"build": "bun build index.ts cli.ts --target=node --splitting -e=isolated-vm -e=quickjs-emscripten -e
|
|
110
|
+
"build": "bun build index.ts cli.ts --target=node --splitting -e=isolated-vm -e=quickjs-emscripten -e=@babel -e=debug --sourcemap=external --outdir=dist",
|
|
88
111
|
"build:minify": "bun run build --minify --entry-naming [dir]/[name].min.[ext]",
|
|
89
112
|
"start": "bun cli.ts",
|
|
90
113
|
"prepare": "rimraf dist && bun run build",
|
|
91
114
|
"lint": "eslint .",
|
|
92
115
|
"lint:fix": "eslint . --fix"
|
|
116
|
+
},
|
|
117
|
+
"pnpm": {
|
|
118
|
+
"patchedDependencies": {
|
|
119
|
+
"webcrack@2.11.1": "patches/webcrack@2.11.1.patch"
|
|
120
|
+
}
|
|
93
121
|
}
|
|
94
122
|
}
|