Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/scripts/compare-types/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yarnPath: ../../../.yarn/releases/yarn-4.14.1.cjs
12 changes: 9 additions & 3 deletions .github/scripts/compare-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@
"compare": "tsx src/index.ts"
},
"dependencies": {
"ts-morph": "^24.0.0"
"ts-morph": "^28.0.0"
},
"devDependencies": {
"tsx": "^4.19.0",
"typescript": "^5.7.0"
"tsx": "^4.21.0",
"typescript": "^6.0.3"
},
"packageManager": "yarn@4.14.1",
"dependenciesMeta": {
"esbuild": {
"built": true
}
}
}
97 changes: 63 additions & 34 deletions .github/scripts/compare-types/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Manual changes might be lost - proceed with caution!

__metadata:
version: 8
version: 9
cacheKey: 10

"@esbuild/aix-ppc64@npm:0.27.3":
Expand Down Expand Up @@ -227,14 +227,14 @@ __metadata:
languageName: node
linkType: hard

"@ts-morph/common@npm:~0.25.0":
version: 0.25.0
resolution: "@ts-morph/common@npm:0.25.0"
"@ts-morph/common@npm:~0.29.0":
version: 0.29.0
resolution: "@ts-morph/common@npm:0.29.0"
dependencies:
minimatch: "npm:^9.0.4"
minimatch: "npm:^10.0.1"
path-browserify: "npm:^1.0.1"
tinyglobby: "npm:^0.2.9"
checksum: 10/9b192dfebb7179e96267ea1720f6afe77964f9f89ecaca41d372da206cdfd838a77c1080026c73115a5d3a88752b1504ec7380907e26b6424e8fb7f7625c7461
tinyglobby: "npm:^0.2.14"
checksum: 10/d23cfb6c81110235a79cf5fbeb7efed04f4c8d560391a45184470b2363661f8da42f76572808be213f1e30d148117cb6dd57cac84a1c2a236839de986d2c27b8
languageName: node
linkType: hard

Expand Down Expand Up @@ -268,6 +268,15 @@ __metadata:
languageName: node
linkType: hard

"brace-expansion@npm:^5.0.5":
version: 5.0.5
resolution: "brace-expansion@npm:5.0.5"
dependencies:
balanced-match: "npm:^4.0.2"
checksum: 10/f259b2ddf04489da9512ad637ba6b4ef2d77abd4445d20f7f1714585f153435200a53fa6a2e4a5ee974df14ddad4cd16421f6f803e96e8b452bd48598878d0ee
languageName: node
linkType: hard

"cacache@npm:^20.0.1":
version: 20.0.3
resolution: "cacache@npm:20.0.3"
Expand Down Expand Up @@ -305,9 +314,12 @@ __metadata:
version: 0.0.0-use.local
resolution: "compare-types@workspace:."
dependencies:
ts-morph: "npm:^24.0.0"
tsx: "npm:^4.19.0"
typescript: "npm:^5.7.0"
ts-morph: "npm:^28.0.0"
tsx: "npm:^4.21.0"
typescript: "npm:^6.0.3"
dependenciesMeta:
esbuild:
built: true
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -576,21 +588,21 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^10.2.2":
version: 10.2.4
resolution: "minimatch@npm:10.2.4"
"minimatch@npm:^10.0.1":
version: 10.2.5
resolution: "minimatch@npm:10.2.5"
dependencies:
brace-expansion: "npm:^5.0.2"
checksum: 10/aea4874e521c55bb60744685bbffe3d152e5460f84efac3ea936e6bbe2ceba7deb93345fec3f9bb17f7b6946776073a64d40ae32bf5f298ad690308121068a1f
brace-expansion: "npm:^5.0.5"
checksum: 10/19e87a931aff60ee7b9d80f39f817b8bfc54f61f8356ee3549fbf636dbccacacfec8d803eac73293955c4527cd085247dfc064bce4a5e349f8f3b85e2bf5da0f
languageName: node
linkType: hard

