2229 Commits

Author SHA1 Message Date
Devin Shoemaker
26b4c9fa98
feat(nx-plugin): export patchPackageJsonForPlugin(...) (#3392)
This function could be useful to Nx plugin developers that need to write an e2e for a plugin that depends on another plugin in the same workspace.
2020-07-23 16:46:29 -04:00
Jason Jean
3cd72951bd Release 10.0.5 2020-07-23 14:20:46 -04:00
Jonathan Cammisuli
8509ded7e4
fix(angular): update tsconfig.lib.json to have "include" (#3389) 2020-07-23 11:23:34 -04:00
Victor Savkin
f967503ed9 Release 10.0.4 2020-07-22 23:58:39 -04:00
Victor Savkin
6eb8b0198c fix(core): handle git renames and spaces in filenames when doing git hashing 2020-07-22 23:57:02 -04:00
Victor Savkin
6ccc6b248f Release 10.0.3 2020-07-22 16:10:14 -04:00
Victor Savkin
8d2a7dbc43 fix(repo): fix tsconfig to make editors resolve references 2020-07-22 15:13:24 -04:00
Victor Savkin
8b3e054d5e fix(misc): workspace-lint should respect nested gitignores 2020-07-22 15:13:24 -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
Victor Savkin
b2099487f9 Release 10.0.2 2020-07-21 22:30:06 -04:00
Victor Savkin
30d740615b fix(core): remove deleted files from git-hashers result 2020-07-21 22:28:30 -04:00
katerina
940acafb37 fix(docs): removed unused boolean import from storybook-plugin docs
ISSUES CLOSED: #2682
2020-07-21 21:17:49 -04:00
Uday Vunnam
c71d4e8170 fix(docs): fix broken link in react tutorial
next.js link is broken in react tutorial. fixed it to point to correct link
2020-07-21 21:17:07 -04:00
Sebastiandg7
2770ec0cff chore(repo): print commitizen types & scopes on commit lint error 2020-07-21 21:09:41 -04:00
Sebastiandg7
65db0503aa chore(repo): use commitizen config in commit linting
Use the commitizen configuration during the commit linting process to be aware of any types/scope
moification without requiring additional changes in the commit lint script

ISSUES CLOSED: #3313
2020-07-21 21:09:41 -04:00
Katerina Skroumpelou
5474fa46e9
fix(storybook): removed test.ts from tsconfig excludes array (#3379) 2020-07-21 22:40:58 +02:00
Jason Jean
d512f9d981 Release 10.0.1 2020-07-20 18:51:33 -04:00
Jason Jean
64c09f2d46
fix(core): migrate tsconfig references in eslintrc (#3373) 2020-07-20 18:34:43 -04:00
Katerina Skroumpelou
39a34a9836
fix(storybook): prevent from failing when no components declared (#3369)
ISSUES CLOSED: #2613
2020-07-20 22:41:29 +02:00
Jack Hsu
ed8bd2bbe8
Revert "fix(core): resolve webpack loaders with require.resolve() (#3341)" (#3371)
This reverts commit d74ab4e9d6eae6d83c3bb76072b45f7a4c7a6305.
2020-07-20 16:24:47 -04:00
Jason Jean
f769361bd8 Release 10.0.0 2020-07-20 11:53:30 -04:00
Bucky Maler
c7b0e7d122
chore(core): nx plugin submission @nx-plus/vue (#3366) 2020-07-19 13:59:13 -04:00
Jason Jean
e1fd05904e
fix(core): fix dep-graph crosshair svg not available (#3362) 2020-07-19 03:15:11 -04:00
Jason Jean
30d4bbd174
fix(core): migrate implicitDependencies that reference tsconfig.json (#3361) 2020-07-17 15:58:00 -04:00
Victor Savkin
a5ee1db0d3 feat(core): add perf logging 2020-07-17 10:43:42 -04:00
Jack Hsu
83865747e9
fix(react): move url-loader to the react package.json (#3356) 2020-07-17 10:41:16 -04:00
Victor Savkin
6553c178f5 fix(core): increase maxBuffer when invoking git to get file hashes 2020-07-16 20:33:18 -04:00
Victor Savkin
5d53661139 fix(repo): update the repo to nx 10 2020-07-16 16:18:00 -04:00
Victor Savkin
67dda10d55 feat(core): redesign workspace file hashing 2020-07-16 13:51:25 -04:00
Philip Fulcher
840b7deb84 feat(core): add text filtering to dep-graph visualization 2020-07-15 21:51:20 -04:00
Spencer Elliott
d74ab4e9d6
fix(core): resolve webpack loaders with require.resolve() (#3341)
With strict package managers such as pnpm or Yarn PnP, transitive
dependencies are *not* hoisted to the root node_modules folder. This
means that a webpack config defined within a package like
'@nrwl/cypress' cannot resolve loaders like 'ts-loader', unless
'ts-loader' is declared in the workspace's own package.json.

This is a problem because the workspace might define a different version
of 'ts-loader', incompatible with the version declared by
'@nrwl/cypress/package.json'. The workspace should not need to declare
a dependency on 'ts-loader' anyway.

See also:
* https://github.com/pnpm/pnpm/issues/801
* https://github.com/webpack/webpack/issues/5087
2020-07-15 13:55:38 -04:00
Jack Hsu
24f544100e
feat(react): generate React apps with <React.StrictMode> by default to catch potential problems (#3340) 2020-07-14 16:46:24 -04:00
Jack Hsu
f110ccfe8e
feat(core): add cwd and outputPath options for run-commands schematic (#3333) 2020-07-14 14:19:35 -04:00
Jonathan Cammisuli
12a407f8cb
fix(testing): resolve jestconfig and add globals.ts-jest if needed for migration (#3336)
* fix(testing): require jest config to resolve it better during migration

* fix(testing): require with appRootPath

* chore(testing): remove uneeded exports and imports
2020-07-14 12:59:38 -04:00
Adam L Barrett
9a5650136c
fix(react): fix differential loading in ES6 only Web/React apps (#3319) 2020-07-14 11:02:33 -04:00
Jason Jean
c0ef32546a
fix(core): forward sigint in task orchestrator (#3330) 2020-07-13 19:20:37 -04:00
Jason Jean
d755f61756
fix(angular): use isObservable to prevent errors due to rxjs version mismatch (#3331) 2020-07-13 19:20:31 -04:00
Brandon
a593573623
fix(angular): check for spec files when generating a library (#3323)
Closes #3286
2020-07-13 15:41:17 -05:00
Brandon
68aa782134
fix(angular): allow for existing .prettierignore when adding Nx (#3329)
Closes #3192
2020-07-13 15:36:53 -04:00
ysdidenko
39963e4497
fix(angular): check for file to exist in decorate script (#3301)
Closes #3186
2020-07-13 12:54:12 -05:00
Adam L Barrett
c5426d46d6
feat(react): remove IE 11 and old browsers from default config in React/Web Schematics (#3321) 2020-07-13 12:41:20 -04:00
Adam L Barrett
69dc8da9cc
docs(docs): docs(docs): add a guide to the docs for configuring browser support in applications (#3320) 2020-07-13 12:28:18 -04:00
Jonathan Cammisuli
d5838fdddb
fix(testing): fix nest unit test (#3327) 2020-07-13 11:56:12 -04:00
Christian Jensen
63701b008e
fix(angular): correct typo in NgRx reducer template (#3266) 2020-07-13 10:45:54 -05:00
Jonathan Cammisuli
3b8a10f073
feat(testing): add setupFilesAfterEnv and other configs to project's jest config file (#3224)
* feat(testing): add util to update jest configs.

* feat(testing): place configurations in jest config file rather than just the builder

* feat(testing): create migration and unit tests

* feat(testing): fix jest template

* feat(testing): fix jest template to correct unit tests

* feat(testing): include globals.ts-jest for all non babel configs

* feat(testing): include globals.ts-jest for node e2e

* feat(testing): fix migration to run properly. Also check for angular tests using the setupfile rather than builder

* feat(testing): clean up jest config functions and fix errors with some migrations

* feat(testing): add new line to package.json

* feat(testing): update object check to actually check for undefined

* chore(testing): loop through all project targets as well as targets

* chore(testing): update migration to be 10.0.0-beta.2
2020-07-13 10:45:04 -04:00
Philip Fulcher
4968b6e6e3
feat(core): add filtering arguments to dep-graph CLI (#3171)
BREAKING CHANGE:
Dependency graph will now default to having no projects selected if run without filtering arguments
2020-07-10 19:31:32 -04:00
Jason Jean
7686a39a7c
fix(core): fix solution tsconfig migration (#3312) 2020-07-10 16:17:32 -04:00
Jack Hsu
a6db5facc5
fix(react): fix object destructuring with async-await for buildable libs (#3308)
Closes #3202
2020-07-10 14:44:37 -04:00
Jo Hanna Pearce
dc6b527095 fix(core): add linter to workspace package group 2020-07-10 17:45:42 +01:00
Jo Hanna Pearce
fd89c35da6 fix(core): add eslint-plugin-nx to workspace package group 2020-07-10 17:45:42 +01:00