2635 Commits

Author SHA1 Message Date
Miroslav Jonaš
c18a40b1f0
feat(linter): show files involved in circular dependency (#7113) 2021-09-24 09:00:15 +00:00
Jack Hsu
fec1c39be0
feat(react): add migration to replace deprecated node-sass with sass (#7105) 2021-09-23 12:01:38 -04:00
James Henry
8dcf391649
chore(core): daemon cache pre-serialized project graph (#7104) 2021-09-23 11:18:56 -04:00
Emily Xiong
181d149872
feat(gatsby): migrate gatsby-image to gatsby-plugin-image (#7069) 2021-09-22 11:14:06 -04:00
James Henry
98527acabc chore(core): daemon uses cached project graph whenever possible 2021-09-22 09:46:10 -04:00
Manoj Bahuguna
fa0cd72ccc
fix(storybook): warn if skipping generating files in .storybook folder (#6502)
during storybook-configuration, if .storybook folder already exists, generating files in it is skipped
we should show warnings in this case, as sometimes those directories can exists but be empty, which can cause issues
this can happen for example when reverting from previous setup using git reset (or something similar)
in that case content is deleted, but empty folder remains

showing warning will make it easier to debug what went wrong
2021-09-21 19:55:41 +03:00
Jack Hsu
9dc2c40480
chore(gatsby): add migration for update gatsby packages (#7065) 2021-09-21 10:13:51 -04:00
Miroslav Jonaš
7c4643a914
chore(linter): upgrade typescript-eslint to latest version (#7060) 2021-09-21 14:07:09 +02:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
Jack Hsu
d2c5161b9a
fix(gatsby): update gatsby to fix webpack build issues with 5.53.0 (#7062) 2021-09-20 10:07:53 -04:00
Tyler Morrison
17d8647818
feat(testing): remediate headless option for Cypress 8.x (#6882)
* feat(testing): warn Cypress 8.x users about deprecation
* feat(testing): add `headed` option to executor
* chore(testing): refactor `CypressExecutorOptions` to match schema
* docs(testing):  update based on schema

CLOSES: #6811

Co-authored-by: Tyler Morrison <tyler.morrison@ally.com>
2021-09-20 09:42:16 +02:00
Victor Savkin
3e8427f783 docs(misc): clarify a few things regarding incremental builds 2021-09-18 21:13:53 -04:00
Victor Savkin
dca092874b feat(core): add examples and links to nx.dev when using --help 2021-09-17 10:02:44 -04:00
James Henry
31a9bff5b0 chore(core): properly add strip-ansi to dependencies for workspace 2021-09-17 08:58:34 -04:00
James Henry
4956ebea9f fix(core): ensure ANSI escape codes are stripped in git-hasher process outputs 2021-09-17 08:58:34 -04:00
Victor Savkin
a5ba9bc0c3 docs(core): add better docs for run-script 2021-09-16 20:30:00 -04:00
Jack Hsu
e8c324fc60
fix(gatsby): fix build errors due to incompatible webpack API (#7032) 2021-09-16 18:36:59 -04:00
Himadu2000
e5b9d80abc
feat(react): updating @reduxjs/toolkit to 1.6.1 (#6939)
Updated @reduxjs/toolkit from 1.5.0 to 1.6.1
2021-09-16 14:05:32 +00:00
Benjamin Cabanes
efe780cfc9
chore(core): format fix (#7018) 2021-09-15 16:29:18 -04:00
Victor Savkin
e77f675118 fix(repo): fix a broken unit test 2021-09-15 15:21:06 -04:00
James Henry
d739f0c864 feat(core): daemon supports incremental file hashing 2021-09-15 13:54:23 -04:00
James Henry
5cce731fdb fix(core): daemon server should reinitialize file hashes on each connection 2021-09-15 13:54:23 -04:00
James Henry
36facd8948 fix(core): ensure daemon server perf logging instantiated only once 2021-09-15 13:54:23 -04:00
James Henry
fe40485e1c fix(core): git-hasher checkForDeletedFiles will now hard error 2021-09-15 13:53:40 -04:00
Wedema, D. (Daniël)
305813e3f2 fix(core): resolve nested files using tsConfig paths that have similar names
When tsConfig paths with overlapping names were configured (e.g. @my/project/*
and
@my/project-core/*), the project locator would always return the shorter name first.

ISSUES CLOSED: #6672
2021-09-15 13:25:59 -04:00
Linbudu
ebee6388cf
feat(workspace): Enable run-commands preferLocal option by default (#6807) 2021-09-15 13:08:39 -04:00
Patrick de Klein
effbdc7fac fix(web): remove a typo to fix storybook component setup for webcomponents 2021-09-15 13:02:12 -04:00
Jay Bell
470f86d0ab
feat(nest): feat(nest): add standalone config flag to nest library generator 2021-09-15 12:10:58 -04:00
AgentEnder
a3599a525b fix(core): convert-to-nx-project should normalize paths
fixes #6968
2021-09-15 11:54:03 -04:00
AgentEnder
8f9da7c762 fix(core): read v2 workspace format in converted nx generators
closes #6452
2021-09-15 11:54:03 -04:00
AgentEnder
f929a474c6 fix(core): display dynamic prompts in angular cli 2021-09-15 11:54:03 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json (#6973) 2021-09-15 11:53:08 -04:00
Bjorn S
34848b8612
fix(angular): adds missing @angular/cdk to migrations
If @angular/material is used and updated, without updating the underlaying @angular/cdk (and is used); the application might have trouble starting and result in weird errors that are hard to debug.

Example error:
```
./node_modules/@angular/material/fesm2015/autocomplete.js:536:32-47 - Error: export '_getEventTarget' (imported as '_getEventTarget') was not found in '@angular/cdk/platform' (possible exports: Platform, PlatformModule, _getFocusedElementPierceShadowDom, _getShadowRoot, _supportsShadowDom, getRtlScrollAxisType, getSupportedInputTypes, normalizePassiveListenerOptions, supportsPassiveEventListeners, supportsScrollBehavior)
```

Fixed after updating the @angular/cdk to the same version as @angular/material.
2021-09-15 11:48:47 -04:00
Marko Grešak
bbeb89cbc2
fix(web): fix stylesOptimization for webpack 5 (#6817)
ISSUES CLOSED: #6816
2021-09-15 15:22:07 +00:00
Vivek 🧐
7c6b931705 cleanup(core): simplify code 2021-09-15 10:42:55 -04:00
Ali Yusuf
93f9569deb feat(angular): add support to sass style to the generator 2021-09-15 09:58:49 -04:00
mmuenker
ab2f526021
fix(core): support hidden files in assets (#6298)
The transformation of `AssetGlob` objects into `FileInputOutput` objects does not include hidden files. The glob option `dot: true` is required to include hidden files. The commit extends the AssetGlob interface with the optional property `dot`. The glob check will include hidden files when the property `dot` is set to true.

Signed-off-by: Merzough Münker <mmuenker@digitaix.com>
2021-09-15 09:45:36 -04:00
Ashwin Gokhale
8757423924 feat(react): Allow tailwind glob to watch for changes to html files 2021-09-07 17:48:22 +02:00
Craigory Coppola
25519a91ad
fix(testing): fix(testing): support for typescript jest configs (#6920)
ISSUES CLOSED: #5394
2021-09-03 14:40:56 -04:00
Jack Hsu
06d20352f7
fix(react): fix extracCss option for webpack 5 (#6925) 2021-09-03 12:17:48 -04:00
Russell Ormes
26f82b9059
fix(devkit): add '.tgz' to binaryExts array (#6930)
devkit's generateFiles function excludes parsing binary files with the templating engine.
This
patch adds .tgz files to the list of binary files to ignore.
2021-09-03 11:04:35 -05:00
Kirils L
b0b500676f
fix(nextjs): align next-env.d.ts file (#6929) 2021-09-03 14:51:02 +00:00
Craigory Coppola
06dc66b770
chore(repo): fix copy dep ordering (#6919) 2021-09-02 17:52:38 -04:00
kazamov
804cc73f52
fix(web): npm dependencies from the project graph (#6843)
get the npm dependencies from the project graph correctly. Allow deep import from `externals` passed from settings

Co-authored-by: Zakir Nuriiev <zakir.nuriev@caspio.com>
2021-09-02 12:51:05 -04:00
Craigory V Coppola
b416bb6dc9
fix(core): npmrc should be obeyed during nx migrate (#6781) 2021-09-01 23:37:40 +00:00
Colum Ferry
aa81561b06
fix(angular): importPath migration to fix broken paths (#6902)
Fixes broken importPaths and package.json names due to incorrect logic that has already been fixed

ISSUES CLOSED: #6648
2021-09-01 12:58:32 -04:00
James Henry
bafabb3a11
feat(linter): add support for workspace rules (#6859)
* feat(linter): add support for workspace rules

* chore(linter): move deps to correct package

* feat(linter): workspace-lint-rules as project with test target

* chore(linter): tiny clean up

* fix(linter): update generators.json after refactor

* chore(linter): implement e2e test and PR feedback

* docs(linter): update generator docs

* docs(linter): update generator docs

* docs(linter): update generator docs
2021-09-01 12:49:11 -04:00
Kyle Cannon
40532a2155
fix(linter): disabled eslint rules dont count as type checked rules (#6897) 2021-08-31 16:51:48 -04:00
srleecode
69005cc097
fix (angular): allows importing from @nrwl/angular:init (#6883)
* fix (angular): allows importing from @nrwl/angular:init

fix (angular): allows importing from @nrwl/angular:init

Closes #6790

* chore(angular): fixed formatting error

chore(angular): fixed formatting error
2021-08-31 16:47:25 -04:00
Craigory V Coppola
a656959204
fix(core): configFilePath included in hash (#6881)
closes #6880
2021-08-31 16:46:26 -04:00