@tresjs/nuxt 4.0.0-next.0 → 4.1.0-next.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 +17 -9
- package/dist/client/200.html +10 -10
- package/dist/client/404.html +10 -10
- package/dist/client/_nuxt/BWRp3JHG.js +37 -0
- package/dist/client/_nuxt/BigWH58f.js +1 -0
- package/dist/client/_nuxt/C2ztifji.js +1 -0
- package/dist/client/_nuxt/CScarW7O.js +1 -0
- package/dist/client/_nuxt/DWhHhHmJ.js +1 -0
- package/dist/client/_nuxt/Dvb_VvQY.js +6 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/14d657c2-3efd-4fbb-9c70-f7b075d5c6ce.json +1 -0
- package/dist/client/_nuxt/entry.YjtzPcYQ.css +1 -0
- package/dist/client/_nuxt/error-404.DfRZmfAA.css +1 -0
- package/dist/client/_nuxt/error-500.BY8-I9Z2.css +1 -0
- package/dist/client/_nuxt/index.qcuQeEKN.css +1 -0
- package/dist/client/index.html +10 -10
- package/dist/module.d.mts +2 -1
- package/dist/module.json +6 -3
- package/dist/module.mjs +7 -1
- package/dist/runtime/TresCanvas.client.vue +2 -2
- package/dist/runtime/TresCanvas.client.vue.d.ts +2 -0
- package/dist/runtime/TresCanvas.server.vue.d.ts +2 -0
- package/dist/types.d.mts +3 -1
- package/package.json +46 -22
- package/dist/client/_nuxt/BK7-Y-q6.js +0 -37
- package/dist/client/_nuxt/C0Qz2vsI.js +0 -3
- package/dist/client/_nuxt/C5TOz6B6.js +0 -1
- package/dist/client/_nuxt/DkfJP6hB.js +0 -1
- package/dist/client/_nuxt/Dnn3U3St.js +0 -1
- package/dist/client/_nuxt/builds/meta/c498c9c1-7699-4d46-8591-cd45a3483c8f.json +0 -1
- package/dist/client/_nuxt/entry.DWRHDGAm.css +0 -1
- package/dist/client/_nuxt/error-404.BbX5noJR.css +0 -1
- package/dist/client/_nuxt/error-500.Cu2U7TTf.css +0 -1
- package/dist/client/_nuxt/index.Ivt4LUQj.css +0 -1
- package/dist/client/_nuxt/zIW675W1.js +0 -6
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -10
- package/dist/types.d.ts +0 -1
package/dist/module.d.mts
CHANGED
package/dist/module.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/nuxt",
|
|
3
3
|
"configKey": "tres",
|
|
4
|
-
"
|
|
4
|
+
"compatibility": {
|
|
5
|
+
"nuxt": ">=3.16.0"
|
|
6
|
+
},
|
|
7
|
+
"version": "4.1.0-next.0",
|
|
5
8
|
"builder": {
|
|
6
|
-
"@nuxt/module-builder": "0.
|
|
7
|
-
"unbuild": "
|
|
9
|
+
"@nuxt/module-builder": "1.0.1",
|
|
10
|
+
"unbuild": "3.5.0"
|
|
8
11
|
}
|
|
9
12
|
}
|
package/dist/module.mjs
CHANGED
|
@@ -8,6 +8,8 @@ import { readPackageJSON } from 'pkg-types';
|
|
|
8
8
|
import glsl from 'vite-plugin-glsl';
|
|
9
9
|
import { existsSync } from 'node:fs';
|
|
10
10
|
|
|
11
|
+
const version = "4.1.0-next.0";
|
|
12
|
+
|
|
11
13
|
const DEVTOOLS_UI_ROUTE = "/__tres_nuxt_devtools";
|
|
12
14
|
const DEVTOOLS_UI_LOCAL_PORT = 3300;
|
|
13
15
|
function setupDevToolsUI(nuxt, resolver) {
|
|
@@ -53,7 +55,11 @@ function setupDevToolsUI(nuxt, resolver) {
|
|
|
53
55
|
const module = defineNuxtModule({
|
|
54
56
|
meta: {
|
|
55
57
|
name: "@tresjs/nuxt",
|
|
56
|
-
configKey: "tres"
|
|
58
|
+
configKey: "tres",
|
|
59
|
+
compatibility: {
|
|
60
|
+
nuxt: ">=3.16.0"
|
|
61
|
+
},
|
|
62
|
+
version
|
|
57
63
|
},
|
|
58
64
|
defaults: {
|
|
59
65
|
modules: [],
|
package/dist/types.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.
|
|
5
|
-
"packageManager": "pnpm@
|
|
4
|
+
"version": "4.1.0-next.0",
|
|
5
|
+
"packageManager": "pnpm@10.11.0",
|
|
6
6
|
"description": "TresJS integration for Nuxt.",
|
|
7
7
|
"author": "Daniel Roe (https://github.com/danielroe/)",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"homepage": "https://tresjs.org",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git+https://github.com/
|
|
12
|
+
"url": "git+https://github.com/Tresjs/nuxt.git"
|
|
13
13
|
},
|
|
14
14
|
"bugs": {
|
|
15
|
-
"url": "https://github.com/
|
|
15
|
+
"url": "https://github.com/Tresjs/nuxt/issues"
|
|
16
16
|
},
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"access": "public"
|
|
@@ -21,15 +21,22 @@
|
|
|
21
21
|
".": {
|
|
22
22
|
"types": "./dist/types.d.mts",
|
|
23
23
|
"default": "./dist/module.mjs"
|
|
24
|
-
}
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
25
26
|
},
|
|
26
27
|
"main": "dist/module.mjs",
|
|
27
|
-
"
|
|
28
|
+
"typesVersions": {
|
|
29
|
+
"*": {
|
|
30
|
+
".": [
|
|
31
|
+
"./dist/types.d.mts"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
28
35
|
"files": [
|
|
29
36
|
"dist"
|
|
30
37
|
],
|
|
31
38
|
"scripts": {
|
|
32
|
-
"prepack": "
|
|
39
|
+
"prepack": "pnpm run module:build && pnpm run client:build",
|
|
33
40
|
"module:build": "nuxt-module-build prepare && nuxt-module-build build",
|
|
34
41
|
"client:build": "nuxt prepare client && nuxi generate client",
|
|
35
42
|
"client:dev": "nuxi dev client --port 3300",
|
|
@@ -46,9 +53,9 @@
|
|
|
46
53
|
"three": ">=0.133"
|
|
47
54
|
},
|
|
48
55
|
"dependencies": {
|
|
49
|
-
"@nuxt/kit": "^3.
|
|
56
|
+
"@nuxt/kit": "^3.16.0",
|
|
50
57
|
"@nuxt/ui": "^2.21.0",
|
|
51
|
-
"@tresjs/core": "
|
|
58
|
+
"@tresjs/core": "5.0.0-next.1",
|
|
52
59
|
"@unocss/nuxt": "^66.0.0",
|
|
53
60
|
"defu": "^6.1.4",
|
|
54
61
|
"mlly": "^1.7.4",
|
|
@@ -61,25 +68,33 @@
|
|
|
61
68
|
"@iconify-json/file-icons": "^1.2.1",
|
|
62
69
|
"@iconify-json/iconoir": "^1.2.6",
|
|
63
70
|
"@iconify-json/ph": "^1.2.2",
|
|
64
|
-
"@nuxt/devtools": "^
|
|
65
|
-
"@nuxt/devtools-ui-kit": "^
|
|
66
|
-
"@nuxt/eslint-config": "^
|
|
71
|
+
"@nuxt/devtools": "^2.4.0",
|
|
72
|
+
"@nuxt/devtools-ui-kit": "^2.4.1",
|
|
73
|
+
"@nuxt/eslint-config": "^1.4.1",
|
|
67
74
|
"@nuxt/icon": "^1.10.2",
|
|
68
|
-
"@nuxt/module-builder": "^0.
|
|
69
|
-
"@nuxt/schema": "^3.
|
|
70
|
-
"@nuxt/test-utils": "^3.
|
|
75
|
+
"@nuxt/module-builder": "^1.0.1",
|
|
76
|
+
"@nuxt/schema": "^3.17.4",
|
|
77
|
+
"@nuxt/test-utils": "^3.18.0",
|
|
78
|
+
"@nuxt/ui": "^2.20.0",
|
|
71
79
|
"@release-it/conventional-changelog": "^9.0.3",
|
|
72
|
-
"@tresjs/cientos": "
|
|
73
|
-
"@types/node": "^22.
|
|
80
|
+
"@tresjs/cientos": "5.0.0-next.0",
|
|
81
|
+
"@types/node": "^22.15.21",
|
|
74
82
|
"@types/three": "^0.171.0",
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
83
|
+
"@unocss/nuxt": "^66.1.2",
|
|
84
|
+
"changelogen": "^0.6.1",
|
|
85
|
+
"eslint": "^9.26.0",
|
|
86
|
+
"nuxt": "^3.17.4",
|
|
78
87
|
"playwright": "^1.49.1",
|
|
79
88
|
"release-it": "^17.10.0",
|
|
80
89
|
"three": "^0.171.0",
|
|
81
|
-
"typescript": "^5.
|
|
82
|
-
"vitest": "^
|
|
90
|
+
"typescript": "^5.8.3",
|
|
91
|
+
"vitest": "^3.1.3",
|
|
92
|
+
"vue": "3.5.14"
|
|
93
|
+
},
|
|
94
|
+
"resolutions": {
|
|
95
|
+
"@nuxt/kit": "3.17.4",
|
|
96
|
+
"nuxt": "3.17.4",
|
|
97
|
+
"vue": "3.5.14"
|
|
83
98
|
},
|
|
84
99
|
"build": {
|
|
85
100
|
"externals": [
|
|
@@ -99,5 +114,14 @@
|
|
|
99
114
|
"source-map-js",
|
|
100
115
|
"nanoid/non-secure"
|
|
101
116
|
]
|
|
117
|
+
},
|
|
118
|
+
"pnpm": {
|
|
119
|
+
"ignoredBuiltDependencies": [
|
|
120
|
+
"@parcel/watcher",
|
|
121
|
+
"esbuild"
|
|
122
|
+
],
|
|
123
|
+
"onlyBuiltDependencies": [
|
|
124
|
+
"better-sqlite3"
|
|
125
|
+
]
|
|
102
126
|
}
|
|
103
127
|
}
|