node-karin 1.2.2 → 1.2.4-pr.251.56ea34a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.2.3](https://github.com/KarinJS/Karin/compare/core-v1.2.2...core-v1.2.3) (2025-01-21)
4
+
5
+
6
+ ### 🐛 Bug Fixes
7
+
8
+ * web ([5bfc670](https://github.com/KarinJS/Karin/commit/5bfc67040d8ff7d7845a35ad05d17f58853aef13))
9
+
3
10
  ## [1.2.2](https://github.com/KarinJS/Karin/compare/core-v1.2.1...core-v1.2.2) (2025-01-21)
4
11
 
5
12
 
@@ -281,6 +281,11 @@ var modifyPackageJson = () => {
281
281
  data.type = "module";
282
282
  if (!data.scripts) data.scripts = {};
283
283
  data.scripts.karin = "karin";
284
+ data.pnpm = {};
285
+ data.pnpm.ignoredBuiltDependencies = [
286
+ "sqlite3",
287
+ "classic-level"
288
+ ];
284
289
  const list = ["app", "start", "pm2", "stop", "rs", "log"];
285
290
  if (!isDev) {
286
291
  list.forEach((v) => {
package/dist/cli/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import fs2 from 'node:fs';
3
3
  import { fileURLToPath, URL as URL$1 } from 'node:url';
4
4
  import path2, { join } from 'node:path';
5
- import { fork, spawn, execSync as execSync$1, exec as exec$1 } from 'node:child_process';
5
+ import { spawn, fork, execSync as execSync$1, exec as exec$1 } from 'node:child_process';
6
6
  import dotenv from 'dotenv';
7
7
  import { program } from 'commander';
8
8
 
@@ -272,6 +272,11 @@ var modifyPackageJson = () => {
272
272
  data.type = "module";
273
273
  if (!data.scripts) data.scripts = {};
274
274
  data.scripts.karin = "karin";
275
+ data.pnpm = {};
276
+ data.pnpm.ignoredBuiltDependencies = [
277
+ "sqlite3",
278
+ "classic-level"
279
+ ];
275
280
  const list = ["app", "start", "pm2", "stop", "rs", "log"];
276
281
  if (!isDev) {
277
282
  list.forEach((v) => {