Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie committed May 9, 2024
1 parent 9c326c9 commit 7ecb898
Show file tree
Hide file tree
Showing 232 changed files with 18,147 additions and 16,493 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.eslintrc.js
.eslintrc.cjs
**/dist
**/node_modules
35 changes: 35 additions & 0 deletions .eslintrc.cjs
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,
},
},
],
};
44 changes: 0 additions & 44 deletions .eslintrc.js

This file was deleted.

34 changes: 18 additions & 16 deletions .github/workflows/ci.yml
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 }}
4 changes: 2 additions & 2 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
15 changes: 0 additions & 15 deletions .github/workflows/release.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ Thumbs.db
.testInput
.testOutput
.assetpack
test/cache
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
20
3 changes: 3 additions & 0 deletions bin/index.js
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.
16 changes: 0 additions & 16 deletions jest.config.js

This file was deleted.

10 changes: 0 additions & 10 deletions lerna.json

This file was deleted.

37 changes: 0 additions & 37 deletions nx.json

This file was deleted.

Loading

0 comments on commit 7ecb898

Please sign in to comment.