detype 1.0.0 → 1.0.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/cli.js +12 -16
- package/package.json +12 -16
package/dist/cli.js
CHANGED
|
@@ -279,23 +279,20 @@ var import_fast_glob = __toESM(require("fast-glob"));
|
|
|
279
279
|
// package.json
|
|
280
280
|
var package_default = {
|
|
281
281
|
name: "detype",
|
|
282
|
-
version: "1.0.
|
|
282
|
+
version: "1.0.2",
|
|
283
283
|
description: "Removes TypeScript type annotations but keeps the formatting",
|
|
284
284
|
main: "dist/index.js",
|
|
285
285
|
bin: "detype.js",
|
|
286
|
-
engines: {
|
|
287
|
-
node: ">=14.19.3"
|
|
288
|
-
},
|
|
289
286
|
scripts: {
|
|
290
287
|
prepack: "rimraf dist && pnpm build",
|
|
291
288
|
build: "tsup",
|
|
292
289
|
dev: "tsup --watch",
|
|
293
|
-
|
|
294
|
-
test: "run
|
|
290
|
+
test: "pnpm run /^test:/",
|
|
291
|
+
"test:cq": "pnpm run /^cq:/",
|
|
295
292
|
"test:unit": "vitest run",
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
293
|
+
"cq:typecheck": "tsc -p tsconfig.json --noEmit",
|
|
294
|
+
"cq:lint": "eslint src --max-warnings 0",
|
|
295
|
+
"cq:prettier": "prettier --check test-files --ignore-unknown . '!pnpm-lock.yaml'",
|
|
299
296
|
format: "prettier . --write --ignore-path .gitignore --ignore-unknown . '!pnpm-lock.yaml'"
|
|
300
297
|
},
|
|
301
298
|
files: [
|
|
@@ -305,26 +302,25 @@ var package_default = {
|
|
|
305
302
|
dependencies: {
|
|
306
303
|
"@babel/core": "^7.23.7",
|
|
307
304
|
"@babel/preset-typescript": "^7.23.3",
|
|
308
|
-
"@vue/compiler-dom": "^3.4.
|
|
309
|
-
"@vue/compiler-sfc": "^3.4.
|
|
305
|
+
"@vue/compiler-dom": "^3.4.15",
|
|
306
|
+
"@vue/compiler-sfc": "^3.4.15",
|
|
310
307
|
"@vuedx/compiler-sfc": "0.7.1",
|
|
311
308
|
"@vuedx/template-ast-types": "0.7.1",
|
|
312
309
|
"fast-glob": "^3.3.2",
|
|
313
|
-
prettier: "^3.
|
|
310
|
+
prettier: "^3.2.4",
|
|
314
311
|
"string.prototype.replaceall": "^1.0.8"
|
|
315
312
|
},
|
|
316
313
|
devDependencies: {
|
|
317
314
|
"@babel/traverse": "^7.23.7",
|
|
318
|
-
"@cyco130/eslint-config": "^3.6.
|
|
315
|
+
"@cyco130/eslint-config": "^3.6.2",
|
|
319
316
|
"@types/babel__core": "^7.20.5",
|
|
320
317
|
"@types/babel__traverse": "^7.20.5",
|
|
321
|
-
"@types/node": "20.
|
|
318
|
+
"@types/node": "20.11.5",
|
|
322
319
|
eslint: "^8.56.0",
|
|
323
|
-
"npm-run-all": "^4.1.5",
|
|
324
320
|
rimraf: "^5.0.5",
|
|
325
321
|
tsup: "^8.0.1",
|
|
326
322
|
typescript: "^5.3.3",
|
|
327
|
-
vitest: "1.1
|
|
323
|
+
vitest: "1.2.1"
|
|
328
324
|
},
|
|
329
325
|
repository: {
|
|
330
326
|
type: "git",
|
package/package.json
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "detype",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Removes TypeScript type annotations but keeps the formatting",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": "detype.js",
|
|
7
|
-
"engines": {
|
|
8
|
-
"node": ">=14.19.3"
|
|
9
|
-
},
|
|
10
7
|
"files": [
|
|
11
8
|
"dist/**/*",
|
|
12
9
|
"index.d.ts"
|
|
@@ -14,26 +11,25 @@
|
|
|
14
11
|
"dependencies": {
|
|
15
12
|
"@babel/core": "^7.23.7",
|
|
16
13
|
"@babel/preset-typescript": "^7.23.3",
|
|
17
|
-
"@vue/compiler-dom": "^3.4.
|
|
18
|
-
"@vue/compiler-sfc": "^3.4.
|
|
14
|
+
"@vue/compiler-dom": "^3.4.15",
|
|
15
|
+
"@vue/compiler-sfc": "^3.4.15",
|
|
19
16
|
"@vuedx/compiler-sfc": "0.7.1",
|
|
20
17
|
"@vuedx/template-ast-types": "0.7.1",
|
|
21
18
|
"fast-glob": "^3.3.2",
|
|
22
|
-
"prettier": "^3.
|
|
19
|
+
"prettier": "^3.2.4",
|
|
23
20
|
"string.prototype.replaceall": "^1.0.8"
|
|
24
21
|
},
|
|
25
22
|
"devDependencies": {
|
|
26
23
|
"@babel/traverse": "^7.23.7",
|
|
27
|
-
"@cyco130/eslint-config": "^3.6.
|
|
24
|
+
"@cyco130/eslint-config": "^3.6.2",
|
|
28
25
|
"@types/babel__core": "^7.20.5",
|
|
29
26
|
"@types/babel__traverse": "^7.20.5",
|
|
30
|
-
"@types/node": "20.
|
|
27
|
+
"@types/node": "20.11.5",
|
|
31
28
|
"eslint": "^8.56.0",
|
|
32
|
-
"npm-run-all": "^4.1.5",
|
|
33
29
|
"rimraf": "^5.0.5",
|
|
34
30
|
"tsup": "^8.0.1",
|
|
35
31
|
"typescript": "^5.3.3",
|
|
36
|
-
"vitest": "1.1
|
|
32
|
+
"vitest": "1.2.1"
|
|
37
33
|
},
|
|
38
34
|
"repository": {
|
|
39
35
|
"type": "git",
|
|
@@ -54,12 +50,12 @@
|
|
|
54
50
|
"scripts": {
|
|
55
51
|
"build": "tsup",
|
|
56
52
|
"dev": "tsup --watch",
|
|
57
|
-
"
|
|
58
|
-
"test": "run
|
|
53
|
+
"test": "pnpm run /^test:/",
|
|
54
|
+
"test:cq": "pnpm run /^cq:/",
|
|
59
55
|
"test:unit": "vitest run",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
56
|
+
"cq:typecheck": "tsc -p tsconfig.json --noEmit",
|
|
57
|
+
"cq:lint": "eslint src --max-warnings 0",
|
|
58
|
+
"cq:prettier": "prettier --check test-files --ignore-unknown . '!pnpm-lock.yaml'",
|
|
63
59
|
"format": "prettier . --write --ignore-path .gitignore --ignore-unknown . '!pnpm-lock.yaml'"
|
|
64
60
|
}
|
|
65
61
|
}
|