804 Commits

Author SHA1 Message Date
Tasos Bekos
d5b6d62481 cleanup(misc): replace lodash with lodash.template
No need to import whole `lodash` in our `@nrwl/workspace` bundle, although we use only the `template` function.
2021-04-03 21:45:29 -04:00
Jason Jean
a300e7613d
fix(core): throw an error if implicit dependency is a string that is not '*' (#5176) 2021-03-31 18:08:56 -04:00
Jason Jean
03d16676ac
fix(misc): pass in specific copy of webpack (#5190) 2021-03-31 18:07:55 -04:00
Jack Hsu
e2287867cd
feat(core): update typescript to 4.1 (#5116) 2021-03-30 08:38:40 -04:00
vsavkin
6024859990 chore(repo): clean up language 2021-03-29 12:26:01 -04:00
Philip Fulcher
dae0d62e22
feat(misc): add debugger panel to dep-graph client (#5143) 2021-03-29 08:56:23 -06:00
Jack Hsu
ed94c4e1ec
docs(core): add nextjs app for new nx.dev website (#5133)
Co-authored-by: ben <contact@benjamincabanes.com>
2021-03-27 04:01:31 +00:00
Leosvel Pérez Espinosa
3cac30caf9
fix(core): normalize run-commands and run-script cwd handling (#5119) 2021-03-26 11:28:42 -04:00
Tasos Bekos
ead6dd8864
chore(repo): run e2e outside project directory on CI (#5037) 2021-03-26 11:19:31 -04:00
Tasos Bekos
47812d3352 fix(core): git hasher handles workspaces not only in root 2021-03-24 20:11:53 -04:00
Vivek More 🧐
212fb00548 cleanup(misc): use more es6 features
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
  This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04:00
vsavkin
9d36c5a5f0 fix(core): respect patterns when hashing implicit deps 2021-03-24 13:10:14 -04:00
Jason Jean
46e64fc188
fix(linter): always add eslint dependencies (#5095) 2021-03-23 20:41:53 +00:00
vsavkin
b75180353a cleanup(core): remove dead code 2021-03-23 14:01:23 -04:00
Jason Jean
9acf8cbbf0
fix(angular): fix angular move merge conflict (#5094) 2021-03-23 17:22:41 +00:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Jason Jean
1918e62625 Revert "fix(angular): fix angular move merge conflict (#5088)"
This reverts commit e6ec5f914232f81e5393d4d528b35d77f7528582.
2021-03-23 11:51:30 -04:00
Jason Jean
e6ec5f9142
fix(angular): fix angular move merge conflict (#5088) 2021-03-22 21:40:57 +00:00
Juri Strumpflohner
2ac10d9952
fix(storybook): changes in Storybook server options path in v6.2 (#5072)
ISSUES CLOSED: #4747
2021-03-22 14:28:17 +02:00
James Henry
00dec221e2
feat(linter): convert-tslint-to-eslint generators (#4943)
* feat(linter): convert-tslint-to-eslint generators

* fix(core): remove generators in collection for ng and nest

* fix(core): update tao to support mixed generators and schematics

* fix(core): update tao to support mixed generators and schematics

* fix(core): address some PR feedback

* fix(core): fix snapshots after syncing up with master

* feat(core): store user preference for removeTSLintIfNoMoreTSLintTargets

* fix(linter): unit tests

* feat(core): apply root tslint.json conversion to root .eslintrc.json
2021-03-19 13:41:13 -04:00
Tasos Bekos
4f95d4e7ec fix(core): git hasher identifies deleted files
Closes #4201
2021-03-15 20:47:13 -04:00
Tasos Bekos
26a383912a fix(core): git hashing handles "unusual" pathname characters
See: https://git-scm.com/docs/git-status#_pathname_format_notes_and_z
2021-03-15 10:30:54 -04:00
kirjai
9d863a7073 fix(nextjs): include peer dependencies in built package.json 2021-03-15 10:29:33 -04:00
johannesf95
71d9f86762
fix(core): fix project dependency resolution for relative imports on windows (#5009)
* fix(core): fix project dependency resolution for relative imports on windows


Replaced `join` with `posix.join` to fix comparison with root of projects for relative import paths on windows

Closes #5002

* fix(core): project dependency resolution for relative imports on windows

fixed format
2021-03-12 13:07:36 -05:00
Gustavo Perdomo
17dd93362c chore(core): update @types/node version to 14.14.33 2021-03-12 09:15:39 -05:00
Gustavo Perdomo
242a542429 chore(core): update dotenv version to 8.2.0 2021-03-11 15:58:26 -05:00
Victor Savkin
b977f42f67
fix(core): optimize task orderer to handle large graphs (#4992) 2021-03-10 17:36:05 +00:00
Jack Hsu
ddec362a5a
fix(nextjs): update babel setup to better support next apps (#4944)
* fix(nextjs): update babel setup to better support next apps

* fix(testing): remove babel-jest.config.json used in jest.config.js

- Fix `@nrwl/web/babel` to support Jest as well
2021-03-09 21:32:36 +00:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
duncan
f160583d5c feat(core): allow excluding imports using a special ignore comment called nx-import-ignore
Placing a comment called nx-import-ignore above an import will exclude it from being used in the creation of the project dependency graph. This allows bypassing the circular dependency linting rule whenever needed.
2021-03-06 13:07:05 -05:00
Tasos Bekos
2932738c66 fix(core): run-commands doesn't camelcase option parameters 2021-03-06 13:07:57 +02:00
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -05:00
Gustavo Perdomo
5b0f23a3e4
chore(linter): update eslint-config-prettier (#4899)
* chore(linter): update eslint-config-prettier

* fix(linter): fix migrations

* feat(linter): update migrations

* fix(linter): move peer dependency to eslint-plugin-nx

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 20:22:16 +00:00
James Henry
48c7c7b6a3
fix(core): always use project level tsconfigs with eslint (#4657)
* chore(core): increase coverage of eslint config file contents

* fix(core): always use project level tsconfigs with eslint

* chore(core): enhance depcheck to ignore type only imports

* chore(linter): migration always-use-project-level-tsconfigs-with-eslint

* fix(core): snapshots

* feat(core): thin wrapper around tseslint parser

* fix(core): depcheck for eslint-plugin-nx

* fix(core): revert wrapped parser

* fix(linter): add tsconfig root dir to allow for normalized paths for project configs

* fix(linter): move migration to 11.5.0

* fix(linter): add dependency on to @nrwl/workspace

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 11:48:18 -05:00
Jonathan Cammisuli
bba26b08bd
feat(express): add express preset to create-nx-workspace (#4909) 2021-03-05 11:40:40 -05:00
Juri Strumpflohner
468c878bd1
fix(core): add @nrwl/storybook & @nrwl/gatsby to pkgs listed by nx report (#4948) 2021-03-05 10:39:00 +01:00
Jason Jean
925e5d2287
fix(misc): add project name default for workspace schematics (#4901) 2021-02-25 17:39:35 -05:00
Jason Jean
befd9dcf43
fix(devkit): migrate devkit to the latest version during migrate (#4898) 2021-02-25 17:29:27 +00:00
Juri Strumpflohner
6dc7de4cb5
fix(core): fix(core): fix(core): ensure dir when exporting dep-graph to json (#4893) 2021-02-25 10:49:14 -05:00
vsavkin
9d0a4c8542 fix(misc): plugins deep importing perf-logging 2021-02-25 08:51:57 -05:00
Jason Jean
1cf9295b2b
fix(misc): fix removing the projects with jest configs (#4874) 2021-02-23 23:21:54 +00:00
vsavkin
3157293752 fix(core): support unit testing of nx generators invoking wrapped schematics 2021-02-23 12:08:25 -05:00
Vivek
ff5048e23c
cleanup(misc): misc cleanup
* cleanup(testing): simplify registering of collections

* cleanup(testing): remove unnecessary number from variable name

* cleanup(core): update error message

* cleanup(nx-plugin): use object destructuring in normalize-options.ts
2021-02-22 12:46:46 -05:00
Nadav Sinai
acd550218a fix(core): add fail over --fork-point arg to git merge 2021-02-22 11:21:09 -05:00
Victor Savkin
5f222245ed
fix(misc): fix the react-express preset (#4827) 2021-02-18 15:53:35 +00:00
Jason Jean
d22153a7af
fix(core): remove cleanup of temp tao directory (#4821) 2021-02-17 20:16:43 +00:00
Brandon
5d9c76bdec
fix(angular): check for root tslint.json before updating to support ESlint (#4816)
Closes #4761
2021-02-17 11:42:09 -05:00
Jason Jean
11d27da5e0
fix(core): add tmp tao path to node path (#4810) 2021-02-16 18:13:42 -05:00
vsavkin
28c364c76f feat(core): add edges to the dep graph based on package.json files in libs and apps 2021-02-16 14:24:18 -05:00
Brandon
e4faaf1ef4
feat(angular): update Angular packages to 11.2.x release (#4788)
* feat(angular): update Angular packages to 11.2.x release

* chore(angular): fix storybook 5-6 default schematic unit test

* fix(angular): fix Angular Devkit discrepancies
2021-02-16 10:38:11 -05:00