1365 Commits

Author SHA1 Message Date
Victor Savkin
635f49150e fix(misc): add nx binary to nx package 2020-07-29 15:29:47 -04:00
Victor Savkin
3cd9f4fe6c feat(misc): add nx package to make installing global cli easier 2020-07-29 12:16:12 -04:00
Ramiro Rivera
de36724e36
docs(testing): fix jest builder documentation regarding coverageDirectory key (#3421)
ISSUES CLOSED: #3420
2020-07-28 09:53:18 -04:00
Juri Strumpflohner
40a85e8eee
fix(core): remove speakingurl pkg as not used (#3401) 2020-07-24 18:29:03 -04:00
Isaac Mann
29c0b809c9
docs(core): expand description of outputPath for run-commands builder and schematic (#3398) 2020-07-24 16:13:06 -05:00
Bucky Maler
61761959be
feat(storybook): add docs mode option to dev server builder (#2882)
closes #3147
2020-07-24 22:21:14 +02:00
Victor Savkin
78275ef892 fix(core): with-deps should handle circular dependencies 2020-07-23 22:27:01 -04:00
Victor Savkin
4ec68d3464 cleanup(core): add unit tests to verify edge cases of git hashing 2020-07-23 22:27:01 -04:00
Jack Hsu
7b477eaea4
fix(react): allow env to work in .babelrc for projects (#3385)
Closes #3351
2020-07-23 16:18:40 -06:00
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
Jonathan Cammisuli
8509ded7e4
fix(angular): update tsconfig.lib.json to have "include" (#3389) 2020-07-23 11:23:34 -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
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
30d740615b fix(core): remove deleted files from git-hashers result 2020-07-21 22:28:30 -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
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
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
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
Jo Hanna Pearce
aecba505dd feat(core): remove fast-levenshtein dep from tao 2020-07-10 17:45:00 +01:00
beeman
11b3d77fc3
feat(nest): update @nestjs/schematics dependency to 7 (#3300) 2020-07-10 09:04:01 -04:00
Brandon Roberts
4e0417f60c feat(core): use custom output logging for configuration out of sync errors 2020-07-09 22:35:25 -04:00
Dominik Huppmann
800bf15ea0 fix(angular): add the root directory to the "resolvePaths" option when creating the NodeWorkflow
NX workspace schematics could not be executed, because the NodeWorkflow was created without the "resolvePaths" options. Therefore the NodeModulesEngineHost was created without paths to look for the collection.

Closes #3233
2020-07-09 22:33:24 -04:00
Jo Hanna Pearce
675000d7a6 feat(core): add lint target to tao and fix lint errors 2020-07-09 22:16:35 -04:00