golar 0.0.11 → 0.0.12

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/dist/bin.js +0 -3
  2. package/package.json +10 -10
package/dist/bin.js CHANGED
@@ -18,10 +18,7 @@ await Promise.all(filename.matchAll(/\/node_modules\//g).map(async (nodeModulesM
18
18
  "svelte",
19
19
  "vue"
20
20
  ].includes(packageName)) && !/^golar-plugin(-.+)?$/.exec(packageName)) continue;
21
- const packagePath = path.join(nodeModulesPath, orgName, packageName);
22
21
  const packageSpecifier = `${orgName}/${packageName}`;
23
- const packageJson = JSON.parse(await fs.readFile(path.join(packagePath, "package.json"), "utf8"));
24
- if (packageJson == null || typeof packageJson !== "object") continue;
25
22
  const mod = await import(`${packageSpecifier}/golar-entry`);
26
23
  if (typeof mod.getGolarEntry !== "function") continue;
27
24
  plugins.set(packageSpecifier, await mod.getGolarEntry());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "golar",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "bin": "./dist/bin.js",
6
6
  "files": [
@@ -22,17 +22,17 @@
22
22
  ]
23
23
  },
24
24
  "optionalDependencies": {
25
- "@golar/win32-arm64": "0.0.11",
26
- "@golar/linux-x64": "0.0.11",
27
- "@golar/linux-arm64": "0.0.11",
28
- "@golar/darwin-x64": "0.0.11",
29
- "@golar/darwin-arm64": "0.0.11",
30
- "@golar/win32-x64": "0.0.11"
25
+ "@golar/win32-x64": "0.0.12",
26
+ "@golar/win32-arm64": "0.0.12",
27
+ "@golar/linux-x64": "0.0.12",
28
+ "@golar/linux-arm64": "0.0.12",
29
+ "@golar/darwin-x64": "0.0.12",
30
+ "@golar/darwin-arm64": "0.0.12"
31
31
  },
32
32
  "peerDependencies": {
33
- "@golar/svelte": "0.0.11",
34
- "@golar/astro": "0.0.11",
35
- "@golar/vue": "0.0.11"
33
+ "@golar/astro": "0.0.12",
34
+ "@golar/vue": "0.0.12",
35
+ "@golar/svelte": "0.0.12"
36
36
  },
37
37
  "peerDependenciesMeta": {
38
38
  "@golar/astro": {