@remix-run/serve 1.0.4 → 1.1.1
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/README.md +13 -0
- package/cli.d.ts +1 -1
- package/cli.js +3 -3
- package/env.d.ts +0 -0
- package/env.js +13 -0
- package/index.js +1 -1
- package/package.json +11 -3
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Welcome to Remix!
|
|
2
|
+
|
|
3
|
+
[Remix](https://remix.run) is a web framework that helps you build better websites with React.
|
|
4
|
+
|
|
5
|
+
To get started, open a new shell and run:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
$ npx create-remix@latest
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Then follow the prompts you see in your terminal.
|
|
12
|
+
|
|
13
|
+
For more information about Remix, [visit remix.run](https://remix.run)!
|
package/cli.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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.
|
|
3
|
+
* @remix-run/serve v1.1.1
|
|
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/env.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @remix-run/serve v1.1.1
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) Remix Software Inc.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
8
|
+
*
|
|
9
|
+
* @license MIT
|
|
10
|
+
*/
|
|
11
|
+
'use strict';
|
|
12
|
+
|
|
13
|
+
process.env.NODE_ENV = "production";
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remix-run/serve",
|
|
3
3
|
"description": "Production application server for Remix",
|
|
4
|
-
"version": "1.
|
|
5
|
-
"
|
|
4
|
+
"version": "1.1.1",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/remix-run/remix",
|
|
9
|
+
"directory": "packages/remix-serve"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/remix-run/remix/issues"
|
|
13
|
+
},
|
|
6
14
|
"bin": {
|
|
7
15
|
"remix-serve": "cli.js"
|
|
8
16
|
},
|
|
9
17
|
"dependencies": {
|
|
10
|
-
"@remix-run/express": "1.
|
|
18
|
+
"@remix-run/express": "1.1.1",
|
|
11
19
|
"compression": "^1.7.4",
|
|
12
20
|
"express": "^4.17.1",
|
|
13
21
|
"morgan": "^1.10.0"
|