golar 0.0.11 → 0.0.13

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 +1 -3
  2. package/package.json +16 -12
package/dist/bin.js CHANGED
@@ -15,13 +15,11 @@ await Promise.all(filename.matchAll(/\/node_modules\//g).map(async (nodeModulesM
15
15
  for (const packageName of await fs.readdir(path.join(nodeModulesPath, orgName))) {
16
16
  if ((orgName !== "@golar" || ![
17
17
  "astro",
18
+ "ember",
18
19
  "svelte",
19
20
  "vue"
20
21
  ].includes(packageName)) && !/^golar-plugin(-.+)?$/.exec(packageName)) continue;
21
- const packagePath = path.join(nodeModulesPath, orgName, packageName);
22
22
  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
23
  const mod = await import(`${packageSpecifier}/golar-entry`);
26
24
  if (typeof mod.getGolarEntry !== "function") continue;
27
25
  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.13",
4
4
  "type": "module",
5
5
  "bin": "./dist/bin.js",
6
6
  "files": [
@@ -11,10 +11,10 @@
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/auvred/golar.git",
14
- "directory": "packages/plugin"
14
+ "directory": "packages/golar"
15
15
  },
16
16
  "bugs": "https://github.com/auvred/golar/issues",
17
- "homepage": "https://github.com/auvred/golar/tree/main/packages/plugin#readme",
17
+ "homepage": "https://github.com/auvred/golar/tree/main/packages/golar#readme",
18
18
  "publishConfig": {
19
19
  "access": "public",
20
20
  "executableFiles": [
@@ -22,22 +22,26 @@
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.13",
26
+ "@golar/linux-x64": "0.0.13",
27
+ "@golar/darwin-x64": "0.0.13",
28
+ "@golar/win32-arm64": "0.0.13",
29
+ "@golar/linux-arm64": "0.0.13",
30
+ "@golar/darwin-arm64": "0.0.13"
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.13",
34
+ "@golar/ember": "0.0.13",
35
+ "@golar/vue": "0.0.13",
36
+ "@golar/svelte": "0.0.13"
36
37
  },
37
38
  "peerDependenciesMeta": {
38
39
  "@golar/astro": {
39
40
  "optional": true
40
41
  },
42
+ "@golar/ember": {
43
+ "optional": true
44
+ },
41
45
  "@golar/svelte": {
42
46
  "optional": true
43
47
  },