126 Commits

Author SHA1 Message Date
Jason Jean
c7a5f6d7dd
fix(storybook): fix import for findNodes (#5974) 2021-06-11 02:54:17 +00:00
Leosvel Pérez Espinosa
c64d9dfb2f
fix(storybook): fix broken migration test (#5951) 2021-06-10 13:44:42 -04:00
Katerina Skroumpelou
dd45382252
feat(storybook): schematic to migrate stories to Storybook 6.2 (#5401) 2021-06-09 19:47:51 +02:00
Katerina Skroumpelou
0dd89999ea
fix(storybook): generating stories without an existing e2e project (#5799) 2021-06-08 09:37:24 +02:00
Miroslav Jonaš
f01bd0cfdc
fix(testing): fix failing storybook executor unit test (#5844)
* fix(storybook): fix failing test

* chore(testing): fix formating

* fix(testing): fix path to package.json

* fix(testing): mock statSync
2021-06-01 10:03:45 +02:00
Miroslav Jonaš
76a3092891
fix(testing): enable and fix several disabled unit and e2e tests (#5711) 2021-05-28 14:35:04 +02:00
Jack Hsu
aaad6f041a
cleanup(storybook): add some stricter types for the storybook executor (#5805)
Co-authored-by: Dominik Pieper <dominik@pieper.io>
2021-05-27 13:27:39 +00:00
Aaron Brewer
313c376f55
feat(storybook): add html to supported 6.2 uiFrameworks (#5610) 2021-05-20 16:15:15 +03:00
vsavkin
f82344d63a chore(repo): refine the tag line 2021-05-18 20:55:40 -04:00
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() (#5668)
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
Jason Jean
ff69134373
chore(repo): update nx to 12.3.0-rc.1 (#5645) 2021-05-15 01:18:27 +00:00
Jason Jean
7352fd0c1e
feat(angular): update to angular 12 stable (#5643) 2021-05-12 19:30:23 -04:00
Katerina Skroumpelou
8078e9a56b
fix(storybook): migration to update @storybook/* packages version (#5359)
* fix(storybook): migration to update @storybook/* packages version

* fix(storybook): fix snapshot for dependencies

* feat(storybook): migrate storybook versions for v12 users

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 22:02:26 +00:00
Juri Strumpflohner
a75143caff
fix(storybook): remove webpack v4 typings (#5638)
there are different version potentially installed
2021-05-12 15:59:05 -04:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
Katerina Skroumpelou
6b7b6815c1
feat(storybook): update Angular Storybook to use new Storybook v6 syntax (#5398) 2021-04-29 11:02:04 +02:00
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
Juri Strumpflohner
2089d37cf9
fix(storybook): vSCode TypeScript error (#5443) 2021-04-26 15:23:06 +00:00
Minijus L
357ecd09a4
fix(testing): update ts-jest to version 26.5.5 (#5405)
Update `jest.config.js` ts-jest section with lower-cased 'tsconfig' property as 'tsConfig' is to be deprecated in version 27.
2021-04-26 08:56:52 -04:00
Rares Matei
bd21728255
feat(storybook): infer Cypress project name from app source (#5404) 2021-04-22 15:16:49 +02:00
Divlo
6fe7e7d385
fix(storybook): incorrect environment in dev (#5313) 2021-04-15 10:11:52 +02:00
Phillip Barta
48bf60c17d
cleanup(repo): removed unused dependecies from @nrwl/web migration in #2004 (#5344) 2021-04-15 00:14:27 -04:00
Rares Matei
6c4155dac6
feat(storybook): configure Cypress directory (#5314) 2021-04-12 14:06:51 +02:00
vsavkin
38c111ba06 chore(repo): update to nx 12 2021-04-07 12:31:23 -04:00
Jason Jean
01967f89b1
fix(storybook): read package version from node_modules (#5187) 2021-03-31 19:37:28 +00:00
Juri Strumpflohner
ec2ebca40a
fix(storybook): linting react storybook files with eslint (#5146)
ISSUES CLOSED: #3867
2021-03-29 14:24:27 +03:00
Artem Berezin
dedd2e49d6
fix(storybook): rename storybook dev server ssl param to https (#5096)
`ssl` don't work, because `https` is expected by storybook's dev-server

https://github.com/storybookjs/storybook/blob/next/lib/core-server/src/dev-server.ts#L40

Co-authored-by: juristr <juri.strumpflohner@gmail.com>
2021-03-26 11:22:52 +01:00
Vivek More 🧐
212fb00548 cleanup(misc): use more es6 features
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
  This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Juri Strumpflohner
2ac10d9952
fix(storybook): changes in Storybook server options path in v6.2 (#5072)
ISSUES CLOSED: #4747
2021-03-22 14:28:17 +02:00
Jason Jean
3137511626
fix(storybook): do not update existing root configuration (#5023) 2021-03-12 17:10:59 -05:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -05:00
Jason Jean
956dfe6509
fix(react): add dependency onto @nrwl/workspace (#4865) 2021-02-23 11:39:02 -05:00
Vivek
ff5048e23c
cleanup(misc): misc cleanup
* cleanup(testing): simplify registering of collections

* cleanup(testing): remove unnecessary number from variable name

* cleanup(core): update error message

* cleanup(nx-plugin): use object destructuring in normalize-options.ts
2021-02-22 12:46:46 -05:00
Jason Jean
35049dcdef
fix(storybook): emit a value from storybook executor so that e2e tests work (#4845) 2021-02-19 18:05:42 -05:00
Jason Jean
95263d7408
fix(storybook): fix windows path in storybook configuration (#4818) 2021-02-17 17:08:24 +00:00
Jason Jean
400277b170
fix(storybook): fix failing unit tests (#4789) 2021-02-12 23:05:43 +00:00
Jason Jean
18c8b2b30d
fix(core): change running tasks in parallel to running in serial (#4785) 2021-02-12 21:39:55 +00:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next (#4769) 2021-02-12 15:29:31 -05:00
Jonathan Cammisuli
d9aef75bd5
chore(react): move react schematics to generators (#4745)
* chore(react): move react schematics to generators

* chore(react): update lib generators

* chore(react): update redux generators

* chore(react): move react story book generators

* chore(react): add old implementation for update babel in next

* chore(react): rename tsconfig json template files to include __tmpl__

* chore(react): update deps

* chore(react): fix component template file

* chore(react): remove angular-devkit deps

* chore(react): remove angular-devkit deps
2021-02-10 21:30:55 -05:00
Jason Jean
651f3b60e9
feat(storybook): migrate storybook builders to devkit (#4758) 2021-02-10 20:39:49 +00:00
Jason Jean
d51bbe04f9 feat(storybook): migrate storybook schematics to devkit 2021-02-10 09:35:54 -05:00
katerina
0fc65d8763 feat(storybook): Storybook v6 migration generator for default configurations
Co-authored-by: Philip Fulcher <philip@nrwl.io>
2021-02-01 09:17:49 -05:00
Victor Savkin
14503c27c9 Revert "feat(storybook): storybook v6 migration generator for default configuration"
This reverts commit e3c46f3fefd39c3095651d6074a04c0590433ecb.
2021-01-28 16:26:19 -05:00
Katerina Skroumpelou
e3c46f3fef
feat(storybook): storybook v6 migration generator for default configuration
Co-authored-by: Philip Fulcher <philip@nrwl.io>
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2021-01-28 21:45:32 +01:00
Jason Jean
1eda4dca18
fix(repo): fix tests (#4617) 2021-01-27 12:12:22 -05:00
Juri Strumpflohner
57ea3ac982
fix(storybook): check for presence of architect node on storybook migration (#4591)
ISSUES CLOSED: #3911
2021-01-22 13:30:59 -05:00
William Ghelfi
742ea79d53
Fix svgr/webpack conf (#4327)
* fix(misc): avoid issues with refs in SVGs

The previous "import friendly" syntax was actually disabling refs in SVGs parsed by svgr.

I found 3 possible solutions:
1. Removing "![path]"
2. Separating "+ref![path]" with another comma: "+ref,![path]"
3. Rewriting the loader entry in the style of the other loader entries

I chose the last one for added clarity within the file.

* fix(core): fix compilation errors
2021-01-15 09:09:55 -05:00