Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support development on Node 20 #725

Merged
merged 38 commits into from May 1, 2023
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
bd6ab20
fix: support development on Node 20
nickmccurdy Apr 22, 2023
654e017
chore: update pnpm
nickmccurdy Apr 22, 2023
2246980
ci: default to latest (not LTS) Node
nickmccurdy Apr 22, 2023
ae35fc9
ci: test on all supported Node versions
nickmccurdy Apr 22, 2023
cf6f507
ci: run typecheck
nickmccurdy Apr 22, 2023
99e78ff
ci: run format
nickmccurdy Apr 22, 2023
034431d
Revert "ci: default to latest (not LTS) Node"
nickmccurdy Apr 26, 2023
a384c6c
Revert "ci: run typecheck"
nickmccurdy Apr 26, 2023
9830b1b
fix: format again
nickmccurdy Apr 26, 2023
d2aa2f4
ci: revert tested Node versions
nickmccurdy Apr 26, 2023
33179b5
ci: extract checkFormat script
nickmccurdy Apr 26, 2023
ca4e6df
fix: ignore `narrow.md` with broken formatting
nickmccurdy Apr 26, 2023
fd85a9b
fix: revert broken formatting
nickmccurdy Apr 26, 2023
aa16386
docs: add note about Prettier bug to ignore
nickmccurdy Apr 26, 2023
8f412c0
fix: use ts-node/esm loader instead of ts-node cli
nickmccurdy Apr 27, 2023
716a4b4
fix: add missing spaces in commands
nickmccurdy Apr 27, 2023
395818b
fix: revert broken formatting
nickmccurdy Apr 27, 2023
07d7cdf
Merge branch 'main' into fix-node-20
ssalbdivad Apr 28, 2023
ba8d90b
merge main
ssalbdivad Apr 28, 2023
966b1b4
twitch from ts-node to tsx
ssalbdivad Apr 28, 2023
809b291
continue
ssalbdivad Apr 28, 2023
3f07a71
fix test explorer
ssalbdivad Apr 28, 2023
aa7b36e
reintegrate ts-node
ssalbdivad Apr 29, 2023
151ba18
begin simplifying CLI
ssalbdivad Apr 29, 2023
f485ca6
begin removing attest cli
ssalbdivad Apr 30, 2023
eecb853
initial config implementation for new attest
ssalbdivad Apr 30, 2023
2abb764
continue fixing test infra
ssalbdivad Apr 30, 2023
35db10c
continue simplifying test config
ssalbdivad Apr 30, 2023
8198117
continue fixing attes
ssalbdivad Apr 30, 2023
19ef1e2
continue simplifying attest
ssalbdivad Apr 30, 2023
9d06187
fix attest tests
ssalbdivad Apr 30, 2023
fd01493
continue repo cleanup
ssalbdivad Apr 30, 2023
2c2085a
remove old docs versions
ssalbdivad Apr 30, 2023
45b6483
simplify CI process
ssalbdivad Apr 30, 2023
accfd3b
more CI simplifications
ssalbdivad Apr 30, 2023
ee7a264
ensure snapshots are written when not using types
ssalbdivad Apr 30, 2023
bf063ca
loosen bench timeout, remove node-latest from CI
ssalbdivad Apr 30, 2023
d65707e
remove test build, simplify build process
May 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Expand Up @@ -11,7 +11,7 @@ runs:
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 7.1.2
version: 8.3.1

- name: Setup Node (${{ inputs.node }})
uses: actions/setup-node@v3
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/pr.yml
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Lint
run: pnpm lint

- name: Format
run: pnpm exec prettier --check --ignore-path ./dev/configs/.prettierignore .
nickmccurdy marked this conversation as resolved.
Show resolved Hide resolved

- name: Test
run: pnpm testRepo

Expand All @@ -38,13 +41,8 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
node: [lts/*]
os: [windows-latest, macos-latest]
include:
- os: ubuntu-latest
node: lts/-1
- os: ubuntu-latest
node: latest
node: [14, 16, 18, 19, 20]
nickmccurdy marked this conversation as resolved.
Show resolved Hide resolved
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion dev/arktype.io/docs/api/narrow.md
Expand Up @@ -15,4 +15,4 @@ hide_table_of_contents: true

## example

- const isEven = (x: unknown): x is number => x % 2 === 0
- const isEven = (x: unknown): x is number => x % 2 === 0