forked from pixijs/assetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
232 changed files
with
18,172 additions
and
16,504 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.eslintrc.js | ||
.eslintrc.cjs | ||
**/dist | ||
**/node_modules |
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,35 @@ | ||
module.exports = { | ||
extends: ["@pixi/eslint-config"], | ||
parserOptions: { | ||
project: "./tsconfig.eslint.json", | ||
ecmaVersion: 2020, | ||
sourceType: "module", | ||
}, | ||
rules: { | ||
"spaced-comment": [1, "always", { markers: ["/"] }], | ||
"@typescript-eslint/triple-slash-reference": [1, { path: "always" }], | ||
"@typescript-eslint/consistent-type-imports": [ | ||
1, | ||
{ disallowTypeAnnotations: false }, | ||
], | ||
"@typescript-eslint/type-annotation-spacing": 1, | ||
"@typescript-eslint/no-non-null-assertion": 0, | ||
}, | ||
overrides: [ | ||
{ | ||
files: ["*.tests.ts", "*.test.ts"], | ||
rules: { | ||
"@typescript-eslint/no-unused-expressions": 0, | ||
"@typescript-eslint/dot-notation": [ | ||
0, | ||
{ | ||
allowPrivateClassPropertyAccess: true, | ||
allowProtectedClassPropertyAccess: true, | ||
allowIndexSignaturePropertyAccess: true, | ||
}, | ||
], | ||
"dot-notation": 0, | ||
}, | ||
}, | ||
], | ||
}; |
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 |
---|---|---|
@@ -1,23 +1,25 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
main: | ||
verify: | ||
name: CI | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
script: | ||
- name: Typecheck | ||
command: test:types | ||
- name: Lint | ||
command: test:lint | ||
- name: Unit tests | ||
command: test | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: nrwl/nx-set-shas@v3 | ||
- run: npm ci | ||
|
||
- run: npx nx workspace-lint | ||
- run: npm run lint | ||
- run: npx nx affected --target=test:types --parallel=3 | ||
- uses: FedericoCarboni/setup-ffmpeg@v2 | ||
- run: npx nx affected --target=build --parallel=3 | ||
- run: npx nx affected --target=test --parallel=3 --ci | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
- run: npm ci --ignore-scripts --no-audit --no-fund | ||
- run: npm rebuild | ||
- run: npm run ${{ matrix.script.command }} |
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 |
---|---|---|
|
@@ -20,6 +20,6 @@ jobs: | |
- name: Check PR Title | ||
uses: clowdhaus/actions/[email protected] | ||
with: | ||
on-fail-message: "Your PR title doesn't match the required format. The title should be in the conventional commit (https://www.conventionalcommits.org/en/v1.0.0-beta.4/) format. e.g.\n\n```\nchore(plugin-name): add pr title workflow\n```" | ||
title-regex: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([\w|,|\-|\|]+\))?(!)?\:\s.*$' | ||
on-fail-message: "Your PR title doesn't match the required format. The title should be in the conventional commit (https://www.conventionalcommits.org/en/v1.0.0-beta.4/) format. e.g.\n\n```\nchore: add pr title workflow\n```" | ||
title-regex: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)?(!)?\:\s.*$' | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -43,3 +43,4 @@ Thumbs.db | |
.testInput | ||
.testOutput | ||
.assetpack | ||
test/cache |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v18 | ||
20 |
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,3 @@ | ||
#!/usr/bin/env node | ||
|
||
import '../dist/cli/index.js'; |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.