diff --git a/.github/workflows/pkg.pr.new.yml b/.github/workflows/pkg.pr.new.yml index 0cdcc4e8..f49099b8 100644 --- a/.github/workflows/pkg.pr.new.yml +++ b/.github/workflows/pkg.pr.new.yml @@ -34,4 +34,4 @@ jobs: run: pnpm install - name: Build run: pnpm build - - run: pnpm dlx pkg-pr-new publish --pnpm \ No newline at end of file + - run: pnpx pkg-pr-new publish --compact --pnpm \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json index c0a6e5a4..a7cea0b0 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,3 +1,3 @@ { - "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] + "recommendations": ["Vue.volar"] } diff --git a/CHANGELOG.md b/CHANGELOG.md index c7504b7e..fc002de3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,22 @@ +# Changelog +## [2.0.0](https://github.com/Tresjs/post-processing/compare/1.0.0...2.0.0) (2025-01-03) + +### ⚠ BREAKING CHANGES + +* Consolidated post-processing effects under a unified namespace (`@tresjs/post-processing`). Pmndrs `EffectComposer` is now `EffectComposerPmndrs`, same for all the effects and composables under `src/core/pmndrs` to avoid name collisions + +* chore: remove nuxt playground + +* docs: updated docs to breaking changes + +* chore: update deps and tsconfig for docs + +* fix: adjusted aliases in vite config + +### Bug Fixes + +* unified-exports-suffix-pmndrs-effects ([#154](https://github.com/Tresjs/post-processing/issues/154)) ([3a2ec97](https://github.com/Tresjs/post-processing/commit/3a2ec97e04fdf4523865092ef63b0d8935574266)) ## [1.0.0](https://github.com/Tresjs/post-processing/compare/1.0.0-next.1...1.0.0) (2024-11-26) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 0f57f6eb..e437b3a5 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -88,8 +88,7 @@ export default defineConfig({ }, resolve: { alias: { - '@tresjs/post-processing/three': resolve(__dirname, '../../src/core/three'), - '@tresjs/post-processing/pmndrs': resolve(__dirname, '../../src/core/pmndrs'), + '@tresjs/post-processing': resolve(__dirname, '../../src'), }, dedupe: ['three', '@tresjs/core'], }, diff --git a/docs/.vitepress/theme/components/pmdrs/BloomDemo.vue b/docs/.vitepress/theme/components/pmdrs/BloomDemo.vue index 524f2a1c..d72abb11 100644 --- a/docs/.vitepress/theme/components/pmdrs/BloomDemo.vue +++ b/docs/.vitepress/theme/components/pmdrs/BloomDemo.vue @@ -1,6 +1,6 @@ ``` -### Using pmndrs effects +### Using Pmndrs effects + +You can also use Pmndrs `postprocessing` effects, but you need to use the `EffectComposerPmndrs` component instead of `EffectComposer` and suffix the effects with `Pmndrs`. ```html ``` diff --git a/docs/guide/pmndrs/bloom.md b/docs/guide/pmndrs/bloom.md index fecdb52c..e584e14f 100644 --- a/docs/guide/pmndrs/bloom.md +++ b/docs/guide/pmndrs/bloom.md @@ -10,19 +10,19 @@ Bloom is an effect that simulates the way that bright objects in the real world ```vue ``` diff --git a/docs/guide/pmndrs/depth-of-field.md b/docs/guide/pmndrs/depth-of-field.md index 1af9b52b..90255f52 100644 --- a/docs/guide/pmndrs/depth-of-field.md +++ b/docs/guide/pmndrs/depth-of-field.md @@ -12,13 +12,13 @@ This photographic technique allows photographers and filmmakers to draw attentio ```vue ``` diff --git a/docs/guide/pmndrs/glitch.md b/docs/guide/pmndrs/glitch.md index 63dec57b..37714c71 100644 --- a/docs/guide/pmndrs/glitch.md +++ b/docs/guide/pmndrs/glitch.md @@ -16,13 +16,13 @@ This effect may potentially cause epileptic seizures in people with photosensiti ```vue ``` diff --git a/docs/guide/pmndrs/noise.md b/docs/guide/pmndrs/noise.md index 5116a46b..55d2c37a 100644 --- a/docs/guide/pmndrs/noise.md +++ b/docs/guide/pmndrs/noise.md @@ -10,18 +10,18 @@ Noise is an effect that adds Gaussian noise to the scene. This can be used to si ```vue ``` diff --git a/docs/guide/pmndrs/outline.md b/docs/guide/pmndrs/outline.md index 7cdd62ab..3deb045d 100644 --- a/docs/guide/pmndrs/outline.md +++ b/docs/guide/pmndrs/outline.md @@ -10,13 +10,13 @@ Outline is an effect that applies an outline to objects in your scene. This effe ```vue ``` diff --git a/docs/guide/pmndrs/pixelation.md b/docs/guide/pmndrs/pixelation.md index 381359cd..b4330b04 100644 --- a/docs/guide/pmndrs/pixelation.md +++ b/docs/guide/pmndrs/pixelation.md @@ -10,13 +10,13 @@ Pixelation is an effect that pixelates the scene. ```vue ``` diff --git a/docs/guide/pmndrs/vignette.md b/docs/guide/pmndrs/vignette.md index a8a1cb45..23d4836f 100644 --- a/docs/guide/pmndrs/vignette.md +++ b/docs/guide/pmndrs/vignette.md @@ -10,16 +10,16 @@ Vignette is an effect that darkens the edges of the scene to make the center pop ```vue ``` diff --git a/docs/guide/three/glitch.md b/docs/guide/three/glitch.md index fca973ca..037e3b93 100644 --- a/docs/guide/three/glitch.md +++ b/docs/guide/three/glitch.md @@ -16,7 +16,7 @@ This effect may potentially cause epileptic seizures in people with photosensiti ```vue