Skip to content

Commit

Permalink
Add vite + inject commit
Browse files Browse the repository at this point in the history
  • Loading branch information
grod220 committed May 6, 2024
1 parent e139744 commit 3740270
Show file tree
Hide file tree
Showing 18 changed files with 1,477 additions and 2,692 deletions.
2 changes: 1 addition & 1 deletion npm/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export default tseslint.config(
},
},
{
ignores: ['dist', 'eslint.config.mjs'],
ignores: ['dist', 'eslint.config.mjs', 'vite.config.ts'],
},
);
5 changes: 4 additions & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"format": "prettier . --write",
"format-check": "prettier --check .",
"lint": "eslint . --max-warnings=0",
"build": "tsup src/index.ts --format cjs,esm --dts",
"build": "pnpm clean && tsc && vite build",
"clean": "rm -rfv dist",
"changeset": "changeset",
"changeset:publish": "changeset publish",
"test": "vitest run"
Expand All @@ -25,6 +26,8 @@
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.8.0",
"vite": "^5.2.11",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.6.0"
},
"files": [
Expand Down
Loading

0 comments on commit 3740270

Please sign in to comment.