Skip to content

Commit

Permalink
Merge pull request #63 from crashmax-dev/v2
Browse files Browse the repository at this point in the history
fireworks-js v2
  • Loading branch information
crashmax-dev committed Jul 15, 2022
2 parents dfc22ff + 3a77970 commit 9cae1ca
Show file tree
Hide file tree
Showing 187 changed files with 14,590 additions and 16,655 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

10 changes: 0 additions & 10 deletions .eslintrc.json

This file was deleted.

46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,46 @@
name: 🐛 Bug Report
description: Create a report to help us improve.
labels: bug
assignees: crashmax-dev

body:
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of what the bug is.
validations:
required: true

- type: dropdown
id: package
attributes:
label: Which package are you using?
multiple: true
options:
- fireworks-js
- @fireworks-js/react
- @fireworks-js/preact
- @fireworks-js/solid
- @fireworks-js/vue
- @fireworks-js/svelte
- @fireworks-js/angular
- @fireworks-js/lit
validations:
required: true

- type: input
id: version
attributes:
label: fireworks-js version
placeholder: 2.x.x
validations:
required: true

- type: input
id: browser
attributes:
label: Browser
placeholder: Version 103.0.5060.114 (Official Build) (64-bit)
validations:
required: true
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,27 @@
name: 🚀 Feature Request
description: Submit a proposal for a new feature.
labels: enhancement
assignees: crashmax-dev

body:
- type: textarea
id: proposal
attributes:
label: Feature Proposal
description: A clear and concise description of what the feature is.
validations:
required: true

- type: textarea
id: motivation
attributes:
label: Motivation
description: The motivation for the proposal.

- type: textarea
id: example
attributes:
label: Example
description: |
An example for how this feature would be used.
Make sure you place example code inside a [code (```) block](https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) to avoid linking unrelated issues.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/question_request.yml
@@ -0,0 +1,13 @@
name: ❔ Question Request
description: If you have questions.
labels: question
assignees: crashmax-dev

body:
- type: textarea
id: text
attributes:
label: Issue
description: |
Give as much detail as you can to help us understand.
Make sure you place example code inside a [code (```) block](https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks) to avoid linking unrelated issues.
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,7 @@
#### Checklist

- [ ] run `pnpm test` and `pnpm format`
- [ ] tests and/or benchmarks are included
- [ ] documentation is changed or added
- [ ] commit message and code follows the [Developer's Certification of Origin](https://github.com/crashmax-dev/fireworks-js/blob/master/CONTRIBUTING.md#developers-certificate-of-origin-11)
and the [Code of conduct](https://github.com/crashmax-dev/fireworks-js/blob/master/CODE_OF_CONDUCT.md)
5 changes: 0 additions & 5 deletions .github/markdown-autodocs/installation.sh

This file was deleted.

140 changes: 0 additions & 140 deletions .github/markdown-autodocs/options.json

This file was deleted.

5 changes: 0 additions & 5 deletions .github/markdown-autodocs/usage-cdn.html

This file was deleted.

18 changes: 0 additions & 18 deletions .github/markdown-autodocs/usage-react.js

This file was deleted.

12 changes: 0 additions & 12 deletions .github/markdown-autodocs/usage-ssr.js

This file was deleted.

14 changes: 0 additions & 14 deletions .github/markdown-autodocs/usage.js

This file was deleted.

45 changes: 36 additions & 9 deletions .github/workflows/gh-pages.yml
@@ -1,24 +1,51 @@
name: github-pages
name: GitHub Pages

on:
push:
branches:
- master

jobs:
build-and-deploy:
cache-and-install:
runs-on: ubuntu-latest

steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- uses: pnpm/action-setup@v2.0.1
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false

- name: Install and Build 🔧
- name: Get pnpm store directory
id: pnpm-cache
run: |
npm install
npm run build
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install

- name: Build website
run: pnpm build:website

- name: Deploy 🚀
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: dist
folder: ./website/dist
18 changes: 0 additions & 18 deletions .github/workflows/markdown-autodocs.yml

This file was deleted.

0 comments on commit 9cae1ca

Please sign in to comment.