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: specify modules when autoimport post-processing #144

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"scripts": {
"prepack": "npm run module:build && npm run client:build",
"prepack": "pnpm run module:build && pnpm run client:build",
"module:build": "nuxt-module-build prepare && nuxt-module-build build",
"client:build": "nuxt prepare client && nuxi generate client",
"client:dev": "nuxi dev client --port 3300",
Expand All @@ -49,9 +49,9 @@
"@nuxt/devtools-kit": "^1.4.1",
"@nuxt/kit": "^3.13.1",
"@nuxt/ui": "^2.18.4",
"@tresjs/core": "4.2.10",
"@tresjs/core": "4.3.1",
"@tresjs/nuxt": "3.0.7",
"@types/three": "^0.168.0",
"@types/three": "^0.171.0",
"@unocss/nuxt": "^0.62.3",
"defu": "^6.1.4",
"mlly": "^1.7.1",
Expand All @@ -72,14 +72,14 @@
"@nuxt/schema": "^3.13.1",
"@nuxt/test-utils": "^3.14.1",
"@release-it/conventional-changelog": "^8.0.1",
"@tresjs/eslint-config": "^1.2.0",
"@tresjs/eslint-config": "^1.4.0",
"@types/node": "^22.5.4",
"changelogen": "^0.5.5",
"eslint": "^9.9.1",
"nuxt": "^3.13.1",
"playwright": "^1.47.0",
"release-it": "^17.6.0",
"three": "^0.168.0",
"three": "^0.171.0",
"vitest": "^2.0.5"
},
"build": {
Expand Down
4 changes: 0 additions & 4 deletions playground/components/NuxtStones.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ const { onLoop } = useRenderLoop()
onLoop(({ elapsed }) => {
nodes.Logo.material.emissiveIntensity = Math.sin(elapsed) * 6 + 7
})

const ctx = useNuxtApp()
// eslint-disable-next-line no-console
console.log({ ctx, useFetch: await useFetch('api/url') })
</script>

<template>
Expand Down
4 changes: 2 additions & 2 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"devDependencies": {
"@nuxt/devtools": "1.4.1",
"@tresjs/cientos": "^4.0.1",
"@tresjs/post-processing": "^0.7.1",
"@types/three": "^0.167.2",
"@tresjs/post-processing": "^1.0.0",
"@types/three": "^0.171.0",
"nuxt": "^3.13.0",
"postprocessing": "^6.36.0",
"tweakpane": "^4.0.4"
Expand Down
Loading
Loading