Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): updated dependencies to latest version and fixed errors. #98

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"preview": "vitepress preview"
},
"dependencies": {
"@tresjs/cientos": "^3.6.0",
"@tresjs/core": "^3.5.1",
"@tresjs/cientos": "^3.7.0",
"@tresjs/core": "^3.7.0",
"@tresjs/post-processing": "workspace:^",
"gsap": "^3.12.3"
"gsap": "^3.12.5"
},
"devDependencies": {
"@tresjs/leches": "^0.14.0",
"unocss": "^0.58.0",
"unocss": "^0.58.4",
"unplugin-vue-components": "^0.26.0",
"vite-svg-loader": "^5.1.0",
"vitepress": "1.0.0-rc.31"
"vitepress": "1.0.0-rc.40"
}
}
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,37 +44,37 @@
"docs:preview": "vitepress preview docs"
},
"peerDependencies": {
"three": ">=0.133",
"vue": ">=3.3"
"three": ">=0.160.1",
"vue": ">=3.4.15"
},
"dependencies": {
"@tresjs/core": "^3.5.1",
"@unocss/core": "^0.58.0",
"@vueuse/core": "^10.6.1",
"postprocessing": "^6.33.4",
"three-stdlib": "^2.28.7"
"@tresjs/core": "^3.7.0",
"@unocss/core": "^0.58.4",
"@vueuse/core": "^10.7.2",
"postprocessing": "^6.34.1",
"three-stdlib": "^2.29.4"
},
"devDependencies": {
"@release-it/conventional-changelog": "^8.0.1",
"@tresjs/eslint-config-vue": "^0.2.1",
"@types/three": "^0.159.0",
"@vitejs/plugin-vue": "^4.5.1",
"gsap": "^3.12.3",
"@types/three": "^0.160.0",
"@vitejs/plugin-vue": "^5.0.3",
"gsap": "^3.12.5",
"kolorist": "^1.8.0",
"pathe": "^1.1.1",
"prettier": "^3.1.0",
"release-it": "^17.0.0",
"pathe": "^1.1.2",
"prettier": "^3.2.4",
"release-it": "^17.0.3",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-visualizer": "^5.10.0",
"three": "^0.159.0",
"typescript": "^5.3.2",
"unocss": "^0.58.0",
"vite": "^5.0.4",
"rollup-plugin-visualizer": "^5.12.0",
"three": "^0.160.1",
"typescript": "^5.3.3",
"unocss": "^0.58.4",
"vite": "^5.0.12",
"vite-plugin-banner": "^0.7.1",
"vite-plugin-dts": "3.6.4",
"vite-plugin-dts": "3.7.2",
"vite-svg-loader": "^5.1.0",
"vitepress": "1.0.0-rc.31",
"vue": "^3.3.9",
"vue-tsc": "^1.8.24"
"vitepress": "1.0.0-rc.40",
"vue": "^3.4.15",
"vue-tsc": "^1.8.27"
}
}
}
12 changes: 6 additions & 6 deletions playground-nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"@tresjs/cientos": "^3.5.1",
"@tresjs/nuxt": "^1.2.2",
"@types/three": "^0.152.1"
"@tresjs/cientos": "^3.7.0",
"@tresjs/nuxt": "^2.0.2",
"@types/three": "^0.160.0"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"nuxt": "^3.8.0",
"vue": "^3.3.7",
"vue-router": "^4.2.5"
"nuxt": "^3.9.3",
"vue": "^3.4.15",
"vue-router": "4.2.5"
}
}
4 changes: 0 additions & 4 deletions playground/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
BlenderCube: typeof import('./src/components/BlenderCube.vue')['default']
copy: typeof import('./src/components/UnrealBloom copy.vue')['default']
GlitchDemo: typeof import('./src/components/GlitchDemo.vue')['default']
NoiseDemo: typeof import('./src/components/NoiseDemo.vue')['default']
OutlineDemo: typeof import('./src/components/OutlineDemo.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
TheExperience: typeof import('./src/components/TheExperience.vue')['default']
UnrealBloom: typeof import('./src/components/UnrealBloom.vue')['default']
}
}
10 changes: 5 additions & 5 deletions playground/src/pages/bloom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const {
mipmapBlur: true,
})

const { threshold, smoothing } = useControls('luminance', {
const { luminanceSmoothing, luminanceThreshold } = useControls('luminance', {
threshold: {
value: 0.2,
min: 0,
Expand Down Expand Up @@ -128,14 +128,14 @@ onMounted(() => {
/>
<Suspense>
<EffectComposer :depth-buffer="true">
<Bloom
:luminance-threshold="threshold.value"
:luminance-smoothing="smoothing.value"
<Bloom
:luminance-threshold="luminanceThreshold"
:luminance-smoothing="luminanceSmoothing"
:intensity="intensity.value"
:blend-function="blendFunction.value"
:kernel-size="kernelSize.value"
:resolution="resolution.value"
:mipmap-blur="mipmapBlur.value"
:mipmap-blur="mipmapBlur.value"
/>
</EffectComposer>
</Suspense>
Expand Down
Loading
Loading