1145 Commits

Author SHA1 Message Date
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
Brandon Roberts
4ff436e797 feat(angular): update to NgRx version 9 release 2020-03-09 12:02:20 -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
Victor Savkin
33e12754fe cleanup(core): improve the handling of edge cases determining task's outputs 2020-02-25 15:32:15 -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
Victor Savkin
49168c10e3
feat(react): rework react buildable libraries to read deps from dist (#2513) 2020-02-20 11:00:13 -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
Jason Jean
cc5130d5f2 fix(angular): bump migration to 9.0.1 2020-02-10 12:47:47 -05:00
Jason Jean
fd0b192161 feat(core): update to devkit 9.0.1 2020-02-07 13:47:54 -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
35e3be2469 feat(angular): update to angular 9.0.0 2020-02-06 15:16:21 -05:00
Jason Jean
3c6d8c67f8
feat(angular): update angular to 9-rc.14 (#2437) 2020-02-06 13:01:04 -05:00
Juri
c27b33a6ec fix(angular): check for devDeps & peerDeps when writing package version for dep libs
when determining the package version of dependent libraries, make sure that there's no devDeps or
peerDep already set. In such case don't touch the package.json
2020-02-04 15:23:22 -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
Jonathan Cammisuli
342ee9db77 chore(misc): update tree-kill package to 1.2.2 (#2328) 2020-01-16 19:53:04 -05:00
Juri
7a9d4bde0c chore(core): update @angular-devkit/* deps to fix browserslist out of date issue
see https://github.com/angular/angular-cli/issues/16560
2020-01-15 21:10:42 -05:00
Victor Savkin
f43897978c Revert "chore(core): update @angular-devkit/* deps to fix browserslist out of date issue"
This reverts commit 3780eba421bda7f4755e6c433f1d6eba8fd86104.
2020-01-15 10:20:56 -05:00
Juri
3780eba421 chore(core): update @angular-devkit/* deps to fix browserslist out of date issue
see https://github.com/angular/angular-cli/issues/16560
2020-01-15 09:39:01 -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
Jason Jean
965901f4e5 fix(angular): migrate users to matching versions of cli and build-angular 2019-12-08 14:58:19 -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
Brandon
8812ce1fe2
chore(nx): bump dependencies on Angular, Angular DevKit, and NgRx (#2002) 2019-11-07 13:57:36 -06: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
Zachary Williams
e9a6b20537 fix(angular): correctly add provider to module if last element was object literal
addProviderToModule incorrectly added the desired provider if the last element in the providers
array was an object literal
2019-10-07 10:48:13 -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
Brandon Roberts
47e751f931 fix(nx): check for valid semver version before updating package
Closes #1831
2019-09-17 10:43:25 -04:00