"minimatch@npm:^9.0.4":
version: 9.0.8
resolution: "minimatch@npm:9.0.8"
"minimatch@npm:^10.2.2":
version: 10.2.4
resolution: "minimatch@npm:10.2.4"
dependencies:
brace-expansion: "npm:^5.0.2"
checksum: 10/bffa6514fa576a5052cea75b96b1d4086598c3ba45464dffcff14d00c2866805c088072ae21460ade250455c2da72e67556b1c3b830ddaf0b4697dca62f6d744
checksum: 10/aea4874e521c55bb60744685bbffe3d152e5460f84efac3ea936e6bbe2ceba7deb93345fec3f9bb17f7b6946776073a64d40ae32bf5f298ad690308121068a1f
languageName: node
linkType: hard

Expand Down Expand Up @@ -746,6 +758,13 @@ __metadata:
languageName: node
linkType: hard

"picomatch@npm:^4.0.4":
version: 4.0.4
resolution: "picomatch@npm:4.0.4"
checksum: 10/f6ef80a3590827ce20378ae110ac78209cc4f74d39236370f1780f957b7ee41c12acde0e4651b90f39983506fd2f5e449994716f516db2e9752924aff8de93ce
languageName: node
linkType: hard

"proc-log@npm:^6.0.0":
version: 6.1.0
resolution: "proc-log@npm:6.1.0"
Expand Down Expand Up @@ -833,7 +852,7 @@ __metadata:
languageName: node
linkType: hard

"tinyglobby@npm:^0.2.12, tinyglobby@npm:^0.2.9":
"tinyglobby@npm:^0.2.12":
version: 0.2.15
resolution: "tinyglobby@npm:0.2.15"
dependencies:
Expand All @@ -843,17 +862,27 @@ __metadata:
languageName: node
linkType: hard

"ts-morph@npm:^24.0.0":
version: 24.0.0
resolution: "ts-morph@npm:24.0.0"
"tinyglobby@npm:^0.2.14":
version: 0.2.16
resolution: "tinyglobby@npm:0.2.16"
dependencies:
fdir: "npm:^6.5.0"
picomatch: "npm:^4.0.4"
checksum: 10/5c2c41b572ada38449e7c86a5fe034f204a1dbba577225a761a14f29f48dc3f2fc0d81a6c56fcc67c5a742cc3aa9fb5e2ca18dbf22b610b0bc0e549b34d5a0f8
languageName: node
linkType: hard

"ts-morph@npm:^28.0.0":
version: 28.0.0
resolution: "ts-morph@npm:28.0.0"
dependencies:
"@ts-morph/common": "npm:~0.25.0"
"@ts-morph/common": "npm:~0.29.0"
code-block-writer: "npm:^13.0.3"
checksum: 10/560f64eac91429f852277af7588d116b83f91ace2e6ba89c71893b364a42c1e9a658fb40ad2c8d1b48af14d744ba1d4ee7a7efeae033d14ad7a6b5f50b83ccca
checksum: 10/fb5541c2c5b25386ae85346203046cc136d4afa2821a9b7b5ea9ffdbcff6d8867eccf98a3d7d50dd86f64428f80cf4ae9e609bd8f02f99cef902ba2760ecd5d9
languageName: node
linkType: hard

"tsx@npm:^4.19.0":
"tsx@npm:^4.21.0":
version: 4.21.0
resolution: "tsx@npm:4.21.0"
dependencies:
Expand All @@ -869,23 +898,23 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:^5.7.0":
version: 5.9.3
resolution: "typescript@npm:5.9.3"
"typescript@npm:^6.0.3":
version: 6.0.3
resolution: "typescript@npm:6.0.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/c089d9d3da2729fd4ac517f9b0e0485914c4b3c26f80dc0cffcb5de1719a17951e92425d55db59515c1a7ddab65808466debb864d0d56dcf43f27007d0709594
checksum: 10/0ef2357a4cffd916b52b683a021cdab0f81eea4e9aa35f2d254581c9a5106da02224e3392e1b0ed42b7a48f80c966e5f52b8e1a27941fa0523c1705a9c2e0330
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A^5.7.0#optional!builtin<compat/typescript>":
version: 5.9.3
resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin<compat/typescript>::version=5.9.3&hash=5786d5"
"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin<compat/typescript>":
version: 6.0.3
resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin<compat/typescript>::version=6.0.3&hash=5786d5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/696e1b017bc2635f4e0c94eb4435357701008e2f272f553d06e35b494b8ddc60aa221145e286c28ace0c89ee32827a28c2040e3a69bdc108b1a5dc8fb40b72e3
checksum: 10/22b67a18dafedf9b1468b64ca20d9aa02ea61d449b65413d8aa6552aeb63f52ef369e86beb25b6b4c91a803d9726ee5c196f391a9b64201263263410a4223ee6
languageName: node
linkType: hard

Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/create_test_patches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,19 @@ jobs:
name: Create patch-package Patches
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

