517 Commits

Author SHA1 Message Date
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
Brian McDaniel
4759311de3 fix(angular): ng add @nrwl/angular should run schematics 2019-10-07 10:36:44 -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
Brandon Roberts
88512c2f93 fix(nx): use semver for version range comparison 2019-09-11 09:21:31 -04:00
Brandon Roberts
d5b4453ca3 fix(nx): add check to see if CLI version is more recent 2019-09-11 09:21:31 -04:00
Brandon Roberts
20b292b1a8 fix(nx): remove check for CLI version before migration 2019-09-11 09:21:31 -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
Brandon Roberts
cf147cf405 chore(nx): bump Angular CLI deps to 8.3.3 2019-09-09 14:08:05 -04:00
Brandon Roberts
f222e88272 fix(angular): update Angular to 8.2.x and CLI to 8.3.x for migration 2019-09-09 14:08:05 -04:00
Victor Savkin
09a94b8958 feat(nx): implement next support 2019-09-08 14:36:30 -04:00
Brandon Roberts
0491ccc5b2 feat(nx): update to Angular 8.2, Devkit 8.3, and NgRx 8.3
Incorporates fix from https://github.com/angular/angular-cli/pull/15041
which changed the behavior of registering schematic defaults
2019-09-07 16:28:07 -04:00
Jo Pearce
eeb713f5f0 fix(nx): exclude appropriate test setup file in tsconfig.lib.json
Resolves #1139
2019-09-05 15:27:47 -04:00
mehrad-rafigh
3cef5095be fix(nx): fix error message when using angular with nx cli 2019-09-02 13:20:00 -04:00
mehrad-rafigh
5ada9dd394 feat(angular): add backendProject flag to angular app generation schematics
--backend-project now accepts a string, which should be the name of a node/nest app and creates a
proxy.conf.json

closes #1288
2019-09-02 13:15:28 -04:00
ben
a83f47abf3 feat(frontend): update home screens 2019-08-29 16:47:02 -04:00
Ahn
2c18f6aad7 docs(nx): correct wrong description for ng-add (#1731)
* docs(nx): correct wrong description for ng-add

* docs(nx): generate new ng-add.md
2019-08-16 13:12:03 -04:00
Jack Hsu
13e7b69c5a
feat(react): add react-specific eslint configuration (#1727) 2019-08-15 13:01:22 -04:00
Victor Savkin
b028452380 feat(nx): make choosing the cli clearer 2019-08-14 18:11:11 -04:00
Victor Savkin
53027b4635 refactor(nx): do not ask for directory when creating apps and libs 2019-08-13 21:13:46 -04:00
Jason Jean
aecdd2bc4c fix(angular): use build-angular for linting 2019-08-09 11:15:40 -04:00
James Henry
448233bc5c feat(nx): add eslint support 2019-07-31 17:05:56 -04:00
Victor Savkin
192a6a083d feat(nx): misc ux improvements 2019-07-29 09:23:51 -04:00
mehrad-rafigh
6d6cbf8b0f fix(nx): use correct schematic for angular components
Fixes #1617
2019-07-27 14:36:40 -04:00
Victor Savkin
2b646f8eb4 feat(nx): standalone version of nx 2019-07-24 10:27:47 -04:00
Jason Jean
98e5bbc100 fix(frontend): fix ngrx migration requiring angular cli 8.1 2019-07-19 15:23:44 -04:00
Brandon Roberts
4f7ec84741 feat(nx): add migration to update Angular CLI devDependencies to 8.1.x
Angular CLI 8.1.x is required in order to use the --allow-dirty option.
This also covers the additional build dependencies added when generating
libraries.
2019-07-18 18:32:44 -04:00
Brandon Roberts
6516176b65 feat(nx): update to NgRx 8 and add schematics support for creators and entities
Move addUpdateTask util function to @nrwl/workspace to run updates from @nrwl/angular migrations
Run update migration to latest version for NgRx if installed
2019-07-17 14:42:54 -04:00
Brandon Roberts
93aac33b79 docs(nx): update description of Nx in schematics, and frontend links
The schematics for React and Angular still refer to Angular CLI power-ups.
This also links the generated schematic for an Angular or React application
to their framework-specific pages.
2019-07-17 14:39:43 -04:00
Victor Savkin
c16f250136 feat(nx): implement global nx cli to remove the need to use yarn nx 2019-07-10 17:53:47 -04:00
Kristof Degrave
9278a8e4db fix(nx): fixed path to $schema in ng-package.json
The ng-package.json in a library had the $schema generate by the angular cli. This pointed to the ../node_modules by default, instead of  an offset to the project root. This is fixed in this commit.
2019-07-03 19:11:35 -04:00
Victor Savkin
7640598239 feat(nx): remove prompt asking for tags and for unit and e2e test runners 2019-06-26 08:22:25 -04:00
Jason Jean
2f27cc2156 feat(nx): exclude files from outside the project root when linting 2019-06-15 19:10:41 -04:00
Jason Jean
cf37c8ec31 feat(nx): add prompts for routing configuration 2019-06-05 11:33:04 -04:00
Emilio Martinez
c6105d46dd feat(nx): update to jasmine-marbles 0.5.0 2019-06-05 10:19:10 -04:00
Victor Savkin
7ea5405ee9 fix(nx): remove jasmine-marbles peer dependency to simplify migration 2019-06-04 16:35:22 -04:00
Jason Jean
7a161ae6b4 chore(nx): update angular devkit to 8.0.1 2019-06-04 11:22:12 -04:00
Emilio Martinez
00b93fa988 feat(nx): update to cypress 3.3.6 2019-06-04 11:21:27 -04:00
Jason Jean
2cd4a72fe7 feat(nx): update to angular 8 2019-05-29 11:57:54 -04:00