|
29 | 29 | "build:ts": "yarn lerna exec --stream --scope '@looker/*' --sort 'tsc -b tsconfig.build.json'", |
30 | 30 | "bumpversion": "yarn lerna version --conventional-commits --no-git-tag-version --no-push --yes", |
31 | 31 | "clean": "run-p -c clean:*", |
32 | | - "clean:build": "rm -Rf packages/*/cjs packages/*/esm packages/*/types", |
33 | | - "clean:legacy": "rm -Rf packages/*/lib packages/*/dist", |
| 32 | + "clean:build": "rm -Rf packages/*/lib", |
| 33 | + "clean:icons": "rm -Rf packages/icons/src/generated", |
34 | 34 | "clean:storybook": "rm -Rf packages/*/storybook-static ", |
35 | 35 | "clean:docs": "find docs -type f ! -name 'index.html' -delete", |
36 | 36 | "clean:gatsby": "rm -Rf www/.cache www/public", |
|
49 | 49 |
|
50 | 50 | "storybook": "yarn workspace storybook develop", |
51 | 51 | "storybook-docs": "yarn workspace storybook develop-docs", |
52 | | - "storybook-workspaces-build": "yarn lerna run storybook-build --scope '@looker/*' --stream --parallel", |
53 | 52 |
|
54 | | - "storyshots-prep": "export storybookBuildMode=fast && yarn pretest && yarn storybook-workspaces-build", |
55 | | - "pretest:image-snapshots": "yarn storyshots-prep", |
| 53 | + "prestoryshots": "yarn prebuild", |
| 54 | + "storyshots": "export storybookBuildMode=fast && yarn lerna run storybook-build --scope '@looker/*' --stream --parallel", |
| 55 | + |
| 56 | + "pretest:image-snapshots": "yarn storyshots", |
56 | 57 | "test:image-snapshots": "yarn jest --config jest-image-snapshots.config.js", |
| 58 | + "pretest:image-snapshots-update": "yarn storyshots", |
57 | 59 | "test:image-snapshots-update": "rm -rf packages/*/snapshots && yarn jest -u --config jest-image-snapshots.config.js", |
58 | 60 |
|
59 | | - "pretest:a11y": "yarn storyshots-prep", |
| 61 | + "pretest:a11y": "yarn storyshots", |
60 | 62 | "test:a11y": "yarn jest --config jest-a11y.config.js", |
61 | 63 |
|
62 | 64 | "website-canary": "./config/website-canary.sh", |
|
0 commit comments