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

chore: testing refactor events #159

Open
wants to merge 6 commits 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
2 changes: 1 addition & 1 deletion .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- run: corepack enable
- run: npm i -g --force corepack && corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@


## [4.0.0-next.0](https://github.com/tresjs/nuxt/compare/3.0.7...4.0.0-next.0) (2025-02-22)

### Bug Fixes

* **deps:** update dependency @tresjs/nuxt to v3.0.7 ([#106](https://github.com/tresjs/nuxt/issues/106)) ([8a73538](https://github.com/tresjs/nuxt/commit/8a735385edffdeda2fb12fa2cbe51376008ae39f))
* **deps:** update dependency typescript to v5.6.2 ([#136](https://github.com/tresjs/nuxt/issues/136)) ([a32ec04](https://github.com/tresjs/nuxt/commit/a32ec043fe65e1fb396a42a206eb32b3cb6df6a3))
## [3.0.8](https://github.com/Tresjs/nuxt/compare/3.0.7...3.0.8) (2025-02-25)

### Bug Fixes
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tresjs/nuxt",
"type": "module",
"version": "3.0.8",
"version": "4.0.0-next.0",
"packageManager": "[email protected]",
"description": "TresJS integration for Nuxt.",
"author": "Daniel Roe (https://github.com/danielroe/)",
Expand Down Expand Up @@ -46,14 +46,14 @@
"three": ">=0.133"
},
"dependencies": {
"@nuxt/kit": "^3.14.1592",
"@nuxt/ui": "^2.20.0",
"@tresjs/core": "4.3.1",
"@unocss/nuxt": "^0.65.2",
"@nuxt/kit": "^3.15.4",
"@nuxt/ui": "^2.21.0",
"@tresjs/core": "https://pkg.pr.new/@tresjs/core@47bb9e7",
"@unocss/nuxt": "^66.0.0",
"defu": "^6.1.4",
"mlly": "^1.7.3",
"pkg-types": "^1.2.1",
"sirv": "^3.0.0",
"mlly": "^1.7.4",
"pkg-types": "^1.3.1",
"sirv": "^3.0.1",
"vite-plugin-glsl": "^1.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@tresjs/cientos": "^4.0.3",
"@tresjs/core": "^4.3.1"
"@tresjs/core": "https://pkg.pr.new/@tresjs/core@47bb9e7"
},
"devDependencies": {
"@nuxt/devtools": "1.6.4",
Expand Down
15 changes: 13 additions & 2 deletions playground/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
<script setup lang="ts">
// for testing purposes with auto-import disabled
// import { TresCanvas } from '#components'

const handlePointerEnter = (e) => {
console.log('enter', e)
}

const handlePointerLeave = (e) => {
console.log('leave', e)
}
</script>

<template>
<TresCanvas
window-size
render-mode="on-demand"
>
<TresPerspectiveCamera />
<AnimatedDonnut color="orange" />
<AnimatedDonnut
color="orange"
@pointerenter="handlePointerEnter"
@pointerleave="handlePointerLeave"
/>
<OrbitControls />
</TresCanvas>
</template>
48 changes: 38 additions & 10 deletions playground/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading