@cedarjs/core 1.0.1-next.0 → 1.0.1-next.30

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.
@@ -1,13 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { createRequire } from "node:module";
3
- import { pathToFileURL } from "node:url";
4
- const require2 = createRequire(import.meta.url);
5
- const pkgJsonPath = require2.resolve("@cedarjs/api-server/package.json");
6
- const apiServerPackageJsonFileUrl = pathToFileURL(pkgJsonPath);
7
- const requireFromApiServer = createRequire(apiServerPackageJsonFileUrl);
8
- const bins = requireFromApiServer("./package.json")["bin"];
9
- const apiServerEntryPointUrl = new URL(
10
- bins["cedarjs-api-server-watch"],
11
- apiServerPackageJsonFileUrl
12
- );
13
- import(apiServerEntryPointUrl.toString());
2
+ import { startWatch } from "@cedarjs/api-server/watch";
3
+ await startWatch();
@@ -1,13 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from "node:module";
3
- import { pathToFileURL } from "node:url";
4
- const require2 = createRequire(import.meta.url);
5
- const pkgJsonPath = require2.resolve("@cedarjs/api-server/package.json");
6
- const apiServerPackageJsonFileUrl = pathToFileURL(pkgJsonPath);
7
- const requireFromApiServer = createRequire(apiServerPackageJsonFileUrl);
8
- const bins = requireFromApiServer("./package.json")["bin"];
9
- const apiServerEntryPointUrl = new URL(
10
- bins["rw-api-server-watch"],
11
- apiServerPackageJsonFileUrl
12
- );
13
- import(apiServerEntryPointUrl.toString());
3
+ const createdRequire = createRequire(import.meta.url);
4
+ const { startWatch } = createdRequire("@cedarjs/api-server/watch");
5
+ await startWatch();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/core",
3
- "version": "1.0.1-next.0+5d18bf5dc",
3
+ "version": "1.0.1-next.30+c50602506",
4
4
  "description": "Foundational packages and config required to build CedarJS",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,13 +44,13 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@babel/cli": "7.27.2",
47
- "@cedarjs/api-server": "1.0.1-next.0+5d18bf5dc",
48
- "@cedarjs/cli": "1.0.1-next.0+5d18bf5dc",
49
- "@cedarjs/eslint-config": "1.0.1-next.0+5d18bf5dc",
50
- "@cedarjs/internal": "1.0.1-next.0+5d18bf5dc",
51
- "@cedarjs/project-config": "1.0.1-next.0+5d18bf5dc",
52
- "@cedarjs/testing": "1.0.1-next.0+5d18bf5dc",
53
- "@cedarjs/web-server": "1.0.1-next.0+5d18bf5dc",
47
+ "@cedarjs/api-server": "1.0.1-next.30+c50602506",
48
+ "@cedarjs/cli": "1.0.1-next.30+c50602506",
49
+ "@cedarjs/eslint-config": "1.0.1-next.30+c50602506",
50
+ "@cedarjs/internal": "1.0.1-next.30+c50602506",
51
+ "@cedarjs/project-config": "1.0.1-next.30+c50602506",
52
+ "@cedarjs/testing": "1.0.1-next.30+c50602506",
53
+ "@cedarjs/web-server": "1.0.1-next.30+c50602506",
54
54
  "graphql-tag": "2.12.6",
55
55
  "lodash": "4.17.21",
56
56
  "nodemon": "3.1.10",
@@ -59,7 +59,7 @@
59
59
  "typescript": "5.9.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@cedarjs/framework-tools": "1.0.1-next.1",
62
+ "@cedarjs/framework-tools": "1.0.1-next.30",
63
63
  "@types/lodash": "4.17.20",
64
64
  "publint": "0.3.12",
65
65
  "tsx": "4.20.5"
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "5d18bf5dc354ad0d1446e8cc45fcad3d08cad5e7"
70
+ "gitHead": "c50602506f5c30e6a31561bed1dadd87569fbd45"
71
71
  }