Norbert de Langen
64a9fc47cb
DELETE the angular cli fixtures (we have coverage for this in the v2 tests)
2020-06-30 15:04:24 +02:00
Norbert de Langen
e9cc232db5
REMOVE fixtures we already have v2 tests for
2020-06-29 16:46:41 +02:00
tooppaaa
56f208b5b7
fix: yarn 2 cli
2020-06-12 16:34:19 +02:00
tooppaaa
4905904bd2
CLI: move mutualise scripts
2020-06-11 23:25:04 +02:00
Gaëtan Maisse
d7687ade18
refactor: replace semver
by @storybook/semver
...
`@storybook/semver` is a browser friendly fork of `semver`.
We use it to avoid issue with IE11 as classic "compiled" `semver` is now compatible with it.
If we just recompile `semver` from `node_modules` it ends with a package that `require('core-js')` but `core-js` is not listed in the dependency. And so Yarn 2 throw an error.
So to avoid that we need to use a "proper" dependency which is `semver` recompile and with all needed dependencies in its package.json.
2020-06-03 20:07:07 +02:00
Paul Grau
b50442f992
Revert removal of babel-preset-vue
2020-05-20 22:16:51 +09:00
Paul Grau
7b8e614441
Apply babel fix to vue fixture as well
2020-05-20 20:33:22 +09:00
Michael Shilman
3671955f56
Migrate sfc_vue fixture to use babel-preset-vue
2020-05-20 18:42:50 +08:00
Norbert de Langen
448bdddd29
Merge branch 'next' into tech/ci-example-overhaul-clean
...
# Conflicts:
# examples/angular-cli/jest.config.js
# lib/cli/src/generators/HTML/index.js
# lib/cli/src/generators/HTML/template-csf/stories/0-Welcome.stories.js
# yarn.lock
2020-05-18 14:21:17 +02:00
Norbert de Langen
8728e2a748
DELETE react-static fixture
2020-05-15 02:19:28 +02:00
Norbert de Langen
74c1a7c0aa
REMOVE tslint instead
...
bye bye
2020-05-14 17:06:18 +02:00
tooppaaa
057ab35ea9
Merge remote-tracking branch 'origin/next' into tech/ci-example-overhaul-clean
2020-05-11 17:32:50 +02:00
Gaëtan Maisse
37f29dc707
test(cli): don't test CLI against react_scripts
fixtures with Yarn 2
...
When testing Yarn 2 compatibility of Storybook CLI, we are using Yarn 2 in fixture directories inside a Yarn 1 workspace.
To access local versions of `@storybook` packages we use Yarn 2 `portal` protocol (see berryfy_package_json.js). However, it looks like CRA is not playing well with `portal` protocol and is throwing this kind of error: `Relative imports outside of src/ are not supported.`.
As new E2E tests will be soon available, I just removed the CRA tests instead of trying to hack them a bit more.
2020-05-10 12:58:15 +02:00
tooppaaa
072b774693
core: ci and examples generation
2020-05-09 11:34:50 +02:00
Yann Braga
1f791402f3
feat(cli): automatically detect CSF typescript
...
- Also remove a section in run_tests.sh which is not necessary anymore,
given that typescript is automatically detected.
2020-04-25 22:01:39 +02:00
Norbert de Langen
3de3f64279
no message
2020-04-21 01:03:32 +02:00
Norbert de Langen
595a957ea5
REMOVE RN fixtures
2020-04-17 23:16:19 +02:00
Norbert de Langen
e213240348
Merge branch 'next' into fix-cli-tests
2020-04-13 21:13:03 +02:00
Norbert de Langen
51321e8838
FIX
2020-04-13 20:16:34 +02:00
Norbert de Langen
c1fb718f52
FIX
2020-04-13 20:14:17 +02:00
Gaëtan Maisse
a7e966d264
test: remove react_babel_6
refs in CLI tests
...
There is no more fixture related to `react_babel_6` so I removed all refs to that in scripts used to run CLI tests
2020-04-12 17:37:23 +02:00
Gaëtan Maisse
2c4ccc43d9
test: remove SB config and stories from CLI test fixtures
...
These fixtures are used to check that `sb init` is properly initializing SB in the fixture context so SB config (and stories) shouldn't be already in the fixture.
Moreover, fixtures were using outdated `config.js` file and a new `main.js` config file is added during initialization causing SB build to fail with:
```
ERR! Error: You have both a "main" and a "config". Please remove the "config" file from your configDir
```
2020-04-12 17:35:32 +02:00
Gaëtan Maisse
f41ac2b3a8
test(cli): add missing dep in riot fixture
...
`riot-tmpl` is a peerDependency of `riot-compiler`
2020-02-16 16:10:41 +01:00
Gaëtan Maisse
9e4f21640e
test(cli): add tests to check Yarn 2 compatibility
...
These tests mimic the ones done to test SB CLI with "classic" yarn.
However, some magic setup and `package.json` customization are needed in order to make Yarn 2 works inside a Yarn v1 workspace.
2020-02-16 16:10:41 +01:00
Norbert de Langen
0f5b841937
REMOVE babel-6 cli fixture
2020-02-06 11:12:42 +01:00
Norbert de Langen
746b2a4f11
Merge branch 'next' into upgrades
...
# Conflicts:
# addons/essentials/package.json
# addons/notes/package.json
# addons/storyshots/storyshots-core/package.json
# app/angular/package.json
# app/html/package.json
# app/marko/package.json
# app/preact/package.json
# app/react/package.json
# app/vue/package.json
# app/web-components/package.json
# examples/riot-kitchen-sink/package.json
# examples/vue-kitchen-sink/package.json
# lib/cli/package.json
# lib/core/package.json
# yarn.lock
2020-02-03 13:40:26 +01:00
Norbert de Langen
aa7fa009e8
CHANGE lint-staged config after upgrading
2020-02-03 13:15:59 +01:00
Kai Roeder
38e41c5dd4
add missing css file
2020-02-01 00:23:42 +01:00
Kai Roeder
9bf067d1b8
update cli fixture angular 9 to rc.12
2020-01-31 23:58:23 +01:00
Kai Roeder
1143a22fd7
Merge branch 'next' into add-angular-fixtures
2020-01-31 23:53:19 +01:00
Kai Roeder
99dd642fdc
Merge branch 'next' of https://github.com/storybooks/storybook into next
2020-01-31 23:33:57 +01:00
Norbert de Langen
cc39879de9
MIGRATE ember to new "import { hbs } from 'ember-cli-htmlbars'"
2020-01-25 13:25:51 +01:00
Norbert de Langen
26c1417d12
DELETE references to polymer
2020-01-22 16:01:12 +01:00
Norbert de Langen
34816a6d57
REMOVE polymer
...
It's moved into it's own repo here:
https://github.com/storybookjs/storybook
2020-01-22 15:39:36 +01:00
Kai Roeder
09ed7d1617
wip: use css instead of scss
...
this is an attempt to debug the CI pipeline that fails because of scss.
this change is not meant to be permanent; scss must work
2019-11-26 23:36:31 +01:00
Kai Röder
61f34e2c89
update angular-9 example to 9.0.0-rc.2
2019-11-19 22:13:24 +01:00
Kai Roeder
93d4142be3
update angular fixture names
2019-11-08 23:38:30 +01:00
Kai Roeder
bede21d22c
add angular 9 rc cli fixture
2019-11-08 23:13:47 +01:00
Kai Roeder
1191b52e25
add angular 8 cli fixture
2019-11-08 23:00:32 +01:00
ImgBotApp
2201151241
[ImgBot] Optimize images
...
*Total -- 18,843.21kb -> 14,320.00kb (24%)
/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-block-1-snap.png -- 3.19kb -> 0.49kb (84.64%)
/docs/src/design/homepage/built-for.png -- 7.72kb -> 2.41kb (68.86%)
/docs/src/pages/examples/thumbnails/gov-uk.png -- 52.98kb -> 18.55kb (64.99%)
/docs/src/design/docs/docs-content.png -- 54.38kb -> 19.37kb (64.37%)
/docs/src/design/homepage/header.png -- 6.64kb -> 2.46kb (62.97%)
/lib/cli/test/fixtures/react_native_scripts/assets/icon.png -- 2.91kb -> 1.24kb (57.33%)
/addons/storyshots/storyshots-core/docs/storyshots-fail.png -- 380.39kb -> 170.42kb (55.2%)
/app/react-native/docs/assets/readme/screenshot.png -- 339.80kb -> 155.55kb (54.22%)
/docs/src/pages/testing/static/login_form.png -- 68.28kb -> 31.68kb (53.6%)
/docs/src/components/Footer/images/github-icon.png -- 13.78kb -> 6.41kb (53.48%)
/lib/cli/docs/getstorybook.png -- 237.22kb -> 110.64kb (53.36%)
/addons/storyshots/storyshots-core/docs/storyshots.png -- 254.06kb -> 118.88kb (53.21%)
/docs/src/design/homepage/storybook-icon.png -- 15.34kb -> 7.32kb (52.28%)
/docs/src/pages/logos/squarespace.png -- 41.48kb -> 20.83kb (49.77%)
/addons/ondevice-notes/docs/demo.png -- 252.99kb -> 132.54kb (47.61%)
/docs/src/pages/examples/thumbnails/vanilla.png -- 93.29kb -> 49.56kb (46.88%)
/docs/src/pages/testing/static/storybook-iframe-screenshot.png -- 139.73kb -> 79.73kb (42.94%)
/docs/src/pages/examples/thumbnails/carbon.png -- 64.37kb -> 36.75kb (42.91%)
/docs/src/pages/addons/static/stories-without-notes.png -- 142.56kb -> 81.96kb (42.51%)
/docs/src/pages/addons/static/default-addons.png -- 143.91kb -> 82.93kb (42.38%)
/addons/options/docs/screenshot.png -- 108.10kb -> 62.40kb (42.28%)
/docs/src/pages/examples/thumbnails/grommet.png -- 242.59kb -> 142.06kb (41.44%)
/docs/src/pages/testing/static/specs-addon.png -- 65.07kb -> 38.32kb (41.11%)
/docs/src/pages/examples/thumbnails/mockingbot.png -- 138.56kb -> 81.78kb (40.98%)
/docs/src/pages/examples/thumbnails/semanticui.png -- 109.90kb -> 65.37kb (40.52%)
/addons/notes/docs/demo.png -- 155.88kb -> 93.01kb (40.33%)
/docs/src/pages/addons/static/stories-with-notes.png -- 155.88kb -> 93.01kb (40.33%)
/addons/knobs/docs/demo.png -- 142.81kb -> 85.39kb (40.21%)
/docs/src/pages/examples/thumbnails/react-svg-pan-zoom.png -- 80.90kb -> 49.16kb (39.24%)
/docs/src/pages/examples/thumbnails/todomvc.png -- 114.43kb -> 69.55kb (39.22%)
/lib/cli/test/fixtures/react_scripts_ts/public/logo192.png -- 8.38kb -> 5.10kb (39.13%)
/docs/src/pages/testing/static/storybook-screenshot.png -- 193.24kb -> 121.16kb (37.3%)
/lib/cli/test/fixtures/react_scripts_ts/public/logo512.png -- 22.38kb -> 14.05kb (37.24%)
/docs/src/design/homepage/homepage.png -- 118.63kb -> 74.94kb (36.83%)
/docs/src/design/homepage/demo.png -- 21.61kb -> 13.68kb (36.71%)
/addons/graphql/docs/screenshot.png -- 248.55kb -> 158.53kb (36.22%)
/docs/src/design/homepage/heading.png -- 24.12kb -> 15.39kb (36.19%)
/addons/actions/docs/screenshot.png -- 162.76kb -> 104.40kb (35.86%)
/docs/src/design/homepage/main-links.png -- 17.79kb -> 11.56kb (35.02%)
/addons/docs/docs/media/mdx-simple.png -- 63.27kb -> 41.39kb (34.59%)
/examples/riot-kitchen-sink/src/logo.png -- 50.53kb -> 33.19kb (34.32%)
/examples/riot-kitchen-sink/public/logo.png -- 50.53kb -> 33.19kb (34.32%)
/lib/cli/test/fixtures/riot/public/assets/images/logo.png -- 50.53kb -> 33.19kb (34.32%)
/docs/src/components/Homepage/Featured/images/airbnb.png -- 8.25kb -> 5.42kb (34.31%)
/docs/src/pages/examples/thumbnails/coursera-ui.png -- 204.55kb -> 136.05kb (33.49%)
/docs/src/pages/testing/static/storyshots-diff-view.png -- 133.39kb -> 89.93kb (32.58%)
/addons/docs/docs/media/mdx-page.png -- 190.25kb -> 128.41kb (32.5%)
/docs/src/pages/examples/thumbnails/rebass.png -- 109.60kb -> 74.07kb (32.42%)
/addons/a11y/docs/screenshot.png -- 342.10kb -> 232.14kb (32.14%)
/docs/src/design/homepage/footer.png -- 12.74kb -> 8.66kb (31.98%)
/addons/knobs/docs/storybook-knobs-example.png -- 230.53kb -> 157.25kb (31.79%)
/docs/src/pages/logos/nulogy.png -- 7.30kb -> 4.99kb (31.55%)
/docs/src/pages/examples/thumbnails/wix.png -- 137.92kb -> 94.99kb (31.12%)
/docs/src/pages/logos/lonelyplanet.svg -- 5.01kb -> 3.46kb (31.01%)
/docs/src/pages/testing/static/storyshots-first-run.png -- 48.33kb -> 33.41kb (30.87%)
/addons/docs/docs/media/faq-devtools.png -- 538.92kb -> 373.20kb (30.75%)
/docs/src/design/homepage/featured-storybooks.png -- 21.41kb -> 14.87kb (30.57%)
/addons/docs/docs/media/docs-tab.png -- 149.24kb -> 103.79kb (30.46%)
/docs/src/pages/examples/thumbnails/uber.png -- 75.74kb -> 53.19kb (29.77%)
/docs/src/pages/examples/thumbnails/hackoregon.png -- 468.14kb -> 335.94kb (28.24%)
/addons/docs/docs/media/docspage-slots.png -- 152.84kb -> 110.53kb (27.68%)
/docs/src/pages/testing/static/image-diff-2.png -- 43.21kb -> 31.35kb (27.45%)
/addons/docs/docs/media/mdx-documentation-only.png -- 193.08kb -> 140.65kb (27.15%)
/docs/src/design/docs/docs-nav.png -- 20.58kb -> 15.03kb (26.97%)
/addons/docs/docs/media/mdx-hero.png -- 47.53kb -> 35.04kb (26.28%)
/docs/src/pages/addons/static/storybook-components.png -- 230.07kb -> 171.32kb (25.53%)
/docs/src/design/homepage/screenshot.png -- 19.13kb -> 14.36kb (24.95%)
/docs/src/design/docs/docs.png -- 98.62kb -> 74.84kb (24.11%)
/addons/info/docs/home-screenshot.png -- 160.25kb -> 122.20kb (23.75%)
/docs/src/components/Homepage/Featured/images/rb.png -- 3.09kb -> 2.37kb (23.4%)
/docs/src/pages/basics/static/basic-stories.png -- 398.62kb -> 307.10kb (22.96%)
/docs/src/pages/basics/static/screenshot.png -- 398.62kb -> 307.10kb (22.96%)
/addons/docs/docs/media/faq-debug.png -- 67.11kb -> 51.81kb (22.8%)
/addons/viewport/docs/viewport.png -- 121.04kb -> 93.59kb (22.68%)
/docs/src/pages/examples/thumbnails/griddle.jpg -- 211.25kb -> 167.33kb (20.79%)
/docs/src/pages/examples/thumbnails/reactnativeweb.jpg -- 82.62kb -> 65.78kb (20.38%)
/docs/src/design/docs/docs-container.png -- 75.72kb -> 60.51kb (20.09%)
/addons/docs/docs/media/docspage-hero.png -- 422.31kb -> 338.95kb (19.74%)
/docs/src/pages/examples/thumbnails/timeline.jpg -- 165.63kb -> 133.21kb (19.57%)
/docs/src/pages/examples/thumbnails/buffer.jpg -- 134.77kb -> 112.43kb (16.58%)
/docs/src/pages/examples/thumbnails/lucid-ui.png -- 241.27kb -> 203.16kb (15.8%)
/addons/storysource/docs/theming-light-dark.png -- 247.22kb -> 209.33kb (15.32%)
/docs/src/pages/examples/thumbnails/cosmos.png -- 658.07kb -> 557.99kb (15.21%)
/docs/src/pages/examples/thumbnails/airbnb.jpg -- 133.82kb -> 114.01kb (14.81%)
/docs/src/pages/examples/thumbnails/atlassian.png -- 298.38kb -> 254.32kb (14.76%)
/lib/cli/test/fixtures/sfc_vue/src/assets/logo.png -- 6.69kb -> 5.73kb (14.4%)
/examples/vue-kitchen-sink/src/logo.png -- 6.69kb -> 5.73kb (14.4%)
/docs/src/pages/examples/thumbnails/algolia.jpg -- 98.45kb -> 84.89kb (13.78%)
/docs/src/pages/testing/static/image-diff-1.png -- 73.18kb -> 63.28kb (13.53%)
/docs/src/components/Homepage/Featured/images/rnw.png -- 32.21kb -> 27.91kb (13.33%)
/docs/src/pages/examples/thumbnails/artsy.png -- 3,742.73kb -> 3,267.15kb (12.71%)
/docs/src/pages/examples/thumbnails/quran.jpg -- 89.50kb -> 78.28kb (12.53%)
/docs/src/pages/examples/thumbnails/terraeclipse.jpg -- 386.20kb -> 341.73kb (11.51%)
/docs/src/pages/examples/thumbnails/react-pakistan.jpg -- 57.91kb -> 51.50kb (11.08%)
/docs/src/pages/logos/postmates.png -- 37.05kb -> 32.98kb (10.97%)
/docs/src/pages/logos/mozilla.svg -- 4.06kb -> 3.68kb (9.33%)
/docs/src/pages/examples/thumbnails/lonelyplanet.jpg -- 299.25kb -> 273.05kb (8.75%)
/docs/src/pages/examples/thumbnails/appbase.jpg -- 386.11kb -> 354.28kb (8.24%)
/docs/src/pages/examples/thumbnails/trunks.png -- 136.77kb -> 125.61kb (8.16%)
/docs/src/pages/logos/airbnb.svg -- 3.37kb -> 3.11kb (7.73%)
/docs/src/pages/logos/appbase.svg -- 5.95kb -> 5.51kb (7.29%)
/docs/src/pages/logos/coursera.svg -- 5.09kb -> 4.75kb (6.69%)
/lib/cli/test/fixtures/react_native/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -- 7.54kb -> 7.04kb (6.66%)
/docs/src/pages/logos/buffer.svg -- 5.73kb -> 5.36kb (6.52%)
/lib/cli/test/fixtures/react_native/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -- 4.73kb -> 4.46kb (5.76%)
/docs/src/pages/examples/thumbnails/gumgum.png -- 30.83kb -> 29.20kb (5.28%)
/docs/src/pages/logos/algolia.svg -- 10.12kb -> 9.69kb (4.17%)
/examples/html-kitchen-sink/stories/logo.svg -- 1.42kb -> 1.36kb (3.59%)
/lib/cli/test/fixtures/react_native/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -- 3.34kb -> 3.24kb (2.9%)
/lib/cli/test/fixtures/react_native/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -- 2.15kb -> 2.10kb (2.4%)
/docs/src/pages/examples/thumbnails/tachyons.png -- 503.54kb -> 492.48kb (2.2%)
/docs/src/pages/logos/quran.svg -- 15.37kb -> 15.11kb (1.71%)
/examples/cra-react15/src/logo.svg -- 2.61kb -> 2.57kb (1.46%)
/lib/cli/test/fixtures/react_scripts_v2_forked/src/logo.svg -- 2.61kb -> 2.57kb (1.46%)
/lib/cli/test/fixtures/update_package_organisations/src/logo.svg -- 2.61kb -> 2.57kb (1.46%)
/lib/cli/test/fixtures/react_scripts/src/logo.svg -- 2.61kb -> 2.57kb (1.46%)
/lib/cli/test/fixtures/react_scripts_v2/src/logo.svg -- 2.61kb -> 2.57kb (1.46%)
/addons/docs/docs/media/hero.png -- 831.65kb -> 822.03kb (1.16%)
/docs/src/pages/logos/wix.svg -- 4.69kb -> 4.64kb (1.12%)
/examples/marko-cli/src/components/welcome/logo.png -- 41.92kb -> 41.50kb (1.01%)
/examples/cra-kitchen-sink/src/logo.svg -- 2.59kb -> 2.57kb (0.87%)
/docs/src/pages/logos/dbsbank.svg -- 2.61kb -> 2.60kb (0.41%)
/docs/static/images/logo-storybook.svg -- 6.50kb -> 6.50kb (0.06%)
/docs/src/design/homepage/storybook-logo.svg -- 6.50kb -> 6.50kb (0.06%)
/lib/cli/test/fixtures/react_scripts_ts/src/logo.svg -- 8.01kb -> 8.01kb (0.01%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-10-24 21:57:05 +00:00
Michael Shilman
365962387e
CLI: Fix CRA-ts fixture package name
2019-10-17 22:41:57 +08:00
Michael Shilman
67f30476cc
CLI: React-scripts TS template & test
2019-10-17 15:52:20 +08:00
Michael Shilman
4fcdee3607
CLI: MDX template support ( #8396 )
...
CLI: MDX template support
2019-10-15 00:34:42 +08:00
Michael Shilman
fe64917edc
CLI: Fix option parsing in run_tests
2019-10-14 23:48:30 +08:00
Michael Shilman
07cc1f6852
CLI: Add -s option for testing alternative story formats (e.g. MDX)
2019-10-14 22:48:01 +08:00
Carolyn Stransky
e943357c54
Removed instances of easy, simple
2019-10-13 15:28:38 +02:00
Carolyn Stransky
b49a61064c
Removed instances of obvious, of course
2019-10-12 17:36:50 +02:00
Carolyn Stransky
7e37a123a3
Removed instances of just, easily
2019-10-12 17:32:44 +02:00
Norbert de Langen
98c8f2d333
lock down version for the babel6 example
2019-10-02 11:01:05 +02:00
Norbert de Langen
fc4659ce37
SYNC node & webpack versions
2019-09-25 00:08:07 +02:00