-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 🎸 dotLottie v2 --------- Co-authored-by: samuelOsborne <[email protected]>
- Loading branch information
1 parent
2566abe
commit 55f2a5c
Showing
166 changed files
with
14,212 additions
and
11,124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@dotlottie/dotlottie-js': major | ||
--- | ||
|
||
added support for v2 dotLottie files. Added retro-compatibility for v1 dotLotties. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: beta | ||
on: | ||
push: | ||
branches: | ||
- 'beta' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: ⎔ Setup pnpm@9 | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 9 | ||
|
||
- name: ⎔ Setup Node@18 | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'pnpm' | ||
node-version: 18 | ||
|
||
- name: 📥 Download deps | ||
run: pnpm install | ||
|
||
- name: 🏗 Build | ||
run: pnpm build | ||
|
||
- name: 🔍 Verify types | ||
run: pnpm type-check | ||
|
||
- name: 💅 Verify format (`pnpm format` committed?) | ||
run: pnpm format --check --no-write | ||
|
||
- name: 🕵️ Lint | ||
run: pnpm lint | ||
|
||
- name: 🛡️ Test | ||
run: | | ||
npx playwright install --with-deps | ||
pnpm test | ||
- name: 📏 Report bundle size | ||
uses: andresz1/size-limit-action@v1 | ||
continue-on-error: true | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
release: | ||
needs: validate | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository == 'dotlottie/dotlottie-js' && github.event_name == 'push' }} | ||
steps: | ||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} | ||
|
||
- name: ⎔ Setup pnpm@9 | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 9 | ||
|
||
- name: ⎔ Setup Node@18 | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'pnpm' | ||
node-version: 18 | ||
|
||
- name: 📥 Download deps | ||
run: pnpm install | ||
|
||
- name: 🏗 Build | ||
run: pnpm build | ||
working-directory: packages/dotlottie-js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,4 +40,6 @@ releases/ | |
.next/ | ||
.nuxt/ | ||
|
||
apps/node/ | ||
apps/node/ | ||
|
||
.changeset/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.