Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: un-ts/synckit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.9.2
Choose a base ref
...
head repository: un-ts/synckit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.10.0
Choose a head ref
  • 6 commits
  • 31 files changed
  • 5 contributors

Commits on Mar 19, 2025

  1. chore(deps): update dependency prettier to ^3.5.3 (#197)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 19, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b1d5004 View commit details
  2. chore: hourcekeeping, bump all (dev) deps (#200)

    JounQin authored Mar 19, 2025
    Copy the full SHA
    6ec33e2 View commit details
  3. chore: replace evil es5-ext

    JounQin committed Mar 19, 2025
    Copy the full SHA
    2864b49 View commit details

Commits on Mar 20, 2025

  1. chore: update make-synchronized (#202)

    fisker authored Mar 20, 2025
    Copy the full SHA
    3a63f84 View commit details
  2. feat: add new ts runner node for Node22+ (#199)

    Co-authored-by: JounQin <admin@1stg.me>
    nwidynski and JounQin authored Mar 20, 2025
    Copy the full SHA
    7a5f1bd View commit details
  3. chore: release synckit (#203)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    JounQin and github-actions[bot] authored Mar 20, 2025
    Copy the full SHA
    db702f1 View commit details
2 changes: 1 addition & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"node": "18",
"node": "20",
"sandboxes": []
}
8 changes: 0 additions & 8 deletions .eslintignore

This file was deleted.

11 changes: 0 additions & 11 deletions .eslintrc

This file was deleted.

47 changes: 16 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -4,73 +4,58 @@ on:
- push
- pull_request

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
name: Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }}
strategy:
matrix:
node:
- 16
- 18
- 18.18
- 20
- 22
os:
- macos-latest
- ubuntu-latest
- windows-latest
exclude:
- node: 16
os: windows-latest
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup target Node.js to enable Corepack
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Enable Corepack
run: corepack enable

- name: Setup Node.js ${{ matrix.node }} with cache
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn
env:
# https://github.com/actions/setup-node/issues/531#issuecomment-1819151412
SKIP_YARN_COREPACK_CHECK: 1
YARN_IGNORE_NODE: 1

- name: Install Dependencies
run: yarn --immutable
env:
SKIP_YARN_COREPACK_CHECK: 1
YARN_IGNORE_NODE: 1

- name: Build, Lint and Test
- name: Build and Test
run: |
yarn build
yarn lint
yarn test
env:
SYNCKIT_TIMEOUT: 10000

- name: Lint
run: yarn lint
# eslint-plugin-unicorn using `with` syntax is not supported
if: ${{ matrix.node != 18 && matrix.node != 18.18 }}
env:
EFF_NO_LINK_RULES: true
PARSER_NO_WATCH: true
SKIP_YARN_COREPACK_CHECK: 1
SYNCKIT_TIMEOUT: 10000
YARN_IGNORE_NODE: 1

- name: Benchmark
run: yarn benchmark
continue-on-error: ${{ matrix.node == 20 }}
env:
SKIP_YARN_COREPACK_CHECK: 1
YARN_IGNORE_NODE: 1

- name: Codecov
uses: codecov/codecov-action@v4
if: ${{ matrix.node != 20 }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
7 changes: 7 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -10,6 +10,10 @@ on:
schedule:
- cron: '3 2 * * 6'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
analyze:
name: Analyze
@@ -34,6 +38,9 @@ jobs:
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
config: |
paths-ignore:
- test/fixtures/yarn-pnp/.pnp.*
- name: Autobuild
uses: github/codeql-action/autobuild@v3
30 changes: 30 additions & 0 deletions .github/workflows/pkg-pr-new.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish Any Commit
on:
- push
- pull_request

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: yarn

- name: Install dependencies
run: yarn --immutable

- name: Build
run: yarn build

- run: yarn dlx pkg-pr-new publish
4 changes: 4 additions & 0 deletions .github/workflows/pkg-size.yml
Original file line number Diff line number Diff line change
@@ -3,6 +3,10 @@ name: Package Size Report
on:
- pull_request

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
pkg-size-report:
name: Package Size Report
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -5,6 +5,10 @@ on:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
release:
name: Release
@@ -16,9 +20,6 @@ jobs:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Enable Corepack
run: corepack enable

- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
tmp*
.type-coverage
.yarn/*
!.yarn/releases
!.yarn/plugins
coverage
lib
1 change: 0 additions & 1 deletion .lintstagedrc.cjs

This file was deleted.

1 change: 1 addition & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@1stg/lint-staged/tsc'
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18
20
Loading