From 97f8b07eb457fdf8701818cd1467fc4499ae8cbc Mon Sep 17 00:00:00 2001 From: Kenneth Date: Tue, 7 Oct 2025 15:38:20 +0700 Subject: [PATCH] build: fix pnpm-lock and add test publish script --- package.json | 3 ++- pnpm-lock.yaml | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5e9c82a..a2c1808 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "scripts": { "build": "webpack --config webpack.config.js", "test": "yalc publish --push --no-scripts --files .", - "tsc": "tsc -p tsconfig.json" + "tsc": "tsc -p tsconfig.json", + "test:publish": "pnpm install --no-frozen-lockfile && webpack --config webpack.config.js" }, "peerDependencies": { "react": "^18.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4f3a679..5bdd1eb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -74,9 +74,6 @@ importers: react: specifier: ^18.0.0 version: 18.3.1 - react-dom: - specifier: ^18.0.0 - version: 18.3.1(react@18.3.1) react-hook-form: specifier: ^7.53.0 version: 7.62.0(react@18.3.1)