@nocobase/devtools 2.1.0-alpha.17 → 2.1.0-alpha.19

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.
Files changed (2) hide show
  1. package/common.js +2 -1
  2. package/package.json +6 -5
package/common.js CHANGED
@@ -1,6 +1,7 @@
1
1
  const { existsSync, mkdirSync, readFileSync, realpathSync, rmSync, writeFileSync } = require('node:fs');
2
2
  const { dirname, join, relative, resolve, sep } = require('node:path');
3
3
  const glob = require('fast-glob');
4
+ const { resolvePluginStoragePath } = require('@nocobase/utils/plugin-symlink');
4
5
 
5
6
  function getTsconfigPaths() {
6
7
  const content = readFileSync(resolve(process.cwd(), 'tsconfig.paths.json'), 'utf-8');
@@ -131,7 +132,7 @@ export default function devDynamicImport(packageName: string): Promise<any> {
131
132
  });
132
133
 
133
134
  const storagePluginFolders = glob.sync(['*/package.json', '*/*/package.json'], {
134
- cwd: process.env.PLUGIN_STORAGE_PATH,
135
+ cwd: resolvePluginStoragePath(),
135
136
  onlyFiles: true,
136
137
  absolute: true,
137
138
  });
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@nocobase/devtools",
3
- "version": "2.1.0-alpha.17",
3
+ "version": "2.1.0-alpha.19",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./src/index.js",
7
7
  "dependencies": {
8
- "@nocobase/build": "2.1.0-alpha.17",
9
- "@nocobase/client": "2.1.0-alpha.17",
10
- "@nocobase/test": "2.1.0-alpha.17",
8
+ "@nocobase/build": "2.1.0-alpha.19",
9
+ "@nocobase/client": "2.1.0-alpha.19",
10
+ "@nocobase/test": "2.1.0-alpha.19",
11
+ "@nocobase/utils": "2.1.0-alpha.19",
11
12
  "@rsbuild/core": "1.7.3",
12
13
  "@rsbuild/plugin-less": "^1.6.2",
13
14
  "@rsbuild/plugin-node-polyfill": "1.4.4",
@@ -55,5 +56,5 @@
55
56
  "url": "git+https://github.com/nocobase/nocobase.git",
56
57
  "directory": "packages/core/devtools"
57
58
  },
58
- "gitHead": "586cb00f56557e66168b9720d0e0193a1b752067"
59
+ "gitHead": "3d13700360eac1c0f9dbf6a5f167ed396a294a3c"
59
60
  }