remix 1.2.3-pre.1 → 1.3.0-pre.3
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/esm/index.js +11 -2
- package/index.d.ts +3 -0
- package/index.js +13 -2
- package/package.json +2 -5
package/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* remix v1.
|
|
2
|
+
* remix v1.3.0-pre.3
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -8,4 +8,13 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @license MIT
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
// This class exists to prevent https://github.com/remix-run/remix/issues/2031 from occuring
|
|
12
|
+
class RemixNotSetupError extends Error {
|
|
13
|
+
constructor() {
|
|
14
|
+
super("Did you forget to run `remix setup` for your platform?");
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
throw new RemixNotSetupError();
|
|
19
|
+
|
|
20
|
+
export { RemixNotSetupError };
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* remix v1.
|
|
2
|
+
* remix v1.3.0-pre.3
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -10,4 +10,15 @@
|
|
|
10
10
|
*/
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
14
|
+
|
|
15
|
+
// This class exists to prevent https://github.com/remix-run/remix/issues/2031 from occuring
|
|
16
|
+
class RemixNotSetupError extends Error {
|
|
17
|
+
constructor() {
|
|
18
|
+
super("Did you forget to run `remix setup` for your platform?");
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
throw new RemixNotSetupError();
|
|
23
|
+
|
|
24
|
+
exports.RemixNotSetupError = RemixNotSetupError;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remix",
|
|
3
3
|
"description": "A framework for building better websites",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0-pre.3",
|
|
5
5
|
"homepage": "https://remix.run",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -14,8 +14,5 @@
|
|
|
14
14
|
},
|
|
15
15
|
"main": "index.js",
|
|
16
16
|
"module": "esm/index.js",
|
|
17
|
-
"sideEffects": false
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"fs-extra": "^10.0.0"
|
|
20
|
-
}
|
|
17
|
+
"sideEffects": false
|
|
21
18
|
}
|