@cedarjs/core 1.0.1-next.0 → 1.1.0-rc.33
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 {
|
|
3
|
-
|
|
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
|
-
|
|
4
|
-
const
|
|
5
|
-
|
|
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
|
|
3
|
+
"version": "1.1.0-rc.33",
|
|
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
|
|
48
|
-
"@cedarjs/cli": "1.0
|
|
49
|
-
"@cedarjs/eslint-config": "1.0
|
|
50
|
-
"@cedarjs/internal": "1.0
|
|
51
|
-
"@cedarjs/project-config": "1.0
|
|
52
|
-
"@cedarjs/testing": "1.0
|
|
53
|
-
"@cedarjs/web-server": "1.0
|
|
47
|
+
"@cedarjs/api-server": "1.1.0-rc.33",
|
|
48
|
+
"@cedarjs/cli": "1.1.0-rc.33",
|
|
49
|
+
"@cedarjs/eslint-config": "1.1.0-rc.33",
|
|
50
|
+
"@cedarjs/internal": "1.1.0-rc.33",
|
|
51
|
+
"@cedarjs/project-config": "1.1.0-rc.33",
|
|
52
|
+
"@cedarjs/testing": "1.1.0-rc.33",
|
|
53
|
+
"@cedarjs/web-server": "1.1.0-rc.33",
|
|
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
|
|
62
|
+
"@cedarjs/framework-tools": "1.1.0-rc.33",
|
|
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": "
|
|
70
|
+
"gitHead": "86cce410c6f5611663ebcdb11df912f35d0b17fb"
|
|
71
71
|
}
|