From 9f92be7f500a4b196fd75439140e3aa03f249c1a Mon Sep 17 00:00:00 2001 From: kiki-kanri Date: Fri, 18 Oct 2024 11:24:03 +0800 Subject: [PATCH] chore!: change all dependencies to devDependencies --- package.json | 18 +++++++------- pnpm-lock.yaml | 45 +++++++++++++++++------------------ ts-project-builder.config.mjs | 12 +--------- 3 files changed, 31 insertions(+), 44 deletions(-) diff --git a/package.json b/package.json index 38e411f..3299cd1 100644 --- a/package.json +++ b/package.json @@ -13,24 +13,22 @@ "bumplog": "changelogen --bump", "test": "jest --coverage" }, - "dependencies": { - "@noble/hashes": "^1.5.0", - "axios": "^1.7.7", - "consola": "^3.2.3", - "date-fns": "^4.1.0", - "decimal.js": "^10.4.3", - "millify": "^6.1.0", - "pino": "^9.5.0", - "pino-pretty": "^11.3.0" - }, "devDependencies": { "@kikiutils/changelogen": "^0.6.0", "@kikiutils/prettierrc": "^1.3.2", "@kikiutils/tsconfigs": "^3.0.1", + "@noble/hashes": "^1.5.0", "@types/jest": "^29.5.13", "@types/node": "^22.7.6", + "axios": "^1.7.7", + "consola": "^3.2.3", + "date-fns": "^4.1.0", + "decimal.js": "^10.4.3", "hono": "^4.6.5", "jest": "^29.7.0", + "millify": "^6.1.0", + "pino": "^9.5.0", + "pino-pretty": "^11.3.0", "ts-jest": "^29.2.5", "ts-project-builder": "3.2.2", "tslib": "^2.8.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ed3e545..9f56d9b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,10 +7,25 @@ settings: importers: .: - dependencies: + devDependencies: + '@kikiutils/changelogen': + specifier: ^0.6.0 + version: 0.6.0 + '@kikiutils/prettierrc': + specifier: ^1.3.2 + version: 1.3.2 + '@kikiutils/tsconfigs': + specifier: ^3.0.1 + version: 3.0.1 '@noble/hashes': specifier: ^1.5.0 version: 1.5.0 + '@types/jest': + specifier: ^29.5.13 + version: 29.5.13 + '@types/node': + specifier: ^22.7.6 + version: 22.7.6 axios: specifier: ^1.7.7 version: 1.7.7 @@ -23,6 +38,12 @@ importers: decimal.js: specifier: ^10.4.3 version: 10.4.3 + hono: + specifier: ^4.6.5 + version: 4.6.5 + jest: + specifier: ^29.7.0 + version: 29.7.0(@types/node@22.7.6) millify: specifier: ^6.1.0 version: 6.1.0 @@ -32,28 +53,6 @@ importers: pino-pretty: specifier: ^11.3.0 version: 11.3.0 - devDependencies: - '@kikiutils/changelogen': - specifier: ^0.6.0 - version: 0.6.0 - '@kikiutils/prettierrc': - specifier: ^1.3.2 - version: 1.3.2 - '@kikiutils/tsconfigs': - specifier: ^3.0.1 - version: 3.0.1 - '@types/jest': - specifier: ^29.5.13 - version: 29.5.13 - '@types/node': - specifier: ^22.7.6 - version: 22.7.6 - hono: - specifier: ^4.6.5 - version: 4.6.5 - jest: - specifier: ^29.7.0 - version: 29.7.0(@types/node@22.7.6) ts-jest: specifier: ^29.2.5 version: 29.2.5(@babel/core@7.25.8)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.8))(esbuild@0.24.0)(jest@29.7.0(@types/node@22.7.6))(typescript@5.6.3) diff --git a/ts-project-builder.config.mjs b/ts-project-builder.config.mjs index 1e5505a..6b94011 100644 --- a/ts-project-builder.config.mjs +++ b/ts-project-builder.config.mjs @@ -1,13 +1,3 @@ import { defineConfig } from 'ts-project-builder'; -export default defineConfig({ - builtInInputPluginOptions: { - nodeExternal: { - include: [ - 'hono/hono-base', - 'hono/logger', - 'hono/types' - ] - } - } -}); +export default defineConfig({ builtInInputPluginOptions: { nodeExternal: { devDeps: true } } });