react-cosmos 6.2.4-canary.a9d2ab9.0 → 6.2.4-canary.b5c8a03.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/config.schema.json +14 -3
- package/dist/corePlugins/fixtureWatcherPlugin.js +9 -7
- package/dist/cosmosConfig/createCosmosConfig.js +3 -3
- package/dist/cosmosConfig/shared.d.ts +3 -1
- package/dist/cosmosConfig/types.d.ts +4 -2
- package/dist/devServer/httpServer.d.ts +1 -1
- package/dist/devServer/httpServer.js +7 -8
- package/dist/getFixtures/getFixtures.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/shared/playgroundUrl.js +3 -3
- package/dist/shared/webSocketUrl.d.ts +2 -0
- package/dist/shared/webSocketUrl.js +22 -0
- package/dist/static/index.html +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/userModules/userImportsLazyTemplate.js +4 -3
- package/dist/userModules/userImportsTemplate.js +4 -3
- package/package.json +5 -5
package/config.schema.json
CHANGED
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"description": "Expose user imports and config required for the Cosmos renderer. Used with React Native and in custom integrations. When a path is specified it requires a file extension (eg. \"src/cosmos.imports.ts\"). [default: false]",
|
|
72
72
|
"anyOf": [{ "type": "string", "minLength": 1 }, { "type": "boolean" }]
|
|
73
73
|
},
|
|
74
|
-
"
|
|
75
|
-
"description": "Dev server
|
|
74
|
+
"host": {
|
|
75
|
+
"description": "Dev server host. Set to null to accept connections from any address that reaches the server. [default: null]",
|
|
76
76
|
"anyOf": [{ "type": "string", "minLength": 1 }, { "type": "null" }]
|
|
77
77
|
},
|
|
78
78
|
"port": {
|
|
@@ -216,12 +216,23 @@
|
|
|
216
216
|
"type": "object",
|
|
217
217
|
"additionalProperties": true,
|
|
218
218
|
"properties": {
|
|
219
|
+
"rendererPreview": {
|
|
220
|
+
"description": "Options for the renderer preview UI plugin.",
|
|
221
|
+
"type": "object",
|
|
222
|
+
"additionalProperties": false,
|
|
223
|
+
"properties": {
|
|
224
|
+
"backgroundColor": {
|
|
225
|
+
"description": "Background color of the iframe preview. [default: \"#fff\"]",
|
|
226
|
+
"type": "string"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
},
|
|
219
230
|
"responsivePreview": {
|
|
220
231
|
"type": "object",
|
|
221
232
|
"additionalProperties": false,
|
|
222
233
|
"properties": {
|
|
223
234
|
"devices": {
|
|
224
|
-
"description": "List of device viewports",
|
|
235
|
+
"description": "List of device viewports.",
|
|
225
236
|
"type": "array",
|
|
226
237
|
"items": {
|
|
227
238
|
"type": "object",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import fs from 'node:fs/promises';
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import { pickRendererUrl, } from 'react-cosmos-core';
|
|
4
|
-
import { getPlaygroundUrl } from '../shared/playgroundUrl.js';
|
|
5
4
|
import { updateFixtureListCache } from '../shared/serverFixtureList.js';
|
|
5
|
+
import { getWebSocketUrl } from '../shared/webSocketUrl.js';
|
|
6
6
|
import { findUserModulePaths } from '../userModules/findUserModulePaths.js';
|
|
7
7
|
import { startFixtureWatcher } from '../userModules/fixtureWatcher.js';
|
|
8
8
|
import { generateUserImports } from '../userModules/generateUserImports.js';
|
|
@@ -13,13 +13,13 @@ export const fixtureWatcherPlugin = {
|
|
|
13
13
|
const exposeImports = shouldExposeImports(platform, cosmosConfig);
|
|
14
14
|
if (exposeImports) {
|
|
15
15
|
const modulePaths = await findUserModulePaths(cosmosConfig);
|
|
16
|
-
await generateImportsFile(cosmosConfig, 'dev', modulePaths);
|
|
16
|
+
await generateImportsFile(platform, cosmosConfig, 'dev', modulePaths);
|
|
17
17
|
}
|
|
18
18
|
const watcher = await startFixtureWatcher(cosmosConfig, 'all', async () => {
|
|
19
19
|
const modulePaths = await findUserModulePaths(cosmosConfig);
|
|
20
20
|
updateFixtureListCache(cosmosConfig.rootDir, modulePaths.fixturePaths);
|
|
21
21
|
if (exposeImports) {
|
|
22
|
-
generateImportsFile(cosmosConfig, 'dev', modulePaths);
|
|
22
|
+
generateImportsFile(platform, cosmosConfig, 'dev', modulePaths);
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
return async () => {
|
|
@@ -29,22 +29,24 @@ export const fixtureWatcherPlugin = {
|
|
|
29
29
|
async export({ cosmosConfig }) {
|
|
30
30
|
if (shouldExposeImports('web', cosmosConfig)) {
|
|
31
31
|
const modulePaths = await findUserModulePaths(cosmosConfig);
|
|
32
|
-
await generateImportsFile(cosmosConfig, 'export', modulePaths);
|
|
32
|
+
await generateImportsFile('web', cosmosConfig, 'export', modulePaths);
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
};
|
|
36
36
|
function shouldExposeImports(platform, cosmosConfig) {
|
|
37
37
|
return platform === 'native' || Boolean(cosmosConfig.exposeImports);
|
|
38
38
|
}
|
|
39
|
-
async function generateImportsFile(cosmosConfig, command, modulePaths) {
|
|
39
|
+
async function generateImportsFile(platform, cosmosConfig, command, modulePaths) {
|
|
40
40
|
const { exposeImports } = cosmosConfig;
|
|
41
41
|
const filePath = typeof exposeImports === 'string'
|
|
42
42
|
? exposeImports
|
|
43
43
|
: getDefaultFilePath(cosmosConfig.rootDir);
|
|
44
44
|
const typeScript = /\.tsx?$/.test(filePath);
|
|
45
45
|
const rendererConfig = {
|
|
46
|
-
|
|
47
|
-
rendererUrl:
|
|
46
|
+
webSocketUrl: getWebSocketUrl(cosmosConfig, platform === 'native'),
|
|
47
|
+
rendererUrl: platform === 'web'
|
|
48
|
+
? pickRendererUrl(cosmosConfig.rendererUrl, command)
|
|
49
|
+
: null,
|
|
48
50
|
};
|
|
49
51
|
const fileSource = generateUserImports({
|
|
50
52
|
cosmosConfig,
|
|
@@ -12,7 +12,7 @@ export function createCosmosConfig(rootDir, cosmosConfigInput = {}) {
|
|
|
12
12
|
fixtureFileSuffix: getFixtureFileSuffix(cosmosConfigInput),
|
|
13
13
|
fixturesDir: getFixturesDir(cosmosConfigInput),
|
|
14
14
|
globalImports: getGlobalImports(cosmosConfigInput, rootDir),
|
|
15
|
-
|
|
15
|
+
host: getHost(cosmosConfigInput),
|
|
16
16
|
https: getHttps(cosmosConfigInput),
|
|
17
17
|
httpsOptions: getHttpsOptions(cosmosConfigInput, rootDir),
|
|
18
18
|
ignore: getIgnore(cosmosConfigInput),
|
|
@@ -76,8 +76,8 @@ function getExposeImports(cosmosConfigInput, rootDir) {
|
|
|
76
76
|
? path.resolve(rootDir, exposeImports)
|
|
77
77
|
: exposeImports;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
return hostname;
|
|
79
|
+
function getHost({ host = null, hostname = null }) {
|
|
80
|
+
return host ?? hostname;
|
|
81
81
|
}
|
|
82
82
|
function getPort(cosmosConfigInput) {
|
|
83
83
|
const cliArgs = getCliArgs();
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export declare function getCurrentDir(): string;
|
|
2
|
-
export declare function importConfigFile(cosmosConfigPath: string): Promise<Partial<import("./types.js").CosmosConfig
|
|
2
|
+
export declare function importConfigFile(cosmosConfigPath: string): Promise<Partial<import("./types.js").CosmosConfig & {
|
|
3
|
+
hostname: null | string;
|
|
4
|
+
}>>;
|
|
@@ -15,7 +15,7 @@ export type CosmosConfig = {
|
|
|
15
15
|
fixtureFileSuffix: string;
|
|
16
16
|
fixturesDir: string;
|
|
17
17
|
globalImports: string[];
|
|
18
|
-
|
|
18
|
+
host: null | string;
|
|
19
19
|
https: boolean;
|
|
20
20
|
httpsOptions: null | HttpsOptions;
|
|
21
21
|
ignore: string[];
|
|
@@ -34,5 +34,7 @@ export type CosmosConfig = {
|
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
export type CosmosDomConfigInput = Partial<CosmosDomConfig>;
|
|
37
|
-
export type CosmosConfigInput = Partial<CosmosConfig
|
|
37
|
+
export type CosmosConfigInput = Partial<CosmosConfig & {
|
|
38
|
+
hostname: null | string;
|
|
39
|
+
}>;
|
|
38
40
|
export {};
|
|
@@ -2,7 +2,7 @@ import http from 'http';
|
|
|
2
2
|
import https from 'https';
|
|
3
3
|
import { CosmosConfig } from '../cosmosConfig/types.js';
|
|
4
4
|
type RequestListener = (request: http.IncomingMessage, response: http.ServerResponse) => void;
|
|
5
|
-
export declare function createHttpServer(
|
|
5
|
+
export declare function createHttpServer(config: CosmosConfig, requestListener: RequestListener): Promise<{
|
|
6
6
|
server: http.Server<typeof http.IncomingMessage, typeof http.ServerResponse> | https.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;
|
|
7
7
|
start: () => Promise<void>;
|
|
8
8
|
stop: () => Promise<void>;
|
|
@@ -3,21 +3,20 @@ import http from 'http';
|
|
|
3
3
|
import https from 'https';
|
|
4
4
|
import pem from 'pem';
|
|
5
5
|
import { getPlaygroundUrl } from '../shared/playgroundUrl.js';
|
|
6
|
-
export async function createHttpServer(
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
? https.createServer(await getHttpsOpts(cosmosConfig), requestListener)
|
|
6
|
+
export async function createHttpServer(config, requestListener) {
|
|
7
|
+
const server = config.https
|
|
8
|
+
? https.createServer(await getHttpsOpts(config), requestListener)
|
|
10
9
|
: http.createServer(requestListener);
|
|
11
10
|
async function start() {
|
|
12
11
|
await new Promise(resolve => {
|
|
13
|
-
if (
|
|
14
|
-
server.listen(port, resolve);
|
|
12
|
+
if (config.host === null) {
|
|
13
|
+
server.listen(config.port, resolve);
|
|
15
14
|
}
|
|
16
15
|
else {
|
|
17
|
-
server.listen(port,
|
|
16
|
+
server.listen(config.port, config.host, resolve);
|
|
18
17
|
}
|
|
19
18
|
});
|
|
20
|
-
console.log(`[Cosmos] See you at ${getPlaygroundUrl(
|
|
19
|
+
console.log(`[Cosmos] See you at ${getPlaygroundUrl(config)}`);
|
|
21
20
|
}
|
|
22
21
|
async function stop() {
|
|
23
22
|
await new Promise(resolve => server.close(resolve));
|
|
@@ -45,7 +45,7 @@ function getFlatFixtureTree(cosmosConfig, fixtures) {
|
|
|
45
45
|
}
|
|
46
46
|
function getPlaygroundFixtureUrl(cosmosConfig, fixtureId) {
|
|
47
47
|
const baseUrl = getPlaygroundUrl(cosmosConfig);
|
|
48
|
-
const query = buildPlaygroundQueryString({ fixtureId });
|
|
48
|
+
const query = buildPlaygroundQueryString({ fixture: fixtureId });
|
|
49
49
|
return `${baseUrl}/${query}`;
|
|
50
50
|
}
|
|
51
51
|
function createFixtureElementGetter(fixture, fixtureOptions, fixturePath, decoratorsByPath) {
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './getFixtures/getFixtures.js';
|
|
|
10
10
|
export * from './shared/findNextAvailablePort.js';
|
|
11
11
|
export * from './shared/playgroundUrl.js';
|
|
12
12
|
export * from './shared/staticServer.js';
|
|
13
|
+
export * from './shared/webSocketUrl.js';
|
|
13
14
|
export * from './testHelpers/cwd.js';
|
|
14
15
|
export * from './userModules/findUserModulePaths.js';
|
|
15
16
|
export * from './userModules/fixtureWatcher.js';
|
package/dist/index.js
CHANGED
|
@@ -9,6 +9,7 @@ export * from './getFixtures/getFixtures.js';
|
|
|
9
9
|
export * from './shared/findNextAvailablePort.js';
|
|
10
10
|
export * from './shared/playgroundUrl.js';
|
|
11
11
|
export * from './shared/staticServer.js';
|
|
12
|
+
export * from './shared/webSocketUrl.js';
|
|
12
13
|
export * from './testHelpers/cwd.js';
|
|
13
14
|
export * from './userModules/findUserModulePaths.js';
|
|
14
15
|
export * from './userModules/fixtureWatcher.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function getPlaygroundUrl(cosmosConfig) {
|
|
2
|
-
const {
|
|
2
|
+
const { host, port, https: httpsEnabled } = cosmosConfig;
|
|
3
3
|
const protocol = httpsEnabled ? 'https' : 'http';
|
|
4
|
-
const
|
|
5
|
-
return `${protocol}://${
|
|
4
|
+
const hostDisplay = host || 'localhost';
|
|
5
|
+
return `${protocol}://${hostDisplay}:${port}`;
|
|
6
6
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as os from 'node:os';
|
|
2
|
+
export function getWebSocketUrl(config, ipAddress) {
|
|
3
|
+
const protocol = config.https ? 'wss' : 'ws';
|
|
4
|
+
const host = config.host ?? (ipAddress ? getIpAddress() : 'localhost');
|
|
5
|
+
return `${protocol}://${host}:${config.port}`;
|
|
6
|
+
}
|
|
7
|
+
function getIpAddress() {
|
|
8
|
+
const nets = os.networkInterfaces();
|
|
9
|
+
for (const name of Object.keys(nets)) {
|
|
10
|
+
if (nets[name]) {
|
|
11
|
+
for (const net of nets[name]) {
|
|
12
|
+
// Skip over non-IPv4 and internal (i.e. 127.0.0.1) addresses
|
|
13
|
+
// 'IPv4' is in Node <= 17, from 18 it's a number 4 or 6
|
|
14
|
+
const familyV4Value = typeof net.family === 'string' ? 'IPv4' : 4;
|
|
15
|
+
if (net.family === familyV4Value && !net.internal) {
|
|
16
|
+
return net.address;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return '127.0.0.1';
|
|
22
|
+
}
|
package/dist/static/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<meta
|
|
6
6
|
name="viewport"
|
|
7
|
-
content="width=device-width, initial-scale=1,
|
|
7
|
+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
|
8
8
|
/>
|
|
9
9
|
<title>React Cosmos</title>
|
|
10
10
|
<link rel="icon" href="_cosmos.ico" />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../src/client.ts","../src/index.ts","../src/vitest.ts","../src/@types/launch-editor.d.ts","../src/@types/mdx.d.ts","../src/@types/yargs.d.ts","../src/corePlugins/fixtureWatcherPlugin.ts","../src/corePlugins/fixturesJsonPlugin.ts","../src/corePlugins/httpProxyPlugin.ts","../src/corePlugins/index.ts","../src/corePlugins/openFilePlugin.ts","../src/corePlugins/pluginEndpointPlugin.ts","../src/corePlugins/portRetryPlugin.ts","../src/cosmosConfig/createCosmosConfig.ts","../src/cosmosConfig/detectCosmosConfig.ts","../src/cosmosConfig/getCosmosConfigAtPath.ts","../src/cosmosConfig/shared.ts","../src/cosmosConfig/types.ts","../src/cosmosPlugin/findCosmosPluginConfigs.ts","../src/cosmosPlugin/pluginConfigs.ts","../src/cosmosPlugin/readCosmosPluginConfig.ts","../src/cosmosPlugin/types.ts","../src/devServer/expressApp.ts","../src/devServer/httpServer.ts","../src/devServer/messageHandler.ts","../src/devServer/startDevServer.ts","../src/export/generateExport.ts","../src/getFixtures/getFixtures.ts","../src/getFixtures/importUserModules.ts","../src/shared/applyServerConfigPlugins.ts","../src/shared/findNextAvailablePort.ts","../src/shared/getServerPlugins.ts","../src/shared/importServerPlugins.ts","../src/shared/logPluginInfo.ts","../src/shared/playgroundHtml.ts","../src/shared/playgroundUrl.ts","../src/shared/serverFixtureList.ts","../src/shared/staticPath.ts","../src/shared/staticServer.ts","../src/userModules/findUserModulePaths.ts","../src/userModules/fixtureWatcher.ts","../src/userModules/generateUserImports.ts","../src/userModules/shared.ts","../src/userModules/userImportsLazyTemplate.ts","../src/userModules/userImportsTemplate.ts","../src/utils/cli.ts","../src/utils/findUp.ts","../src/utils/fs.ts","../src/utils/isNodeError.ts","../src/utils/json.ts","../src/utils/requireModule.ts","../src/utils/resolve.ts","../src/utils/resolveLoose.ts","../src/utils/resolveSilent.ts","../src/utils/slash.ts"],"version":"5.7.
|
|
1
|
+
{"root":["../src/client.ts","../src/index.ts","../src/vitest.ts","../src/@types/launch-editor.d.ts","../src/@types/mdx.d.ts","../src/@types/yargs.d.ts","../src/corePlugins/fixtureWatcherPlugin.ts","../src/corePlugins/fixturesJsonPlugin.ts","../src/corePlugins/httpProxyPlugin.ts","../src/corePlugins/index.ts","../src/corePlugins/openFilePlugin.ts","../src/corePlugins/pluginEndpointPlugin.ts","../src/corePlugins/portRetryPlugin.ts","../src/cosmosConfig/createCosmosConfig.ts","../src/cosmosConfig/detectCosmosConfig.ts","../src/cosmosConfig/getCosmosConfigAtPath.ts","../src/cosmosConfig/shared.ts","../src/cosmosConfig/types.ts","../src/cosmosPlugin/findCosmosPluginConfigs.ts","../src/cosmosPlugin/pluginConfigs.ts","../src/cosmosPlugin/readCosmosPluginConfig.ts","../src/cosmosPlugin/types.ts","../src/devServer/expressApp.ts","../src/devServer/httpServer.ts","../src/devServer/messageHandler.ts","../src/devServer/startDevServer.ts","../src/export/generateExport.ts","../src/getFixtures/getFixtures.ts","../src/getFixtures/importUserModules.ts","../src/shared/applyServerConfigPlugins.ts","../src/shared/findNextAvailablePort.ts","../src/shared/getServerPlugins.ts","../src/shared/importServerPlugins.ts","../src/shared/logPluginInfo.ts","../src/shared/playgroundHtml.ts","../src/shared/playgroundUrl.ts","../src/shared/serverFixtureList.ts","../src/shared/staticPath.ts","../src/shared/staticServer.ts","../src/shared/webSocketUrl.ts","../src/userModules/findUserModulePaths.ts","../src/userModules/fixtureWatcher.ts","../src/userModules/generateUserImports.ts","../src/userModules/shared.ts","../src/userModules/userImportsLazyTemplate.ts","../src/userModules/userImportsTemplate.ts","../src/utils/cli.ts","../src/utils/findUp.ts","../src/utils/fs.ts","../src/utils/isNodeError.ts","../src/utils/json.ts","../src/utils/requireModule.ts","../src/utils/resolve.ts","../src/utils/resolveLoose.ts","../src/utils/resolveSilent.ts","../src/utils/slash.ts"],"version":"5.7.3"}
|
|
@@ -19,12 +19,13 @@ export function userImportsLazyTemplate({ globalImports, modulePaths: { fixtureP
|
|
|
19
19
|
let importGroups = [globalImportItems];
|
|
20
20
|
if (typeScript) {
|
|
21
21
|
importGroups.unshift([
|
|
22
|
-
`import { RendererConfig, UserModuleWrappers } from 'react-cosmos-core';`,
|
|
22
|
+
`import type { RendererConfig, UserModuleWrappers } from 'react-cosmos-core';`,
|
|
23
23
|
]);
|
|
24
24
|
}
|
|
25
25
|
return `
|
|
26
|
-
// This file is
|
|
27
|
-
//
|
|
26
|
+
// NOTE: This file is auto-generated by React Cosmos.
|
|
27
|
+
// It imports all fixture and decorator modules, making them available to the
|
|
28
|
+
// React Cosmos renderer along with the renderer config.
|
|
28
29
|
${importsStr(importGroups)}
|
|
29
30
|
export const rendererConfig${ts(': RendererConfig')} = ${rendererConfigStr};
|
|
30
31
|
|
|
@@ -21,12 +21,13 @@ export function userImportsTemplate({ globalImports, modulePaths: { fixturePaths
|
|
|
21
21
|
let importGroups = [globalImportItems, fixtureImports, decoratorImports];
|
|
22
22
|
if (typeScript) {
|
|
23
23
|
importGroups.unshift([
|
|
24
|
-
`import { RendererConfig, UserModuleWrappers } from 'react-cosmos-core';`,
|
|
24
|
+
`import type { RendererConfig, UserModuleWrappers } from 'react-cosmos-core';`,
|
|
25
25
|
]);
|
|
26
26
|
}
|
|
27
27
|
return `
|
|
28
|
-
// This file is
|
|
29
|
-
//
|
|
28
|
+
// NOTE: This file is auto-generated by React Cosmos.
|
|
29
|
+
// It imports all fixture and decorator modules, making them available to the
|
|
30
|
+
// React Cosmos renderer along with the renderer config.
|
|
30
31
|
${importsStr(importGroups)}
|
|
31
32
|
export const rendererConfig${ts(': RendererConfig')} = ${rendererConfigStr};
|
|
32
33
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-cosmos",
|
|
3
|
-
"version": "6.2.4-canary.
|
|
3
|
+
"version": "6.2.4-canary.b5c8a03.0+b5c8a03",
|
|
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.8",
|
|
17
17
|
"open": "10.1.0",
|
|
18
18
|
"pem": "1.15.1",
|
|
19
|
-
"react-cosmos-core": "6.2.4-canary.
|
|
20
|
-
"react-cosmos-renderer": "6.2.4-canary.
|
|
21
|
-
"react-cosmos-ui": "6.2.4-canary.
|
|
19
|
+
"react-cosmos-core": "6.2.4-canary.b5c8a03.0+b5c8a03",
|
|
20
|
+
"react-cosmos-renderer": "6.2.4-canary.b5c8a03.0+b5c8a03",
|
|
21
|
+
"react-cosmos-ui": "6.2.4-canary.b5c8a03.0+b5c8a03",
|
|
22
22
|
"ws": "8.18.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": "b5c8a035146467474bb975c2ae92f7b1631731c0"
|
|
31
31
|
}
|