# Future ideas:
# - make into an action, parameterize directories to pack, and package names to install
# - name patches w/PR as "semver prerelease" and SHA as "semver build info". Needs patch-package enhancement.
- uses: actions/setup-node@v4
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 22

- uses: actions/cache/restore@v4
# https://github.com/actions/cache/releases
- uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
name: Yarn Cache Restore
id: yarn-cache
continue-on-error: true
Expand All @@ -47,7 +50,8 @@ jobs:
restore-keys: ${{ runner.os }}-yarn-v1

- name: Yarn Install
uses: nick-fields/retry@v3
# https://github.com/nick-fields/retry/releases
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
timeout_minutes: 15
retry_wait_seconds: 60
Expand Down Expand Up @@ -86,12 +90,14 @@ jobs:
shell: bash

- name: Upload Test Patches
uses: actions/upload-artifact@v4
# https://github.com/actions/upload-artifact/releases
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: patches
path: ~/template/patches/

- uses: actions/cache/save@v4
# https://github.com/actions/cache/releases
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
name: Yarn Cache Save
if: "${{ github.ref == 'refs/heads/main' }}"
continue-on-error: true
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/deploy-api-reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
name: 'Build API Reference'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- uses: actions/setup-node@v6
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
Expand All @@ -30,7 +32,8 @@ jobs:
npm install -g npm@latest
npm --version
- name: Yarn Install
uses: nick-fields/retry@v4
# https://github.com/nick-fields/retry/releases
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
timeout_minutes: 15
retry_wait_seconds: 60
Expand All @@ -40,7 +43,8 @@ jobs:
run: yarn reference:api:gh-pages
- name: Upload API reference artifact
id: deployment
uses: actions/upload-pages-artifact@v3
# https://github.com/actions/upload-pages-artifact/releases
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: ./apidocs-out

Expand All @@ -54,4 +58,5 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# https://github.com/actions/deploy-pages/releases
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
15 changes: 10 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ jobs:
name: 'Spelling & Grammar'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# https://github.com/actions/checkout/releases
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 1
- uses: actions/setup-node@v4
# https://github.com/actions/setup-node/releases
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 22
- uses: actions/cache/restore@v4
# https://github.com/actions/cache/releases
- uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
name: Yarn Cache Restore
id: yarn-cache
continue-on-error: true
Expand All @@ -33,7 +36,8 @@ jobs:
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-v1
- name: Yarn Install
uses: nick-fields/retry@v3
# https://github.com/nick-fields/retry/releases
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
with:
timeout_minutes: 15
retry_wait_seconds: 30
Expand All @@ -44,7 +48,8 @@ jobs:
- name: Spell check
run: |
yarn lint:spellcheck
- uses: actions/cache/save@v4
# https://github.com/actions/cache/releases
- uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
name: Yarn Cache Save
if: "${{ github.ref == 'refs/heads/main' }}"
continue-on-error: true
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/issue-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,26 @@ jobs:

- name: Add 'Needs Attention' label if OP responded and it was open
if: env.op_comment == 'true' && github.event.issue.state == 'open'
uses: actions-ecosystem/action-add-labels@v1
# https://github.com/actions-ecosystem/action-add-labels/releases
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1
with:
labels: 'Needs Attention'
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Remove 'blocked customer-response' label if OP responded and it was open
if: env.op_comment == 'true' && github.event.issue.state == 'open'
uses: actions-ecosystem/action-remove-labels@v1
# https://github.com/actions-ecosystem/action-remove-labels/releases
uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1
with:
labels: 'blocked: customer-response'
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Add comment if OP responded but issue was closed
if: env.op_comment == 'true' && github.event.issue.state == 'closed'
uses: actions-ecosystem/action-create-comment@v1
# https://github.com/actions-ecosystem/action-create-comment/releases
uses: actions-ecosystem/action-create-comment@e23bc59fbff7aac7f9044bd66c2dc0fe1286f80b # v1
with:
github_token: ${{ secrets.GH_TOKEN }}
body: |
Expand Down
Loading
Loading