@vulkano/core 1.19.0 → 1.20.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/.vite-hooks/pre-commit +1 -0
- package/package.json +9 -10
- package/pnpm-workspace.yaml +16 -0
- package/vite.config.ts +71 -0
- package/.oxlintrc.json +0 -42
- package/biome.json +0 -31
|
@@ -0,0 +1 @@
|
|
|
1
|
+
vp staged
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vulkano/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "A MVC framework using Express 4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Vulkano Team",
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
"vulkano": "./bin/vulkano.js"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
|
-
"
|
|
16
|
-
"lint": "oxlint . && biome check .",
|
|
15
|
+
"dev": "./node_modules/nodemon/bin/nodemon.js test/fixtures/server.js --inspect --trace-deprecation --trace-warnings",
|
|
17
16
|
"test": "jest",
|
|
18
17
|
"test:watch": "jest --watch",
|
|
19
18
|
"test:coverage": "jest --coverage",
|
|
@@ -35,6 +34,12 @@
|
|
|
35
34
|
"bugs": {
|
|
36
35
|
"url": "https://github.com/vulkanojs/vulkano-core/issues"
|
|
37
36
|
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"vite-plus": "catalog:",
|
|
39
|
+
"jest": "^29.7.0",
|
|
40
|
+
"nodemon": "^3.1.14"
|
|
41
|
+
},
|
|
42
|
+
"packageManager": "pnpm@11.1.2",
|
|
38
43
|
"dependencies": {
|
|
39
44
|
"@socket.io/mongo-adapter": "^0.4.0",
|
|
40
45
|
"@socket.io/redis-adapter": "^8.3.0",
|
|
@@ -62,11 +67,5 @@
|
|
|
62
67
|
"socket.io": "^4.8.1",
|
|
63
68
|
"socket.io-adapter": "^2.5.6",
|
|
64
69
|
"undici": "^6.25.0"
|
|
65
|
-
},
|
|
66
|
-
"devDependencies": {
|
|
67
|
-
"@biomejs/biome": "^2.4.15",
|
|
68
|
-
"jest": "^29.7.0",
|
|
69
|
-
"nodemon": "^3.1.14",
|
|
70
|
-
"oxlint": "^1.64.0"
|
|
71
70
|
}
|
|
72
|
-
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
allowBuilds:
|
|
2
|
+
fsevents: set this to true or false
|
|
3
|
+
catalog:
|
|
4
|
+
vite: npm:@voidzero-dev/vite-plus-core@latest
|
|
5
|
+
vitest: npm:@voidzero-dev/vite-plus-test@latest
|
|
6
|
+
vite-plus: latest
|
|
7
|
+
overrides:
|
|
8
|
+
vite: "catalog:"
|
|
9
|
+
vitest: "catalog:"
|
|
10
|
+
peerDependencyRules:
|
|
11
|
+
allowAny:
|
|
12
|
+
- vite
|
|
13
|
+
- vitest
|
|
14
|
+
allowedVersions:
|
|
15
|
+
vite: "*"
|
|
16
|
+
vitest: "*"
|
package/vite.config.ts
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { defineConfig } from "vite-plus";
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
staged: {
|
|
5
|
+
"*": "vp check --fix",
|
|
6
|
+
},
|
|
7
|
+
fmt: {
|
|
8
|
+
singleQuote: true,
|
|
9
|
+
trailingComma: "none",
|
|
10
|
+
ignorePatterns: [
|
|
11
|
+
".claude/**",
|
|
12
|
+
".graphify/**",
|
|
13
|
+
".vite-hooks/**",
|
|
14
|
+
"test/**",
|
|
15
|
+
"bundle/**",
|
|
16
|
+
"tasks/**",
|
|
17
|
+
"docs/**",
|
|
18
|
+
"public/**",
|
|
19
|
+
"setup/**"
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
lint: {
|
|
23
|
+
options: {
|
|
24
|
+
typeAware: true,
|
|
25
|
+
typeCheck: true
|
|
26
|
+
},
|
|
27
|
+
env: {
|
|
28
|
+
node: true,
|
|
29
|
+
browser: true,
|
|
30
|
+
es6: true,
|
|
31
|
+
},
|
|
32
|
+
globals: {
|
|
33
|
+
app: "readonly",
|
|
34
|
+
io: "readonly",
|
|
35
|
+
ApiClient: "readonly",
|
|
36
|
+
Download: "readonly",
|
|
37
|
+
Paginate: "readonly",
|
|
38
|
+
Mixed: "readonly",
|
|
39
|
+
Crontab: "readonly",
|
|
40
|
+
Encrypter: "readonly",
|
|
41
|
+
Filter: "readonly",
|
|
42
|
+
i18n: "readonly",
|
|
43
|
+
Jwt: "readonly",
|
|
44
|
+
VSError: "readonly",
|
|
45
|
+
ABS_PATH: "readonly",
|
|
46
|
+
APP_PATH: "readonly",
|
|
47
|
+
CORE_PATH: "readonly",
|
|
48
|
+
PUBLIC_PATH: "readonly",
|
|
49
|
+
},
|
|
50
|
+
rules: {
|
|
51
|
+
curly: "error",
|
|
52
|
+
"no-console": "off",
|
|
53
|
+
"no-underscore-dangle": "off",
|
|
54
|
+
"no-throw-literal": "off",
|
|
55
|
+
"no-unneeded-ternary": "off",
|
|
56
|
+
"guard-for-in": "off",
|
|
57
|
+
},
|
|
58
|
+
ignorePatterns: [
|
|
59
|
+
".claude",
|
|
60
|
+
".graphify",
|
|
61
|
+
".vite-hooks",
|
|
62
|
+
"node_modules",
|
|
63
|
+
"test",
|
|
64
|
+
"bundle",
|
|
65
|
+
"tasks",
|
|
66
|
+
"docs",
|
|
67
|
+
"public",
|
|
68
|
+
"setup"
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
});
|
package/.oxlintrc.json
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"node": true,
|
|
4
|
-
"browser": true,
|
|
5
|
-
"es6": true
|
|
6
|
-
},
|
|
7
|
-
"globals": {
|
|
8
|
-
"app": "readonly",
|
|
9
|
-
"io": "readonly",
|
|
10
|
-
"ApiClient": "readonly",
|
|
11
|
-
"Download": "readonly",
|
|
12
|
-
"Paginate": "readonly",
|
|
13
|
-
"Mixed": "readonly",
|
|
14
|
-
"Crontab": "readonly",
|
|
15
|
-
"Encrypter": "readonly",
|
|
16
|
-
"Filter": "readonly",
|
|
17
|
-
"i18n": "readonly",
|
|
18
|
-
"Jwt": "readonly",
|
|
19
|
-
"VSError": "readonly",
|
|
20
|
-
"ABS_PATH": "readonly",
|
|
21
|
-
"APP_PATH": "readonly",
|
|
22
|
-
"CORE_PATH": "readonly",
|
|
23
|
-
"PUBLIC_PATH": "readonly"
|
|
24
|
-
},
|
|
25
|
-
"rules": {
|
|
26
|
-
"curly": "error",
|
|
27
|
-
"no-console": "off",
|
|
28
|
-
"no-underscore-dangle": "off",
|
|
29
|
-
"no-throw-literal": "off",
|
|
30
|
-
"no-unneeded-ternary": "off",
|
|
31
|
-
"guard-for-in": "off"
|
|
32
|
-
},
|
|
33
|
-
"ignorePatterns": [
|
|
34
|
-
"node_modules",
|
|
35
|
-
"test",
|
|
36
|
-
"bundle",
|
|
37
|
-
"tasks",
|
|
38
|
-
"docs",
|
|
39
|
-
"public",
|
|
40
|
-
"setup"
|
|
41
|
-
]
|
|
42
|
-
}
|
package/biome.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
|
|
3
|
-
"files": {
|
|
4
|
-
"includes": [
|
|
5
|
-
"**",
|
|
6
|
-
"!node_modules",
|
|
7
|
-
"!test",
|
|
8
|
-
"!bundle",
|
|
9
|
-
"!tasks",
|
|
10
|
-
"!docs",
|
|
11
|
-
"!public",
|
|
12
|
-
"!setup"
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
|
-
"formatter": {
|
|
16
|
-
"enabled": true,
|
|
17
|
-
"indentStyle": "space",
|
|
18
|
-
"indentWidth": 2,
|
|
19
|
-
"lineWidth": 100
|
|
20
|
-
},
|
|
21
|
-
"linter": {
|
|
22
|
-
"enabled": true
|
|
23
|
-
},
|
|
24
|
-
"javascript": {
|
|
25
|
-
"formatter": {
|
|
26
|
-
"quoteStyle": "single",
|
|
27
|
-
"trailingCommas": "none",
|
|
28
|
-
"semicolons": "always"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|