1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 10:54:44 +00:00

feat: update pnpm workspace and dependencies, migrate to tsdown for builds

This commit is contained in:
2026-02-14 03:49:10 +07:00
parent a9a6c04176
commit efadb5fe28
17 changed files with 2898 additions and 3957 deletions

View File

@@ -1,9 +0,0 @@
import { defineBuildConfig } from 'unbuild';
export default defineBuildConfig({
rollup: {
esbuild: {
// minify: true,
},
},
});

View File

@@ -18,7 +18,7 @@
"url": "git+https://github.com/robonen/tools.git",
"directory": "packages/stdlib"
},
"packageManager": "pnpm@10.15.1",
"packageManager": "pnpm@10.29.3",
"engines": {
"node": ">=22.18.0"
},
@@ -29,18 +29,17 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"test": "vitest run",
"dev": "vitest dev",
"build": "unbuild"
"build": "tsdown"
},
"devDependencies": {
"@robonen/tsconfig": "workspace:*",
"pathe": "catalog:",
"unbuild": "catalog:"
"tsdown": "catalog:"
}
}

View File

@@ -0,0 +1,9 @@
import { defineConfig } from 'tsdown';
export default defineConfig({
entry: ['src/index.ts'],
format: ['esm', 'cjs'],
dts: true,
clean: true,
hash: false,
});