@tachybase/utils 1.3.44 → 1.3.45

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.
@@ -57,8 +57,8 @@ async function getStoragePluginNames(target) {
57
57
  }
58
58
  __name(getStoragePluginNames, "getStoragePluginNames");
59
59
  async function createStoragePluginSymLink(pluginName) {
60
- const storagePluginsPath = (0, import_node_path.resolve)(process.cwd(), "storage", "plugins");
61
- const nodeModulesPath = (0, import_node_path.resolve)(process.cwd(), "plugins", "remote");
60
+ const storagePluginsPath = (0, import_node_path.resolve)(process.env.TEGO_RUNTIME_HOME, "storage", "plugins");
61
+ const nodeModulesPath = (0, import_node_path.resolve)(process.env.TEGO_RUNTIME_HOME, "plugins", "remote");
62
62
  try {
63
63
  if (pluginName.startsWith("@")) {
64
64
  const [orgName] = pluginName.split("/");
@@ -77,7 +77,7 @@ async function createStoragePluginSymLink(pluginName) {
77
77
  }
78
78
  __name(createStoragePluginSymLink, "createStoragePluginSymLink");
79
79
  async function createStoragePluginsSymlink() {
80
- const storagePluginsPath = (0, import_node_path.resolve)(process.cwd(), "storage/plugins");
80
+ const storagePluginsPath = (0, import_node_path.resolve)(process.env.TEGO_RUNTIME_HOME, "storage/plugins");
81
81
  if (!await (0, import_fs_exists.fsExists)(storagePluginsPath)) {
82
82
  return;
83
83
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tachybase/utils",
3
- "version": "1.3.44",
3
+ "version": "1.3.45",
4
4
  "license": "Apache-2.0",
5
5
  "exports": {
6
6
  ".": {