Skip to content

Commit

Permalink
fix: adapt to changes on useloader for Cube Textures (#476)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
alvarosabu authored Aug 30, 2024
1 parent 0596353 commit 3641dc6
Show file tree
Hide file tree
Showing 99 changed files with 5,953 additions and 5,215 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"access": "public"
},
"scripts": {
"dev": "cd playground && pnpm dev",
"playground": "cd playground && pnpm dev",
"dev": "cd playground/vue && pnpm dev",
"dev:nuxt": "cd playground/nuxt && pnpm dev",
"build": "vite build",
"release": "release-it",
"lint": "eslint .",
Expand All @@ -67,7 +67,7 @@
},
"devDependencies": {
"@release-it/conventional-changelog": "^8.0.1",
"@tresjs/core": "4.2.7",
"@tresjs/core": "^4.2.8",
"@tresjs/eslint-config": "^1.1.0",
"@types/node": "^22.4.1",
"@types/three": "^0.167.1",
Expand Down
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.
2 changes: 1 addition & 1 deletion playground/package.json → playground/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tresjs/core": "4.2.7",
"@tresjs/core": "4.2.8",
"vue-router": "^4.4.0"
},
"devDependencies": {
Expand Down
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ref, watch } from 'vue'
import { TresLeches, useControls } from '@tresjs/leches'
import '@tresjs/leches/styles'
import { degToRad } from 'three/src/math/MathUtils.js'
import type { Atlasish } from '../../../../src/core/abstractions/AnimatedSprite/Atlas'
import type { Atlasish } from '../../../../../src/core/abstractions/AnimatedSprite/Atlas'
import { useState } from '../../composables/state'
const ASSETS_URL = 'https://raw.githubusercontent.com/andretchen0/tresjs_assets/'
Expand Down
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useLoop,
} from '@tresjs/core'
import { Fit, OrbitControls } from '@tresjs/cientos'
import { Vector3 } from 'three'
import RandUtils from '../../../../../src/core/abstractions/Lensflare/RandUtils'
import RandUtils from '../../../../../../src/core/abstractions/Lensflare/RandUtils'
defineProps<{
choice: Ref<TresObject3D>
Expand Down
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.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion playground/tsconfig.json → playground/vue/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "ESNext",
"moduleResolution": "bundler",
"paths": {
"@tresjs/cientos": ["../src/index.ts"]
"@tresjs/cientos": ["../../src/index.ts"]
},
"resolveJsonModule": true,
"strict": true,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default defineConfig({
],
resolve: {
alias: {
'@tresjs/cientos': resolve(__dirname, '../src/'),
'@tresjs/cientos': resolve(__dirname, '../../src/'),
},
},
})
Loading

0 comments on commit 3641dc6

Please sign in to comment.