@vicinae/api 0.19.0 → 0.19.1

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.
@@ -109,9 +109,12 @@ class Build extends core_1.Command {
109
109
  entryPoints: [source],
110
110
  external: ["react", "@vicinae/api", "@raycast/api"],
111
111
  format: "cjs",
112
- outfile: (0, node_path_1.join)(outDir, `${cmd.name}.js`),
112
+ outdir: outDir,
113
113
  platform: "node",
114
114
  minify: true,
115
+ loader: {
116
+ ".node": "file",
117
+ },
115
118
  });
116
119
  });
117
120
  await Promise.all(promises);
@@ -133,8 +133,11 @@ class Develop extends core_1.Command {
133
133
  entryPoints: [source],
134
134
  external: ["react", "@vicinae/api", "@raycast/api"],
135
135
  format: "cjs",
136
- outfile: path.join(outDir, `${cmd.name}.js`),
136
+ outdir: outDir,
137
137
  platform: "node",
138
+ loader: {
139
+ ".node": "file",
140
+ },
138
141
  });
139
142
  });
140
143
  await Promise.all(promises);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vicinae/api",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "TypeScript SDK to build Vicinae extensions",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",