Commit graph

5 commits

Author SHA1 Message Date
37c4da58f7 **refactor: consolidate folder structure and improve compatibility**
### Changes:
- **rollup.config.js**:
  - Merged and reformatted `nodeBuiltins` definition for cleaner code.
  - Updated `input` path from `examples/browser_compatible_exports.ts` to `demo/browser_compatible_exports.ts`.
  - Reformatted `replace` plugin configuration for better readability.

- **.github/workflows/deploy-demo.yml**:
  - Updated deployment folder from `examples` to `demo`.

- **Renamed**:
  - `examples/browser_compatible_exports.ts` → `demo/browser_compatible_exports.ts`.

- **scripts/generate-version.js**:
  - Removed unnecessary semicolons for consistent formatting.

### Purpose:
Aligned folder structure by migrating from `examples` to `demo` for uniformity and better organization. Improved code readability and formatting across configurations and scripts.
2025-06-23 10:58:48 -07:00
9ac7b4011f **ci(workflows): update permissions and token usage for deploy workflow**
### Changes:
- **deploy-demo.yml**:
  - Added `contents: write` permissions to ensure the workflow can access repository content during operations.
  - Used `${{ secrets.GITHUB_TOKEN }}` for authentication in the deployment step.

- **package.json**:
  - Removed the `deploy:demo` script and its `gh-pages` dependency to clean up unused scripts and dependencies.

### Purpose:
Enhanced the deploy workflow by explicitly defining required permissions and securely managing authentication. Simplified the configuration by removing outdated scripts and dependencies.
2025-06-20 14:46:10 -07:00
f46dd21dc8 **ci(workflows): remove redundant line break in deploy workflow**
### Changes:
- **deploy-demo.yml**: Removed an unnecessary blank line in the dependency installation step.

### Purpose:
Refined the workflow file to improve readability and maintain consistency in formatting. This is a minor housekeeping change with no impact on functionality.
2025-06-20 14:43:00 -07:00
9db89017ab **docs(readme): add live demo link and update install script in deploy workflow**
### Changes:
- **README.md**: Added a "Live Demo" section with a direct link to the interactive GitHub Pages demo.
- **deploy-demo.yml**: Modified dependency installation step to use `npm install --legacy-peer-deps` for compatibility.

### Purpose:
Improved documentation by providing direct access to the live demo for better user engagement. Updated the deploy workflow to ensure successful dependency resolution during the setup process.
2025-06-20 14:40:40 -07:00
02dd5a20bc **ci(workflows): add GitHub Pages workflow for demo deployment with custom domain**
### Changes:
- Introduced `deploy-demo.yml` workflow in `.github/workflows/` to automate deployment to GitHub Pages:
  - Triggers on `main` branch pushes and manual workflow dispatch.
  - Includes steps for project setup, build, and deployment using `JamesIves/github-pages-deploy-action`.
- Added `examples/CNAME` with custom domain `www.soulcraft.com`.

### Purpose:
Streamlined and automated the deployment of the demo to GitHub Pages, ensuring efficient updates. Configured a custom domain for better branding and accessibility of the live demo.
2025-06-20 14:36:35 -07:00