Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
with:
fetch-depth: 0

- name: Use Node.js 22.x
- name: Setup Node
uses: actions/setup-node@v3

- uses: pnpm/action-setup@v4
Expand All @@ -20,12 +20,10 @@ jobs:
run: pnpm install

- name: Build
run: |
pnpm build
run: pnpm build

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
pnpm release
run: pnpm release
3 changes: 2 additions & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
22.12
22.16.0

2 changes: 1 addition & 1 deletion auto.config.js → auto.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
module.exports = {
baseBranch: 'main',
labels: [
{
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"auto": "^11.3.0",
"picocolors": "^1.1.0",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"storybook": "^10.0.0",
"tsup": "^8.5.0",
"typescript": "^5.9.3",
Expand Down
58 changes: 0 additions & 58 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noImplicitAny": true,
"lib": ["es2023", "dom", "dom.iterable"],
"lib": ["esnext", "dom", "dom.iterable"],
"baseUrl": ".",
"rootDir": "./src"
},
Expand Down
8 changes: 4 additions & 4 deletions tsup.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { defineConfig } from 'tsup';

export default defineConfig((options) => [
export default defineConfig(() => [
{
entry: ['src/index.ts', 'src/preset.ts'],
outDir: './dist',
splitting: true,
format: ['esm'],
dts: true,
dts: true,
treeshake: true,
sourcemap: false,
/*
Expand All @@ -22,10 +22,10 @@ dts: true,
{
entry: ['src/postinstall.ts'],
outDir: './bin',
splitting: true,
splitting: true,
format: ['esm'],
treeshake: true,
target: 'node20',
target: 'node22',
clean: false,
platform: 'node',
esbuildOptions(options) {
Expand Down
Loading