Merge remote-tracking branch 'web/master' into feat/five_min_design
This commit is contained in:
@@ -173,8 +173,12 @@ export function collectNpmWorkspaceErrors(rootDir) {
|
||||
`${manifestPath}: name must be ${WORKSPACE_NAMES[workspacePath]}, received ${String(manifest.name)}`,
|
||||
);
|
||||
}
|
||||
if (manifest.version !== '0.1.0') {
|
||||
errors.push(`${manifestPath}: workspace version must be 0.1.0`);
|
||||
const expectedWorkspaceVersion =
|
||||
workspacePath === 'apps/ai-game-creator-shell' ? '0.1.1' : '0.1.0';
|
||||
if (manifest.version !== expectedWorkspaceVersion) {
|
||||
errors.push(
|
||||
`${manifestPath}: workspace version must be ${expectedWorkspaceVersion}`,
|
||||
);
|
||||
}
|
||||
|
||||
for (const nestedLockfile of findNestedLockfiles(rootDir, workspacePath)) {
|
||||
|
||||
@@ -78,7 +78,8 @@ function createValidFixture() {
|
||||
const manifest = {
|
||||
name: workspaceNames[workspacePath],
|
||||
private: true,
|
||||
version: '0.1.0',
|
||||
version:
|
||||
workspacePath === 'apps/ai-game-creator-shell' ? '0.1.1' : '0.1.0',
|
||||
dependencies: localDependencies[workspacePath],
|
||||
};
|
||||
writeJson(rootDir, `${workspacePath}/package.json`, manifest);
|
||||
|
||||
Reference in New Issue
Block a user