diff --git a/.gitattributes b/.gitattributes index 14a33c8..1087379 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,8 +1,15 @@ -* text=auto +* text=auto -*.md text eol=lf -*.yml text eol=lf -*.yaml text eol=lf -*.json text eol=lf +*.md text eol=lf +*.xml text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.json text eol=lf +*.html text eol=lf +*.scss text eol=lf +*.ts text eol=lf -pnpm-lock.yaml text eol=lf linguist-generated +*.ico binary + +pnpm-lock.yaml text eol=lf linguist-generated +.run/* linguist-generated diff --git a/.github/actions/ci/action.yml b/.github/actions/ci/action.yml index 72c9139..49ca9e2 100644 --- a/.github/actions/ci/action.yml +++ b/.github/actions/ci/action.yml @@ -7,10 +7,30 @@ runs: - name: Prepare workspace uses: ./.github/actions/prepare-workspace + - name: Compile core + shell: bash + run: pnpm build + + - name: Run tests + shell: bash + run: | + pnpm playwright-install-browsers + pnpm test-ci + - name: Run Prettier shell: bash run: pnpm format-check + # TODO: Add ESLint + # - name: Run ESLint + # shell: bash + # run: pnpm lint-ts + # + # TODO: Add Stylelint + # - name: Run Stylelint + # shell: bash + # run: pnpm lint-css + - name: Run Markdownlint shell: bash run: pnpm lint-md diff --git a/.gitignore b/.gitignore index 9041e00..fc71961 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,19 @@ .idea/ .vscode/* +!.vscode/extensions.json +!.vscode/launch.json +!.vscode/tasks.json .claude/worktrees/ node_modules/ .husky/_/ + +.angular/ +dist/ + +coverage/ +reports/ + +.ssl/* +!.ssl/.gitkeep diff --git a/.lintstagedrc.json b/.lintstagedrc.json index 60f6eac..b4a9c4f 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,4 +1,4 @@ { "*.md": "markdownlint-cli2 --fix", - "*.{yml,yaml,json}": "prettier -w" + "*.{yml,yaml,json,html,scss,ts}": "prettier -w" } diff --git a/.prettierignore b/.prettierignore index 4dfd8f9..acc9ca6 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,6 +5,9 @@ !*.yml !*.yaml !*.json +!*.html +!*.scss +!*.ts node_modules/ .husky/_/ @@ -14,4 +17,6 @@ pnpm-lock.yaml .idea/ .vscode/* -.vscode/extensions.json +!.vscode/extensions.json +!.vscode/launch.json +!.vscode/tasks.json diff --git a/.prettierrc.json b/.prettierrc.json index ea15a2d..5c1d8e9 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,4 +1,12 @@ { + "overrides": [ + { + "files": ["*.html"], + "options": { + "parser": "angular" + } + } + ], "plugins": ["prettier-plugin-organize-imports"], "quoteProps": "consistent", "singleQuote": true diff --git a/.run/build.run.xml b/.run/build.run.xml new file mode 100644 index 0000000..0a4f98f --- /dev/null +++ b/.run/build.run.xml @@ -0,0 +1,12 @@ + + + + + +