Skip to content

Commit 3641dc6

Browse files
authored
fix: adapt to changes on useloader for Cube Textures (#476)
* chore(playground): move playground to `playground/vue` folder * chore(playground-nuxt): added reproduction playground with nuxt * fix(useEnvironment): adapt to changes on useLoader for Cube textures * chore: fix lint * chore: fix ci lock * chore: fix lint * chore: fix lint * chore: remove nuxt playground .github * chore(playground): remove nuxt playground that is breaking the installs here * chore: remove deps from nuxt playground
1 parent 0596353 commit 3641dc6

File tree

99 files changed

+5953
-5215
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+5953
-5215
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"access": "public"
4242
},
4343
"scripts": {
44-
"dev": "cd playground && pnpm dev",
45-
"playground": "cd playground && pnpm dev",
44+
"dev": "cd playground/vue && pnpm dev",
45+
"dev:nuxt": "cd playground/nuxt && pnpm dev",
4646
"build": "vite build",
4747
"release": "release-it",
4848
"lint": "eslint .",
@@ -67,7 +67,7 @@
6767
},
6868
"devDependencies": {
6969
"@release-it/conventional-changelog": "^8.0.1",
70-
"@tresjs/core": "4.2.7",
70+
"@tresjs/core": "^4.2.8",
7171
"@tresjs/eslint-config": "^1.1.0",
7272
"@types/node": "^22.4.1",
7373
"@types/three": "^0.167.1",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

playground/package.json playground/vue/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12-
"@tresjs/core": "4.2.7",
12+
"@tresjs/core": "4.2.8",
1313
"vue-router": "^4.4.0"
1414
},
1515
"devDependencies": {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

playground/src/pages/abstractions/AnimatedSpriteDemo.vue playground/vue/src/pages/abstractions/AnimatedSpriteDemo.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ref, watch } from 'vue'
66
import { TresLeches, useControls } from '@tresjs/leches'
77
import '@tresjs/leches/styles'
88
import { degToRad } from 'three/src/math/MathUtils.js'
9-
import type { Atlasish } from '../../../../src/core/abstractions/AnimatedSprite/Atlas'
9+
import type { Atlasish } from '../../../../../src/core/abstractions/AnimatedSprite/Atlas'
1010
import { useState } from '../../composables/state'
1111
1212
const ASSETS_URL = 'https://raw.githubusercontent.com/andretchen0/tresjs_assets/'
File renamed without changes.
File renamed without changes.

playground/src/pages/staging/fit/FitDemo.vue playground/vue/src/pages/staging/fit/FitDemo.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useLoop,
44
} from '@tresjs/core'
55
import { Fit, OrbitControls } from '@tresjs/cientos'
66
import { Vector3 } from 'three'
7-
import RandUtils from '../../../../../src/core/abstractions/Lensflare/RandUtils'
7+
import RandUtils from '../../../../../../src/core/abstractions/Lensflare/RandUtils'
88
99
defineProps<{
1010
choice: Ref<TresObject3D>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

playground/tsconfig.json playground/vue/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"module": "ESNext",
88
"moduleResolution": "bundler",
99
"paths": {
10-
"@tresjs/cientos": ["../src/index.ts"]
10+
"@tresjs/cientos": ["../../src/index.ts"]
1111
},
1212
"resolveJsonModule": true,
1313
"strict": true,
File renamed without changes.

playground/vite.config.ts playground/vue/vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default defineConfig({
3535
],
3636
resolve: {
3737
alias: {
38-
'@tresjs/cientos': resolve(__dirname, '../src/'),
38+
'@tresjs/cientos': resolve(__dirname, '../../src/'),
3939
},
4040
},
4141
})

0 commit comments

Comments
 (0)