@remix-run/serve 1.0.6 → 1.1.0

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/cli.d.ts CHANGED
@@ -1 +1 @@
1
- export {};
1
+ import "./env";
package/cli.js CHANGED
@@ -1,6 +1,6 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
  /**
3
- * @remix-run/serve v1.0.6
3
+ * @remix-run/serve v1.1.0
4
4
  *
5
5
  * Copyright (c) Remix Software Inc.
6
6
  *
@@ -11,6 +11,7 @@
11
11
  */
12
12
  'use strict';
13
13
 
14
+ require('./env');
14
15
  var path = require('path');
15
16
  var index = require('./index');
16
17
 
@@ -18,7 +19,6 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
18
19
 
19
20
  var path__default = /*#__PURE__*/_interopDefaultLegacy(path);
20
21
 
21
- process.env.NODE_ENV = "production";
22
22
  let port = process.env.PORT || 3000;
23
23
  let buildPathArg = process.argv[2];
24
24
 
package/env.d.ts ADDED
File without changes
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @remix-run/serve v1.0.6
2
+ * @remix-run/serve v1.1.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@remix-run/serve",
3
3
  "description": "Production application server for Remix",
4
- "version": "1.0.6",
4
+ "version": "1.1.0",
5
+ "license": "MIT",
5
6
  "repository": {
6
7
  "type": "git",
7
8
  "url": "https://github.com/remix-run/remix",
@@ -14,7 +15,7 @@
14
15
  "remix-serve": "cli.js"
15
16
  },
16
17
  "dependencies": {
17
- "@remix-run/express": "1.0.6",
18
+ "@remix-run/express": "1.1.0",
18
19
  "compression": "^1.7.4",
19
20
  "express": "^4.17.1",
20
21
  "morgan": "^1.10.0"