2290 Commits

Author SHA1 Message Date
Miroslav Jonaš
a9945e2946
chore(testing): fix broken nx-plugin e2e test (#6002) 2021-06-14 16:47:06 +02:00
Leosvel Pérez Espinosa
d4537f75cc
cleanup(angular): migrate component-story and component-cypress-spec generators to nx devkit (#5977) 2021-06-14 15:20:58 +01:00
Colum Ferry
3e8ff083f2
cleanup(angular): refactor library generator to use nx devkit (#5935)
* cleanup(angular): refactor library generator to use nx devkit

Refactor Library Generator to use Nx Devkit
2021-06-14 11:05:32 +01:00
Miroslav Jonaš
68b598f9a1
fix(nest): fix lint convertor incomplete type (#5995)
The incomplete type crashes build on stricter Windows build
2021-06-14 11:43:27 +02:00
Phillip Barta
868de62ae7
feat(core): use common fileutils in @nrwl/cli and create-nx-plugin (#5940) 2021-06-14 11:08:05 +02:00
Phillip Barta
817fc3c83b
cleanup(nx-plugin): use common json utils (#5942) 2021-06-14 11:03:35 +02:00
Jason Jean
702f15845e
fix(core): clean up tmp directories during migrate (#5971) 2021-06-11 19:46:14 -04:00
Noriyuki Shinpuku
a0b2df5395
fix(core): fix remove generator for custom layout (#5921) 2021-06-11 19:06:59 -04:00
Jonathan Cammisuli
5b2e594b62
feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json (#5945)
* feat(core): sort projects in nx.json, workspace.json, and tsconfig.base.json

* fix(core): catch errors when trying to format

* chore(core): use existing sort util - rename new sort util to match (will soon be merged)

* fix(core): only sort workspace.projects if they have projects

* fix(core): remove sort from old format-files

* fix(core): noop catches rather and outputting an error message

* chore(core): revert format-files utils
2021-06-11 17:54:29 -04:00
Jason Jean
2c533ace36
fix(core): fix aliased args parsing (#5973) 2021-06-11 16:46:55 -04:00
Craigory V Coppola
f9751786c6
feat(testing): support for Jest 27 (#5873)
- Sets default testEnvironment to web
- Updates node generators to specify testEnvironment: node
- Provides migrations to update existing jest.config.js files
- Bump angular-preset-jest to latest

ISSUES CLOSED: #5771
2021-06-11 13:25:57 -05:00
kirjai
8801930553 feat(nextjs): support webpack 5 2021-06-11 16:45:14 +01:00
Jason Jean
c7a5f6d7dd
fix(storybook): fix import for findNodes (#5974) 2021-06-11 02:54:17 +00:00
Leosvel Pérez Espinosa
c64d9dfb2f
fix(storybook): fix broken migration test (#5951) 2021-06-10 13:44:42 -04:00
Jason Jean
d8cd8621a2
fix(devkit): include targetDependencies and plugins when updating workspace config (#5898) 2021-06-10 10:37:58 -04:00
Katerina Skroumpelou
dd45382252
feat(storybook): schematic to migrate stories to Storybook 6.2 (#5401) 2021-06-09 19:47:51 +02:00
Miroslav Jonaš
6ca30d86be
fix(repo): fix flaky cross-os new line check (#5938) 2021-06-09 16:32:27 +02:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Colum Ferry
fd27615514
chore(angular): ast utils for angular with nx devkit (#5927) 2021-06-09 10:35:09 +01:00
Leosvel Pérez Espinosa
9477e5472e
cleanup(angular): migrate storybook-migrate-defaults-5-to-6 generator to nx devkit (#5891) 2021-06-08 09:13:43 +01:00
Katerina Skroumpelou
0dd89999ea
fix(storybook): generating stories without an existing e2e project (#5799) 2021-06-08 09:37:24 +02:00
John Dengis
b4d27fcfd7
fix(node): don't clobber packageJson.main if it exists (#5836)
Only assign packageJson.main to OUT_FILENAME if it is nullish in generatePackageJson
2021-06-04 16:58:30 -04:00
Phillip Barta
251b417a8a
feat(nx-plugin): migrate generators to @nrwl/devkit (#5744)
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2021-06-04 16:08:53 -04:00
Leosvel Pérez Espinosa
4563386d76
fix(core): add support for formatting using all extensions prettier supports (#5890) 2021-06-04 10:46:53 -04:00
Leosvel Pérez Espinosa
43f7d753f4
fix(angular): fix typo in karma-project generator factory definition (#5888) 2021-06-04 12:04:16 +01:00
Leosvel Pérez Espinosa
06d3654c00
cleanup(angular): migrate storybook-configuration generator to nx devkit (#5875) 2021-06-04 10:44:54 +01:00
Leosvel Pérez Espinosa
d3992e9453
fix(core): override isDirectory in wrapped angular schematics host (#5869) 2021-06-03 14:00:45 +01:00
vsavkin
9791fd4ca2 fix(core): displayed commands do not wrap strings into quotes correctly 2021-06-02 13:22:32 -04:00
kirjai
f723613929 feat(nextjs): add buildLibsFromSource option 2021-06-02 17:40:28 +01:00
vsavkin
27d8633ec8 fix(core): add nxignore and gitignore to the list of files affecting the hashing 2021-06-02 11:09:11 -04:00
Leosvel Pérez Espinosa
e8bffc0db7
fix(angular): generate the outputs property for build targets (#5867) 2021-06-02 13:26:07 +01:00
Phillip Barta
7c34f779e3
cleanup(core): remove unneccessary dependencies and refactored prettier path resolve (#5852)
removed depenedencies app-root-path and resolve
refactored workspace/src/command-line/format.ts to
use require.resolve
2021-06-01 21:49:15 -04:00
Leosvel Pérez Espinosa
329bb25404
feat(core): warn when deprecated options are used in generators and executors (#5845) 2021-06-01 21:45:06 -04:00
Leosvel Pérez Espinosa
87cae06392
fix(core): list files from the tree in the ngcli-adapter (#5860) 2021-06-01 18:16:44 -04:00
Leosvel Pérez Espinosa
a6772c4346
fix(angular): update angular deps to use the latest minor versions (#5858) 2021-06-01 17:52:38 +01:00
Miroslav Jonaš
f01bd0cfdc
fix(testing): fix failing storybook executor unit test (#5844)
* fix(storybook): fix failing test

* chore(testing): fix formating

* fix(testing): fix path to package.json

* fix(testing): mock statSync
2021-06-01 10:03:45 +02:00
Jack Hsu
4a03859de4
fix(web): update packages that have audit errors and warnings (#5847) 2021-05-31 19:55:02 +00:00
Jack Hsu
12ee3bce97
feat(web): add generateIndexHtml option to web build executor (#5843) 2021-05-31 14:33:01 +00:00
Noriyuki Shinpuku
d3c45b32b9
fix(react): fix externals for buildable libraries (#5540)
ISSUES CLOSED: #5508
2021-05-31 10:17:33 -04:00
Ben Heidemann
060660ea49
fix(web): prevent inherited target in tsconfig from being removed (#5756)
* fix(web): prevent inherited target in tsconfig from being removed

ISSUE 4115 (https://github.com/nrwl/nx/issues/4115): when a library tsconfig.json inherited a script
target, this was removed when building the library with "nx build [some lib]".

ISSUES CLOSED: #4115

* cleanup(web): format code in package.impl.ts

ISSUE 4115 (https://github.com/nrwl/nx/issues/4115): when a library tsconfig.json inherited a
script
target, this was removed when building the library with "nx build [some lib]".
ISSUES CLOSED:
#4115
2021-05-31 10:17:02 -04:00
Noriyuki Shinpuku
a14924b809
feat(react): generate library with strict mode by default (#5720) 2021-05-31 10:16:15 -04:00
Nathanael
92ea179a46 fix(nextjs): change to use default next export instead of next-dev-server so prod mode is respected
ISSUES CLOSED: 5764
2021-05-28 16:36:58 +01:00
James Henry
a3c08a9153
feat(linter): do not set eslint parserOptions.project by default (#5798) 2021-05-28 13:35:34 +00:00
Leosvel Pérez Espinosa
1f93ebb47a
cleanup(angular): migrate karma-project generator to nx devkit (#5822) 2021-05-28 14:08:04 +01:00
Miroslav Jonaš
76a3092891
fix(testing): enable and fix several disabled unit and e2e tests (#5711) 2021-05-28 14:35:04 +02:00
Leosvel Pérez Espinosa
55b37ceeeb
cleanup(angular): migrate karma generator to nx devkit (#5821) 2021-05-28 11:21:16 +01:00
Phillip Barta
6c6e8b36b7 feat(devkit): refactoring for stricter types and better performance 2021-05-27 13:37:29 -04:00
puku0x
9c67c69560 fix(core): update project package.json on move 2021-05-27 13:25:52 -04:00
Leosvel Pérez Espinosa
7a10cb4361
fix(angular): add workaround to prevent process from exiting early when building (#5807) 2021-05-27 16:13:30 +01:00
Jack Hsu
aaad6f041a
cleanup(storybook): add some stricter types for the storybook executor (#5805)
Co-authored-by: Dominik Pieper <dominik@pieper.io>
2021-05-27 13:27:39 +00:00