Skip to content

Commit e9adb24

Browse files
committed
chore: housekeeping, bump all (dev) deps (#207)
1 parent 1276718 commit e9adb24

Some content is hidden

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

44 files changed

+16493
-12554
lines changed

.changeset/good-wolves-rhyme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"changesets-gitlab": minor
3+
---
4+
5+
chore: housekeeping, bump all (dev) deps, add `module-sync` entry
6+
7+
fix: `commonjs` types entry

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root=true
2+
3+
[*]
4+
indent_style=space
5+
indent_size=2
6+
tab_width=2
7+
end_of_line=lf
8+
charset=utf-8
9+
trim_trailing_whitespace=true
10+
insert_final_newline=true

.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/autofix.yml

Lines changed: 36 additions & 0 deletions
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 format
32+
33+
- name: Apply autofix.ci
34+
uses: autofix-ci/action@2891949f3779a1cafafae1523058501de3d4e944 # v1
35+
with:
36+
fail-fast: false

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
node:
1313
- 18
1414
- 20
15+
- 22
1516
runs-on: ubuntu-latest
1617
steps:
1718
- name: Checkout Repo
@@ -24,13 +25,9 @@ jobs:
2425
cache: yarn
2526

2627
- name: Install Dependencies
27-
run: yarn --frozen-lockfile
28+
run: yarn --immutable
2829

2930
- name: Build, Lint and Test
30-
run: |
31-
yarn build
32-
yarn lint
33-
yarn test
31+
run: yarn run-s build lint test
3432
env:
35-
EFF_NO_LINK_RULES: true
3633
PARSER_NO_WATCH: true

.github/workflows/codeql.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
schedule:
11+
- cron: '28 7 * * 1'
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
analyze:
19+
name: Analyze
20+
runs-on: ubuntu-latest
21+
permissions:
22+
actions: read
23+
contents: read
24+
security-events: write
25+
26+
strategy:
27+
fail-fast: false
28+
matrix:
29+
language:
30+
- javascript
31+
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
35+
36+
- name: Initialize CodeQL
37+
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
38+
with:
39+
languages: ${{ matrix.language }}
40+
queries: +security-and-quality
41+
42+
- name: Autobuild
43+
uses: github/codeql-action/autobuild@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
44+
45+
- name: Perform CodeQL Analysis
46+
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3
47+
with:
48+
category: '/language:${{ matrix.language }}'

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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@v4
17+
18+
- name: Setup Node.js LTS
19+
uses: actions/setup-node@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+
- run: yarn dlx pkg-pr-new publish

.github/workflows/pkg-size.yml

Lines changed: 23 additions & 0 deletions
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@v4
18+
19+
- name: Package Size Report
20+
uses: pkg-size/action@v1
21+
continue-on-error: true
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ on:
55
branches:
66
- main
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
@@ -23,7 +32,7 @@ jobs:
2332
cache: yarn
2433

2534
- name: Install Dependencies
26-
run: yarn --frozen-lockfile
35+
run: yarn --immutable
2736

2837
- name: Create Release Pull Request or Publish to npm
2938
id: changesets
@@ -35,4 +44,5 @@ jobs:
3544
title: 'chore: release package(s)'
3645
env:
3746
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
NPM_CONFIG_PROVENANCE: true
3848
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/size-limit.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Size Limit
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
- v3.x
8+
9+
permissions:
10+
contents: read
11+
pull-requests: write
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
size-limit:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Setup Node.js LTS
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: lts/*
27+
cache: yarn
28+
29+
- name: Install Dependencies
30+
run: yarn --immutable
31+
32+
- uses: andresz1/[email protected]
33+
with:
34+
github_token: ${{ secrets.GITHUB_TOKEN }}
35+
skip_step: install
36+
script: yarn size-limit --json

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
coverage
12
lib
23
node_modules
3-
.eslintcache
4+
.*cache
45
.env
56
.type-coverage
7+
.yarn/*
8+
!.yarn/releases
9+
!.yarn/plugins
610
*.log
711
*.tsbuildinfo

.lintstagedrc.cjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

.lintstagedrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@1stg/lint-staged'

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.yarn

.renovaterc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
23
"extends": [
34
"github>1stG/configs"
5+
],
6+
"ignoreDeps": [
7+
"@manypkg/get-packages"
48
]
59
}

.simple-git-hooks.cjs

Lines changed: 0 additions & 1 deletion
This file was deleted.

.simple-git-hooks.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@1stg/simple-git-hooks'

.size-limit.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"path": "./lib/index.js",
4+
"limit": "150B"
5+
}
6+
]
Lines changed: 1 addition & 0 deletions
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")}}})};

.yarn/releases/yarn-4.8.1.cjs

Lines changed: 935 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
enableTelemetry: false
2+
3+
nodeLinker: node-modules
4+
5+
plugins:
6+
- checksum: 37b2361b1502b2054e6779788c0e9bdd6a90ce49852a8cad2feda79b0614ec94f06fb6e78951f5f95429c610d7934dd077caa47413a0227378a102c55161616d
7+
path: .yarn/plugins/plugin-prepare-lifecycle.cjs
8+
spec: 'https://github.com/un-es/yarn-plugin-prepare-lifecycle/releases/download/v0.0.1/index.js'
9+
10+
yarnPath: .yarn/releases/yarn-4.8.1.cjs

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from '@1stg/eslint-config'

global.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/// <reference types="vitest/globals" />
2+
3+
declare global {
4+
const GLOBAL_AGENT: {
5+
HTTP_PROXY: string | null
6+
HTTPS_PROXY: string | null
7+
NO_PROXY: string | null
8+
}
9+
}
10+
11+
export {}

index.d.cts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import changesetsGitlab from './lib/index.js'
2+
3+
export = changesetsGitlab

0 commit comments

Comments
 (0)