Skip to content

Commit a49b11f

Browse files
committed
fix: upkeep
1 parent 75e4a3c commit a49b11f

File tree

12 files changed

+375
-358
lines changed

12 files changed

+375
-358
lines changed

.eslintignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1+
coverage
12
lib
2-
pnpm-lock.yaml
3-
4-
coverage
3+
pnpm-lock.yaml

.github/dependabot.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ version: 2
22

33
updates:
44
- directory: '/'
5+
groups:
6+
actions:
7+
update-types:
8+
- 'minor'
9+
- 'patch'
510
labels:
611
- 'dependencies'
712
- 'github-actions'

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
context:
2828
uses: escapace/workflows/.github/workflows/context.yaml@trunk
2929

30-
ci:
30+
ci-typescript:
3131
needs:
3232
- context
3333
secrets:
3434
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3535
uses: escapace/workflows/.github/workflows/ci-typescript.yaml@trunk
3636
with:
37-
enable-codecov: true
37+
enable-codecov: ${{ !github.event.repository.private }}
3838
node-version: ${{ needs.context.outputs.node-version }}
3939
pnpm-version: ${{ needs.context.outputs.pnpm-version }}
4040
ref: ${{ needs.context.outputs.ref }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: codeql-analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- trunk
7+
paths-ignore:
8+
- README.md
9+
- LICENSE
10+
11+
permissions:
12+
contents: read
13+
packages: read
14+
15+
jobs:
16+
context:
17+
uses: escapace/workflows/.github/workflows/context.yaml@trunk
18+
19+
codeql-analysis:
20+
needs:
21+
- context
22+
permissions:
23+
actions: read
24+
contents: read
25+
packages: read
26+
security-events: write
27+
uses: escapace/workflows/.github/workflows/ci-typescript.yaml@trunk
28+
with:
29+
enable-codeql: true
30+
enable-test: false
31+
node-version: ${{ needs.context.outputs.node-version }}
32+
pnpm-version: ${{ needs.context.outputs.pnpm-version }}
33+
ref: ${{ needs.context.outputs.ref }}
34+
version: ${{ needs.context.outputs.version }}

.github/workflows/dependency-review.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ name: dependency-review
33
on:
44
- pull_request
55

6-
permissions:
7-
contents: read
6+
permissions: {}
87

98
jobs:
10-
context:
9+
dependency-review:
10+
permissions:
11+
contents: read
1112
uses: escapace/workflows/.github/workflows/dependency-review.yaml@trunk

.github/workflows/release.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
context:
1515
uses: escapace/workflows/.github/workflows/context.yaml@trunk
1616

17-
ci:
17+
ci-typescript:
1818
if: needs.context.outputs.environment == 'production' || needs.context.outputs.environment == 'staging'
1919
needs:
2020
- context
@@ -23,7 +23,7 @@ jobs:
2323
uses: escapace/workflows/.github/workflows/ci-typescript.yaml@trunk
2424
with:
2525
enable-artifact-upload: true
26-
enable-codecov: true
26+
enable-codecov: ${{ !github.event.repository.private }}
2727
node-version: ${{ needs.context.outputs.node-version }}
2828
pnpm-version: ${{ needs.context.outputs.pnpm-version }}
2929
ref: ${{ needs.context.outputs.ref }}
@@ -33,20 +33,18 @@ jobs:
3333
if: needs.context.outputs.environment == 'production' || needs.context.outputs.environment == 'staging'
3434
needs:
3535
- context
36-
- ci
36+
- ci-typescript
3737
secrets:
3838
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3939
uses: escapace/workflows/.github/workflows/release-typescript.yaml@trunk
4040
with:
41-
enable-github-packages-npm-registry: true
42-
enable-npm-registry: true
4341
node-version: ${{ needs.context.outputs.node-version }}
4442

4543
release-github:
4644
if: needs.context.outputs.environment == 'production' || needs.context.outputs.environment == 'staging'
4745
needs:
4846
- context
49-
- ci
47+
- ci-typescript
5048
- release-typescript
5149
uses: escapace/workflows/.github/workflows/release-github.yaml@trunk
5250
with:

.github/workflows/scorecard.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: scorecard
2+
3+
permissions: {}
4+
5+
on:
6+
branch_protection_rule:
7+
push:
8+
branches:
9+
- trunk
10+
paths-ignore:
11+
- README.md
12+
- LICENSE
13+
schedule:
14+
- cron: '30 1 * * 6'
15+
16+
jobs:
17+
scorecard:
18+
permissions:
19+
actions: read
20+
contents: read
21+
id-token: write
22+
security-events: write
23+
uses: escapace/workflows/.github/workflows/scorecard.yaml@trunk

.gitignore

Lines changed: 48 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -1,134 +1,60 @@
1-
# NOTE: Don't modify this file. Place .gitignore files in relevant subdirectories.
2-
3-
lib
4-
5-
# Logs
6-
logs
7-
*.log
8-
npm-debug.log*
9-
yarn-debug.log*
10-
yarn-error.log*
11-
lerna-debug.log*
12-
.pnpm-debug.log*
13-
14-
# Diagnostic reports (https://nodejs.org/api/report.html)
15-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
16-
17-
# Runtime data
18-
pids
19-
*.pid
20-
*.seed
21-
*.pid.lock
22-
23-
# Directory for instrumented libs generated by jscoverage/JSCover
24-
lib-cov
25-
26-
# Coverage directory used by tools like istanbul
27-
coverage
28-
*.lcov
29-
30-
# nyc test coverage
31-
.nyc_output
32-
33-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
1+
.cache
2+
.cache/
3+
.docusaurus
4+
.dynamodb/
5+
.env
6+
.env.development.local
7+
.env.local
8+
.env.production.local
9+
.env.test.local
10+
.eslintcache
11+
.fusebox/
3412
.grunt
35-
36-
# Bower dependency directory (https://bower.io/)
37-
bower_components
38-
39-
# node-waf configuration
4013
.lock-wscript
41-
42-
# Compiled binary addons (https://nodejs.org/api/addons.html)
43-
build/Release
44-
45-
# Dependency directories
46-
node_modules/
47-
jspm_packages/
48-
49-
# Snowpack dependency directory (https://snowpack.dev/)
50-
web_modules/
51-
52-
# TypeScript cache
53-
*.tsbuildinfo
54-
55-
# Optional npm cache directory
14+
.next
15+
.node_repl_history
5616
.npm
57-
58-
# Optional eslint cache
59-
.eslintcache
60-
61-
# Optional stylelint cache
62-
.stylelintcache
63-
64-
# Microbundle cache
17+
.nuxt
18+
.nyc_output
19+
.parcel-cache
20+
.pnp.*
21+
.pnpm-debug.log*
6522
.rpt2_cache/
6623
.rts2_cache_cjs/
6724
.rts2_cache_es/
6825
.rts2_cache_umd/
69-
70-
# Optional REPL history
71-
.node_repl_history
72-
73-
# Output of 'npm pack'
74-
*.tgz
75-
76-
# Yarn Integrity file
77-
.yarn-integrity
78-
79-
# dotenv environment variable files
80-
.env
81-
.env.development.local
82-
.env.test.local
83-
.env.production.local
84-
.env.local
85-
86-
# parcel-bundler cache (https://parceljs.org/)
87-
.cache
88-
.parcel-cache
89-
90-
# Next.js build output
91-
.next
92-
out
93-
94-
# Nuxt.js build / generate output
95-
.nuxt
96-
dist
97-
98-
# Gatsby files
99-
.cache/
100-
# Comment in the public line in if your project uses Gatsby and not Next.js
101-
# https://nextjs.org/blog/next-9-1#public-directory-support
102-
# public
103-
104-
# vuepress build output
105-
.vuepress/dist
106-
107-
# vuepress v2.x temp and cache directory
108-
.temp
109-
.cache
110-
111-
# Docusaurus cache and generated files
112-
.docusaurus
113-
114-
# Serverless directories
11526
.serverless/
116-
117-
# FuseBox cache
118-
.fusebox/
119-
120-
# DynamoDB Local files
121-
.dynamodb/
122-
123-
# TernJS port file
27+
.stylelintcache
28+
.temp
12429
.tern-port
125-
126-
# Stores VSCode versions used for testing VSCode extensions
12730
.vscode-test
128-
129-
# yarn v2
130-
.yarn/cache
131-
.yarn/unplugged
31+
.vuepress/dist
32+
.yarn-integrity
13233
.yarn/build-state.yml
34+
.yarn/cache
13335
.yarn/install-state.gz
134-
.pnp.*
36+
.yarn/unplugged
37+
*.lcov
38+
*.log
39+
*.pid
40+
*.pid.lock
41+
*.seed
42+
*.tgz
43+
*.tsbuildinfo
44+
bower_components
45+
build/Release
46+
coverage
47+
dist
48+
jspm_packages/
49+
lerna-debug.log*
50+
lib
51+
lib-cov
52+
logs
53+
node_modules/
54+
npm-debug.log*
55+
out
56+
pids
57+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
58+
web_modules/
59+
yarn-debug.log*
60+
yarn-error.log*

.prettierignore

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# NOTE: Don't modify this file. Place .prettierignore files in relevant subdirectories.
2-
1+
coverage
32
lib
4-
pnpm-lock.yaml
5-
6-
coverage
3+
pnpm-lock.yaml

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
"@escapace/pnpm-pack": "0.5.3",
1414
"@ls-lint/ls-lint": "2.2.3",
1515
"@vitest/coverage-v8": "2.1.8",
16-
"eslint": "9.16.0",
17-
"eslint-config-escapace": "5.3.1",
16+
"eslint": "9.17.0",
17+
"eslint-config-escapace": "5.4.0",
1818
"esroll": "0.3.0",
19-
"knip": "5.39.2",
20-
"lefthook": "1.9.0",
19+
"knip": "5.40.0",
20+
"lefthook": "1.9.2",
2121
"prettier": "3.4.2",
2222
"prettier-config-escapace": "1.2.1",
2323
"syncpack": "13.0.0",
@@ -26,7 +26,7 @@
2626
"vitest": "2.1.8"
2727
},
2828
"engines": {
29-
"pnpm": ">=9.11.0"
29+
"pnpm": ">=9.14.4"
3030
},
3131
"exports": {
3232
".": {

0 commit comments

Comments
 (0)