Skip to content
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 12 additions & 0 deletions .github/actions/dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Install dependencies
description: Install project tools/dependencies
runs:
using: composite
steps:
- name: Install bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.2.22
- name: Install dependencies
shell: bash
run: bun install
45 changes: 45 additions & 0 deletions .github/workflows/creator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CREATOR CI

on:
push:
branches: [master]

jobs:
build-web:
name: Build CREATOR web
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
submodules: recursive
- name: Install dependencies
uses: ./.github/actions/dependencies
- name: Build web
env:
REPO: ${{ github.event.repository.name }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: |
bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist/

deploy-pages:
name: Deploy CREATOR to GitHub Pages
runs-on: ubuntu-latest
needs: build-web
concurrency:
group: pages
cancel-in-progress: false
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
35 changes: 35 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# dependencies (bun install)
node_modules

# output
out
dist
*.tgz

# code coverage
coverage
*.lcov

# logs
logs
_.log
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# caches
.eslintcache
.cache
*.tsbuildinfo

# IDEs
.vscode
.idea

# Finder (MacOS) folder config
.DS_Store
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/*.md
**/wasm/**
35 changes: 35 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
singleQuote: false
trailingComma: all
semi: true
tabWidth: 4
embeddedLanguageFormatting: auto
endOfLine: lf
printWidth: 80
vueIndentScriptAndStyle: false
quoteProps: as-needed
arrowParens: avoid
singleAttributePerLine: false
useTabs: false
overrides:
- files:
- "*.vue"
- "*.json"
- "*.jsonc"
- "*.html"
- "*.css"
- "*.config.ts"
- "*.lock"
- "*.yaml"
- "*.yml"
- ".editorconfig"
options:
tabWidth: 2
- files:
- "*.json"
- "*.jsonc"
options:
trailingComma: none
- files:
- "*.vue"
options:
semi: false
Loading