react-cosmos 6.0.0-beta.1 → 6.0.0-beta.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/README.md +37 -3
- package/config.schema.json +5 -5
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,7 +1,41 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<a href="https://reactcosmos.org"><img alt="Cosmos" width="150" height="150" src="
|
|
2
|
+
<a href="https://reactcosmos.org"><img alt="Cosmos" width="150" height="150" src="/cosmos.png"></a>
|
|
3
|
+
<h1 align="center">React Cosmos</h1>
|
|
3
4
|
</p>
|
|
4
5
|
|
|
5
|
-
|
|
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/next.svg?style=flat" alt="" /></a>
|
|
8
|
+
<a aria-label="CI Status" href="https://github.com/react-cosmos/react-cosmos/actions/workflows/test.yml"><img src="https://github.com/react-cosmos/react-cosmos/actions/workflows/test.yml/badge.svg" alt="" /></a>
|
|
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" alt="" /></a>
|
|
10
|
+
<a aria-label="Twitter" href="https://twitter.com/ReactCosmos"><img src="https://img.shields.io/badge/twitter-follow-%2300acee" alt="" /></a>
|
|
11
|
+
<a aria-label="Discord" href="https://discord.gg/3X95VgfnW5"><img src="https://img.shields.io/discord/620737684859781150?color=%236D74EF&label=discord" alt="" /></a>
|
|
12
|
+
<a aria-label="PRs Welcome" href="https://github.com/react-cosmos/react-cosmos/blob/main/CONTRIBUTING.md#how-to-contribute"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="" /></a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
## Getting Started
|
|
16
|
+
|
|
17
|
+
Choose one of the [Getting Started](/docs/README.md#getting-started) guides to dive into React Cosmos.
|
|
18
|
+
|
|
19
|
+
> Check out the [Next.js integration](/docs/getting-started/next.md) to get started with React Server Components.
|
|
20
|
+
|
|
21
|
+
Visit [docs/README.md](/docs/README.md) to view the full documentation.
|
|
22
|
+
|
|
23
|
+
## Community
|
|
24
|
+
|
|
25
|
+
To chat with other community members you can join the [React Cosmos Discord](https://discord.gg/3X95VgfnW5).
|
|
26
|
+
|
|
27
|
+
You can also ask questions, voice ideas, and share your projects on [GitHub Discussions](https://github.com/react-cosmos/react-cosmos/discussions).
|
|
28
|
+
|
|
29
|
+
Our [Code of Conduct](/CODE_OF_CONDUCT.md) applies to all React Cosmos community channels.
|
|
30
|
+
|
|
31
|
+
## Contributing
|
|
32
|
+
|
|
33
|
+
Please see our [CONTRIBUTING.md](/CONTRIBUTING.md).
|
|
34
|
+
|
|
35
|
+
[Become a Sponsor](https://github.com/users/skidding/sponsorship) to support the ongoing development of React Cosmos.
|
|
36
|
+
|
|
37
|
+
## Live Demo
|
|
38
|
+
|
|
39
|
+
Visit [reactcosmos.org/demo/](https://reactcosmos.org/demo/) for a live demo of React Cosmos.
|
|
6
40
|
|
|
7
|
-
|
|
41
|
+
[](https://reactcosmos.org/demo/)
|
package/config.schema.json
CHANGED
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
"minLength": 1
|
|
12
12
|
},
|
|
13
13
|
"exportPath": {
|
|
14
|
-
"description": "
|
|
14
|
+
"description": "Output directory for static exports. [default: \"cosmos-export\"]",
|
|
15
15
|
"type": "string",
|
|
16
16
|
"minLength": 1
|
|
17
17
|
},
|
|
18
18
|
"detectLocalPlugins": {
|
|
19
|
-
"description": "Automatically detect and load local plugins",
|
|
19
|
+
"description": "Automatically detect and load local plugins [default: true].",
|
|
20
20
|
"type": "boolean"
|
|
21
21
|
},
|
|
22
22
|
"disablePlugins": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"type": "string"
|
|
40
40
|
},
|
|
41
41
|
"fixturesDir": {
|
|
42
|
-
"description": "Name for directories that contain
|
|
42
|
+
"description": "Name for directories that contain fixture files (eg. __fixtures__/example.jsx). [default: \"__fixtures__\"]",
|
|
43
43
|
"type": "string",
|
|
44
44
|
"minLength": 1
|
|
45
45
|
},
|
|
@@ -171,11 +171,11 @@
|
|
|
171
171
|
"additionalProperties": false,
|
|
172
172
|
"properties": {
|
|
173
173
|
"configPath": {
|
|
174
|
-
"description": "Path to Vite config. Set to false to disable reading it from the default path. [default: \"vite.config.js\"]",
|
|
174
|
+
"description": "Path to Vite config. Set to false to disable reading it from the default path. [default: \"vite.config.js\" or \"vite.config.ts\"]",
|
|
175
175
|
"anyOf": [{ "type": "string", "minLength": 1 }, { "enum": [false] }]
|
|
176
176
|
},
|
|
177
177
|
"indexPath": {
|
|
178
|
-
"description": "Path to index module (eg. \"src/my-index.tsx\"). [default:
|
|
178
|
+
"description": "Path to index module (eg. \"src/my-index.tsx\"). [default: detects common index/main module paths]",
|
|
179
179
|
"anyOf": [{ "type": "string", "minLength": 1 }, { "type": "null" }]
|
|
180
180
|
},
|
|
181
181
|
"port": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-cosmos",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.3",
|
|
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",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"open": "^8.4.2",
|
|
18
18
|
"pem": "^1.14.7",
|
|
19
19
|
"pkg-up": "^4.0.0",
|
|
20
|
-
"react-cosmos-core": "6.0.0-beta.
|
|
21
|
-
"react-cosmos-renderer": "6.0.0-beta.
|
|
22
|
-
"react-cosmos-ui": "6.0.0-beta.
|
|
20
|
+
"react-cosmos-core": "6.0.0-beta.3",
|
|
21
|
+
"react-cosmos-renderer": "6.0.0-beta.3",
|
|
22
|
+
"react-cosmos-ui": "6.0.0-beta.3",
|
|
23
23
|
"ws": "^8.13.0",
|
|
24
24
|
"yargs": "^17.7.2"
|
|
25
25
|
},
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"cosmos-export": "./bin/cosmos-export.js",
|
|
29
29
|
"cosmos-native": "./bin/cosmos-native.js"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "7f33cc2b818523978ef6c7fe574bf1fd8d15b50a"
|
|
32
32
|
}
|