362 Commits

Author SHA1 Message Date
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
Juri
a8fcd421d5 fix(storybook): add styled-jsx typings to Storybook tsconfig 2021-08-19 17:41:28 +02:00
Juri
b5b5f250d0 feat(react): add Nx React Storybook preset 2021-08-06 18:11:47 +02:00
Phillip Barta
1b5498f367
feat(core): updated dotenv and switched to import 'dotenv/config' (#5615) 2021-07-29 17:49:23 -04:00
Katerina Skroumpelou
0bacdf3181
feat(storybook): allow users to init storybook with more frameworks (#6491)
ISSUES CLOSED: #5985
2021-07-23 15:32:12 +02:00
Katerina Skroumpelou
a4020b03c6
fix(storybook): when migrating to 12.1 do not throw if project has no targets (#6490)
ISSUES CLOSED: #6128
2021-07-23 15:56:11 +03:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
Juri Strumpflohner
596cf5b4b0
fix(storybook): add cssmodule and image typings for React Storybook setup (#6363) 2021-07-16 14:43:03 +02:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Leosvel Pérez Espinosa
195e6bade5
cleanup(misc): rename builders.json to executors.json (#6230) 2021-07-02 15:59:34 +01:00
Jack Hsu
369da3ee78
feat(web): add support for webpack 5 (#5892) 2021-06-29 08:41:01 -04:00
katerina
e6f047f097 fix(storybook): change main-js without executing it in migrator 2021-06-28 12:49:42 -04:00
Jason Jean
4f7191e154 chore(repo): update nx to 12.5.0-beta.5 2021-06-25 17:08:37 -04:00
Katerina Skroumpelou
e13b423ddb
feat(storybook): from addon-knobs to controls (#6068) 2021-06-25 18:17:48 +03:00
Juri Strumpflohner
ea0c6a33f0
fix(storybook): make sure compilation errors get logged to the console (#6129) 2021-06-25 15:12:01 +00:00
Juri Strumpflohner
ad9d201013
feat(storybook): upgrade to Storybook v6.3 support (#6104) 2021-06-24 12:25:37 -04:00
Miroslav Jonaš
c814002384
chore(repo): fix storybook to 6.2.9 before 6.3.0 support is ready (#6108) 2021-06-23 22:47:28 +02:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
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