1256 Commits

Author SHA1 Message Date
victor savkin
313de9ca4f build(nx): fix e2e tests 2019-11-23 17:23:40 -05:00
Matt Briggs
bebc71a714 feat(nx): add run-many
This adds a run-many command to:

 - make more semantic sense for the --all option
 - to add the ability to specify specific projects to run

It also involves a quite substancial refactoring of affected.ts in order
to attempt reuse of the code in both commands
2019-11-15 18:59:05 -05:00
Isaac Mann
2425436931 fix(nx): clean up some storybook bugs 2019-11-15 12:03:27 -05:00
Brandon Roberts
0821c564dd chore(nx): add missing node_module libraries for e2e tests 2019-11-12 09:53:43 -05:00
Jo Hanna Pearce
607bcfdeb2 feat(nx): refactor nx list to also show plugins with builders and uninstalled approved plugins 2019-11-11 13:09:18 -05:00
Isaac Mann
ae93a87fdf fix(nx): configure knobs correctly 2019-11-08 06:27:45 -05:00
Isaac Mann
8b8d30eff1 chore(nx): storybook schematics for react 2019-11-03 16:57:00 -05:00
Zachary Williams
99bc6df846 fix(nx): parse schema boolean properties as booleans for workspace-schematic
fix #1952
2019-10-31 15:58:48 -04: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
Victor Savkin
35f20b1382 fix(nx): migrate command should not download migrations for packages that arent installed 2019-10-26 16:07:48 -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
Victor Savkin
1c7b8dce8c feat(nx): implement print-affected
This allows printing information about affected projects, which is useful in CI.
2019-10-15 16:56:38 -04:00
Jo Hanna Pearce
58353a6be8 fix(nx): validate target and configuration in @nrwl/tao/run and provide better errors 2019-10-15 15:30:38 -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
Jason Jean
ed546337f1 feat(nx): add generic task execution 2019-10-08 15:00:54 -04:00
Jack Hsu
34a887a93f
fix(web): use legacy decorators so they work with TypeScript. (#1928)
Closes #1908
2019-10-08 12:05:30 -04:00
Jo Hanna Pearce
b962b09ac6 feat(nx): add new nx list command which enables simpler schematic discovery 2019-10-08 10:59:38 -04:00
Jo Hanna Pearce
1d377eac29 feat(nx): add report function to @nrwl/workspace which lists versions of select packages 2019-10-04 17:16:02 -04:00
Victor Savkin
3516890ec6 feat(nx): add a flag to run affected:libs and affected:apps without pretty formatting 2019-10-02 17:54:38 -04:00
Victor Savkin
156f961195 fix(nx): make dep-graph work on node 12 2019-10-02 16:26:28 -04:00
Jack Hsu
a524b2e947 feat(react): add publishable library support
Issue #1521
2019-10-02 16:26:20 -04:00
Victor Savkin
15b466608b feat(nx): support * and ** in lint rules 2019-09-30 17:19:19 -04:00
Victor Savkin
5a60f9fd87 feat(nx): add a utlity to update packages in package.json 2019-09-28 16:35:11 -04:00
Colum Ferry
d89fd949bc refactor(nx): change workspace-schematic output format to be consistent with Angular CLI
Any schematic that modifies the Virtual Tree using the `workspace-schematic` command will output
changes to the Virtual Tree in a consistent format with the Angular CLI `generate` command.
2019-09-23 12:55:36 -04:00
Jo Pearce
5de142f69f
fix(testing): merge builder globals with jest.config.js globals rather than override them completely (#1827)
Resolves #1059
2019-09-16 16:20:49 +01:00
Victor Savkin
4ef3a771ef fix(nx): update the migrate command to handle edge cases 2019-09-11 18:09:28 -04:00
Victor Savkin
3579c5a8b9 fix(nx): misc next.js related fixes 2019-09-09 12:29:43 -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
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
Victor Savkin
70d71b3516 feat(nx): add support for migrations 2019-09-02 14:33:56 -04:00
Jack Hsu
989e5667e0
feat(react): add react-router-dom types (#1762)
Closes #1557
2019-08-28 08:58:35 -04:00
Jack Hsu
13e7b69c5a
feat(react): add react-specific eslint configuration (#1727) 2019-08-15 13:01:22 -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
Victor Savkin
98b7dd0cdf build(nx): reenable disabled e2e tests 2019-08-01 18:44:09 -04:00
James Henry
448233bc5c feat(nx): add eslint support 2019-07-31 17:05:56 -04:00
Jason Jean
89b522d2bc
fix(frontend): add style tag to head in html output (#1638)
fix #1623
2019-07-26 09:01:38 -04:00
Victor Savkin
1b2eaf81fe fix(nx): minor fixes 2019-07-25 20:21:04 -04:00
Jack Hsu
776a185d65
feat(react): adds default babel-loader support for react apps (#1631) 2019-07-25 15:33:26 -04:00
Victor Savkin
8182454dc8 tests(nx): fix e2e tests 2019-07-25 05:27:26 -04:00
Victor Savkin
8fc5c4cae6 feat(nx): add a generic lint package that works with eslint and tslint 2019-07-25 08:34:05 -04:00
Jack Hsu
b344e0e63c
feat(react): updates generated React app (#1622) 2019-07-24 18:50:04 -04:00
Victor Savkin
2b646f8eb4 feat(nx): standalone version of nx 2019-07-24 10:27:47 -04:00
Jason Jean
25bb527515 fix(frontend): fix es5 compilation for differential loading 2019-07-23 19:39:24 -04:00
James Henry
8271c7650e chore(workspace): improved logging design and consistency 2019-07-22 20:05:07 -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
Jack Hsu
a07f019ca1
feat(react): move BrowserRouter to main.tsx for routing (#1588)
Close #1558
2019-07-16 23:30:06 -04:00
Jack Hsu
b3bea39892
feat(react): updates libraries for React to newest versions (#1584) 2019-07-16 22:19:42 -04:00
Victor Savkin
e51c7a4069 cleanup(nx): clean up scripts and e2e tests 2019-07-08 20:44:28 -04:00