-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6e432e1
Showing
51 changed files
with
17,129 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works with | ||
multi-package repos, or single-package repos to help you version and publish your code. You can find the full | ||
documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
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,10 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/config@1.6.0/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"linked": [["@lottiefiles/dotlottie-*"]], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
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,44 @@ | ||
root = true | ||
|
||
# General rules | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
|
||
# JSON | ||
[*.json] | ||
indent_size = 2 | ||
indent_style = space | ||
tab_width = 2 | ||
|
||
# HTML | ||
[*.html] | ||
indent_size = 4 | ||
indent_style = tab | ||
tab_width = 4 | ||
|
||
# Markdown | ||
[*.md] | ||
insert_final_newline = false | ||
trim_trailing_whitespace = false | ||
|
||
# Patch diffs | ||
[*.patch] | ||
insert_final_newline = false | ||
trim_trailing_whitespace = false | ||
|
||
# Typescript | ||
[*.{ts,tsx}] | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 120 | ||
quote_type = single | ||
tab_width = 2 | ||
|
||
# Yaml | ||
[*.{yaml,yml}] | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
tab_width = 2 |
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,45 @@ | ||
# Build outputs | ||
build/ | ||
dist/ | ||
artifacts/ | ||
|
||
# Changelog | ||
.changeset/config.json | ||
CHANGELOG.md | ||
|
||
# IDE related | ||
.idea/ | ||
.history/ | ||
|
||
# Package management | ||
node_modules/ | ||
.yarn/ | ||
.pnp.* | ||
|
||
# Testing | ||
coverage/ | ||
__snapshots__ | ||
__fixtures__ | ||
|
||
# Temporary or local data | ||
temp/ | ||
tmp/ | ||
|
||
# Clinic profiling | ||
.clinic | ||
|
||
# Misc files to ignroe | ||
.eslintrc.cjs | ||
|
||
# NextJS | ||
.next/ | ||
next-env.d.ts | ||
|
||
# Exclude from ignore | ||
!.github | ||
!.vscode, | ||
|
||
# Ignore renderer releases | ||
releases/ | ||
|
||
bin/ |
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,54 @@ | ||
/** | ||
* Copyright 2022 Design Barn Inc. | ||
*/ | ||
|
||
module.exports = { | ||
root: true, | ||
|
||
plugins: ['@lottiefiles'], | ||
|
||
extends: [ | ||
'plugin:@lottiefiles/esnext', | ||
'plugin:@lottiefiles/typescript', | ||
'plugin:@lottiefiles/typescript-typechecking', | ||
'plugin:@lottiefiles/nodejs', | ||
'plugin:@lottiefiles/prettier', | ||
], | ||
|
||
overrides: [ | ||
{ | ||
files: ['*.ts', '*.tsx', '*.cts', '*.mts'], | ||
|
||
parserOptions: { | ||
project: ['./packages/*/tsconfig.json', './tsconfig.json'], | ||
tsconfigRootDir: __dirname, | ||
}, | ||
}, | ||
|
||
// Allow code in bin and scripts folders to do CLI things | ||
{ | ||
files: ['**/@(bin|scripts|examples)/**/*.@(js|ts|cjs|mjs|cts|mts)'], | ||
rules: { | ||
'no-console': 'off', | ||
'node/shebang': 'off', | ||
}, | ||
}, | ||
], | ||
|
||
rules: { | ||
'default-param-last': 'off', | ||
'@typescript-eslint/default-param-last': ['error'], | ||
'@typescript-eslint/prefer-for-of': 'off', | ||
'@typescript-eslint/dot-notation': 'off', | ||
'@typescript-eslint/member-ordering': 'off', | ||
|
||
// Disable the async generator warning | ||
'no-restricted-syntax': 'off', | ||
|
||
// Disable deprecation testing | ||
'deprecation/deprecation': 'off', | ||
|
||
'no-undefined': 'off', | ||
'import/extensions': 'off', | ||
}, | ||
}; |
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,8 @@ | ||
# AUTO-DETECT | ||
# Handle line endings automatically for files detected as | ||
# text and leave all files detected as binary untouched. | ||
# This will handle all files NOT defined below. | ||
* text eol=lf | ||
*.json linguist-language=JSON-with-Comments | ||
|
||
*.wasm binary |
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,18 @@ | ||
--- | ||
name: '🐛 Bug Report' | ||
about: Something isn't working | ||
--- | ||
|
||
## Overview | ||
|
||
... | ||
|
||
## Consuming repo | ||
|
||
> What repo were you working in when this issue occurred? | ||
... | ||
|
||
## Labels | ||
|
||
- [ ] Add the `Type: Bug` label to this issue. |
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,18 @@ | ||
--- | ||
name: '📈 Enhancement' | ||
about: Enhancement to our codebase that isn't a adding or changing a feature | ||
--- | ||
|
||
## Overview | ||
|
||
... | ||
|
||
## Motivation | ||
|
||
> What inspired this enhancement? What makes you think this should be included? | ||
... | ||
|
||
## Labels | ||
|
||
- [ ] Add the `Type: Enhancement` label to this issue. |
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,24 @@ | ||
--- | ||
name: '🙌 Feature Request' | ||
about: Suggest a new feature, or changes to an existing one | ||
--- | ||
|
||
## Overview | ||
|
||
... | ||
|
||
## Type | ||
|
||
- [ ] New feature | ||
- [ ] Changes to existing features | ||
|
||
## Motivation | ||
|
||
> What inspired this feature request? What problems were you facing, or what else makes you think this should be | ||
> included? | ||
... | ||
|
||
## Labels | ||
|
||
- [ ] Add the `Type: Feature Request` label to this issue. |
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,21 @@ | ||
## Description | ||
|
||
<!-- | ||
Please include a summary of what you want to achieve in this pull request. | ||
If this fixes an existing issue, please include the issue number. | ||
--> | ||
|
||
## Type of change | ||
|
||
<!-- | ||
Remember to indicate the affected package(s), as well as the type of change for each package. | ||
--> | ||
|
||
- [ ] <!--Package Name--> Patch: Bug (non-breaking change which fixes an issue) | ||
- [ ] <!--Package Name--> Minor: New feature (non-breaking change which adds functionality) | ||
- [ ] <!--Package Name--> Major: Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
|
||
## Checklist | ||
|
||
- [ ] This is something we need to do. |
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,37 @@ | ||
name: 'Close stale issues' | ||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
# Idle number of days before marking an issue/pr as stale. | ||
days-before-stale: 60 | ||
# Idle number of days before closing an stale issue/pr. | ||
# Set to -1 to never automatically close stale issues. | ||
days-before-close: -1 | ||
# Message to post on the stale issue. | ||
stale-issue-message: | ||
'This issue has been automatically marked as stale because it has not had recent activity. It will be closed | ||
in 7 days if no further activity occurs.' | ||
# Label to apply on the stale issue | ||
stale-issue-label: 'stale' | ||
# Labels on an issue exempted from being marked as stale. | ||
# Set to #wip for work-in-progress: | ||
exempt-issue-labels: 'wip' | ||
# Message to post on the stale pr. | ||
stale-pr-message: | ||
'This rull request has been automatically marked as stale because it has not had recent activity. It will be | ||
closed in 7 days if no further activity occurs.' | ||
# Label to apply on the stale pr. | ||
stale-pr-label: 'stale' | ||
# Labels on a pr exempted from being marked as stale. | ||
# Set to #wip for work-in-progress: | ||
exempt-pr-labels: 'wip' | ||
# Whether to remove stale label from issue/pr on updates or comments. | ||
remove-stale-when-updated: true |
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,47 @@ | ||
name: Run tests | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
tests: | ||
name: Tests | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: ['18'] | ||
timeout-minutes: 20 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7.x | ||
|
||
- name: Setup Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install dependencies | ||
run: pnpm install --no-frozen-lockfile | ||
|
||
- name: Run linting | ||
run: pnpm build | ||
|
||
- name: Run linting | ||
run: pnpm lint:prod | ||
|
||
- name: Run formatting | ||
run: pnpm format | ||
|
||
- name: Run testing | ||
run: pnpm test |
Oops, something went wrong.