generated from RebeccaStevens/template-typescript-node-package
-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
1139bb0
commit c011f36
Showing
85 changed files
with
11,078 additions
and
11,942 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,16 +1,13 @@ | ||
* text=auto eol=lf | ||
|
||
*.js linguist-detectable=false | ||
*.mjs linguist-detectable=false | ||
*.cjs linguist-detectable=false | ||
/.husky/** linguist-detectable=false | ||
*.json linguist-language=JSON-with-Comments | ||
|
||
**/tsconfig.json linguist-language=jsonc | ||
**/tsconfig.*.json linguist-language=jsonc | ||
/.lintstagedrc linguist-language=json | ||
/.markdownlint.json linguist-language=jsonc | ||
/.vscode/*.json linguist-language=jsonc | ||
*.js linguist-detectable=false | ||
*.mjs linguist-detectable=false | ||
*.cjs linguist-detectable=false | ||
|
||
/CHANGELOG.md linguist-generated | ||
CHANGELOG.md linguist-generated | ||
|
||
/docs/** linguist-documentation | ||
docs/** linguist-documentation | ||
|
||
pnpm-lock.yaml merge=text linguist-generated |
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
12 changes: 9 additions & 3 deletions
12
.github/workflows/lint-packages.yml → .github/workflows/build.yml
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,14 +1,20 @@ | ||
name: Lint Packages | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD: 1 | ||
|
||
jobs: | ||
lint_packages: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
- run: pnpm run lint:packages | ||
- run: node common/scripts/install-run-rush.js build |
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,14 +1,20 @@ | ||
name: Lint Code | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD: 1 | ||
|
||
jobs: | ||
lint_js: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
- run: pnpm run lint:js | ||
- run: node common/scripts/install-run-rush.js lint: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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
name: Lint Knip (Development) | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD: 1 | ||
|
||
jobs: | ||
lint_knip_dev: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
- run: pnpm run lint:knip:development | ||
- run: node common/scripts/install-run-rush.js lint:knip:development |
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,14 +1,20 @@ | ||
name: Lint Knip (Production) | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD: 1 | ||
|
||
jobs: | ||
lint_knip_prod: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
- run: pnpm run lint:knip:production | ||
- run: node common/scripts/install-run-rush.js lint:knip:production |
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,14 +1,20 @@ | ||
name: Lint Markdown | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD: 1 | ||
|
||
jobs: | ||
lint_markdown: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
- run: pnpm run lint:md | ||
- run: node common/scripts/install-run-rush.js lint: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 |
---|---|---|
@@ -1,14 +1,20 @@ | ||
name: Lint Spelling | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD: 1 | ||
|
||
jobs: | ||
lint_spelling: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
- run: pnpm run lint:spelling | ||
- run: node common/scripts/install-run-rush.js lint:spelling |
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,14 +1,20 @@ | ||
name: Lint Yaml | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD: 1 | ||
|
||
jobs: | ||
lint_yaml: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
- run: pnpm run lint:yaml | ||
- run: node common/scripts/install-run-rush.js lint:yaml |
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 |
---|---|---|
@@ -1,15 +1,21 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD: 1 | ||
|
||
jobs: | ||
test_js: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
- run: pnpm run test | ||
- run: node common/scripts/install-run-rush.js test-run | ||
- uses: codecov/codecov-action@v4 |
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,14 +1,20 @@ | ||
name: Type Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD: 1 | ||
|
||
jobs: | ||
typecheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
- run: pnpm run typecheck | ||
- run: node common/scripts/install-run-rush.js typecheck |
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 @@ | ||
name: Verify Change Logs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
env: | ||
RUSH_ALLOW_WARNINGS_IN_SUCCESSFUL_BUILD: 1 | ||
|
||
jobs: | ||
typecheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/prepare | ||
|
||
- run: node common/scripts/install-run-rush.js change --verify |
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,10 +1,37 @@ | ||
node_modules/ | ||
# Logs | ||
*.log | ||
.pnpm-debug.log* | ||
|
||
# Distribution files | ||
bin/ | ||
coverage/ | ||
dist/ | ||
|
||
tsconfig.tsbuildinfo | ||
rollup.config-*.mjs | ||
# Coverage directory used by tools like istanbul | ||
coverage/ | ||
|
||
*.log | ||
# Dependency directories | ||
node_modules/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# OS X temporary files | ||
.DS_Store | ||
|
||
# Visual Studio Code | ||
.vscode/ | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
|
||
# Rush temporary files | ||
common/deploy/ | ||
common/temp/ | ||
common/autoinstallers/*/.npmrc | ||
**/.rush/temp/ | ||
*.lock |
This file was deleted.
Oops, something went wrong.
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,16 +1,3 @@ | ||
"*.{json,yml}": | ||
- eslint --fix | ||
- cspell lint --no-progress --show-suggestions --show-context --no-must-find-files --dot | ||
|
||
"*.?([cm])[jt]s?(x)": | ||
- eslint --fix | ||
- cspell lint --no-progress --show-suggestions --show-context --no-must-find-files --dot | ||
- tsc-files -p tsconfig.json --noEmit | ||
|
||
"*.md": | ||
- markdownlint-cli2 --fix | ||
- eslint --fix | ||
- cspell lint --no-progress --show-suggestions --show-context --no-must-find-files --dot | ||
|
||
pnpm-lock.yaml: | ||
- "pnpm dedupe && :" | ||
{ | ||
"*": "echo ok" | ||
} |
Oops, something went wrong.