From 60a2df550986e016b75a2a0965e9c8f795b42bb8 Mon Sep 17 00:00:00 2001 From: fand Date: Tue, 9 Jul 2024 12:16:01 -0700 Subject: [PATCH 1/8] ci: deploy REACT-VFX docs to react-vfx-docs --- .github/workflows/deploy.yml | 43 +++++++++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index dbb41a5..fe1f22e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,35 @@ -name: Deploy to amagi.dev/react-vfx +name: Deploy to amagi.dev/react-vfx-docs on: push: branches: - main + workflow_dispatch: + +# jobs: +# deploy: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v3 + +# - name: Setup Node +# uses: actions/setup-node@v3 +# with: +# node-version: "20" +# cache: "npm" +# cache-dependency-path: "**/package-lock.json" + +# - name: Install dependencies +# run: npm ci + +# - name: Build REACT-VFX and docs +# run: npm run build + +# - name: Deploy +# uses: peaceiris/actions-gh-pages@v3 +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} +# publish_dir: ./packages/docs/dist jobs: deploy: @@ -21,11 +47,16 @@ jobs: - name: Install dependencies run: npm ci - - name: Build REACT-VFX and docs + - name: Build run: npm run build - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + - name: Pushes to another repository + uses: cpina/github-action-push-to-another-repository@main + env: + SSH_DEPLOY_KEY: ${{ secrets.VFX_JS_DEPLOY_KEY }} with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./packages/docs/dist + source-directory: "packages/docs/dist" + destination-github-username: "fand" + destination-repository-name: "react-vfx-docs" + user-email: mail@amagi.dev + target-branch: main From 94ccc1156a3e2a60c21d99ded87e1c082ba2beb9 Mon Sep 17 00:00:00 2001 From: fand Date: Tue, 9 Jul 2024 12:16:53 -0700 Subject: [PATCH 2/8] refactor: rename docs to docs-react-vfx --- .github/workflows/deploy.yml | 2 +- packages/{docs => docs-react-vfx}/.gitignore | 0 packages/{docs => docs-react-vfx}/index.html | 0 packages/{docs => docs-react-vfx}/package.json | 2 +- packages/{docs => docs-react-vfx}/public/amagi.png | Bin packages/{docs => docs-react-vfx}/public/cat.gif | Bin packages/{docs => docs-react-vfx}/public/chill.gif | Bin packages/{docs => docs-react-vfx}/public/david.png | Bin packages/{docs => docs-react-vfx}/public/doge.gif | Bin .../public/favicon/favicon-144-precomposed.png | Bin .../public/favicon/favicon-180-precomposed.png | Bin .../public/favicon/favicon-192.png | Bin .../public/favicon/favicon-36.png | Bin .../public/favicon/favicon-48.png | Bin .../public/favicon/favicon-72.png | Bin .../public/favicon/favicon-96.png | Bin .../public/favicon/favicon.ico | Bin packages/{docs => docs-react-vfx}/public/index.html | 0 .../public/logo-oneline.png | Bin .../public/logo-with-bg.png | Bin packages/{docs => docs-react-vfx}/public/logo.png | Bin .../{docs => docs-react-vfx}/public/mind_blown.gif | Bin .../{docs => docs-react-vfx}/public/mind_blown.mp4 | Bin .../{docs => docs-react-vfx}/public/octocat.gif | Bin .../public/react-logo-oneline.png | Bin .../{docs => docs-react-vfx}/public/react-logo.png | Bin packages/{docs => docs-react-vfx}/public/robots.txt | 0 .../public/vfx-js-blob.webp | Bin .../public/vfx-js-logo-no-padding.svg | 0 .../{docs => docs-react-vfx}/public/vfx-js-logo.svg | 0 .../public/vfx-js-top-blob.png | Bin .../{docs => docs-react-vfx}/public/webgl-logo.png | Bin packages/{docs => docs-react-vfx}/src/App.css | 0 packages/{docs => docs-react-vfx}/src/App.tsx | 0 packages/{docs => docs-react-vfx}/src/Bg.tsx | 0 .../src/dom/AuthorSection.css | 0 .../src/dom/AuthorSection.tsx | 0 packages/{docs => docs-react-vfx}/src/dom/Code.tsx | 0 .../{docs => docs-react-vfx}/src/dom/DivSection.css | 0 .../{docs => docs-react-vfx}/src/dom/DivSection.tsx | 0 .../src/dom/ExamplesSection.css | 0 .../src/dom/ExamplesSection.tsx | 0 packages/{docs => docs-react-vfx}/src/dom/Frame.css | 0 packages/{docs => docs-react-vfx}/src/dom/Frame.tsx | 0 .../src/dom/InputSection.css | 0 .../src/dom/InputSection.tsx | 0 .../src/dom/IntroSection.css | 0 .../src/dom/IntroSection.tsx | 0 .../src/dom/LogoSection.css | 0 .../src/dom/LogoSection.tsx | 0 .../src/dom/UsageSection.tsx | 0 .../{docs => docs-react-vfx}/src/gl/Effects.tsx | 0 .../{docs => docs-react-vfx}/src/gl/Fragments.tsx | 0 .../{docs => docs-react-vfx}/src/gl/Triangle.tsx | 0 packages/{docs => docs-react-vfx}/src/index.css | 0 packages/{docs => docs-react-vfx}/src/main.tsx | 0 packages/{docs => docs-react-vfx}/src/types.d.ts | 0 packages/{docs => docs-react-vfx}/src/vite-env.d.ts | 0 packages/{docs => docs-react-vfx}/tsconfig.json | 0 .../{docs => docs-react-vfx}/tsconfig.node.json | 0 packages/{docs => docs-react-vfx}/vite.config.ts | 0 61 files changed, 2 insertions(+), 2 deletions(-) rename packages/{docs => docs-react-vfx}/.gitignore (100%) rename packages/{docs => docs-react-vfx}/index.html (100%) rename packages/{docs => docs-react-vfx}/package.json (97%) rename packages/{docs => docs-react-vfx}/public/amagi.png (100%) rename packages/{docs => docs-react-vfx}/public/cat.gif (100%) rename packages/{docs => docs-react-vfx}/public/chill.gif (100%) rename packages/{docs => docs-react-vfx}/public/david.png (100%) rename packages/{docs => docs-react-vfx}/public/doge.gif (100%) rename packages/{docs => docs-react-vfx}/public/favicon/favicon-144-precomposed.png (100%) rename packages/{docs => docs-react-vfx}/public/favicon/favicon-180-precomposed.png (100%) rename packages/{docs => docs-react-vfx}/public/favicon/favicon-192.png (100%) rename packages/{docs => docs-react-vfx}/public/favicon/favicon-36.png (100%) rename packages/{docs => docs-react-vfx}/public/favicon/favicon-48.png (100%) rename packages/{docs => docs-react-vfx}/public/favicon/favicon-72.png (100%) rename packages/{docs => docs-react-vfx}/public/favicon/favicon-96.png (100%) rename packages/{docs => docs-react-vfx}/public/favicon/favicon.ico (100%) rename packages/{docs => docs-react-vfx}/public/index.html (100%) rename packages/{docs => docs-react-vfx}/public/logo-oneline.png (100%) rename packages/{docs => docs-react-vfx}/public/logo-with-bg.png (100%) rename packages/{docs => docs-react-vfx}/public/logo.png (100%) rename packages/{docs => docs-react-vfx}/public/mind_blown.gif (100%) rename packages/{docs => docs-react-vfx}/public/mind_blown.mp4 (100%) rename packages/{docs => docs-react-vfx}/public/octocat.gif (100%) rename packages/{docs => docs-react-vfx}/public/react-logo-oneline.png (100%) rename packages/{docs => docs-react-vfx}/public/react-logo.png (100%) rename packages/{docs => docs-react-vfx}/public/robots.txt (100%) rename packages/{docs => docs-react-vfx}/public/vfx-js-blob.webp (100%) rename packages/{docs => docs-react-vfx}/public/vfx-js-logo-no-padding.svg (100%) rename packages/{docs => docs-react-vfx}/public/vfx-js-logo.svg (100%) rename packages/{docs => docs-react-vfx}/public/vfx-js-top-blob.png (100%) rename packages/{docs => docs-react-vfx}/public/webgl-logo.png (100%) rename packages/{docs => docs-react-vfx}/src/App.css (100%) rename packages/{docs => docs-react-vfx}/src/App.tsx (100%) rename packages/{docs => docs-react-vfx}/src/Bg.tsx (100%) rename packages/{docs => docs-react-vfx}/src/dom/AuthorSection.css (100%) rename packages/{docs => docs-react-vfx}/src/dom/AuthorSection.tsx (100%) rename packages/{docs => docs-react-vfx}/src/dom/Code.tsx (100%) rename packages/{docs => docs-react-vfx}/src/dom/DivSection.css (100%) rename packages/{docs => docs-react-vfx}/src/dom/DivSection.tsx (100%) rename packages/{docs => docs-react-vfx}/src/dom/ExamplesSection.css (100%) rename packages/{docs => docs-react-vfx}/src/dom/ExamplesSection.tsx (100%) rename packages/{docs => docs-react-vfx}/src/dom/Frame.css (100%) rename packages/{docs => docs-react-vfx}/src/dom/Frame.tsx (100%) rename packages/{docs => docs-react-vfx}/src/dom/InputSection.css (100%) rename packages/{docs => docs-react-vfx}/src/dom/InputSection.tsx (100%) rename packages/{docs => docs-react-vfx}/src/dom/IntroSection.css (100%) rename packages/{docs => docs-react-vfx}/src/dom/IntroSection.tsx (100%) rename packages/{docs => docs-react-vfx}/src/dom/LogoSection.css (100%) rename packages/{docs => docs-react-vfx}/src/dom/LogoSection.tsx (100%) rename packages/{docs => docs-react-vfx}/src/dom/UsageSection.tsx (100%) rename packages/{docs => docs-react-vfx}/src/gl/Effects.tsx (100%) rename packages/{docs => docs-react-vfx}/src/gl/Fragments.tsx (100%) rename packages/{docs => docs-react-vfx}/src/gl/Triangle.tsx (100%) rename packages/{docs => docs-react-vfx}/src/index.css (100%) rename packages/{docs => docs-react-vfx}/src/main.tsx (100%) rename packages/{docs => docs-react-vfx}/src/types.d.ts (100%) rename packages/{docs => docs-react-vfx}/src/vite-env.d.ts (100%) rename packages/{docs => docs-react-vfx}/tsconfig.json (100%) rename packages/{docs => docs-react-vfx}/tsconfig.node.json (100%) rename packages/{docs => docs-react-vfx}/vite.config.ts (100%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fe1f22e..5135ff7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -55,7 +55,7 @@ jobs: env: SSH_DEPLOY_KEY: ${{ secrets.VFX_JS_DEPLOY_KEY }} with: - source-directory: "packages/docs/dist" + source-directory: "packages/docs-react-vfx/dist" destination-github-username: "fand" destination-repository-name: "react-vfx-docs" user-email: mail@amagi.dev diff --git a/packages/docs/.gitignore b/packages/docs-react-vfx/.gitignore similarity index 100% rename from packages/docs/.gitignore rename to packages/docs-react-vfx/.gitignore diff --git a/packages/docs/index.html b/packages/docs-react-vfx/index.html similarity index 100% rename from packages/docs/index.html rename to packages/docs-react-vfx/index.html diff --git a/packages/docs/package.json b/packages/docs-react-vfx/package.json similarity index 97% rename from packages/docs/package.json rename to packages/docs-react-vfx/package.json index 8cc5810..5f0776f 100644 --- a/packages/docs/package.json +++ b/packages/docs-react-vfx/package.json @@ -1,5 +1,5 @@ { - "name": "docs", + "name": "docs-react-vfx", "private": true, "version": "0.0.0", "type": "module", diff --git a/packages/docs/public/amagi.png b/packages/docs-react-vfx/public/amagi.png similarity index 100% rename from packages/docs/public/amagi.png rename to packages/docs-react-vfx/public/amagi.png diff --git a/packages/docs/public/cat.gif b/packages/docs-react-vfx/public/cat.gif similarity index 100% rename from packages/docs/public/cat.gif rename to packages/docs-react-vfx/public/cat.gif diff --git a/packages/docs/public/chill.gif b/packages/docs-react-vfx/public/chill.gif similarity index 100% rename from packages/docs/public/chill.gif rename to packages/docs-react-vfx/public/chill.gif diff --git a/packages/docs/public/david.png b/packages/docs-react-vfx/public/david.png similarity index 100% rename from packages/docs/public/david.png rename to packages/docs-react-vfx/public/david.png diff --git a/packages/docs/public/doge.gif b/packages/docs-react-vfx/public/doge.gif similarity index 100% rename from packages/docs/public/doge.gif rename to packages/docs-react-vfx/public/doge.gif diff --git a/packages/docs/public/favicon/favicon-144-precomposed.png b/packages/docs-react-vfx/public/favicon/favicon-144-precomposed.png similarity index 100% rename from packages/docs/public/favicon/favicon-144-precomposed.png rename to packages/docs-react-vfx/public/favicon/favicon-144-precomposed.png diff --git a/packages/docs/public/favicon/favicon-180-precomposed.png b/packages/docs-react-vfx/public/favicon/favicon-180-precomposed.png similarity index 100% rename from packages/docs/public/favicon/favicon-180-precomposed.png rename to packages/docs-react-vfx/public/favicon/favicon-180-precomposed.png diff --git a/packages/docs/public/favicon/favicon-192.png b/packages/docs-react-vfx/public/favicon/favicon-192.png similarity index 100% rename from packages/docs/public/favicon/favicon-192.png rename to packages/docs-react-vfx/public/favicon/favicon-192.png diff --git a/packages/docs/public/favicon/favicon-36.png b/packages/docs-react-vfx/public/favicon/favicon-36.png similarity index 100% rename from packages/docs/public/favicon/favicon-36.png rename to packages/docs-react-vfx/public/favicon/favicon-36.png diff --git a/packages/docs/public/favicon/favicon-48.png b/packages/docs-react-vfx/public/favicon/favicon-48.png similarity index 100% rename from packages/docs/public/favicon/favicon-48.png rename to packages/docs-react-vfx/public/favicon/favicon-48.png diff --git a/packages/docs/public/favicon/favicon-72.png b/packages/docs-react-vfx/public/favicon/favicon-72.png similarity index 100% rename from packages/docs/public/favicon/favicon-72.png rename to packages/docs-react-vfx/public/favicon/favicon-72.png diff --git a/packages/docs/public/favicon/favicon-96.png b/packages/docs-react-vfx/public/favicon/favicon-96.png similarity index 100% rename from packages/docs/public/favicon/favicon-96.png rename to packages/docs-react-vfx/public/favicon/favicon-96.png diff --git a/packages/docs/public/favicon/favicon.ico b/packages/docs-react-vfx/public/favicon/favicon.ico similarity index 100% rename from packages/docs/public/favicon/favicon.ico rename to packages/docs-react-vfx/public/favicon/favicon.ico diff --git a/packages/docs/public/index.html b/packages/docs-react-vfx/public/index.html similarity index 100% rename from packages/docs/public/index.html rename to packages/docs-react-vfx/public/index.html diff --git a/packages/docs/public/logo-oneline.png b/packages/docs-react-vfx/public/logo-oneline.png similarity index 100% rename from packages/docs/public/logo-oneline.png rename to packages/docs-react-vfx/public/logo-oneline.png diff --git a/packages/docs/public/logo-with-bg.png b/packages/docs-react-vfx/public/logo-with-bg.png similarity index 100% rename from packages/docs/public/logo-with-bg.png rename to packages/docs-react-vfx/public/logo-with-bg.png diff --git a/packages/docs/public/logo.png b/packages/docs-react-vfx/public/logo.png similarity index 100% rename from packages/docs/public/logo.png rename to packages/docs-react-vfx/public/logo.png diff --git a/packages/docs/public/mind_blown.gif b/packages/docs-react-vfx/public/mind_blown.gif similarity index 100% rename from packages/docs/public/mind_blown.gif rename to packages/docs-react-vfx/public/mind_blown.gif diff --git a/packages/docs/public/mind_blown.mp4 b/packages/docs-react-vfx/public/mind_blown.mp4 similarity index 100% rename from packages/docs/public/mind_blown.mp4 rename to packages/docs-react-vfx/public/mind_blown.mp4 diff --git a/packages/docs/public/octocat.gif b/packages/docs-react-vfx/public/octocat.gif similarity index 100% rename from packages/docs/public/octocat.gif rename to packages/docs-react-vfx/public/octocat.gif diff --git a/packages/docs/public/react-logo-oneline.png b/packages/docs-react-vfx/public/react-logo-oneline.png similarity index 100% rename from packages/docs/public/react-logo-oneline.png rename to packages/docs-react-vfx/public/react-logo-oneline.png diff --git a/packages/docs/public/react-logo.png b/packages/docs-react-vfx/public/react-logo.png similarity index 100% rename from packages/docs/public/react-logo.png rename to packages/docs-react-vfx/public/react-logo.png diff --git a/packages/docs/public/robots.txt b/packages/docs-react-vfx/public/robots.txt similarity index 100% rename from packages/docs/public/robots.txt rename to packages/docs-react-vfx/public/robots.txt diff --git a/packages/docs/public/vfx-js-blob.webp b/packages/docs-react-vfx/public/vfx-js-blob.webp similarity index 100% rename from packages/docs/public/vfx-js-blob.webp rename to packages/docs-react-vfx/public/vfx-js-blob.webp diff --git a/packages/docs/public/vfx-js-logo-no-padding.svg b/packages/docs-react-vfx/public/vfx-js-logo-no-padding.svg similarity index 100% rename from packages/docs/public/vfx-js-logo-no-padding.svg rename to packages/docs-react-vfx/public/vfx-js-logo-no-padding.svg diff --git a/packages/docs/public/vfx-js-logo.svg b/packages/docs-react-vfx/public/vfx-js-logo.svg similarity index 100% rename from packages/docs/public/vfx-js-logo.svg rename to packages/docs-react-vfx/public/vfx-js-logo.svg diff --git a/packages/docs/public/vfx-js-top-blob.png b/packages/docs-react-vfx/public/vfx-js-top-blob.png similarity index 100% rename from packages/docs/public/vfx-js-top-blob.png rename to packages/docs-react-vfx/public/vfx-js-top-blob.png diff --git a/packages/docs/public/webgl-logo.png b/packages/docs-react-vfx/public/webgl-logo.png similarity index 100% rename from packages/docs/public/webgl-logo.png rename to packages/docs-react-vfx/public/webgl-logo.png diff --git a/packages/docs/src/App.css b/packages/docs-react-vfx/src/App.css similarity index 100% rename from packages/docs/src/App.css rename to packages/docs-react-vfx/src/App.css diff --git a/packages/docs/src/App.tsx b/packages/docs-react-vfx/src/App.tsx similarity index 100% rename from packages/docs/src/App.tsx rename to packages/docs-react-vfx/src/App.tsx diff --git a/packages/docs/src/Bg.tsx b/packages/docs-react-vfx/src/Bg.tsx similarity index 100% rename from packages/docs/src/Bg.tsx rename to packages/docs-react-vfx/src/Bg.tsx diff --git a/packages/docs/src/dom/AuthorSection.css b/packages/docs-react-vfx/src/dom/AuthorSection.css similarity index 100% rename from packages/docs/src/dom/AuthorSection.css rename to packages/docs-react-vfx/src/dom/AuthorSection.css diff --git a/packages/docs/src/dom/AuthorSection.tsx b/packages/docs-react-vfx/src/dom/AuthorSection.tsx similarity index 100% rename from packages/docs/src/dom/AuthorSection.tsx rename to packages/docs-react-vfx/src/dom/AuthorSection.tsx diff --git a/packages/docs/src/dom/Code.tsx b/packages/docs-react-vfx/src/dom/Code.tsx similarity index 100% rename from packages/docs/src/dom/Code.tsx rename to packages/docs-react-vfx/src/dom/Code.tsx diff --git a/packages/docs/src/dom/DivSection.css b/packages/docs-react-vfx/src/dom/DivSection.css similarity index 100% rename from packages/docs/src/dom/DivSection.css rename to packages/docs-react-vfx/src/dom/DivSection.css diff --git a/packages/docs/src/dom/DivSection.tsx b/packages/docs-react-vfx/src/dom/DivSection.tsx similarity index 100% rename from packages/docs/src/dom/DivSection.tsx rename to packages/docs-react-vfx/src/dom/DivSection.tsx diff --git a/packages/docs/src/dom/ExamplesSection.css b/packages/docs-react-vfx/src/dom/ExamplesSection.css similarity index 100% rename from packages/docs/src/dom/ExamplesSection.css rename to packages/docs-react-vfx/src/dom/ExamplesSection.css diff --git a/packages/docs/src/dom/ExamplesSection.tsx b/packages/docs-react-vfx/src/dom/ExamplesSection.tsx similarity index 100% rename from packages/docs/src/dom/ExamplesSection.tsx rename to packages/docs-react-vfx/src/dom/ExamplesSection.tsx diff --git a/packages/docs/src/dom/Frame.css b/packages/docs-react-vfx/src/dom/Frame.css similarity index 100% rename from packages/docs/src/dom/Frame.css rename to packages/docs-react-vfx/src/dom/Frame.css diff --git a/packages/docs/src/dom/Frame.tsx b/packages/docs-react-vfx/src/dom/Frame.tsx similarity index 100% rename from packages/docs/src/dom/Frame.tsx rename to packages/docs-react-vfx/src/dom/Frame.tsx diff --git a/packages/docs/src/dom/InputSection.css b/packages/docs-react-vfx/src/dom/InputSection.css similarity index 100% rename from packages/docs/src/dom/InputSection.css rename to packages/docs-react-vfx/src/dom/InputSection.css diff --git a/packages/docs/src/dom/InputSection.tsx b/packages/docs-react-vfx/src/dom/InputSection.tsx similarity index 100% rename from packages/docs/src/dom/InputSection.tsx rename to packages/docs-react-vfx/src/dom/InputSection.tsx diff --git a/packages/docs/src/dom/IntroSection.css b/packages/docs-react-vfx/src/dom/IntroSection.css similarity index 100% rename from packages/docs/src/dom/IntroSection.css rename to packages/docs-react-vfx/src/dom/IntroSection.css diff --git a/packages/docs/src/dom/IntroSection.tsx b/packages/docs-react-vfx/src/dom/IntroSection.tsx similarity index 100% rename from packages/docs/src/dom/IntroSection.tsx rename to packages/docs-react-vfx/src/dom/IntroSection.tsx diff --git a/packages/docs/src/dom/LogoSection.css b/packages/docs-react-vfx/src/dom/LogoSection.css similarity index 100% rename from packages/docs/src/dom/LogoSection.css rename to packages/docs-react-vfx/src/dom/LogoSection.css diff --git a/packages/docs/src/dom/LogoSection.tsx b/packages/docs-react-vfx/src/dom/LogoSection.tsx similarity index 100% rename from packages/docs/src/dom/LogoSection.tsx rename to packages/docs-react-vfx/src/dom/LogoSection.tsx diff --git a/packages/docs/src/dom/UsageSection.tsx b/packages/docs-react-vfx/src/dom/UsageSection.tsx similarity index 100% rename from packages/docs/src/dom/UsageSection.tsx rename to packages/docs-react-vfx/src/dom/UsageSection.tsx diff --git a/packages/docs/src/gl/Effects.tsx b/packages/docs-react-vfx/src/gl/Effects.tsx similarity index 100% rename from packages/docs/src/gl/Effects.tsx rename to packages/docs-react-vfx/src/gl/Effects.tsx diff --git a/packages/docs/src/gl/Fragments.tsx b/packages/docs-react-vfx/src/gl/Fragments.tsx similarity index 100% rename from packages/docs/src/gl/Fragments.tsx rename to packages/docs-react-vfx/src/gl/Fragments.tsx diff --git a/packages/docs/src/gl/Triangle.tsx b/packages/docs-react-vfx/src/gl/Triangle.tsx similarity index 100% rename from packages/docs/src/gl/Triangle.tsx rename to packages/docs-react-vfx/src/gl/Triangle.tsx diff --git a/packages/docs/src/index.css b/packages/docs-react-vfx/src/index.css similarity index 100% rename from packages/docs/src/index.css rename to packages/docs-react-vfx/src/index.css diff --git a/packages/docs/src/main.tsx b/packages/docs-react-vfx/src/main.tsx similarity index 100% rename from packages/docs/src/main.tsx rename to packages/docs-react-vfx/src/main.tsx diff --git a/packages/docs/src/types.d.ts b/packages/docs-react-vfx/src/types.d.ts similarity index 100% rename from packages/docs/src/types.d.ts rename to packages/docs-react-vfx/src/types.d.ts diff --git a/packages/docs/src/vite-env.d.ts b/packages/docs-react-vfx/src/vite-env.d.ts similarity index 100% rename from packages/docs/src/vite-env.d.ts rename to packages/docs-react-vfx/src/vite-env.d.ts diff --git a/packages/docs/tsconfig.json b/packages/docs-react-vfx/tsconfig.json similarity index 100% rename from packages/docs/tsconfig.json rename to packages/docs-react-vfx/tsconfig.json diff --git a/packages/docs/tsconfig.node.json b/packages/docs-react-vfx/tsconfig.node.json similarity index 100% rename from packages/docs/tsconfig.node.json rename to packages/docs-react-vfx/tsconfig.node.json diff --git a/packages/docs/vite.config.ts b/packages/docs-react-vfx/vite.config.ts similarity index 100% rename from packages/docs/vite.config.ts rename to packages/docs-react-vfx/vite.config.ts From 930b6ffc59a36918131c571a311ee8ae49945b68 Mon Sep 17 00:00:00 2001 From: fand Date: Tue, 9 Jul 2024 12:24:07 -0700 Subject: [PATCH 3/8] ci: replace deploy key --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5135ff7..f51fd45 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -53,7 +53,7 @@ jobs: - name: Pushes to another repository uses: cpina/github-action-push-to-another-repository@main env: - SSH_DEPLOY_KEY: ${{ secrets.VFX_JS_DEPLOY_KEY }} + SSH_DEPLOY_KEY: ${{ secrets.REACT_VFX_DEPLOY_KEY }} with: source-directory: "packages/docs-react-vfx/dist" destination-github-username: "fand" From b102607005bf34b94ac7df6dd396722ad4a0b7c7 Mon Sep 17 00:00:00 2001 From: fand Date: Tue, 9 Jul 2024 12:26:31 -0700 Subject: [PATCH 4/8] refactor: rename docs-vfx-js to docs --- .github/workflows/deploy-vfx-js.yml | 4 ++-- packages/{docs-vfx-js => docs}/.gitignore | 0 packages/{docs-vfx-js => docs}/CHANGELOG.md | 0 packages/{docs-vfx-js => docs}/index.css | 0 packages/{docs-vfx-js => docs}/index.html | 0 packages/{docs-vfx-js => docs}/manifest.webmanifest | 0 packages/{docs-vfx-js => docs}/package.json | 2 +- packages/{docs-vfx-js => docs}/public/amagi.png | Bin packages/{docs-vfx-js => docs}/public/cat.gif | Bin .../public/favicon/favicon-180.png | Bin .../public/favicon/favicon-192.png | Bin .../public/favicon/favicon-512.png | Bin .../public/favicon/favicon.ico | Bin .../public/favicon/favicon.svg | 0 packages/{docs-vfx-js => docs}/public/github.svg | 0 packages/{docs-vfx-js => docs}/public/jellyfish.mp4 | Bin packages/{docs-vfx-js => docs}/public/logo.png | Bin packages/{docs-vfx-js => docs}/public/nyancat.gif | Bin packages/{docs-vfx-js => docs}/public/octocat.gif | Bin packages/{docs-vfx-js => docs}/public/og_image.jpg | Bin packages/{docs-vfx-js => docs}/public/robots.txt | 0 packages/{docs-vfx-js => docs}/public/threads.svg | 0 packages/{docs-vfx-js => docs}/public/twitter.svg | 0 .../{docs-vfx-js => docs}/public/vfx-js-blob.webp | Bin .../public/vfx-js-logo-no-padding.svg | 0 .../{docs-vfx-js => docs}/public/vfx-js-logo.svg | 0 .../public/vfx-js-top-blob.png | Bin packages/{docs-vfx-js => docs}/src/main.ts | 0 packages/{docs-vfx-js => docs}/tsconfig.json | 0 packages/{docs-vfx-js => docs}/tsconfig.node.json | 0 packages/{docs-vfx-js => docs}/vite.config.ts | 0 packages/vfx-js/README.md | 2 +- packages/vfx-js/package.json | 2 +- 33 files changed, 5 insertions(+), 5 deletions(-) rename packages/{docs-vfx-js => docs}/.gitignore (100%) rename packages/{docs-vfx-js => docs}/CHANGELOG.md (100%) rename packages/{docs-vfx-js => docs}/index.css (100%) rename packages/{docs-vfx-js => docs}/index.html (100%) rename packages/{docs-vfx-js => docs}/manifest.webmanifest (100%) rename packages/{docs-vfx-js => docs}/package.json (96%) rename packages/{docs-vfx-js => docs}/public/amagi.png (100%) rename packages/{docs-vfx-js => docs}/public/cat.gif (100%) rename packages/{docs-vfx-js => docs}/public/favicon/favicon-180.png (100%) rename packages/{docs-vfx-js => docs}/public/favicon/favicon-192.png (100%) rename packages/{docs-vfx-js => docs}/public/favicon/favicon-512.png (100%) rename packages/{docs-vfx-js => docs}/public/favicon/favicon.ico (100%) rename packages/{docs-vfx-js => docs}/public/favicon/favicon.svg (100%) rename packages/{docs-vfx-js => docs}/public/github.svg (100%) rename packages/{docs-vfx-js => docs}/public/jellyfish.mp4 (100%) rename packages/{docs-vfx-js => docs}/public/logo.png (100%) rename packages/{docs-vfx-js => docs}/public/nyancat.gif (100%) rename packages/{docs-vfx-js => docs}/public/octocat.gif (100%) rename packages/{docs-vfx-js => docs}/public/og_image.jpg (100%) rename packages/{docs-vfx-js => docs}/public/robots.txt (100%) rename packages/{docs-vfx-js => docs}/public/threads.svg (100%) rename packages/{docs-vfx-js => docs}/public/twitter.svg (100%) rename packages/{docs-vfx-js => docs}/public/vfx-js-blob.webp (100%) rename packages/{docs-vfx-js => docs}/public/vfx-js-logo-no-padding.svg (100%) rename packages/{docs-vfx-js => docs}/public/vfx-js-logo.svg (100%) rename packages/{docs-vfx-js => docs}/public/vfx-js-top-blob.png (100%) rename packages/{docs-vfx-js => docs}/src/main.ts (100%) rename packages/{docs-vfx-js => docs}/tsconfig.json (100%) rename packages/{docs-vfx-js => docs}/tsconfig.node.json (100%) rename packages/{docs-vfx-js => docs}/vite.config.ts (100%) diff --git a/.github/workflows/deploy-vfx-js.yml b/.github/workflows/deploy-vfx-js.yml index 627f919..d866dd6 100644 --- a/.github/workflows/deploy-vfx-js.yml +++ b/.github/workflows/deploy-vfx-js.yml @@ -27,7 +27,7 @@ jobs: - name: Sync TypeDoc run: | - cd packages/docs-vfx-js + cd packages/docs rm -rf dist/docs mv docs dist/docs @@ -36,7 +36,7 @@ jobs: env: SSH_DEPLOY_KEY: ${{ secrets.VFX_JS_DEPLOY_KEY }} with: - source-directory: "packages/docs-vfx-js/dist" + source-directory: "packages/docs/dist" destination-github-username: "fand" destination-repository-name: "vfx-js" user-email: mail@amagi.dev diff --git a/packages/docs-vfx-js/.gitignore b/packages/docs/.gitignore similarity index 100% rename from packages/docs-vfx-js/.gitignore rename to packages/docs/.gitignore diff --git a/packages/docs-vfx-js/CHANGELOG.md b/packages/docs/CHANGELOG.md similarity index 100% rename from packages/docs-vfx-js/CHANGELOG.md rename to packages/docs/CHANGELOG.md diff --git a/packages/docs-vfx-js/index.css b/packages/docs/index.css similarity index 100% rename from packages/docs-vfx-js/index.css rename to packages/docs/index.css diff --git a/packages/docs-vfx-js/index.html b/packages/docs/index.html similarity index 100% rename from packages/docs-vfx-js/index.html rename to packages/docs/index.html diff --git a/packages/docs-vfx-js/manifest.webmanifest b/packages/docs/manifest.webmanifest similarity index 100% rename from packages/docs-vfx-js/manifest.webmanifest rename to packages/docs/manifest.webmanifest diff --git a/packages/docs-vfx-js/package.json b/packages/docs/package.json similarity index 96% rename from packages/docs-vfx-js/package.json rename to packages/docs/package.json index 18656f5..61a9183 100644 --- a/packages/docs-vfx-js/package.json +++ b/packages/docs/package.json @@ -1,5 +1,5 @@ { - "name": "docs-vfx-js", + "name": "docs", "private": true, "version": "0.0.2", "type": "module", diff --git a/packages/docs-vfx-js/public/amagi.png b/packages/docs/public/amagi.png similarity index 100% rename from packages/docs-vfx-js/public/amagi.png rename to packages/docs/public/amagi.png diff --git a/packages/docs-vfx-js/public/cat.gif b/packages/docs/public/cat.gif similarity index 100% rename from packages/docs-vfx-js/public/cat.gif rename to packages/docs/public/cat.gif diff --git a/packages/docs-vfx-js/public/favicon/favicon-180.png b/packages/docs/public/favicon/favicon-180.png similarity index 100% rename from packages/docs-vfx-js/public/favicon/favicon-180.png rename to packages/docs/public/favicon/favicon-180.png diff --git a/packages/docs-vfx-js/public/favicon/favicon-192.png b/packages/docs/public/favicon/favicon-192.png similarity index 100% rename from packages/docs-vfx-js/public/favicon/favicon-192.png rename to packages/docs/public/favicon/favicon-192.png diff --git a/packages/docs-vfx-js/public/favicon/favicon-512.png b/packages/docs/public/favicon/favicon-512.png similarity index 100% rename from packages/docs-vfx-js/public/favicon/favicon-512.png rename to packages/docs/public/favicon/favicon-512.png diff --git a/packages/docs-vfx-js/public/favicon/favicon.ico b/packages/docs/public/favicon/favicon.ico similarity index 100% rename from packages/docs-vfx-js/public/favicon/favicon.ico rename to packages/docs/public/favicon/favicon.ico diff --git a/packages/docs-vfx-js/public/favicon/favicon.svg b/packages/docs/public/favicon/favicon.svg similarity index 100% rename from packages/docs-vfx-js/public/favicon/favicon.svg rename to packages/docs/public/favicon/favicon.svg diff --git a/packages/docs-vfx-js/public/github.svg b/packages/docs/public/github.svg similarity index 100% rename from packages/docs-vfx-js/public/github.svg rename to packages/docs/public/github.svg diff --git a/packages/docs-vfx-js/public/jellyfish.mp4 b/packages/docs/public/jellyfish.mp4 similarity index 100% rename from packages/docs-vfx-js/public/jellyfish.mp4 rename to packages/docs/public/jellyfish.mp4 diff --git a/packages/docs-vfx-js/public/logo.png b/packages/docs/public/logo.png similarity index 100% rename from packages/docs-vfx-js/public/logo.png rename to packages/docs/public/logo.png diff --git a/packages/docs-vfx-js/public/nyancat.gif b/packages/docs/public/nyancat.gif similarity index 100% rename from packages/docs-vfx-js/public/nyancat.gif rename to packages/docs/public/nyancat.gif diff --git a/packages/docs-vfx-js/public/octocat.gif b/packages/docs/public/octocat.gif similarity index 100% rename from packages/docs-vfx-js/public/octocat.gif rename to packages/docs/public/octocat.gif diff --git a/packages/docs-vfx-js/public/og_image.jpg b/packages/docs/public/og_image.jpg similarity index 100% rename from packages/docs-vfx-js/public/og_image.jpg rename to packages/docs/public/og_image.jpg diff --git a/packages/docs-vfx-js/public/robots.txt b/packages/docs/public/robots.txt similarity index 100% rename from packages/docs-vfx-js/public/robots.txt rename to packages/docs/public/robots.txt diff --git a/packages/docs-vfx-js/public/threads.svg b/packages/docs/public/threads.svg similarity index 100% rename from packages/docs-vfx-js/public/threads.svg rename to packages/docs/public/threads.svg diff --git a/packages/docs-vfx-js/public/twitter.svg b/packages/docs/public/twitter.svg similarity index 100% rename from packages/docs-vfx-js/public/twitter.svg rename to packages/docs/public/twitter.svg diff --git a/packages/docs-vfx-js/public/vfx-js-blob.webp b/packages/docs/public/vfx-js-blob.webp similarity index 100% rename from packages/docs-vfx-js/public/vfx-js-blob.webp rename to packages/docs/public/vfx-js-blob.webp diff --git a/packages/docs-vfx-js/public/vfx-js-logo-no-padding.svg b/packages/docs/public/vfx-js-logo-no-padding.svg similarity index 100% rename from packages/docs-vfx-js/public/vfx-js-logo-no-padding.svg rename to packages/docs/public/vfx-js-logo-no-padding.svg diff --git a/packages/docs-vfx-js/public/vfx-js-logo.svg b/packages/docs/public/vfx-js-logo.svg similarity index 100% rename from packages/docs-vfx-js/public/vfx-js-logo.svg rename to packages/docs/public/vfx-js-logo.svg diff --git a/packages/docs-vfx-js/public/vfx-js-top-blob.png b/packages/docs/public/vfx-js-top-blob.png similarity index 100% rename from packages/docs-vfx-js/public/vfx-js-top-blob.png rename to packages/docs/public/vfx-js-top-blob.png diff --git a/packages/docs-vfx-js/src/main.ts b/packages/docs/src/main.ts similarity index 100% rename from packages/docs-vfx-js/src/main.ts rename to packages/docs/src/main.ts diff --git a/packages/docs-vfx-js/tsconfig.json b/packages/docs/tsconfig.json similarity index 100% rename from packages/docs-vfx-js/tsconfig.json rename to packages/docs/tsconfig.json diff --git a/packages/docs-vfx-js/tsconfig.node.json b/packages/docs/tsconfig.node.json similarity index 100% rename from packages/docs-vfx-js/tsconfig.node.json rename to packages/docs/tsconfig.node.json diff --git a/packages/docs-vfx-js/vite.config.ts b/packages/docs/vite.config.ts similarity index 100% rename from packages/docs-vfx-js/vite.config.ts rename to packages/docs/vite.config.ts diff --git a/packages/vfx-js/README.md b/packages/vfx-js/README.md index 27bb593..dc95e4b 100644 --- a/packages/vfx-js/README.md +++ b/packages/vfx-js/README.md @@ -1,5 +1,5 @@
- VFX-JS + VFX-JS

