@cedarjs/web-server 4.0.1-next.0 → 4.1.0-rc.70

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.
Files changed (2) hide show
  1. package/dist/bin.js +1 -7
  2. 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
- var [scriptName] = Object.keys(bin);
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.0+006a79e314",
3
+ "version": "4.1.0-rc.70",
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.0+006a79e314",
30
- "@cedarjs/project-config": "4.0.1-next.0+006a79e314",
30
+ "@cedarjs/fastify-web": "4.1.0-rc.70",
31
+ "@cedarjs/project-config": "4.1.0-rc.70",
31
32
  "ansis": "4.2.0",
32
33
  "dotenv-defaults": "5.0.2",
33
- "fastify": "5.8.4",
34
+ "fastify": "5.8.5",
34
35
  "yargs": "17.7.2"
35
36
  },
36
37
  "devDependencies": {
37
- "@cedarjs/framework-tools": "4.0.1-next.1",
38
+ "@cedarjs/framework-tools": "4.1.0-rc.70",
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": "006a79e314ffa914671658f8e733fad4fc2cb09e"
48
+ "gitHead": "f41feef599090c00c32593f248b78624dd1e58d2"
48
49
  }