Skip to content

Commit

Permalink
chore: pack configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ha1fstack committed Sep 22, 2024
1 parent f440c70 commit 573d051
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"release-it-pnpm": {},
"@release-it/keep-a-changelog": {
"addUnreleased": true,
"filename": "CHANGELOG.md"
"filename": "CHANGELOG.md",
"strictLatest": false
}
}
}
6 changes: 0 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,4 @@ All notable, unreleased changes to this project will be documented in this file

## [Unreleased]

- chore

## [0.0.1-beta.1] - 2024-09-23

- Initial release

## [0.0.0]
1 change: 1 addition & 0 deletions example/tsconfig.app.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts"],"version":"5.6.2"}
1 change: 1 addition & 0 deletions example/tsconfig.node.tsbuildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"root":["./vite.config.ts"],"version":"5.6.2"}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-topbar",
"version": "0.0.1-beta.1",
"version": "0.0.1-beta.4",
"description": "A React Router Top Loading Bar component made using nprogress, compatible with React transition and router loaders.",
"keywords": [
"React",
Expand All @@ -26,6 +26,8 @@
"build": "tsup",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"lint": "eslint --fix --cache src/",
"prepack": "clean-package",
"postpack": "clean-package restore",
"release": "dotenv release-it --",
"typecheck": "tsc -p tsconfig.json"
},
Expand Down
10 changes: 5 additions & 5 deletions tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Options } from 'tsup';
import { Options } from "tsup";
export const tsup: Options = {
target: 'es6',
target: "es6",
clean: true,
dts: true,
entry: ['src/index.tsx', 'src/pages.tsx', 'src/app.ts'],
entry: ["src/index.tsx"],
keepNames: true,
sourcemap: true,
minify: true,
format: ['cjs'],
};
format: ["cjs", "esm"],
};

0 comments on commit 573d051

Please # to comment.