adminforth 2.72.1-next.4 → 2.72.1-next.5

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.
@@ -1,2 +1,8 @@
1
+ allowBuilds:
2
+ '@prisma/engines': true
3
+ adminforth: true
4
+ better-sqlite3: true
5
+ esbuild: true
6
+ prisma: true
1
7
  onlyBuiltDependencies:
2
8
  - better-sqlite3
@@ -483,17 +483,17 @@ async function installDependenciesPnpm(ctx, cwd) {
483
483
  const isWindows = process.platform === 'win32';
484
484
 
485
485
  const nodeBinary = process.execPath;
486
- const npmPath = path.join(path.dirname(nodeBinary), isWindows ? 'pnpm.cmd' : 'pnpm');
486
+ const pnpmPath = path.join(path.dirname(nodeBinary), isWindows ? 'pnpm.cmd' : 'pnpm');
487
487
  const customDir = ctx.customDir;
488
488
  if (isWindows) {
489
489
  const res = await Promise.all([
490
- await execAsync(`pnpm install`, { cwd, env: { PATH: process.env.PATH } }),
491
- await execAsync(`pnpm install`, { cwd: customDir, env: { PATH: process.env.PATH } }),
490
+ execAsync(`pnpm install`, { cwd, env: { PATH: process.env.PATH } }),
491
+ execAsync(`pnpm install`, { cwd: customDir, env: { PATH: process.env.PATH } }),
492
492
  ]);
493
493
  } else {
494
494
  const res = await Promise.all([
495
- await execAsync(`${nodeBinary} ${npmPath} install`, { cwd, env: { PATH: process.env.PATH } }),
496
- await execAsync(`${nodeBinary} ${npmPath} install`, { cwd: customDir, env: { PATH: process.env.PATH } }),
495
+ execAsync(`${nodeBinary} ${pnpmPath} install`, { cwd, env: { PATH: process.env.PATH } }),
496
+ execAsync(`${nodeBinary} ${pnpmPath} install`, { cwd: customDir, env: { PATH: process.env.PATH } }),
497
497
  ]);
498
498
  }
499
499
  }
@@ -506,13 +506,13 @@ async function installDependenciesNpm(ctx, cwd) {
506
506
  const customDir = ctx.customDir;
507
507
  if (isWindows) {
508
508
  const res = await Promise.all([
509
- await execAsync(`npm install`, { cwd, env: { PATH: process.env.PATH } }),
510
- await execAsync(`npm install`, { cwd: customDir, env: { PATH: process.env.PATH } }),
509
+ execAsync(`npm install`, { cwd, env: { PATH: process.env.PATH } }),
510
+ execAsync(`npm install`, { cwd: customDir, env: { PATH: process.env.PATH } }),
511
511
  ]);
512
512
  } else {
513
513
  const res = await Promise.all([
514
- await execAsync(`${nodeBinary} ${npmPath} install`, { cwd, env: { PATH: process.env.PATH } }),
515
- await execAsync(`${nodeBinary} ${npmPath} install`, { cwd: customDir, env: { PATH: process.env.PATH } }),
514
+ execAsync(`${nodeBinary} ${npmPath} install`, { cwd, env: { PATH: process.env.PATH } }),
515
+ execAsync(`${nodeBinary} ${npmPath} install`, { cwd: customDir, env: { PATH: process.env.PATH } }),
516
516
  ]);
517
517
  }
518
518
  }
@@ -12,11 +12,6 @@
12
12
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
13
13
  "i18n:extract": "echo {} > i18n-empty.json && vue-i18n-extract report --vueFiles \"./src/**/*.{js,vue,ts}\" --output ./i18n-messages.json --languageFiles \"i18n-empty.json\" --add"
14
14
  },
15
- "pnpm": {
16
- "overrides": {
17
- "shell-quote": "^1.8.4"
18
- }
19
- },
20
15
  "dependencies": {
21
16
  "@iconify-prerendered/vue-flag": "^0.28.1748584105",
22
17
  "@iconify-prerendered/vue-flowbite": "^0.28.1754899090",
@@ -4,9 +4,6 @@ settings:
4
4
  autoInstallPeers: true
5
5
  excludeLinksFromLockfile: false
6
6
 
7
- overrides:
8
- shell-quote: ^1.8.4
9
-
10
7
  importers:
11
8
 
12
9
  .:
@@ -773,6 +770,7 @@ packages:
773
770
 
774
771
  '@ungap/structured-clone@1.3.0':
775
772
  resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
773
+ deprecated: Potential CWE-502 - Update to 1.3.1 or higher
776
774
 
777
775
  '@unhead/dom@1.11.20':
778
776
  resolution: {integrity: sha512-jgfGYdOH+xHJF/j8gudjsYu3oIjFyXhCWcgKaw3vQnT616gSqyqnGQGOItL+BQtQZACKNISwIfx5PuOtztMKLA==}
package/package.json CHANGED
@@ -1,12 +1,7 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.72.1-next.4",
3
+ "version": "2.72.1-next.5",
4
4
  "description": "OpenSource Agent-Native forth-generation admin panel",
5
- "pnpm": {
6
- "overrides": {
7
- "shell-quote": "^1.8.4"
8
- }
9
- },
10
5
  "keywords": [
11
6
  "adminforth",
12
7
  "agent",