Skip to content

Commit c5d85cc

Browse files
authored
Merge pull request #21 from creatorsim/master
CREATOR v6.0
2 parents 3209406 + a8ba69f commit c5d85cc

25,994 files changed

Lines changed: 5851 additions & 3221790 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Install dependencies
2+
description: Install project tools/dependencies
3+
runs:
4+
using: composite
5+
steps:
6+
- name: Install bun
7+
uses: oven-sh/setup-bun@v2
8+
with:
9+
bun-version: 1.2.22
10+
- name: Install dependencies
11+
shell: bash
12+
run: bun install

.github/workflows/creator.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CREATOR CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
jobs:
8+
build-web:
9+
name: Build CREATOR web
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v5
14+
with:
15+
submodules: recursive
16+
- name: Install dependencies
17+
uses: ./.github/actions/dependencies
18+
- name: Build web
19+
env:
20+
REPO: ${{ github.event.repository.name }}
21+
GITHUB_REPOSITORY: ${{ github.repository }}
22+
run: |
23+
bun run build
24+
- name: Upload artifact
25+
uses: actions/upload-pages-artifact@v3
26+
with:
27+
path: ./dist/
28+
29+
deploy-pages:
30+
name: Deploy CREATOR to GitHub Pages
31+
runs-on: ubuntu-latest
32+
needs: build-web
33+
concurrency:
34+
group: pages
35+
cancel-in-progress: false
36+
permissions:
37+
pages: write # to deploy to Pages
38+
id-token: write # to verify the deployment originates from an appropriate source
39+
# Deploy to the github-pages environment
40+
environment:
41+
name: github-pages
42+
url: ${{ steps.deployment.outputs.page_url }}
43+
steps:
44+
- name: Deploy to GitHub Pages
45+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# dependencies (bun install)
2+
node_modules
3+
4+
# output
5+
out
6+
dist
7+
*.tgz
8+
9+
# code coverage
10+
coverage
11+
*.lcov
12+
13+
# logs
14+
logs
15+
_.log
16+
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
17+
18+
# dotenv environment variable files
19+
.env
20+
.env.development.local
21+
.env.test.local
22+
.env.production.local
23+
.env.local
24+
25+
# caches
26+
.eslintcache
27+
.cache
28+
*.tsbuildinfo
29+
30+
# IDEs
31+
.vscode
32+
.idea
33+
34+
# Finder (MacOS) folder config
35+
.DS_Store

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**/*.md
2+
**/wasm/**

.prettierrc.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
singleQuote: false
2+
trailingComma: all
3+
semi: true
4+
tabWidth: 4
5+
embeddedLanguageFormatting: auto
6+
endOfLine: lf
7+
printWidth: 80
8+
vueIndentScriptAndStyle: false
9+
quoteProps: as-needed
10+
arrowParens: avoid
11+
singleAttributePerLine: false
12+
useTabs: false
13+
overrides:
14+
- files:
15+
- "*.vue"
16+
- "*.json"
17+
- "*.jsonc"
18+
- "*.html"
19+
- "*.css"
20+
- "*.config.ts"
21+
- "*.lock"
22+
- "*.yaml"
23+
- "*.yml"
24+
- ".editorconfig"
25+
options:
26+
tabWidth: 2
27+
- files:
28+
- "*.json"
29+
- "*.jsonc"
30+
options:
31+
trailingComma: none
32+
- files:
33+
- "*.vue"
34+
options:
35+
semi: false

0 commit comments

Comments
 (0)