@ereo/cli 0.1.32 → 0.1.35

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/README.md CHANGED
@@ -158,11 +158,11 @@ ereo db:seed
158
158
 
159
159
  ## Documentation
160
160
 
161
- For full documentation, visit [https://ereo.dev/docs/cli](https://ereo.dev/docs/cli)
161
+ For full documentation, visit [https://ereojs.github.io/ereoJS/api/cli/](https://ereojs.github.io/ereoJS/api/cli/)
162
162
 
163
163
  ## Part of EreoJS
164
164
 
165
- This package is part of the [EreoJS monorepo](https://github.com/anthropics/ereo-js).
165
+ This package is part of the [EreoJS monorepo](https://github.com/ereoJS/ereoJS).
166
166
 
167
167
  ## License
168
168
 
@@ -1 +1 @@
1
- {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,wBAAsB,KAAK,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CAwC5E"}
1
+ {"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,wBAAsB,KAAK,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2C5E"}
@@ -1 +1 @@
1
- {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAqBH;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,+CAA+C;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,wBAAsB,GAAG,CAAC,OAAO,GAAE,UAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CA8PjE"}
1
+ {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAcH;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,+CAA+C;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,wBAAsB,GAAG,CAAC,OAAO,GAAE,UAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAuQjE"}
package/dist/index.js CHANGED
@@ -1435,7 +1435,6 @@ var exports_build = {};
1435
1435
  __export(exports_build, {
1436
1436
  build: () => build
1437
1437
  });
1438
- import { build as bundlerBuild, printBuildReport } from "@ereo/bundler";
1439
1438
  async function build(options = {}) {
1440
1439
  const root = process.cwd();
1441
1440
  console.log(`
@@ -1454,6 +1453,7 @@ async function build(options = {}) {
1454
1453
  console.log(` Target: ${buildOptions.target}`);
1455
1454
  console.log(` Output: ${buildOptions.outDir}`);
1456
1455
  console.log("");
1456
+ const { build: bundlerBuild, printBuildReport } = await import("@ereo/bundler");
1457
1457
  const result = await bundlerBuild(buildOptions);
1458
1458
  if (result.success) {
1459
1459
  printBuildReport(result);
@@ -1485,13 +1485,6 @@ import {
1485
1485
  } from "@ereo/core";
1486
1486
  import { initFileRouter } from "@ereo/router";
1487
1487
  import { createServer } from "@ereo/server";
1488
- import {
1489
- createHMRServer,
1490
- createHMRWatcher,
1491
- createHMRWebSocket,
1492
- HMR_CLIENT_CODE,
1493
- ERROR_OVERLAY_SCRIPT
1494
- } from "@ereo/bundler";
1495
1488
  async function dev(options = {}) {
1496
1489
  const root = process.cwd();
1497
1490
  console.log(`
@@ -1528,6 +1521,13 @@ async function dev(options = {}) {
1528
1521
  watch: true
1529
1522
  });
1530
1523
  await router.loadAllModules();
1524
+ const {
1525
+ createHMRServer,
1526
+ createHMRWatcher,
1527
+ createHMRWebSocket,
1528
+ HMR_CLIENT_CODE,
1529
+ ERROR_OVERLAY_SCRIPT
1530
+ } = await import("@ereo/bundler");
1531
1531
  const hmr = createHMRServer();
1532
1532
  const hmrWatcher = createHMRWatcher(hmr);
1533
1533
  hmrWatcher.watch(join2(root, "app"));
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@ereo/cli",
3
- "version": "0.1.32",
3
+ "version": "0.1.35",
4
4
  "license": "MIT",
5
5
  "author": "Ereo Team",
6
- "homepage": "https://ereo.dev",
6
+ "homepage": "https://ereojs.github.io/ereoJS",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/ereojs/ereo.git",
9
+ "url": "https://github.com/ereoJS/ereoJS.git",
10
10
  "directory": "packages/cli"
11
11
  },
12
12
  "bugs": {
13
- "url": "https://github.com/ereojs/ereo/issues"
13
+ "url": "https://github.com/ereoJS/ereoJS/issues"
14
14
  },
15
15
  "type": "module",
16
16
  "main": "./dist/index.js",
@@ -35,13 +35,13 @@
35
35
  "typecheck": "tsc --noEmit"
36
36
  },
37
37
  "dependencies": {
38
- "@ereo/core": "^0.1.32",
39
- "@ereo/router": "^0.1.32",
40
- "@ereo/server": "^0.1.32",
41
- "@ereo/bundler": "^0.1.32",
42
- "@ereo/trace": "^0.1.32"
38
+ "@ereo/core": "^0.1.35",
39
+ "@ereo/router": "^0.1.35",
40
+ "@ereo/server": "^0.1.35",
41
+ "@ereo/trace": "^0.1.35"
43
42
  },
44
43
  "devDependencies": {
44
+ "@ereo/bundler": "^0.1.35",
45
45
  "@types/bun": "^1.1.0",
46
46
  "typescript": "^5.4.0"
47
47
  }