Merge branch 'next' into norbert/sb-798-figure-out-plan-for-package-structure-rework

This commit is contained in:
Norbert de Langen 2022-11-18 14:26:11 +01:00
commit d2a127e908
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
3 changed files with 25 additions and 10 deletions

View File

@ -689,11 +689,11 @@ workflows:
requires:
- build
- create-sandboxes:
parallelism: 14
parallelism: 15
requires:
- build
- build-sandboxes:
parallelism: 14
parallelism: 15
requires:
- create-sandboxes
- test-runner-sandboxes:
@ -701,11 +701,11 @@ workflows:
requires:
- build-sandboxes
- chromatic-sandboxes:
parallelism: 14
parallelism: 15
requires:
- build-sandboxes
- e2e-sandboxes:
parallelism: 14
parallelism: 15
requires:
- build-sandboxes
daily:
@ -714,14 +714,14 @@ workflows:
jobs:
- build
- create-sandboxes:
parallelism: 24
parallelism: 25
requires:
- build
# - smoke-test-sandboxes: # disabled for now
# requires:
# - create-sandboxes
- build-sandboxes:
parallelism: 24
parallelism: 25
requires:
- create-sandboxes
- test-runner-sandboxes:
@ -729,10 +729,10 @@ workflows:
requires:
- build-sandboxes
- chromatic-sandboxes:
parallelism: 24
parallelism: 25
requires:
- build-sandboxes
- e2e-sandboxes:
parallelism: 24
parallelism: 25
requires:
- build-sandboxes

View File

@ -141,6 +141,17 @@ export const allTemplates = {
name: 'Angular CLI (latest)',
script:
'npx -p @angular/cli ng new angular-latest --directory . --routing=true --minimal=true --style=scss --strict --skip-git --skip-install --package-manager=yarn',
skipTasks: ['test-runner'],
expected: {
framework: '@storybook/angular',
renderer: '@storybook/angular',
builder: '@storybook/builder-webpack5',
},
},
'angular-cli/14-ts': {
name: 'Angular CLI (Version 14)',
script:
'npx -p @angular/cli@14 ng new angular-v14 --directory . --routing=true --minimal=true --style=scss --strict --skip-git --skip-install --package-manager=yarn',
expected: {
framework: '@storybook/angular',
renderer: '@storybook/angular',
@ -251,7 +262,8 @@ type TemplateKey = keyof typeof allTemplates;
export const ci: TemplateKey[] = ['cra/default-ts', 'react-vite/default-ts'];
export const pr: TemplateKey[] = [
...ci,
'angular-cli/default-ts',
// TODO: swap with 'angular-cli/default-ts' once angular 15 fully works with Storybook
'angular-cli/14-ts',
'vue3-vite/default-ts',
'vue-cli/vue2-default-js',
'lit-vite/default-ts',
@ -263,6 +275,7 @@ export const merged: TemplateKey[] = [
...pr,
'react-webpack/18-ts',
'react-webpack/17-ts',
'angular-cli/default-ts',
'angular-cli/13-ts',
'preact-webpack5/default-ts',
'html-webpack/default',

View File

@ -164,8 +164,10 @@ const runGenerators = async (
// Remove node_modules to save space and avoid GH actions failing
// They're not uploaded to the git repros repo anyway
if (process.env.CLEANUP_REPRO_NODE_MODULES) {
console.log(`🗑️ Removing ${join(beforeDir, 'node_modules')}`);
await remove(join(beforeDir, 'node_modules'));
await remove(join(baseDir, 'node_modules'));
console.log(`🗑️ Removing ${join(baseDir, AFTER_DIR_NAME, 'node_modules')}`);
await remove(join(baseDir, AFTER_DIR_NAME, 'node_modules'));
}
console.log(