3835 Commits

Author SHA1 Message Date
Kirils L
bffc239e6e
fix(nextjs): add @nrwl/next as a prod dependency for new workspaces (#5662) 2021-05-21 13:50:58 +00:00
Minijus L
2778e6e1ec
feat(testing): update cypress to 7.x (#5624)
Closes #5382
2021-05-21 09:44:35 -04:00
Colum Ferry
488804163e
cleanup(angular): refactor init generator to use Nx Devkit (#5735)
Refactor `init` generator to use Nx Devkit
2021-05-21 11:33:59 +00:00
Miroslav Jonaš
735e22fe86
feat(repo): cleanup storage for matrix tests (#5727)
* feat(repo): cleanup storage for matrix tests

* feat(repo): run action on matrix file change

* feat(repo): add full workflow path

* feat(repo): do not run on push to master

* feat(repo): fix path signature

* chore(repo): fix typo

* feat(repo): revert run matrix on push
2021-05-21 09:00:31 +02:00
Jack Hsu
d1e8102b04
docs(core): refactor documents API access for nx.dev so redirect data can be bundled in the exported function (#5734) 2021-05-21 05:22:15 +00:00
Leosvel Pérez Espinosa
c71137f34c
fix(angular): make path optional for customWebpackConfig in webpack browser executor (#5728) 2021-05-20 15:01:39 +00:00
Aaron Brewer
313c376f55
feat(storybook): add html to supported 6.2 uiFrameworks (#5610) 2021-05-20 16:15:15 +03:00
Leosvel Pérez Espinosa
d0afa3dd89
feat(angular): add executor which allows to delegate the build to another target (#5715) 2021-05-20 12:29:46 +01:00
Miroslav Jonaš
c250483420
feat(repo): revert i/o functions to fs-extra (#5725) 2021-05-20 13:27:33 +02:00
vsavkin
31ec2b0f77 chore(repo): update readme 2021-05-19 20:56:39 -04:00
vsavkin
319a90b6ab feat(web): add a plugin to coordinate webpack and nx builds 2021-05-19 16:12:02 -04:00
Zachary DeRose
9878619706
feat(web): environment variables interpolated to index.html (#5521)
* feat(web): environment variables interpolated to index.html

* feat(web): Support for %PUBLIC_URL% as option in index.html

* chore(web): adding test case for NX_ option not present

* fix(web): supporting deployUrl - not publicUrl

* fix(web): e2e test added for index.html interpolation

* fix(web): rm unused publicUrl instance

* fix(web): rm more unused publicUrl instances

* fix(web): fixing e2e test

* fix(web): fixing e2e test

* fix(web): fixing e2e test expected formatting

* fix(web): fixing whitespace issue in tests

* fix(web): using regex in interpolation
2021-05-19 11:46:07 -07:00
vsavkin
75cd7d9006 cleanup(core): clean up hash details 2021-05-19 14:26:02 -04:00
Miroslav Jonaš
f112b9283a
fix(linter): improve error message for circular reference (#5721)
Improves original error message by providing a hint

Closes #5625
2021-05-19 17:50:58 +00:00
Phillip Barta
053d488801 cleanup(core): removed reexport of devkit types in workspace 2021-05-19 13:42:03 -04:00
Noriyuki Shinpuku
a037dcb351
cleanup(react): remove import react from component generator (#5686) 2021-05-19 11:40:24 -04:00
vsavkin
c99ae2d7b5 Release 12.3.4 2021-05-19 09:20:43 -04:00
Miroslav Jonaš
1a6fc7649d
fix(core): update project's eslintrc and readme on move (#5714)
* fix(core): update eslint project path on move

Closes #5493

* fix(core): update project readme on move

* fix(core): add update readme to move generator
2021-05-19 15:14:31 +02:00
Leosvel Pérez Espinosa
45f7d77188
feat(angular): generate apps and libs with strict mode on by default (#5690) 2021-05-19 11:39:35 +01:00
vsavkin
f82344d63a chore(repo): refine the tag line 2021-05-18 20:55:40 -04:00
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
Emily Xiong
b8584a6f18
feat(react): add react fast refresh to webpack (#5612) 2021-05-18 15:47:18 -04:00
vsavkin
4a0dcbab40 chore(repo): update resources fragment 2021-05-18 15:32:53 -04:00
Juri Strumpflohner
82fd6db7f4
feat(core): allow to collapse the sidebar on dep-graph UI (#5602)
* feat(core): allow to collapse the sidebar on dep-graph UI

* fix(misc): open dep-graph sidebar when project changes

Co-authored-by: Philip Fulcher <philip@nrwl.io>
2021-05-18 12:29:51 -06:00
vsavkin
afc6fafe24 chore(repo): clean up readme 2021-05-18 14:24:47 -04:00
vsavkin
f31b8cb023 docs(misc): replace memoization with caching 2021-05-18 13:43:50 -04:00
Phillip Barta
cbfbcd3755
chore(misc): updated verdaccio config files and local registry scripts (#5703) 2021-05-18 17:27:48 +02:00
vsavkin
fe0dec1f99 fix(angular): adjust the adapter to work with angular 12 2021-05-18 11:07:11 -04:00
Colum Ferry
0872f01738
feat(angular): allow custom webpack config support for webpack-browse… (#5609)
* feat(angular): allow custom webpack config support for webpack-browser builds

Allow building with a custom webpack config when using webpack-browser builds

* cleanup(angular): have buildApp function determine what builder to use

have buildApp function determine what builder to use keeping run function cleaner

* chore(misc): add IGNORE_MATCHES to CI dep discrepancy check

Add option to ignore packages in the discrepancy check for CI

* cleanup(angular): throw schematic error when webpack config path incorrect

Throw a helpful error when the user supplies an incorrect custom webpack config file path
2021-05-18 16:05:17 +01:00
Miroslav Jonaš
ff3cc38b0c
feat(linter): optimize lint performance. resolves #5210 (#5576)
* feat(linter): optimize containsFile function

related to #5210

* feat(linter): optimize find project function

related to #5210

* feat(core): cleanup target project locator

* fix(core): fix false positive match on resolvedModule

* chore(core): mark old code for removal

* feat(linter): move npm check before expensive typescript resolution

* feat(linter): improve performance of extension removal

* feat(linter): improve I/O operations

* feat(linter): read ts config only once in project locator

* feat(linter): remove double path normalization from rule

normalization is already part of getSourceFilePath function

* feat(linter): run find source only once

* feat(linter): defer source file path calculation will after whitelist check

* feat(linter): map project graph node files to hash map

* fix(linter): map projectGraph only once per runtime

* feat(linter): introduce mapped project graph type
2021-05-18 16:41:12 +02:00
Juri Strumpflohner
75cbd54818
feat(nextjs): allow custom server to be written in TypeScript (#5510)
ISSUES CLOSED: #1933
2021-05-18 09:50:01 -04:00
Miroslav Jonaš
b3df011f99
chore(misc): upgrade verdaccio and handle sigkill (#5700) 2021-05-18 15:29:41 +02:00
Colum Ferry
fa01e90156
Revert "feat(angular): add support for a target Builder (#4903)" (#5684)
* Revert "feat(angular): add support for a target Builder (#4903)"

This reverts commit a78fe65d81600e2f1b522722b6ce6374b8c652d3.

* chore(angular): disable failing test
2021-05-18 14:14:43 +01:00
Miroslav Jonaš
338439f710
chore(misc): temporarily disable node 15 on matrix actions (#5698) 2021-05-18 12:35:07 +02:00
Tine Kondo
bca569bef3
chore(core): nx plugin submission nx-quarkus (#5694) 2021-05-18 09:14:34 +02:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() (#5668)
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
Jason Jean
f111027a8e fix(misc): be more specific finding targets being used when removing projects 2021-05-17 20:59:46 -04:00
Younes Jaaidi
2c811aba73 feat(testing): add testingType option to cypress executor
Cf. https://docs.cypress.io/guides/guides/module-api#Options

Closes #5622
2021-05-17 20:59:17 -04:00
Jason Jean
b4fe292d83 fix(core): run workspace-generators within the same process 2021-05-17 20:57:07 -04:00
Michaël De Boey
370831d527 Update format.ts 2021-05-17 20:55:51 -04:00
Michaël De Boey
672e728007 feat(workspace): support formatting on .graphql, .gql, .yaml, .yml & .vue files 2021-05-17 20:55:51 -04:00
Tasos Bekos
4103c6007a fix(node): package execution doesn't exit on watch mode
Closes #5208
2021-05-17 20:54:35 -04:00
Phillip Barta
6a4bb34103 cleanup(core): removed dependency axios 2021-05-17 20:48:47 -04:00
Miroslav Jonaš
45a4ddf67b
chore(testing): fix gatsby e2e CI setup (#5637)
* fix(testing): remove duplicate gatsby e2e target

* fix(core): add missing gatsby e2e to matrix

* chore(repo): fix gh matrix command

* chore(repo): remove affected flag from gh matrix

* chore(repo): use run-many for e2e matrix
2021-05-17 11:27:59 +02:00
Jason Jean
ff69134373
chore(repo): update nx to 12.3.0-rc.1 (#5645) 2021-05-15 01:18:27 +00:00
Jason Jean
1c714de844
fix(testing): support cypress projects for default serve configuration (#5667) 2021-05-14 12:45:10 -04:00
Noriyuki Shinpuku
cdb4cdc196
fix(react): fix application template for strict mode (#5552) 2021-05-14 12:00:13 -04:00
Noriyuki Shinpuku
bcdbb02aaf
feat(react): update generator defaults in workspace.json for strict mode (#5529)
ISSUES CLOSED: #5250
2021-05-14 10:06:42 -04:00
Noriyuki Shinpuku
cd3dd9431a
fix(web): set envName to production when script optimization is enabled (#5522)
ISSUES CLOSED: #5512
2021-05-14 08:51:29 -04:00
Jack Hsu
9258ef3816
docs(core): implement redirects for broken links (#5653) 2021-05-13 16:48:05 -04:00