versacompiler 2.4.0 → 2.5.0
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 +722 -722
- package/dist/compiler/compile-worker-pool.js +96 -0
- package/dist/compiler/compile-worker-thread.cjs +72 -0
- package/dist/compiler/compile.js +81 -2
- package/dist/compiler/integrity-validator.js +1 -1
- package/dist/compiler/module-resolution-optimizer.js +23 -20
- package/dist/compiler/performance-monitor.js +61 -61
- package/dist/compiler/pipeline/build-pipeline.js +127 -0
- package/dist/compiler/pipeline/core-plugins.js +218 -0
- package/dist/compiler/pipeline/module-graph.js +63 -0
- package/dist/compiler/pipeline/plugin-driver.js +87 -0
- package/dist/compiler/pipeline/types.js +2 -0
- package/dist/compiler/transforms.js +222 -16
- package/dist/compiler/typescript-manager.js +3 -1
- package/dist/compiler/typescript-sync-validator.js +33 -31
- package/dist/compiler/typescript-worker-pool.js +66 -19
- package/dist/compiler/typescript-worker-thread.cjs +482 -469
- package/dist/compiler/vuejs.js +32 -32
- package/dist/config.js +2 -0
- package/dist/hrm/VueHRM.js +359 -359
- package/dist/hrm/errorScreen.js +83 -83
- package/dist/hrm/getInstanciaVue.js +313 -313
- package/dist/hrm/initHRM.js +628 -586
- package/dist/main.js +2 -1
- package/dist/servicios/browserSync.js +8 -2
- package/dist/servicios/file-watcher.js +48 -6
- package/dist/servicios/readConfig.js +129 -54
- package/dist/servicios/versacompile.config.types.js +2 -0
- package/dist/utils/module-resolver.js +74 -40
- package/dist/utils/vue-types-setup.js +248 -248
- package/dist/wrappers/eslint-node.js +3 -1
- package/dist/wrappers/oxlint-node.js +3 -1
- package/package.json +73 -54
package/package.json
CHANGED
|
@@ -1,27 +1,61 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "versacompiler",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Una herramienta para compilar y minificar archivos .vue, .js y .ts para proyectos de Vue 3 con soporte para TypeScript.",
|
|
5
|
-
"
|
|
5
|
+
"keywords": [
|
|
6
|
+
"compiler",
|
|
7
|
+
"linter",
|
|
8
|
+
"minifier",
|
|
9
|
+
"typescript",
|
|
10
|
+
"versacompiler",
|
|
11
|
+
"vue",
|
|
12
|
+
"vue3"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/kriollo/versaCompiler#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/kriollo/versaCompiler/issues"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"author": "Jorge Jara H (kriollone@gmail.com)",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/kriollo/versaCompiler.git"
|
|
23
|
+
},
|
|
6
24
|
"bin": {
|
|
7
25
|
"versacompiler": "dist/main.js"
|
|
8
26
|
},
|
|
9
|
-
"publishConfig": {
|
|
10
|
-
"access": "public"
|
|
11
|
-
},
|
|
12
27
|
"files": [
|
|
13
28
|
"dist",
|
|
14
29
|
"LICENSE",
|
|
15
30
|
"README.md"
|
|
16
31
|
],
|
|
17
32
|
"type": "module",
|
|
33
|
+
"main": "dist/main.js",
|
|
34
|
+
"types": "dist/config.d.ts",
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"import": "./dist/main.js",
|
|
38
|
+
"types": "./dist/main.d.ts"
|
|
39
|
+
},
|
|
40
|
+
"./config": {
|
|
41
|
+
"import": "./dist/config.js",
|
|
42
|
+
"types": "./dist/config.d.ts"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
18
48
|
"scripts": {
|
|
19
49
|
"dev": "tsx --watch src/main.ts --watch --verbose --tailwind",
|
|
20
50
|
"file": "tsx src/main.ts ",
|
|
21
|
-
"build": "tsx src/main.ts --all
|
|
51
|
+
"build": "tsx src/main.ts --all --cc --co -y && pnpm build:types",
|
|
52
|
+
"build:types": "tsc -p tsconfig.declarations.json",
|
|
22
53
|
"compileDev": "tsx src/main.ts --all --ci --cc -y -t --linter --verbose",
|
|
23
54
|
"vlint": "tsx src/main.ts --all --cc --co -y --linter",
|
|
24
|
-
"vtlint": "tsx src/main.ts --all --cc --co -y -t",
|
|
55
|
+
"vtlint": "tsx src/main.ts --all --cc --co -y -t --verbose",
|
|
56
|
+
"e2e": "playwright test",
|
|
57
|
+
"e2e:ui": "playwright test --ui",
|
|
58
|
+
"e2e:report": "playwright show-report playwright-report",
|
|
25
59
|
"test": "vitest run",
|
|
26
60
|
"test:watch": "vitest",
|
|
27
61
|
"test:ui": "vitest --ui",
|
|
@@ -29,83 +63,68 @@
|
|
|
29
63
|
"lint": "oxlint --fix --config .oxlintrc.json",
|
|
30
64
|
"lint:eslint": "eslint --ext .js,.ts,.vue src/ --fix"
|
|
31
65
|
},
|
|
32
|
-
"keywords": [
|
|
33
|
-
"vue",
|
|
34
|
-
"compiler",
|
|
35
|
-
"minifier",
|
|
36
|
-
"vue3",
|
|
37
|
-
"versacompiler",
|
|
38
|
-
"typescript",
|
|
39
|
-
"linter"
|
|
40
|
-
],
|
|
41
|
-
"author": "Jorge Jara H (kriollone@gmail.com)",
|
|
42
|
-
"license": "MIT",
|
|
43
|
-
"repository": {
|
|
44
|
-
"type": "git",
|
|
45
|
-
"url": "git+https://github.com/kriollo/versaCompiler.git"
|
|
46
|
-
},
|
|
47
|
-
"bugs": {
|
|
48
|
-
"url": "https://github.com/kriollo/versaCompiler/issues"
|
|
49
|
-
},
|
|
50
|
-
"homepage": "https://github.com/kriollo/versaCompiler#readme",
|
|
51
66
|
"dependencies": {
|
|
52
|
-
"@vue/compiler-dom": "^3.5.
|
|
53
|
-
"@vue/reactivity": "^3.5.
|
|
54
|
-
"@vue/runtime-core": "^3.5.
|
|
55
|
-
"@vue/runtime-dom": "^3.5.
|
|
67
|
+
"@vue/compiler-dom": "^3.5.31",
|
|
68
|
+
"@vue/reactivity": "^3.5.31",
|
|
69
|
+
"@vue/runtime-core": "^3.5.31",
|
|
70
|
+
"@vue/runtime-dom": "^3.5.31",
|
|
56
71
|
"browser-sync": "^3.0.4",
|
|
57
72
|
"chalk": "5.6.2",
|
|
58
73
|
"chokidar": "^5.0.0",
|
|
59
|
-
"enhanced-resolve": "^5.20.
|
|
74
|
+
"enhanced-resolve": "^5.20.1",
|
|
60
75
|
"execa": "^9.6.1",
|
|
61
76
|
"find-root": "^1.1.0",
|
|
62
77
|
"fs-extra": "^11.3.4",
|
|
63
|
-
"get-port": "^7.
|
|
78
|
+
"get-port": "^7.2.0",
|
|
64
79
|
"minify-html-literals": "^1.3.5",
|
|
65
|
-
"minimatch": "^10.2.
|
|
66
|
-
"oxc-minify": "^0.
|
|
67
|
-
"oxc-parser": "^0.
|
|
68
|
-
"oxc-transform": "^0.
|
|
80
|
+
"minimatch": "^10.2.5",
|
|
81
|
+
"oxc-minify": "^0.121.0",
|
|
82
|
+
"oxc-parser": "^0.121.0",
|
|
83
|
+
"oxc-transform": "^0.121.0",
|
|
69
84
|
"resolve": "^1.22.11",
|
|
70
85
|
"tsx": "^4.21.0",
|
|
71
|
-
"typescript": "^
|
|
72
|
-
"vue": "3.5.
|
|
86
|
+
"typescript": "^6.0.2",
|
|
87
|
+
"vue": "3.5.31",
|
|
73
88
|
"yargs": "^18.0.0"
|
|
74
89
|
},
|
|
75
90
|
"devDependencies": {
|
|
76
91
|
"@eslint/eslintrc": "^3.3.5",
|
|
77
|
-
"@
|
|
92
|
+
"@playwright/test": "^1.58.2",
|
|
93
|
+
"@tailwindcss/cli": "^4.2.2",
|
|
78
94
|
"@types/browser-sync": "^2.29.1",
|
|
79
95
|
"@types/find-root": "^1.1.4",
|
|
80
96
|
"@types/fs-extra": "^11.0.4",
|
|
81
97
|
"@types/jest": "^30.0.0",
|
|
82
98
|
"@types/mocha": "^10.0.10",
|
|
83
|
-
"@types/node": "^25.
|
|
99
|
+
"@types/node": "^25.5.0",
|
|
84
100
|
"@types/resolve": "^1.20.6",
|
|
85
101
|
"@types/yargs": "^17.0.35",
|
|
86
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
87
|
-
"@typescript-eslint/parser": "^8.
|
|
88
|
-
"@vitest/coverage-v8": "^4.
|
|
89
|
-
"@vitest/ui": "^4.
|
|
102
|
+
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
103
|
+
"@typescript-eslint/parser": "^8.58.0",
|
|
104
|
+
"@vitest/coverage-v8": "^4.1.2",
|
|
105
|
+
"@vitest/ui": "^4.1.2",
|
|
90
106
|
"@vue/eslint-config-typescript": "^14.7.0",
|
|
91
107
|
"@vue/test-utils": "^2.4.6",
|
|
108
|
+
"@vueuse/core": "^14.2.1",
|
|
92
109
|
"code-tag": "^1.2.0",
|
|
93
|
-
"eslint": "^10.0
|
|
110
|
+
"eslint": "^10.1.0",
|
|
94
111
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
95
|
-
"eslint-plugin-import-x": "^4.16.
|
|
96
|
-
"eslint-plugin-oxlint": "^1.
|
|
112
|
+
"eslint-plugin-import-x": "^4.16.2",
|
|
113
|
+
"eslint-plugin-oxlint": "^1.57.0",
|
|
97
114
|
"eslint-plugin-promise": "^7.2.1",
|
|
98
|
-
"eslint-plugin-unicorn": "^
|
|
115
|
+
"eslint-plugin-unicorn": "^64.0.0",
|
|
99
116
|
"eslint-plugin-vue": "^10.8.0",
|
|
100
|
-
"
|
|
117
|
+
"oxfmt": "^0.42.0",
|
|
118
|
+
"oxlint": "^1.57.0",
|
|
101
119
|
"pinia": "^3.0.4",
|
|
102
120
|
"prettier": "3.8.1",
|
|
103
121
|
"rimraf": "^6.1.3",
|
|
104
|
-
"sweetalert2": "^11.26.
|
|
105
|
-
"tailwindcss": "^4.2.
|
|
106
|
-
"vitest": "^4.
|
|
122
|
+
"sweetalert2": "^11.26.24",
|
|
123
|
+
"tailwindcss": "^4.2.2",
|
|
124
|
+
"vitest": "^4.1.2",
|
|
107
125
|
"vue-eslint-parser": "^10.4.0",
|
|
108
|
-
"vue-router": "^5.0.
|
|
126
|
+
"vue-router": "^5.0.4",
|
|
127
|
+
"zod": "^4.3.6"
|
|
109
128
|
},
|
|
110
|
-
"packageManager": "pnpm@10.
|
|
129
|
+
"packageManager": "pnpm@10.33.0"
|
|
111
130
|
}
|