Skip to content

Commit facf7ac

Browse files
committed
chore: housekeeping, bump all (dev) deps (#422)
1 parent 16fcea1 commit facf7ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+19409
-17943
lines changed

.changeset/eight-taxis-sell.md.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"prettier-plugin-sql": minor
3+
---
4+
5+
chore(deps): bump `node-sql-parser` to v5

.changeset/four-llamas-burn.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"prettier-plugin-pkg": minor
3+
---
4+
5+
feat: change `types` related entries order

.changeset/huge-coats-jog.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"prettier-plugin-autocorrect": patch
3+
"prettier-plugin-toml": patch
4+
"prettier-plugin-pkg": patch
5+
"prettier-plugin-sql": patch
6+
"prettier-plugin-sh": patch
7+
---
8+
9+
fix: incorrect `require` entry types, add `module-sync` entry

.codesandbox/ci.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"node": "18",
2+
"node": "20",
33
"sandboxes": []
44
}

.eslintrc

-7
This file was deleted.

.gitattributes

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
* text=auto eol=lf
2-
pnpm-lock.yaml -diff
2+
yarn.lock -diff
33

44
packages/sql/test/fixtures-eol/556.sql text=auto eol=crlf
55
packages/sql/test/fixtures-eol/559.sql text=auto eol=crlf

.github/workflows/autofix.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: autofix.ci # For security reasons, the workflow in which the autofix.ci action is used must be named "autofix.ci".
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
autofix:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout Repo
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
20+
21+
- name: Setup Node.js LTS
22+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
23+
with:
24+
node-version: lts/*
25+
cache: yarn
26+
27+
- name: Install dependencies
28+
run: yarn --immutable
29+
30+
- name: Format Codes
31+
run: yarn run-s build format
32+
33+
- name: Apply autofix.ci
34+
uses: autofix-ci/action@2891949f3779a1cafafae1523058501de3d4e944 # v1
35+
with:
36+
fail-fast: false

.github/workflows/ci.yml

+14-9
Original file line numberDiff line numberDiff line change
@@ -4,41 +4,46 @@ on:
44
- push
55
- pull_request
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
ci:
913
name: Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }}
1014
strategy:
1115
matrix:
1216
node:
13-
- 16
1417
- 18
1518
- 20
19+
- 22
1620
os:
1721
- macos-latest
1822
- ubuntu-latest
1923
- windows-latest
24+
fail-fast: false
25+
env:
26+
YARN_IGNORE_NODE: 1
2027
runs-on: ${{ matrix.os }}
2128
steps:
2229
- name: Checkout Repo
2330
uses: actions/checkout@v4
2431

25-
- name: Setup pnpm
26-
uses: pnpm/action-setup@v4
27-
2832
- name: Setup Node.js ${{ matrix.node }}
2933
uses: actions/setup-node@v4
3034
with:
3135
node-version: ${{ matrix.node }}
32-
cache: pnpm
36+
cache: yarn
3337

3438
- name: Install Dependencies
35-
run: pnpm i
39+
run: yarn --immutable
3640

3741
- name: Build, Lint and Test
38-
run: pnpm run-s build lint test
42+
run: yarn run-s build lint test
3943
env:
40-
EFF_NO_LINK_RULES: true
4144
PARSER_NO_WATCH: true
4245

4346
- name: Codecov
44-
uses: codecov/codecov-action@v3
47+
uses: codecov/codecov-action@v5
48+
with:
49+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/codeql.yml

-44
This file was deleted.

.github/workflows/pkg-pr-new.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish Any Commit
2+
on:
3+
- push
4+
- pull_request
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
publish:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17+
18+
- name: Setup Node.js LTS
19+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4
20+
with:
21+
node-version: lts/*
22+
cache: yarn
23+
24+
- name: Install dependencies
25+
run: yarn --immutable
26+
27+
- name: Build
28+
run: yarn build
29+
30+
- name: Publish
31+
run: yarn dlx pkg-pr-new publish './packages/*'

.github/workflows/pkg-size.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Package Size Report
2+
3+
on:
4+
- pull_request
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
pkg-size-report:
12+
name: Package Size Report
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
18+
19+
- name: Package Size Report
20+
uses: pkg-size/action@a637fb0897b6f14f18e776d8c3dbccb34a1ad27b # v1
21+
continue-on-error: true
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

+15-8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ on:
55
branches:
66
- master
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
permissions:
13+
contents: write
14+
id-token: write
15+
pull-requests: write
16+
817
jobs:
918
release:
1019
name: Release
@@ -16,29 +25,27 @@ jobs:
1625
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1726
fetch-depth: 0
1827

19-
- name: Setup pnpm
20-
uses: pnpm/action-setup@v4
21-
2228
- name: Setup Node.js LTS
2329
uses: actions/setup-node@v4
2430
with:
2531
node-version: lts/*
26-
cache: pnpm
32+
cache: yarn
2733

2834
- name: Install Dependencies
29-
run: pnpm i
35+
run: yarn --immutable
3036

3137
- name: Build
32-
run: pnpm build
38+
run: yarn build
3339

3440
- name: Create Release Pull Request or Publish to npm
3541
id: changesets
3642
uses: changesets/action@v1
3743
with:
3844
commit: 'chore: release package(s)'
3945
title: 'chore: release package(s)'
40-
# This expects you to have a script called release which does a build for your packages and calls changeset publish
41-
publish: pnpm release
46+
publish: yarn release
47+
version: yarn run version
4248
env:
4349
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
50+
NPM_CONFIG_PROVENANCE: true
4451
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/size-limit.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,27 @@ on:
55
branches:
66
- master
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
size-limit:
1014
runs-on: ubuntu-latest
1115
steps:
1216
- uses: actions/checkout@v4
1317

14-
- name: Setup pnpm
15-
uses: pnpm/action-setup@v4
16-
1718
- name: Setup Node.js LTS
1819
uses: actions/setup-node@v4
1920
with:
2021
node-version: lts/*
21-
cache: pnpm
22+
cache: yarn
2223

2324
- name: Install Dependencies
24-
run: pnpm i
25+
run: yarn --immutable
2526

2627
- uses: andresz1/size-limit-action@v1
2728
with:
2829
github_token: ${{ secrets.GITHUB_TOKEN }}
2930
skip_step: install
30-
script: pnpm size-limit --json
31+
script: yarn size-limit --json

.github/workflows/vercel.yml

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- master
77
pull_request_target: null
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
deploy:
1115
runs-on: ubuntu-latest

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
.changelog
55
.type-coverage
66
.vercel
7+
.yarn/*
8+
!.yarn/plugins
9+
!.yarn/releases
710
coverage
811
dist
912
lib
1013
node_modules
1114
packages/*/src/languages.ts
12-
yarn.lock

.lintstagedrc.cjs

-1
This file was deleted.

.lintstagedrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@1stg/lint-staged/tsc'

.npmrc

-19
This file was deleted.

.prettierignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
coverage
2-
dist
1+
.yarn
32
**/test/fixtures
4-
/pnpm-lock.yaml

.renovaterc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"github>1stG/configs"
4+
]
5+
}

.simple-git-hooks.cjs

-1
This file was deleted.

.simple-git-hooks.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@1stg/simple-git-hooks'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports={name:"plugin-prepare-lifecycle",factory:e=>({hooks:{afterAllInstalled(r){if(!r.topLevelWorkspace.manifest.scripts.get("prepare"))return;e("@yarnpkg/shell").execute("yarn prepare")}}})};

0 commit comments

Comments
 (0)