Skip to content

Commit 573d051

Browse files
committed
chore: pack configs
1 parent f440c70 commit 573d051

6 files changed

Lines changed: 12 additions & 13 deletions

File tree

.release-it.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"release-it-pnpm": {},
1919
"@release-it/keep-a-changelog": {
2020
"addUnreleased": true,
21-
"filename": "CHANGELOG.md"
21+
"filename": "CHANGELOG.md",
22+
"strictLatest": false
2223
}
2324
}
2425
}

CHANGELOG.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,4 @@ All notable, unreleased changes to this project will be documented in this file
44

55
## [Unreleased]
66

7-
- chore
8-
9-
## [0.0.1-beta.1] - 2024-09-23
10-
117
- Initial release
12-
13-
## [0.0.0]

example/tsconfig.app.tsbuildinfo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts"],"version":"5.6.2"}

example/tsconfig.node.tsbuildinfo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"root":["./vite.config.ts"],"version":"5.6.2"}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-topbar",
3-
"version": "0.0.1-beta.1",
3+
"version": "0.0.1-beta.4",
44
"description": "A React Router Top Loading Bar component made using nprogress, compatible with React transition and router loaders.",
55
"keywords": [
66
"React",
@@ -26,6 +26,8 @@
2626
"build": "tsup",
2727
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
2828
"lint": "eslint --fix --cache src/",
29+
"prepack": "clean-package",
30+
"postpack": "clean-package restore",
2931
"release": "dotenv release-it --",
3032
"typecheck": "tsc -p tsconfig.json"
3133
},

tsup.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { Options } from 'tsup';
1+
import { Options } from "tsup";
22
export const tsup: Options = {
3-
target: 'es6',
3+
target: "es6",
44
clean: true,
55
dts: true,
6-
entry: ['src/index.tsx', 'src/pages.tsx', 'src/app.ts'],
6+
entry: ["src/index.tsx"],
77
keepNames: true,
88
sourcemap: true,
99
minify: true,
10-
format: ['cjs'],
11-
};
10+
format: ["cjs", "esm"],
11+
};

0 commit comments

Comments
 (0)