react-cosmos
Advanced tools
Comparing version 6.1.2-canary.8aaf73c.0 to 6.1.2-canary.bdbf4f7.0
@@ -0,1 +1,2 @@ | ||
import { sortBy } from 'lodash-es'; | ||
import fs from 'node:fs/promises'; | ||
@@ -29,13 +30,14 @@ import path from 'node:path'; | ||
const { fixturePaths } = findUserModulePaths(cosmosConfig); | ||
const fixtures = fixturePaths.map(filePath => { | ||
const relPath = importKeyPath(filePath, cosmosConfig.rootDir); | ||
const fixtureId = { path: relPath }; | ||
return { | ||
filePath: relPath, | ||
cleanPath: cleanFixturePath(relPath, fixturesDir, fixtureFileSuffix), | ||
rendererUrl: createRendererUrl(rendererUrl, fixtureId, true), | ||
}; | ||
}); | ||
return { | ||
rendererUrl, | ||
fixtures: fixturePaths.map(filePath => { | ||
const relPath = importKeyPath(filePath, cosmosConfig.rootDir); | ||
const fixtureId = { path: relPath }; | ||
return { | ||
filePath: relPath, | ||
cleanPath: cleanFixturePath(relPath, fixturesDir, fixtureFileSuffix), | ||
rendererUrl: createRendererUrl(rendererUrl, fixtureId, true), | ||
}; | ||
}), | ||
fixtures: sortBy(fixtures, f => f.cleanPath.join('-')), | ||
}; | ||
@@ -42,0 +44,0 @@ } |
{ | ||
"name": "react-cosmos", | ||
"version": "6.1.2-canary.8aaf73c.0+8aaf73c", | ||
"version": "6.1.2-canary.bdbf4f7.0+bdbf4f7", | ||
"description": "Sandbox for developing and testing UI components in isolation", | ||
@@ -19,5 +19,5 @@ "repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos", | ||
"pem": "1.14.8", | ||
"react-cosmos-core": "6.1.2-canary.8aaf73c.0+8aaf73c", | ||
"react-cosmos-renderer": "6.1.2-canary.8aaf73c.0+8aaf73c", | ||
"react-cosmos-ui": "6.1.2-canary.8aaf73c.0+8aaf73c", | ||
"react-cosmos-core": "6.1.2-canary.bdbf4f7.0+bdbf4f7", | ||
"react-cosmos-renderer": "6.1.2-canary.bdbf4f7.0+bdbf4f7", | ||
"react-cosmos-ui": "6.1.2-canary.bdbf4f7.0+bdbf4f7", | ||
"ws": "8.16.0", | ||
@@ -31,3 +31,3 @@ "yargs": "17.7.2" | ||
}, | ||
"gitHead": "8aaf73cf0e1cbea9944fef9625a0ff00716b7cb0" | ||
"gitHead": "bdbf4f7655eba4d88e3ce85d3d7e7a7f0e77aa69" | ||
} |
@@ -29,7 +29,7 @@ <p align="center"> | ||
Our [Code of Conduct](/CODE_OF_CONDUCT.md) applies to all React Cosmos community channels. | ||
Our [Code of Conduct](/.github/CODE_OF_CONDUCT.md) applies to all React Cosmos community channels. | ||
## Contributing | ||
Please see our [CONTRIBUTING.md](/CONTRIBUTING.md). | ||
Please see our [CONTRIBUTING.md](/.github/CONTRIBUTING.md). | ||
@@ -36,0 +36,0 @@ [Become a Sponsor](https://github.com/sponsors/ovidiuch) to support the ongoing development of React Cosmos. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
107305
2130
+ Addedshell-quote@1.8.2(transitive)
- Removedshell-quote@1.8.1(transitive)