milkio 0.8.1 → 0.8.2

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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "milkio",
3
3
  "type": "module",
4
4
  "module": "index.ts",
5
- "version": "0.8.1",
5
+ "version": "0.8.2",
6
6
  "peerDependencies": {
7
7
  "typescript": "^5.4.2"
8
8
  },
@@ -237,17 +237,9 @@ export default async () => {
237
237
 
238
238
  console.time(`Client Stage`);
239
239
  try {
240
- if (process.platform !== "win32") await $`bun run ./node_modules/typescript/bin/tsc --outDir './packages/client/project'`;
241
- else await $`powershell.exe -command "bun run ./node_modules/typescript/bin/tsc --outDir './packages/client/project'"`;
242
- } catch (error) {
243
- console.log(error);
244
- }
245
- await Bun.build({
246
- entrypoints: ["./packages/client/index.ts"],
247
- outdir: "./packages/client/dist",
248
- target: "browser",
249
- minify: true,
250
- });
240
+ if (process.platform !== "win32") await $`bun run ./node_modules/typescript/bin/tsc --outDir './packages/client/project'`.quiet();
241
+ else await $`powershell.exe -command "bun run ./node_modules/typescript/bin/tsc --outDir './packages/client/project'"`.quiet();
242
+ } catch (error) {}
251
243
  await copyFile(join(cwd(), "src", "fail-code.ts"), join(cwd(), "packages", "client", "project", "src", "fail-code.ts"));
252
244
  await $`bun i`.cwd(join(cwd(), "packages", "client"));
253
245
  console.timeEnd(`Client Stage`);