Skip to content

Commit

Permalink
feat: refactor wrapper to component client only registration (#44)
Browse files Browse the repository at this point in the history
* feat: remove runtime wrapper

* chore: release v1.2.0-next.0

* fix: node mismatch issue

* chore: release v1.2.0-next.3
  • Loading branch information
alvarosabu committed Oct 16, 2023
1 parent 8de0200 commit f43fcb4
Show file tree
Hide file tree
Showing 9 changed files with 1,331 additions and 72 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@


## [1.2.0-next.3](https://example.com///compare/1.1.9...1.2.0-next.3) (2023-10-16)


### Bug Fixes

* 49 nuxtjs orbitcontrolsjs encountered an unknown camera type ([#51](https://example.com//null/issues/51)) ([8de0200](https://example.com///commit/8de0200b59711a3edf980e8597e91c2b81176a1c))
* node mismatch issue ([7dc1d42](https://example.com///commit/7dc1d42b02a45c435dde3575026dc939be09bdee))

## [1.2.0-next.0](https://example.com///compare/1.1.9...1.2.0-next.3) (2023-09-28)


### Features

* remove runtime wrapper ([60db258](https://example.com///commit/60db25805bdf99f266b2e6f753587bd5ce7864b9))

## [1.2.0-next.2](https://example.com///compare/1.2.0-next.1...1.2.0-next.2) (2023-10-08)

## [1.2.0-next.1](https://example.com///compare/1.1.9...1.2.0-next.1) (2023-10-08)

## [1.2.0-next.0](https://example.com///compare/1.1.7...1.2.0-next.0) (2023-09-28)

### Features

* remove runtime wrapper ([60db258](https://example.com///commit/60db25805bdf99f266b2e6f753587bd5ce7864b9))

### Bug Fixes

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tresjs/nuxt",
"type": "module",
"version": "1.2.0-next.2",
"version": "1.2.0-next.3",
"packageManager": "pnpm@8.6.2",
"description": "TresJS integration for Nuxt.",
"author": "Daniel Roe (https://github.com/danielroe/)",
Expand Down
9 changes: 7 additions & 2 deletions playground/app.vue
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
<script setup lang="ts">
import { BasicShadowMap, NoToneMapping, SRGBColorSpace } from 'three'
const gl = {
const gl = reactive({
clearColor: '#18181B',
shadows: true,
alpha: false,
shadowMapType: BasicShadowMap,
outputColorSpace: SRGBColorSpace,
toneMapping: NoToneMapping,
}
})
/* const bloomParams = reactive({
luminanceThreshold: 0.2,
luminanceSmoothing: 0.3,
mipmapBlur: true,
intensity: 0.5,
}) */
const showScene = ref(false)
setTimeout(() => {
showScene.value = true
}, 5000)
</script>

<template>
Expand Down
1 change: 1 addition & 0 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default defineNuxtConfig({
modules: ['../src/module'],
devtools: { enabled: true },
tres: {
// for testing purposes, and so we test both deduplication + auto-detection capabilities
modules: ['@tresjs/cientos'],
Expand Down
1 change: 1 addition & 0 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"generate": "nuxi generate"
},
"devDependencies": {
"@nuxt/devtools": "1.0.0-beta.0",
"@tresjs/cientos": "^3.4.1",
"@tresjs/post-processing": "^0.4.0",
"nuxt": "^3.7.4",
Expand Down
Loading

0 comments on commit f43fcb4

Please sign in to comment.