Merge remote-tracking branch 'origin/master' into codex/docs-standardization-20260913
This commit is contained in:
@@ -12,7 +12,9 @@ export const REQUIRED_WORKSPACES = Object.freeze([
|
||||
'apps/preview-deployer-web',
|
||||
'packages/image-canvas-core',
|
||||
'packages/image-canvas-react',
|
||||
'packages/agc-plugin-sdk',
|
||||
'packages/shared',
|
||||
'plugins/agc-cocos-editor',
|
||||
'tools/spine-json-export-validator',
|
||||
]);
|
||||
|
||||
@@ -24,7 +26,9 @@ const WORKSPACE_NAMES = Object.freeze({
|
||||
'apps/preview-deployer-web': '@genarrative/preview-deployer-web',
|
||||
'packages/image-canvas-core': '@genarrative/image-canvas-core',
|
||||
'packages/image-canvas-react': '@genarrative/image-canvas-react',
|
||||
'packages/agc-plugin-sdk': '@genarrative/agc-plugin-sdk',
|
||||
'packages/shared': '@genarrative/shared',
|
||||
'plugins/agc-cocos-editor': '@genarrative/agc-plugin-cocos-editor',
|
||||
'tools/spine-json-export-validator':
|
||||
'@genarrative/spine-json-export-validator',
|
||||
});
|
||||
@@ -45,6 +49,7 @@ const REQUIRED_LOCAL_DEPENDENCIES = Object.freeze({
|
||||
'packages/image-canvas-react/package.json': [
|
||||
'@genarrative/image-canvas-core',
|
||||
],
|
||||
'plugins/agc-cocos-editor/package.json': ['@genarrative/agc-plugin-sdk'],
|
||||
});
|
||||
|
||||
const DEPENDENCY_FIELDS = Object.freeze([
|
||||
|
||||
@@ -20,7 +20,9 @@ const workspaceNames = {
|
||||
'apps/preview-deployer-web': '@genarrative/preview-deployer-web',
|
||||
'packages/image-canvas-core': '@genarrative/image-canvas-core',
|
||||
'packages/image-canvas-react': '@genarrative/image-canvas-react',
|
||||
'packages/agc-plugin-sdk': '@genarrative/agc-plugin-sdk',
|
||||
'packages/shared': '@genarrative/shared',
|
||||
'plugins/agc-cocos-editor': '@genarrative/agc-plugin-cocos-editor',
|
||||
'tools/spine-json-export-validator':
|
||||
'@genarrative/spine-json-export-validator',
|
||||
};
|
||||
@@ -34,6 +36,7 @@ const localDependencies = {
|
||||
},
|
||||
'apps/mobile-shell': { '@genarrative/shared': '0.1.0' },
|
||||
'packages/image-canvas-react': { '@genarrative/image-canvas-core': '0.1.0' },
|
||||
'plugins/agc-cocos-editor': { '@genarrative/agc-plugin-sdk': '0.1.0' },
|
||||
};
|
||||
|
||||
afterEach(() => {
|
||||
|
||||
@@ -1777,6 +1777,7 @@ class DevRunner {
|
||||
env,
|
||||
stdio: ['ignore', 'pipe', 'pipe'],
|
||||
shell: process.platform === 'win32',
|
||||
windowsHide: process.platform === 'win32',
|
||||
},
|
||||
);
|
||||
|
||||
@@ -2096,6 +2097,7 @@ class DevRunner {
|
||||
env: mergedEnv,
|
||||
stdio: ['ignore', 'pipe', 'pipe'],
|
||||
shell: process.platform === 'win32',
|
||||
windowsHide: process.platform === 'win32',
|
||||
},
|
||||
);
|
||||
|
||||
@@ -2171,6 +2173,7 @@ class DevRunner {
|
||||
env: mergedEnv,
|
||||
stdio: ['ignore', 'pipe', 'pipe'],
|
||||
shell: process.platform === 'win32',
|
||||
windowsHide: process.platform === 'win32',
|
||||
},
|
||||
);
|
||||
|
||||
@@ -2259,6 +2262,7 @@ class DevRunner {
|
||||
env,
|
||||
...createDevServerSpawnOptions(),
|
||||
shell: process.platform === 'win32',
|
||||
windowsHide: process.platform === 'win32',
|
||||
},
|
||||
);
|
||||
|
||||
@@ -2303,6 +2307,7 @@ class DevRunner {
|
||||
env,
|
||||
...createDevServerSpawnOptions(),
|
||||
shell: process.platform === 'win32',
|
||||
windowsHide: process.platform === 'win32',
|
||||
},
|
||||
);
|
||||
|
||||
@@ -3260,6 +3265,7 @@ function runForeground(command, args, { cwd, env, label }) {
|
||||
env,
|
||||
stdio: ['inherit', 'pipe', 'pipe'],
|
||||
shell: process.platform === 'win32',
|
||||
windowsHide: process.platform === 'win32',
|
||||
});
|
||||
|
||||
child.stdout?.on('data', (chunk) => capture(chunk, process.stdout));
|
||||
|
||||
Reference in New Issue
Block a user