Jack Hsu
28ebfae4ea
feat(react): add a hook generator (e.g. useThing) ( #6773 )
...
1- Implement a hook generator which provides the skeleton for a new hook, including a test which
uses @testing-library/react-hooks
2- add --pascalCaseDirs to the component generator, so you can
have 'SomeComponent/SomeComponent.tsx' instead of 'some-component/SomeComponent.tsx'
Co-authored-by: Sam Clement <samclement@msn.com>
2021-08-19 13:19:35 -04:00
Sumit Parakh
295b8d737c
fix(core): fix --directory alias conflict ( #6596 )
...
ISSUES CLOSED : #6571
2021-08-18 18:02:12 -04:00
Craigory V Coppola
a1ccc87a07
docs(misc): documentation headers should include collectionName for searchability ( #6451 )
...
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-07-21 11:40:59 -04:00
Leosvel Pérez Espinosa
4433e21e24
docs(misc): highlight executors and generators required options ( #6231 )
2021-07-06 14:29:57 -04:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files ( #5880 )
2021-06-22 20:30:38 -04:00
Katerina Skroumpelou
0dd89999ea
fix(storybook): generating stories without an existing e2e project ( #5799 )
2021-06-08 09:37:24 +02:00
Noriyuki Shinpuku
a14924b809
feat(react): generate library with strict mode by default ( #5720 )
2021-05-31 10:16:15 -04:00
James Henry
a3c08a9153
feat(linter): do not set eslint parserOptions.project by default ( #5798 )
2021-05-28 13:35:34 +00:00
Noriyuki Shinpuku
cdb4cdc196
fix(react): fix application template for strict mode ( #5552 )
2021-05-14 12:00:13 -04:00
Noriyuki Shinpuku
6cb1dc65d0
feat(react): add strict option to react application generator ( #5248 )
2021-05-02 22:01:43 -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
Rares Matei
bd21728255
feat(storybook): infer Cypress project name from app source ( #5404 )
2021-04-22 15:16:49 +02:00
Rares Matei
6c4155dac6
feat(storybook): configure Cypress directory ( #5314 )
2021-04-12 14:06:51 +02:00
Noriyuki Shinpuku
6dbdaee9f6
feat(react): add strict option to react library generator ( #5006 )
2021-03-16 10:31:14 -04: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
victor savkin
93ebc835dc
docs(misc): clean up api docs
2020-12-02 10:51:43 -05:00
Katerina Skroumpelou
0d38b8b560
fix(react): corrected style schematics for css modules ( #4067 )
2020-11-30 16:44:47 -05:00
victor savkin
0a955a420c
cleanup(docs): use words generator and executor in api docs
2020-11-24 11:57:52 -05:00
Webber Wang
9efa305b62
feat(storybook): storybook config projectType application ( #2382 ) ( #3611 )
...
* feat(storybook): storybook config projectType application
* docs(storybook): update auto-generated docs
* feat(storybook): supporting projectType application for storybook
feat(storybook): supporting projectType application for storybook
* fix(storybook): change build asset glob pattern
fix(storybook): change build asset glob pattern
Co-authored-by: Webber Wang <webber@codelabstudios.com>
2020-09-24 17:33:24 +03:00
Juri Strumpflohner
18c675a7b1
fix(storybook): pass on generateCypressSpecs from React storybook schematic ( #3687 )
2020-09-08 16:03:11 +03:00
Victor Savkin
aff592b930
feat(angular): add an option to use eslint
2020-08-06 22:08:16 -04:00
Juri Strumpflohner
ed0a9a7405
fix: generated tsconfig path mapping for publishable libs (when generated in nested folders) ( #2840 )
...
fix(core): require importPath for publishable libs
2020-07-22 12:39:44 -04:00
Devin Shoemaker
2193859525
chore(react): unify grammar in schema.json files ( #3227 )
2020-06-24 13:55:50 -04:00
Jack Hsu
40f9180eba
feat(react): add styled-jsx support for apps, libs, and components ( #3204 )
2020-06-22 20:41:57 -04:00
Adam L Barrett
2700cb7596
feat(react): make React schematics use babel-jest by default ( #3154 )
...
* feat(react): make React schematics use babel-jest by default
The babelJest option was removed from the React application
and library schematics and set to true by default
ISSUES CLOSED: 2365
* feat(react): remove babelJest option test
2020-06-11 16:26:23 -04:00
Juri Strumpflohner
c9cac2d57a
fix(react): pass linter option properly to storybook cypress setup ( #2903 )
...
* fix(react): pass linter option to cypress storybook setup
* fix(react): add storybook linter defaults
2020-04-28 20:28:54 -04:00
Juri Strumpflohner
a47c24c05f
feat(react): improve storybook schematics ( #2831 )
2020-04-27 18:47:23 +02:00
Victor Savkin
6e9fb0efa0
docs(core): clean up generated docs
2020-03-30 13:08:41 -04:00
Jo Hanna Pearce
9ad9b2eb34
feat(testing): add option to use babel-jest rather than ts-jest ( #2722 )
2020-03-30 07:15:33 -04:00
Victor Savkin
2c42431130
feat(core): rewrite path mappings when buildings apps
2020-03-19 21:41:03 -04:00
Rares Matei
d37fc66bc7
feat(react): add option to stop generation of components or styles ( #2568 )
...
ISSUES CLOSED: 2184
2020-03-03 14:44:10 -05:00
Juri
7723e941c0
docs(core): adjusts description on library schematics
...
right now "where the app is placed" is displayed which might be confusing given we generate a
library
2020-02-20 08:26:28 -05:00
Jack Hsu
f58e6d3d78
feat(react): add --flat option for component schematic to add file at the source root
2020-01-05 16:37:26 -05:00
Jack Hsu
fd47229764
feat(react): add option to generate js files instead of ts files ( #2247 )
2020-01-02 15:56:14 -05:00
Jack Hsu
df7ff8cbae
feat(react): add better support for file and image imports ( #2245 )
2019-12-30 13:36:44 -05:00
Isaac Mann
8b8d30eff1
chore(nx): storybook schematics for react
2019-11-03 16:57:00 -05:00
Jack Hsu
a524b2e947
feat(react): add publishable library support
...
Issue #1521
2019-10-02 16:26:20 -04:00
Jack Hsu
811c50b92c
feat(web): use babel-loader instead of ts-loader for web build builder
...
- removes the `differentialLoading` build option
- differential loading is always enabled for prod builds
BEFORE (without ESM):
Benchmark #1 : nx build demo --prod
Time (mean ± σ): 13.834 s ± 1.731 s [User: 11.817 s, System: 1.352 s]
Range (min … max): 11.947 s … 16.015 s 10 runs
AFTER (with ESM):
Benchmark #1 : nx build demo --prod
Time (mean ± σ): 18.711 s ± 1.310 s [User: 12.172 s, System: 1.394 s]
Range (min … max): 17.232 s … 20.770 s 10 runs
2019-09-05 15:34:01 -04:00
Jack Hsu
0a2f7fd78a
feat(react): add redux schematic ( #1761 )
2019-08-28 08:25:34 -04:00
Victor Savkin
64063f72df
docs(nx): update api docs to contain examples
2019-08-21 11:56:21 -04:00
Victor Savkin
9a8f637899
docs(nx): generate different flavours of nx docs
2019-08-17 13:25:22 -04:00