87 Commits

Author SHA1 Message Date
Victor Savkin
13280b5282 fix(angular): always append ngcc postinstall script 2020-06-10 16:34:35 -04:00
Rares Matei
5a59f090fe
fix(linter): fix exclude pattern for tslint and eslint schematics (#3113) 2020-06-05 16:04:53 -04:00
Jo Hanna Pearce
319f7d0f26 feat(angular): add addModuleSpec flag to library schematic + refactor 2020-06-03 16:46:42 -04:00
Jack Hsu
d593153a33
feat(react): refactored babel support so options are more easily customized (#3089)
This reverts commit 7679df22f5b90d085b5f32f2135d828036ee5aa7.
2020-05-29 02:09:47 -04:00
Victor Savkin
690be207be fix(misc): several misc fixes 2020-05-28 15:02:06 -04:00
Victor Savkin
7679df22f5 Revert "feat(react): refactored babel support so options are more easily customized (#3058)"
This reverts commit 0e036272cbe156fe9750a2f2bc6498a08cf7f457.
2020-05-28 13:11:56 -04:00
Jack Hsu
0e036272cb
feat(react): refactored babel support so options are more easily customized (#3058) 2020-05-26 09:16:36 -04:00
Victor Savkin
a95cba3144 feat(core): support different workspace layouts 2020-05-17 16:39:14 -04:00
Devin Shoemaker
0a70e46b6b
cleanup(core): export setDefaultCollection from @nrwl/workspace (#2970) 2020-05-09 12:12:40 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Juri Strumpflohner
a47c24c05f
feat(react): improve storybook schematics (#2831) 2020-04-27 18:47:23 +02:00
Juri Strumpflohner
d9baf7daba
docs: add link to nxcloud when generating a new react/angular a… (#2819)
* docs(angular): add link to nxcloud in generated app

* docs(react): add link to nxcloud in generated app
2020-04-11 22:13:00 +02:00
Brandon
9f0fdac4b5
fix(angular): remove prod tsconfig for non-publishable lib (#2816)
Closes #2765
2020-04-09 10:33:17 -05:00
Jason Jean
aeb0bdcb4e feat(core): enable caching by default 2020-03-26 17:14:17 -04:00
Bradley Zeggelaar
172c3a57c9 fix(angular): changes the styleext setting of the component schematic to style
the styleext setting to define the component style extension was removed in Angular 9.

ISSUES CLOSED: #2475
2020-03-25 09:11:07 -04:00
Victor Savkin
2c42431130 feat(core): rewrite path mappings when buildings apps 2020-03-19 21:41:03 -04:00
Juri
e5b9d80543 fix(angular): schematic to register routes
Fixes the schematic to register the route properly even if it is not directly defined at the
RouterModule registration
2020-03-10 10:24:14 -04:00
Jack Hsu
fef54fae4b
feat(linter): improve support for mixed linters when using IDEs (#2620) 2020-03-06 15:12:35 -05:00
Julien Saguet
df197cf194 fix(core): fix move schematic issues
Use slashes as path separator even when used on windows environments to avoid mis-identifying escaped characters in file path
Use slash as path separator even when used on windows to get a correct path in extends property
Fix an issue when renaming jest project name where substrings were replaced as well in the file
Fix an issue when renaming imports where substrings in imports where replaced too
2020-03-06 11:00:23 +00:00
Isaac Mann
c2bac02420 fix(storybook): find any module file 2020-03-04 14:37:24 -05:00
Brandon Roberts
cd52fce6b4 fix(angular): update Protractor E2E spec files to generate a passing test 2020-02-28 15:17:36 -05:00
Mathias Remshardt
7aaa09bfff
cleanup(node): moves some schematic helper to shared workspace rules 2020-02-26 20:19:17 -05:00
Isaac Mann
caf8c2c357 fix(storybook): allow import * as syntax in module file
ISSUES CLOSED: #2521
2020-02-21 16:00:44 -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
Bucky Maler
6cdc54bd68 fix(angular): storybook config schematic from generating stories when generateStories false
ISSUES CLOSED: #2383
2020-02-19 08:18:12 -05:00
Brandon
c7d075df49
fix(angular): update defaults for NgRx schematics (#2443)
BREAKING CHANGES:

The minimal flag is set to true
The syntax flag is set to creators
The useDataPersistence flag is set to false

BEFORE:

By default, the root Store and Effects modules are registered, with a generated feature
By default, the action classes syntax is used for scaffolding
By default, the DataPersistence class in injected and used in Effects

AFTER:

By default, only the root Store and Effects modules are registered
By default, the creator functions are used for scaffolding with schematics
By default, the DataPersistence operators are used in Effects
2020-02-06 15:17:05 -05:00
Jason Jean
3c6d8c67f8
feat(angular): update angular to 9-rc.14 (#2437) 2020-02-06 13:01:04 -05:00
Jason Jean
972381bc3f
feat(testing): update to jest-preset-angular v8.0.0 (#2401)
* feat(testing): update to jest-preset-angular v8.0.0 part 1

Updates to jest-preset-angular to v8.0.0, includes migrations to fix any existing projects affected
by the jest-preset-angular update.

closes #1979

* feat(testing): update jest-preset-angular to v8.0.0 part 2

Closed issues: #1979, #2165

Co-authored-by: Joshua D. Mentzer <mentzerj@trinity-health.org>

* feat(testing): update jest-preset-angular to v8.0.0 part 3

Co-authored-by: mentzerj <mentzerj@trinity-health.org>
Co-authored-by: Mehrad Rafigh <4339673+mehrad-rafigh@users.noreply.github.com>
2020-02-01 11:34:31 -05:00
Jason Jean
b6e6b3f1c3
Revert "Revert "feat(core): update to next version of angular deps"" (#2264)
This reverts commit f816fc424d4b0d850e0a49d0ed8e4a30ddca308c.
2020-01-31 13:08:50 -05:00
Jason Jean
3cf5b996d6
cleanup(storybook): remove more module related code (#2408) 2020-01-30 22:14:50 -05:00
Jason Jean
05dbcef537
fix(storybook): remove ng module import from angular stories (#2399) 2020-01-30 10:10:30 -05:00
Jo Pearce
8c99bc3da7
feat(angular): add --project alias, default argv source and example to move schemas (#2390) 2020-01-28 16:46:29 +00:00
Juri Strumpflohner
f951a1bc9b feat(angular): library builder to handle buildable libraries with deps (#2307)
This builder makes sure using buildable libraries depending on
other buildable libraries works as expected, without limiting the
current dx with auto-reload when using libraries within apps.
2020-01-24 10:19:24 -05:00
Jason Jean
311685762e feat(core): generate implicit dependencies for e2e projects 2020-01-09 12:08:17 -05:00
Jo Hanna Pearce
25de783a26 feat(angular): add move schematic for workspace and angular collections 2020-01-08 13:09:24 -05:00
Victor Savkin
f816fc424d Revert "feat(core): update to next version of angular deps"
This reverts commit bd230e0530e690b2ae7896a876510f62002943c8.
2019-12-10 08:07:26 -05:00
Jason Jean
bd230e0530 feat(core): update to next version of angular deps 2019-12-08 16:16:33 -05:00
Isaac Mann
ac33f049b2 fix(nx): skip existing stories and cypress specs 2019-12-03 19:43:48 -05:00
Fintan Kearney
c578974d2a fix(angular): check for e2e files before deleting (#2054)
Closes #1937
2019-11-22 11:14:59 -05:00
Isaac Mann
2425436931 fix(nx): clean up some storybook bugs 2019-11-15 12:03:27 -05:00
Dan Smith
f095647013 fix(angular): allow creating an app named 'app' or lib named 'lib'
Currently when trying to create an app named 'app' or a lib named 'lib', the schematics inject the
'projectType' as 'apps/application' or lib as 'libs/library', breaking the Angular build.

fix #1844
2019-11-11 13:17:40 -05:00
Isaac Mann
8b8d30eff1 chore(nx): storybook schematics for react 2019-11-03 16:57:00 -05:00
Isaac Mann
a0ec1b5e8b chore(nx): cleanup storybook schematics
bump storybook versions to 5.2.5
remove @types/storybook__addon-knobs

chore(nx): remove css-loader package dependency
2019-10-31 15:30:18 -04:00
Isaac Mann
c60857a6df feat(nx): storybook schematics
chore(nx): move some schematics into @nrwl/angular

    chore(nx): add e2e test

    feat(nx): add storybook schematics and builder

    test: Add tests

    test: remove test

    chore: Move some schematics into @nrwl/angular

    test: fix tests

    chore: Add e2e test

    chore: Bump storybook versions

    chore: createTestUiLib takes a libName argument

    chore: configs extend root config

    fix: Remove custom scss loader

    feat: add storybook builder

    fix: generate documentation and fix linting

    chore: Builder tests passing

    fix(nx): configuration schematic can run multiple times

    feat(nx): component story format

    docs(nx): update storybook docs

    fix(nx): pin core-js dev dependency to ^2.6.9

    chore(nx): fix formatting

    chore(nx): match core-js version for web/storybook

    chore(nx): remove storybook's angular dependencies

    chore(nx): modifyObstructiveCode to false in cypress.json

    See: https://github.com/cypress-io/cypress/issues/4042#issuecomment-487562075

    chore(nx): storybook tests --no-interactive

    chore(nx): add storybook to e2e tests

    chore(nx): reorder e2e tests
2019-10-23 17:16:19 -04:00
Brandon Roberts
14a1963475 fix(nx): update TypeScript app configuration for Ivy support 2019-10-15 15:27:43 -04:00
Brandon Roberts
6160cc2324 feat(nx): update usage of facades with NgRx and add better support for barrel exports 2019-10-10 11:30:16 -04:00
ben
047fb3200c docs(nx): add nx video course links 2019-09-26 09:23:34 -04:00
Mehrad Rafigh
e6b07e282c fix(nx): use same prettier version (#1869) 2019-09-23 11:24:13 +01:00
Bucky Maler
fa05f1171a fix(angular): remove tsconfig.lib.json excludes when --unit-test-runner is none 2019-09-17 12:01:48 -04:00
Jo Pearce
835f3b091d fix(angular): remove backticks from home template which cause decorator parse errors
Resolves #1785
2019-09-09 14:10:33 -04:00