milkio 0.0.17 → 0.0.18

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.0.17",
5
+ "version": "0.0.18",
6
6
  "peerDependencies": {
7
7
  "typescript": "^5.4.2"
8
8
  },
@@ -4,7 +4,7 @@ import { $ } from "bun"
4
4
  import { join } from "node:path"
5
5
  import { cwd } from "node:process"
6
6
  import { existsSync } from "node:fs"
7
- import { writeFile, readFile, mkdir, copyFile } from "node:fs/promises"
7
+ import { writeFile, readFile, copyFile } from "node:fs/promises"
8
8
  import { MilkioConfig, TSON, type Cookbook } from ".."
9
9
 
10
10
  export default async () => {
@@ -245,6 +245,7 @@ export default async () => {
245
245
  target: 'browser',
246
246
  minify: true
247
247
  })
248
+ await copyFile(join(cwd(), 'src', 'fail-code.ts'), join(cwd(), 'packages', 'client', 'project', 'src', 'fail-code.ts'))
248
249
  console.timeEnd(`Client Stage`)
249
250
  console.log(``)
250
251