394 Commits

Author SHA1 Message Date
Katerina Skroumpelou
483115ba06
fix(storybook): when building set node_env (#9390)
ISSUES CLOSED: #8403
2022-03-18 14:00:40 +00:00
Emily Xiong
83acbafa7c
bugfix(storybook): should add @storybook/react-native to devDependencies (#9364) 2022-03-17 00:38:17 +00:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Katerina Skroumpelou
dbbd7eff83
fix(storybook): fixing the static-dir issue (#9313) 2022-03-14 17:53:15 +02:00
Victor Savkin
4e9375f5f4 chore(repo): update the version of nx 2022-03-11 10:40:40 -05:00
Jason Jean
94687e993c
chore(repo): ensure license file exists for all published packages (#9274) 2022-03-10 18:33:06 -05:00
Katerina Skroumpelou
261b35d90b
feat(storybook): show warning about version 5 support drop (#9257) 2022-03-09 20:05:03 +00:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json (#9195)
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json

* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -05:00
Colum Ferry
aac9b681f2
fix(storybook): prevent storybook from hoisting webpack 4 dep for angular (#9243) 2022-03-09 08:03:57 -05:00
Leon Radley
9c2ebfe71d
fix(storybook): add staticDir object schema (#8885)
Adds schema for the more advanced storybook staticDirs config defined here.

https://storybook.js.org/docs/react/configure/images-and-assets
2022-03-08 08:26:13 -08:00
Katerina Skroumpelou
fc018cd438
feat(storybook): add styles and stylePreprocessorOptions to the executors (#9057) 2022-02-21 16:40:59 +02:00
Emily Xiong
19efdfc938
feat(react-native): add storybook to react native (#8886) 2022-02-14 10:13:23 -05:00
Leosvel Pérez Espinosa
cf7a18bd14
fix(angular): prevent adding dependencies when generating apps and specifying skipPackageJson (#8806) 2022-02-01 16:32:47 -05:00
Colum Ferry
19f8813450
fix(storybook): ensure watch is passed to angular storybook options (#8800) 2022-02-01 06:42:17 -05:00
Phillip Barta
be91d1f99a
fix(core): stop inlining tsconfig-paths-webpack-plugin and use version with fix (#8357) 2022-01-27 08:59:46 -05:00
Victor Savkin
298ceba5b3
chore(repo): readme fixes 2022-01-24 09:39:31 -05:00
Victor Savkin
9e75918154
feat(core): speed up file map creation (#8597) 2022-01-19 15:30:21 -05:00
Katerina Skroumpelou
dcb839c49d
fix(storybook): handle defaultProject issues with projectBuildConfig flag (#8494)
* fix(storybook): better error logging for missing projectBuildConfig

* feat(storybook): migrator to add projectBuildConfig

* fix(storybook): set projectBuildConfig in storybook configuration generator

* fix(storybook): find the correct targets for build and storybook
2022-01-17 17:46:24 +02:00
Katerina Skroumpelou
dcf835fb9e
fix(storybook): bumped versions of Storybook packages - Angular 13 fix (#8487) 2022-01-14 14:44:35 +02:00
Katerina Skroumpelou
31b8b46a18
Revert "fix(storybook): apply a webpack tweak for storybook and angular (#8392)" (#8486)
This reverts commit 77529a1770ce848c3184d0b86571e3300f585ac8.
2022-01-12 16:45:43 +02:00
Phillip Barta
8abcaab7c3
fix(misc): dont publish jest.config.js files (#8341) 2022-01-07 14:10:24 -05:00
Vadim
77529a1770
fix(storybook): apply a webpack tweak for storybook and angular (#8392)
* fix(storybook): apply a webpack tweak for storybook and angular

- [x] remove html raw-loader from the webpack rules array if storybook is used with angular v13;

the html raw-loader breaks jit compilation when storybook 6.5 aplha is used with angular v13

ISSUES CLOSED: #8360

fix(testing): update storybook generator configuration snapshot

fix(testing): update storybook generator configuration snapshot, use the flag --update-snapshot

fix(testing): update storybook generator configuration snapshot, test affected, update snapshot

* cleanup(storybook): make the webpack tweak for storybook and angular explanation more concise
2022-01-06 11:21:13 +02:00
Phillip Barta
e57cef0901
cleanup(repo): use devkit instead of devkit reexports from workspace (#7773) 2021-12-21 21:06:31 +00:00
Victor Savkin
88751a3685 chore(repo): clean up the language to match the new tag line 2021-12-17 16:08:38 -05:00
Juri
6f4226af75 feat(storybook): upgrade to Storybook 6.4 2021-12-09 10:06:10 -05:00
Victor Savkin
8806d1f815 Revert "feat(storybook): upgrade to Storybook 6.4 (#7917)"
This reverts commit e4595867cc16cd5fe20d02e242d6ccbc727bd1f1.
2021-12-06 20:02:54 -05:00
Juri Strumpflohner
e4595867cc
feat(storybook): upgrade to Storybook 6.4 (#7917) 2021-12-06 12:49:16 +02:00
Hans Otto Wirtz
eb9a7135e2 fix(storybook): make Angular 13 logger devkit-compatible 2021-11-29 09:20:35 +01:00
Katerina Skroumpelou
c293e7779d
fix(storybook): fix webpack5 check (#7836)
ISSUES CLOSED: #7640
2021-11-26 09:26:01 -05:00
James Henry
98ffe8574b feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
Jason Jean
448923a1b1
chore(repo): update nx to 13.2.0-rc.4 (#7796) 2021-11-18 16:56:36 -05:00
Juri Strumpflohner
1d9825875e
feat(storybook): angular v13 and Storybook 6.4 support (#7690)
* feat(storybook): angular v13 and Storybook 6.4 support

* fixup! feat(storybook): angular v13 and Storybook 6.4 support

* fix(angular): add specific storybook prerelease for angular 13 support

* fixup! fix(angular): add specific storybook prerelease for angular 13 support

* fixup! fixup! fix(angular): add specific storybook prerelease for angular 13 support

* feat(angular): add storybook support for angular 13

* fix(angular): temporarily disable storybook tests

Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-13 02:14:10 +00:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -05:00
Katerina Skroumpelou
c68b37e29f fix(storybook): install cypress packages if not installed for e2e apps
ISSUES CLOSED: #7158
2021-11-05 11:06:38 +01:00
Juri Strumpflohner
0d3a5c375d
fix(storybook): make sure Storybook can use TypeScript for the config files (#7566)
ISSUES CLOSED: #7515
2021-10-29 20:23:34 +03:00
Jack Hsu
75513d6f8b
chore(repo): add tests to make sure migration factory/implementation are correct (#7541) 2021-10-27 16:12:07 -04:00
Craigory Coppola
c87dfad2df
fix(storybook): storybook migration fails if targets not defined on a project (#7475) 2021-10-21 14:48:49 -05:00
Craigory Coppola
bdcbac4445
feat(core): standalone project configuration is default (#7351)
* feat(core): standalone project configuration is default

* chore(core): changes to e2e tests

* fix(core): intuit projects when inside their directories when using project.json files

* chore(core): e2e changes

* fix(core): standalone configurations work with npm-project generator

* chore(core): e2e tests should use standalone configurations

* chore(core): e2e fixes per review
2021-10-16 00:07:12 +02:00
Dominik Pieper
b3a656ec89
feat(storybook): add @storybook/svelte fot the storybook and build-storybook executors (#7352) 2021-10-15 10:58:47 -04:00
Craigory Coppola
79cf69b4e4
feat(core): consolidate nx.json and workspace.json (#6642)
* feat(core): consolidate settings between workspace.json + nx.json

workspace.json (and linked project.json files) now contain all project specific settings.
nx.json now contains all settings that affect the whole workspace.

* chore(core): fix angular unit tests w/ new config

* chore(core): fix failing tests

* chore(core): fix formatting

* chore(core): fix more tests

* chore(core): normalize-nx-json feedback

* chore(core): Fix more unit tests

* chore(core): fix remaining tests in workspace

* chore(linter): fix remaining linter tests

* chore(core): fix remaining spec + build issues

* chore(core): formatting fixes

* feat(core): migration script to move config options to new locations

* chore(core): fix e2e tests

* chore(core): run format

* chore(react-native): fix failing tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): move properties to new location during format step

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): initial pass on ngcli-adapter for property consolidation

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(misc): fix tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* docs(core): update docs with changes

* chore(misc): fix tests

* chore(core): code review changes

updateWorkspaceJson -> updateWorkspace, no longer uses updater function

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix bug in ngcli impl

* fix(core): fix bug in ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* fix(core): fix ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix workspace e2e

* chore(core): fix nx-plugin e2e

* fix(core): move defaultProject to nx.json

* chore(core): fix broken workspace test

* chore(core): formatting

* chore(core): fix workspace format

* chore(core): add nxJson to ExecutorContext

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): remove all references ot `NxProjectConfiguration` from our code

* chore(core): Review Changes

* fix(core): update new config locations v13 migration
2021-10-14 10:42:47 -04:00
Jack Hsu
724b0c0e3c
feat(core): upgrade to webpack 5 (#7283)
* feat(core): upgrade to webpack 5

* chore(core): update webpack 5 docs
2021-10-13 00:34:28 -04:00
Juri Strumpflohner
c446aa5c1d
feat(storybook): add Webpack 5 support for React Storybook setups (#6791)
* feat(storybook): add Webpack 5 support for React Storybook setups

ISSUES CLOSED: #6703

* feat(storybook): adding storybook webpack 5 migration to web migrator

Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com>
2021-10-08 21:51:04 -04:00
Jack Hsu
a8bcd27933
fix(react): apply postcss config from apps to their lib dependencies (#7265)
Fixes #7040
2021-10-08 14:10:25 -04:00
Manoj Bahuguna
fa0cd72ccc
fix(storybook): warn if skipping generating files in .storybook folder (#6502)
during storybook-configuration, if .storybook folder already exists, generating files in it is skipped
we should show warnings in this case, as sometimes those directories can exists but be empty, which can cause issues
this can happen for example when reverting from previous setup using git reset (or something similar)
in that case content is deleted, but empty folder remains

showing warning will make it easier to debug what went wrong
2021-09-21 19:55:41 +03:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
Patrick de Klein
effbdc7fac fix(web): remove a typo to fix storybook component setup for webcomponents 2021-09-15 13:02:12 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json (#6973) 2021-09-15 11:53:08 -04:00
Jason Jean
a7f89508e5
feat(linter): cache --outputFile (#6852) 2021-08-26 11:25:51 -04:00
AlmarAubel
e2637760ca
feat(storybook): add vue3 support for storybook executer (#6604)
`This PR adds support for 'vue3' so it can be used to run storybook in a NX workspace

Closes #6603
2021-08-23 10:16:16 +03:00
AgentEnder
c9c8fa7f1c chore(core): project.json should not be included in builds
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-08-20 20:22:30 -04:00