@cedarjs/web-server 4.0.1-next.0 → 4.0.1-next.67
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/dist/bin.js +1 -7
- package/package.json +7 -6
package/dist/bin.js
CHANGED
|
@@ -100,11 +100,6 @@ var import_helpers = require("yargs/helpers");
|
|
|
100
100
|
var import_yargs = __toESM(require("yargs/yargs"));
|
|
101
101
|
var import_project_config2 = require("@cedarjs/project-config");
|
|
102
102
|
|
|
103
|
-
// package.json
|
|
104
|
-
var bin = {
|
|
105
|
-
"rw-web-server": "./dist/bin.js"
|
|
106
|
-
};
|
|
107
|
-
|
|
108
103
|
// src/cliConfig.ts
|
|
109
104
|
var description = "Start a server for serving the web side";
|
|
110
105
|
function builder(yargs2) {
|
|
@@ -142,8 +137,7 @@ if (!process.env.CEDAR_ENV_FILES_LOADED) {
|
|
|
142
137
|
process.env.CEDAR_ENV_FILES_LOADED = "true";
|
|
143
138
|
}
|
|
144
139
|
process.env.NODE_ENV ??= "production";
|
|
145
|
-
|
|
146
|
-
(0, import_yargs.default)((0, import_helpers.hideBin)(process.argv)).scriptName(scriptName).alias("h", "help").alias("v", "version").strict().example(
|
|
140
|
+
(0, import_yargs.default)((0, import_helpers.hideBin)(process.argv)).scriptName("cedar-web-server").alias("h", "help").alias("v", "version").strict().example(
|
|
147
141
|
"yarn $0 --api-url=/api --api-proxy-target=https://api.redwood.horse",
|
|
148
142
|
"Start the web server and proxy requests made to '/api' to 'https://api.redwood.horse'"
|
|
149
143
|
).example(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/web-server",
|
|
3
|
-
"version": "4.0.1-next.
|
|
3
|
+
"version": "4.0.1-next.67+ad97a60c79",
|
|
4
4
|
"description": "CedarJS's server for the Web side",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"main": "./dist/cliConfig.js",
|
|
13
13
|
"types": "./dist/cliConfig.d.ts",
|
|
14
14
|
"bin": {
|
|
15
|
+
"cedar-web-server": "./dist/bin.js",
|
|
15
16
|
"rw-web-server": "./dist/bin.js"
|
|
16
17
|
},
|
|
17
18
|
"files": [
|
|
@@ -26,15 +27,15 @@
|
|
|
26
27
|
"prepublishOnly": "NODE_ENV=production yarn build"
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@cedarjs/fastify-web": "4.0.1-next.
|
|
30
|
-
"@cedarjs/project-config": "4.0.1-next.
|
|
30
|
+
"@cedarjs/fastify-web": "4.0.1-next.67+ad97a60c79",
|
|
31
|
+
"@cedarjs/project-config": "4.0.1-next.67+ad97a60c79",
|
|
31
32
|
"ansis": "4.2.0",
|
|
32
33
|
"dotenv-defaults": "5.0.2",
|
|
33
|
-
"fastify": "5.8.
|
|
34
|
+
"fastify": "5.8.5",
|
|
34
35
|
"yargs": "17.7.2"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"@cedarjs/framework-tools": "4.0.1-next.
|
|
38
|
+
"@cedarjs/framework-tools": "4.0.1-next.67",
|
|
38
39
|
"tsx": "4.21.0",
|
|
39
40
|
"typescript": "5.9.3"
|
|
40
41
|
},
|
|
@@ -44,5 +45,5 @@
|
|
|
44
45
|
"publishConfig": {
|
|
45
46
|
"access": "public"
|
|
46
47
|
},
|
|
47
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "ad97a60c793c21b3263b4178e339d89406f7a7a3"
|
|
48
49
|
}
|