react-cosmos 6.0.0 → 6.0.1-canary.15ea229.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/README.md +1 -1
- package/dist/corePlugins/openFilePlugin.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
</p>
|
|
5
5
|
|
|
6
6
|
<p align="center">
|
|
7
|
-
<a aria-label="npm version" href="https://www.npmjs.com/package/react-cosmos"><img src="https://img.shields.io/npm/v/react-cosmos
|
|
7
|
+
<a aria-label="npm version" href="https://www.npmjs.com/package/react-cosmos"><img src="https://img.shields.io/npm/v/react-cosmos.svg?style=flat&colorA=000000&colorB=000000" alt="" /></a>
|
|
8
8
|
<a aria-label="CI Status" href="https://github.com/react-cosmos/react-cosmos/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/react-cosmos/react-cosmos/test.yml?branch=main&style=flat&colorA=000000&colorB=000000" alt="" /></a>
|
|
9
9
|
<a aria-label="Codecov" href="https://app.codecov.io/gh/react-cosmos/react-cosmos"><img src="https://img.shields.io/codecov/c/github/react-cosmos/react-cosmos?colorA=000000&colorB=000000" alt="" /></a>
|
|
10
10
|
<a aria-label="Twitter" href="https://twitter.com/ReactCosmos"><img src="https://img.shields.io/badge/twitter-follow-%2300acee?colorA=000000&colorB=000000" alt="" /></a>
|
|
@@ -47,7 +47,7 @@ function getReqQuery(req) {
|
|
|
47
47
|
function resolveFilePath(rootDir, filePath) {
|
|
48
48
|
// This heuristic is needed because the open file endpoint is used for
|
|
49
49
|
// multiple applications, which provide different file path types:
|
|
50
|
-
// 1.
|
|
50
|
+
// 1. Open fixture source button: Sends path relative to Cosmos rootDir
|
|
51
51
|
// 2. react-error-overlay runtime error: Sends absolute path
|
|
52
52
|
// 3. react-error-overlay compile error: Sends path relative to CWD
|
|
53
53
|
if (path.isAbsolute(filePath)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-cosmos",
|
|
3
|
-
"version": "6.0.0",
|
|
3
|
+
"version": "6.0.1-canary.15ea229.0+15ea229",
|
|
4
4
|
"description": "Sandbox for developing and testing UI components in isolation",
|
|
5
5
|
"repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"micromatch": "4.0.5",
|
|
17
17
|
"open": "8.4.2",
|
|
18
18
|
"pem": "1.14.8",
|
|
19
|
-
"react-cosmos-core": "
|
|
20
|
-
"react-cosmos-renderer": "
|
|
21
|
-
"react-cosmos-ui": "
|
|
19
|
+
"react-cosmos-core": "6.0.1-canary.15ea229.0+15ea229",
|
|
20
|
+
"react-cosmos-renderer": "6.0.1-canary.15ea229.0+15ea229",
|
|
21
|
+
"react-cosmos-ui": "6.0.1-canary.15ea229.0+15ea229",
|
|
22
22
|
"ws": "8.16.0",
|
|
23
23
|
"yargs": "17.7.2"
|
|
24
24
|
},
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"cosmos-export": "./bin/cosmos-export.js",
|
|
28
28
|
"cosmos-native": "./bin/cosmos-native.js"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "15ea22982db1f4b7f868c629f679fd5918f33be3"
|
|
31
31
|
}
|