519 Commits

Author SHA1 Message Date
Gaëtan Maisse
3d7a024b3c
test: execute CLI tests like all other Jest tests
As CLI tests based on fixtures have been deleted, and the remaining tests are now using Jest we can run them as part of the classic `yarn test --core` command.

I also removed the dedicated GitHub Actions.
2020-12-08 19:26:02 +01:00
Daniel Schmidt
de095b3f9c remove unused groups 2020-12-02 09:30:35 +01:00
Daniel Schmidt
f5fc34e9b3 Merge remote-tracking branch 'upstream/next' into replace-inquirer
# Conflicts:
#	lib/core/package.json
#	yarn.lock
2020-12-01 21:24:47 +01:00
Michael Shilman
b09f171828 Merge branch 'next' into tech/upgrades-4 2020-12-01 18:04:58 +08:00
Norbert de Langen
944cb08407
remove extraDep from vue example 2020-11-27 13:40:11 +01:00
Norbert de Langen
c93bc36153
Merge branch 'next' into pr/43081j/13055
# Conflicts:
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/controls/package.json
#	addons/cssresources/package.json
#	addons/design-assets/package.json
#	addons/essentials/package.json
#	addons/events/package.json
#	addons/google-analytics/package.json
#	addons/jest/package.json
#	addons/queryparams/package.json
#	addons/storysource/package.json
#	addons/toolbars/package.json
#	addons/viewport/package.json
#	app/ember/package.json
#	app/marko/package.json
#	app/riot/package.json
#	app/svelte/package.json
#	dev-kits/addon-decorator/package.json
#	dev-kits/addon-parameter/package.json
#	dev-kits/addon-roundtrip/package.json
#	lib/addons/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/codemod/package.json
#	lib/theming/package.json
#	scripts/run-e2e-config.ts
2020-11-27 12:26:28 +01:00
Norbert de Langen
736389950a
upgrades 2020-11-26 17:16:23 +01:00
Norbert de Langen
92268d1648
cleanup run-registry script 2020-11-26 10:58:09 +01:00
Daniel Schmidt
6c029420b9 refactor: replace inquirer with prompts 2020-11-23 15:06:51 +01:00
merceyz
bf762f07b3 test: remove react as dependency from vue test 2020-11-20 22:42:04 +01:00
James Garbutt
a8fbab222d remove core-js dependency 2020-11-19 20:01:15 +00:00
Gaëtan Maisse
e545ba0380
e2e: add react as additionalDeps in sfcVue E2E tests to tmp fix Yarn 2 E2E tests 2020-11-16 14:05:39 +01:00
Gaëtan Maisse
e440498fc6
e2e: update missing package extensions for Yarn 2 tests 2020-11-16 14:05:38 +01:00
Gaëtan Maisse
09ddc14d18
e2e: use unreleased version of Yarn 2 to fix issue with fsevents patch 2020-11-16 14:05:38 +01:00
Gaëtan Maisse
bb44e7c923
e2e: move dep install step before SB init
- This better mimic what user are doing when using SB init
- Ensure we have a proper yarn.lock before running `sb init` and so SB cli will use yarn instead of NPM.
2020-11-14 11:58:04 +01:00
Gaëtan Maisse
46ae6c3fe1
chore: replace del by fs-extra in reset script. Also fix it and remove del dependency 2020-11-14 11:58:03 +01:00
Gaëtan Maisse
e1e9a3fab9
e2e: remove setResolution step 2020-11-14 11:58:02 +01:00
Gaëtan Maisse
14ce0e9c8c
e2e: force usage of Yarn in Angular E2E tests 2020-11-14 11:58:02 +01:00
Gaëtan Maisse
03d8700057
ci: remove E2E tests for old versions of Angular (<=9) 2020-11-12 18:50:53 +01:00
Gaëtan Maisse
d922af0ec1
ci: move back angular E2E tests to classic executor as they rework on Node 10 2020-11-12 18:50:53 +01:00
Gaëtan Maisse
255fedc1a0
ci: add an E2E config for Angular 10 as latest in now Angular 11 2020-11-12 18:40:24 +01:00
Gaëtan Maisse
d2cbbb7c78
ci: try to fix publish job by limiting the number of concurrent tasks 2020-11-03 21:27:10 +01:00
Gaëtan Maisse
6a01f37a7d
chore: add a log to know the level of concurrency in publishing task 2020-11-03 21:11:30 +01:00
Michael Shilman
e877faecdb Merge branch 'next' into refactor/cssResourceTestToRTL 2020-11-03 14:12:03 +08:00
Clément DUNGLER
fdeb1a3eee refactor: Move to RTL for css resource addon 2020-11-02 23:29:12 +01:00
Gaëtan Maisse
b1a0f4b074
Remove react and react-dom from required deps in E2E test configs
They are now regular deps of SB packages for all non-react app so there is no more need to add them explicitly.
2020-11-02 20:52:33 +01:00
Gaëtan Maisse
f3a6f13828
Add react and react-dom to Preact and React TS E2E tests
These deps need to be explicitly added as they are peerDeps of SB packages now.
2020-11-02 08:09:20 +01:00
Michael Shilman
3f03d5c75f Core: Remove webpack DLLs 2020-11-02 07:04:27 +08:00
Gert Hengeveld
e418511096 Add manager task to bootstrap. 2020-10-29 10:11:08 +01:00
Gert Hengeveld
ff435afced Consider default addons and auto refs when deciding to use the prebuilt manager. Avoid conflicting express routes. 2020-10-28 17:35:27 +01:00
Gert Hengeveld
cf61235279
Merge branch 'next' into 12702-instant-on-manager 2020-10-26 15:48:27 +01:00
Gaëtan Maisse
41f80ec6a7
ci: extract cra_bench in a dedicated job
CRA Bench requires Node 12 and isn't a "true" E2E test so it makes sense to move it in a dedicated job.
2020-10-12 22:33:27 +02:00
Gaëtan Maisse
6a3bf80333
ci: use Webpack 4 in webpack_react and sfcVue E2E tests
Webpack 5 is officially out for a few days but it looks like Storybook is not 100% compatible with it yet.
2020-10-12 21:24:50 +02:00
Gaëtan Maisse
c9a13a36b7
ci: run Angular E2E tests on executors with the latest version of Node 12 2020-10-12 21:12:43 +02:00
Michael Shilman
c347791d5c Merge branch 'next' into 1009-async-loaders 2020-10-12 16:02:49 +08:00
Gaëtan Maisse
5b992ae37c
ci: display yarn install/add command output when running the E2E tests
It helps a lot during investigation of some dependency issues and avoid to have to use SSH to debug things.
2020-10-10 09:49:05 +02:00
Gaëtan Maisse
df39df3d58
ci: use yarn instead of npx to bootstrap angular e2e tests
Use npx causes a mix of both `package-lock.json` and `yarn.lock`.
Plus, we download `@angular/cli` dep with yarn so it looks normal to use it.
2020-10-10 09:38:56 +02:00
Gert Hengeveld
a71266a6f1 Create, use and publish a prebuilt manager. 2020-10-08 15:26:02 +02:00
Michael Shilman
8c9e0ac23c Merge branch 'next' into 10009-poc-async-loaders 2020-10-07 13:10:34 +08:00
Michael Shilman
c1ff295246 Merge branch 'next' into 10009-poc-async-loaders 2020-10-07 12:23:34 +08:00
Gaëtan Maisse
8aa8926911
refactor: apply the same dispatch for all scripts relying on CircleCI node concurrency 2020-10-03 18:23:37 +02:00
Gaëtan Maisse
c9766b9c4c
refactor: avoid duplication of code used to find the max nb of concurrent tasks "allowed" 2020-10-03 18:23:37 +02:00
Gaëtan Maisse
f8319e733b
ci: add cache for yarn cache-folder 2020-10-03 18:23:37 +02:00
Gaëtan Maisse
9e765c491d
ci: improve run-registry logging 2020-10-03 18:23:36 +02:00
Gaëtan Maisse
c79c8901ff
chore: use number of vcore - 1 as concurrency level in publish to verdaccio script 2020-10-03 18:23:35 +02:00
Gaëtan Maisse
b8f61ae652
ci: set concurrency to 8 when running lerna run prepare on CI 2020-10-03 18:23:35 +02:00
Gaëtan Maisse
0181230051
ci: replace handmade repo-dirty-check by --frozen-lockfile option when running yarn install
Doc:
If you need reproducible dependencies, which is usually the case with the continuous integration systems, you should pass --frozen-lockfile flag.

> yarn install --frozen-lockfile
> Don’t generate a yarn.lock lockfile and fail if an update is needed.
2020-10-03 18:23:34 +02:00
Josh Soref
017c8b5657 spelling: separator
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-09-29 09:42:31 -04:00
Yann Braga
c064db459f cli(e2e): add clean slate option
- This allows to delete existing projects before running tests
2020-09-24 14:58:27 +02:00
Yann Braga
d7600147ed test(e2e): add env file with fast refresh for CRA 2020-09-21 17:18:28 +02:00