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 +7 -0
- package/dist/cli/index.cjs +5 -0
- package/dist/cli/index.js +6 -1
- package/dist/index.d.ts +3393 -2561
- package/dist/index.js +11706 -12116
- package/dist/root.d.ts +31 -1
- package/dist/root.js +31 -0
- package/dist/web/assets/favicon-BoqZd694.ico +0 -0
- package/dist/web/assets/index-B8bbCqnJ.css +7 -0
- package/dist/web/assets/index-DWlvh96A.js +437 -0
- package/dist/web/assets/index-Dd8r3eXU.js +1 -0
- package/dist/web/assets/index-DkgO_Aod.js +1 -0
- package/dist/web/index.html +24 -0
- package/dist/web/karin.png +0 -0
- package/package.json +2 -2
- package/default/comment/config.json +0 -34
- package/default/comment/friendDirect.json +0 -10
- package/default/comment/groupGuild.json +0 -11
- package/default/comment/server.json +0 -17
- package/default/view/App.yaml +0 -67
- package/default/view/config.yaml +0 -170
- package/default/view/group.yaml +0 -73
- package/default/view/pm2.yaml +0 -41
- package/default/view/redis.yaml +0 -20
- package/default/view/server.yaml +0 -73
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
|
|
package/dist/cli/index.cjs
CHANGED
|
@@ -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 {
|
|
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) => {
|