VFX-JS: Visual Effects Framework for Web



diff --git a/packages/vfx-js/package.json b/packages/vfx-js/package.json index 1317a6d..ec747e3 100644 --- a/packages/vfx-js/package.json +++ b/packages/vfx-js/package.json @@ -33,7 +33,7 @@ "lint-staged": "lint-staged", "test": "vitest --dir src --run", "test:watch": "vitest --dir src", - "typedoc": "typedoc --out ../docs-vfx-js/docs" + "typedoc": "typedoc --out ../docs/docs" }, "dependencies": { "three": "^0.165.0" From acdeff2a9d7497c1448c3bdd3211dc5c0688212a Mon Sep 17 00:00:00 2001 From: fand Date: Tue, 9 Jul 2024 12:31:26 -0700 Subject: [PATCH 5/8] docs: deploy VFX-JS docs to GitHub Pages of this repository --- .github/workflows/deploy-vfx-js.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-vfx-js.yml b/.github/workflows/deploy-vfx-js.yml index d866dd6..f656a06 100644 --- a/.github/workflows/deploy-vfx-js.yml +++ b/.github/workflows/deploy-vfx-js.yml @@ -31,13 +31,8 @@ jobs: rm -rf dist/docs mv docs dist/docs - - name: Pushes to another repository - uses: cpina/github-action-push-to-another-repository@main - env: - SSH_DEPLOY_KEY: ${{ secrets.VFX_JS_DEPLOY_KEY }} + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 with: - source-directory: "packages/docs/dist" - destination-github-username: "fand" - destination-repository-name: "vfx-js" - user-email: mail@amagi.dev - target-branch: main + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./packages/docs/dist From 7de352904897915928429aa482be79b89f1aec6d Mon Sep 17 00:00:00 2001 From: fand Date: Tue, 9 Jul 2024 12:31:47 -0700 Subject: [PATCH 6/8] chore: remove unused --- .github/workflows/deploy.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f51fd45..dfe1783 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,31 +6,6 @@ on: - main workflow_dispatch: -# jobs: -# deploy: -# runs-on: ubuntu-latest -# steps: -# - uses: actions/checkout@v3 - -# - name: Setup Node -# uses: actions/setup-node@v3 -# with: -# node-version: "20" -# cache: "npm" -# cache-dependency-path: "**/package-lock.json" - -# - name: Install dependencies -# run: npm ci - -# - name: Build REACT-VFX and docs -# run: npm run build - -# - name: Deploy -# uses: peaceiris/actions-gh-pages@v3 -# with: -# github_token: ${{ secrets.GITHUB_TOKEN }} -# publish_dir: ./packages/docs/dist - jobs: deploy: runs-on: ubuntu-latest From 9fcff057df84e22e7685a5450c3d5df793d20676 Mon Sep 17 00:00:00 2001 From: fand Date: Tue, 9 Jul 2024 12:32:08 -0700 Subject: [PATCH 7/8] chore: rename --- .github/workflows/{deploy.yml => deploy-react-vfx.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{deploy.yml => deploy-react-vfx.yml} (100%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy-react-vfx.yml similarity index 100% rename from .github/workflows/deploy.yml rename to .github/workflows/deploy-react-vfx.yml From 300ad256365e656d7ad02cfd5699b32bc43faf70 Mon Sep 17 00:00:00 2001 From: fand Date: Tue, 9 Jul 2024 12:35:50 -0700 Subject: [PATCH 8/8] chore: update package-lock.json --- package-lock.json | 104 +++++++++++++++++++++++++++------------------- 1 file changed, 62 insertions(+), 42 deletions(-) diff --git a/package-lock.json b/package-lock.json index a7c33ec..70b33fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3460,8 +3460,8 @@ "resolved": "packages/docs", "link": true }, - "node_modules/docs-vfx-js": { - "resolved": "packages/docs-vfx-js", + "node_modules/docs-react-vfx": { + "resolved": "packages/docs-react-vfx", "link": true }, "node_modules/doctrine": { @@ -9838,22 +9838,14 @@ } }, "packages/docs": { - "version": "0.0.0", + "version": "0.0.2", "dependencies": { - "@react-spring/web": "^9.7.3", - "@react-three/fiber": "^8.16.8", - "@react-three/postprocessing": "^2.16.2", + "@vfx-js/core": "0.3.0", "dedent": "^1.5.3", "is-mobile": "^4.0.0", "lodash.debounce": "^4.0.8", - "postprocessing": "^6.35.5", - "prism-react-renderer": "^2.3.1", + "prism-themes": "^1.9.0", "prismjs": "^1.29.0", - "react": "^18.3.1", - "react-dom": "^18.3.1", - "react-lazyload": "^3.2.1", - "react-vfx": "*", - "three": "^0.165.0", "vh-check": "^2.0.5" }, "devDependencies": { @@ -9862,25 +9854,28 @@ "@types/is-mobile": "^2.1.4", "@types/lodash.debounce": "^4.0.9", "@types/node": "^20.14.2", - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", - "@types/react-lazyload": "^3.2.3", - "@types/three": "^0.165.0", - "@vitejs/plugin-react": "^4.3.0", "rimraf": "^5.0.7", "typescript": "^5.4.5", "vite": "^5.2.13" } }, - "packages/docs-vfx-js": { - "version": "0.0.1", + "packages/docs-react-vfx": { + "version": "0.0.0", "dependencies": { - "@vfx-js/core": "0.2.0", + "@react-spring/web": "^9.7.3", + "@react-three/fiber": "^8.16.8", + "@react-three/postprocessing": "^2.16.2", "dedent": "^1.5.3", "is-mobile": "^4.0.0", "lodash.debounce": "^4.0.8", - "prism-themes": "^1.9.0", + "postprocessing": "^6.35.5", + "prism-react-renderer": "^2.3.1", "prismjs": "^1.29.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "react-lazyload": "^3.2.1", + "react-vfx": "*", + "three": "^0.165.0", "vh-check": "^2.0.5" }, "devDependencies": { @@ -9889,12 +9884,17 @@ "@types/is-mobile": "^2.1.4", "@types/lodash.debounce": "^4.0.9", "@types/node": "^20.14.2", + "@types/react": "^18.3.3", + "@types/react-dom": "^18.3.0", + "@types/react-lazyload": "^3.2.3", + "@types/three": "^0.165.0", + "@vitejs/plugin-react": "^4.3.0", "rimraf": "^5.0.7", "typescript": "^5.4.5", "vite": "^5.2.13" } }, - "packages/docs-vfx-js/node_modules/brace-expansion": { + "packages/docs-react-vfx/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", @@ -9903,10 +9903,10 @@ "balanced-match": "^1.0.0" } }, - "packages/docs-vfx-js/node_modules/glob": { - "version": "10.4.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", - "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "packages/docs-react-vfx/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", @@ -9919,17 +9919,14 @@ "bin": { "glob": "dist/esm/bin.mjs" }, - "engines": { - "node": ">=16 || 14 >=14.18" - }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, - "packages/docs-vfx-js/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "packages/docs-react-vfx/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -9941,10 +9938,10 @@ "url": "https://github.com/sponsors/isaacs" } }, - "packages/docs-vfx-js/node_modules/rimraf": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.7.tgz", - "integrity": "sha512-nV6YcJo5wbLW77m+8KjH8aB/7/rxQy9SZ0HY5shnwULfS+9nmTtVXAJET5NdZmCzA4fPI/Hm1wo/Po/4mopOdg==", + "packages/docs-react-vfx/node_modules/rimraf": { + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.9.tgz", + "integrity": "sha512-3i7b8OcswU6CpU8Ej89quJD4O98id7TtVM5U4Mybh84zQXdrFmDLouWBEEaD/QfO3gDDfH+AGFCGsR7kngzQnA==", "dev": true, "dependencies": { "glob": "^10.3.7" @@ -9953,12 +9950,35 @@ "rimraf": "dist/esm/bin.mjs" }, "engines": { - "node": ">=14.18" + "node": "14 >=14.20 || 16 >=16.20 || >=18" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, + "packages/docs-vfx-js": { + "version": "0.0.1", + "extraneous": true, + "dependencies": { + "@vfx-js/core": "0.2.0", + "dedent": "^1.5.3", + "is-mobile": "^4.0.0", + "lodash.debounce": "^4.0.8", + "prism-themes": "^1.9.0", + "prismjs": "^1.29.0", + "vh-check": "^2.0.5" + }, + "devDependencies": { + "@originjs/vite-plugin-commonjs": "^1.0.3", + "@types/dedent": "^0.7.2", + "@types/is-mobile": "^2.1.4", + "@types/lodash.debounce": "^4.0.9", + "@types/node": "^20.14.2", + "rimraf": "^5.0.7", + "typescript": "^5.4.5", + "vite": "^5.2.13" + } + }, "packages/docs/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -10024,10 +10044,10 @@ } }, "packages/react-vfx": { - "version": "0.7.0", + "version": "0.8.0", "license": "MIT", "dependencies": { - "@vfx-js/core": "0.2.0" + "@vfx-js/core": "0.3.0" }, "devDependencies": { "@types/node": "^20.14.2", @@ -10118,7 +10138,7 @@ }, "packages/vfx-js": { "name": "@vfx-js/core", - "version": "0.2.0", + "version": "0.3.0", "license": "MIT", "dependencies": { "three": "^0.165.0"