1389 Commits

Author SHA1 Message Date
Jack Hsu
13e7b69c5a
feat(react): add react-specific eslint configuration (#1727) 2019-08-15 13:01:22 -04:00
Mehrad Rafigh
ff1de5b7f0 build(nx): update dependencies (#1711)
* build(nx): update husky and conventional-changelog-cli to latest version

* build(nx): update react and react-dom

update react and react-dom to 16.9.0
update @types/react to 16.9.1

* build(nx): update graphviz to 0.0.9

* build(nx): update express 4.17.1 and @types/express to 4.17.0

* build(nx): update cypress to 3.4.1
2019-08-15 11:21:33 -04:00
Jack Hsu
a9a1f669d7
feat(react): update workspace defaults based on app schematic option (#1726)
The defaults make it easier to generate other apps/libs/components later.
An option `skipWorkspaceJson` can be used to skip updates entirely.
2019-08-14 23:21:44 -04:00
Jack Hsu
5b6da28b71
fix(react): validate style value before proceeding with app/lib/component generate (#1725) 2019-08-14 21:18:17 -04:00
Victor Savkin
e29dcf904d fix(testing): remove directory x-prompt 2019-08-14 04:12:53 -04:00
Victor Savkin
14a134451e Release 8.4.9 2019-08-14 03:48:53 -04:00
Victor Savkin
b028452380 feat(nx): make choosing the cli clearer 2019-08-14 18:11:11 -04:00
Jack Hsu
a2fbc47c13 feat(react): improve lib schematic by replacing parentRoute with appProject option
- Instead of providing full path to app component, just pass the project's name.
- Updates both app.tsx and main.tsx so user no longer need to do any maual updates.
2019-08-14 18:10:51 -04:00
mehrad-rafigh
97d7ebea4c docs(nx): update node api url of step in angular tutorial
Closes #1715
2019-08-14 14:11:58 -04:00
Victor Savkin
96d0203b1e fix(react): add tsx files to includes to fix the linter 2019-08-14 11:58:19 -04:00
Victor Savkin
17f8a79282 fix(nx): normalize paths in the eslint version of boundaries check 2019-08-14 11:58:19 -04:00
ben
972435c8b8 docs(nx): update images links 2019-08-14 10:10:29 -04:00
Victor Savkin
5d2127b287 docs(angular): add a clarification to 7 to 8 guide 2019-08-13 21:14:01 -04:00
Victor Savkin
53027b4635 refactor(nx): do not ask for directory when creating apps and libs 2019-08-13 21:13:46 -04:00
James Henry
49dcacfd1a feat(eslint-plugin-nx): new package, ESLint enforce-module-boundaries rule 2019-08-13 21:13:46 -04:00
Kristopher Betz
821891457f docs(nx): correct spelling error
docs(nx): correct spelling error

Edited "creating" on modernize-jest.md
2019-08-13 16:18:31 -04:00
mehrad-rafigh
7557f79e8f docs(nx): update documentation to reflect fix flag 2019-08-13 16:18:04 -04:00
mehrad-rafigh
4cd0ff17e6 fix(nx): pass --fix flag to selected linter
Closes #1703
2019-08-13 16:18:04 -04:00
Jack Hsu
bb8c18c2d8
fix(react): update extensions for Prettier to include tsx and jsx files (#1708) 2019-08-13 13:03:50 -04:00
Ahn
9278ed9d0b docs(nx): update yarn commands in Creating First Application section (#1673) 2019-08-12 07:46:52 -05:00
Victor Savkin
79c84aecb2 Release 8.4.8 2019-08-10 14:54:59 -04:00
Victor Savkin
bd7af859ce fix(nx): fix workspace schematic package manager detection 2019-08-10 14:53:18 -04:00
Victor Savkin
4e0602a45f fix(nx): fix the default linter for express package 2019-08-10 14:53:18 -04:00
Victor Savkin
d2fc5cd20a Release 8.4.7 2019-08-09 16:25:59 -04:00
Jason Jean
aecdd2bc4c fix(angular): use build-angular for linting 2019-08-09 11:15:40 -04:00
Victor Savkin
cdcab0107c fix(nx): create-nx-workspace passes appname twice 2019-08-02 09:11:12 -04:00
Victor Savkin
14de19d205 fix(nx): app name is not used when preset is provided 2019-08-07 14:04:10 -04:00
Victor Savkin
f0d9bc8cd2 fix(nx): reporters defined in jest.config.js aren't used 2019-08-07 14:04:10 -04:00
Victor Savkin
c07e322370 fix(nx): running affected commands in parallel does not terminate on azure 2019-08-07 14:04:10 -04:00
Victor Savkin
81e8d5b8a9 docs(backend): update the docs to describe the special behavior of port:0 2019-08-07 14:04:10 -04:00
mehrad-rafigh
2d9b604746 fix(nx): run nx command in generated workspace
Fixes #1647
2019-08-07 10:35:59 -04:00
Victor Savkin
6644cb7a24 fix(nx): fix util used in the old migrator 2019-08-01 19:52:12 -04:00
Victor Savkin
9258985077 Release 8.4.4 2019-08-01 19:20:11 -04:00
Victor Savkin
5074b82bb2 fix(nx): fix style selection on windows 2019-08-06 15:12:36 -04:00
Victor Savkin
166a21a27b fix(nx): remove invalid peer dependency 2019-08-06 15:12:36 -04:00
Victor Savkin
61194ab171 fix(nx): add a direct dependency on chalk 2019-08-06 15:12:36 -04:00
Victor Savkin
238236a468 fix(nx): 8.0.0 schematic expected workspace.json 2019-08-06 15:12:36 -04:00
Bucky Maler
07d963befd fix(nx): npm scripts documentation generation
Before, a single instance of yargs was accumulating options, so commands parsed later would have options from prior commands. That's because all yargs options are global by default. Now, a new instance of yargs is required before each command is parsed, so global options aren't accumulated.

fixes #1567
2019-08-06 14:27:31 -04:00
Sven Röttering
ec9ed17c9e fix(jest): change reporters option to array type
Jest expects the reporters option to be an array of strings.
2019-08-06 11:28:38 -04:00
mehrad-rafigh
b892c1e6bf docs(nx): use --save-dev for npm install scripts instead of --dev
--save-dev is the correct option for npm, not --dev which is yarn specific

Closes #1681
2019-08-06 10:24:07 -04:00
Victor Savkin
98b7dd0cdf build(nx): reenable disabled e2e tests 2019-08-01 18:44:09 -04:00
Victor Savkin
3db3211e5e Release 8.4.3 2019-08-01 12:44:19 -04:00
Victor Savkin
bb858e4db9 feat(nx): add full stack preset for react/express 2019-08-01 13:26:27 -04:00
Adam Vigneaux
8c7c0b7721 fix(nx): rename browserlist file to browserslist (#1654)
According to [the Browserslist docs](https://github.com/browserslist/browserslist#queries),
the file should be named `browserslist`. The previous name had a missing
"s" in the middle.

I do not know how `browserslist` is integrated in Nx and the Angular
CLI, but it is possible that the configuration file was being ignored
entirely due to this naming error. When the `browserslist` CLI does not
find a configuration file, it uses a sensible default configuration, so
it would not be obvious that the configuration file was ignored.
2019-08-01 11:01:50 -04:00
Victor Savkin
9c67063d69 Release 8.4.2 2019-07-31 18:34:25 -04:00
Victor Savkin
d3dc2f4647 fix(nx): global cli warning false positives 2019-07-30 03:41:13 -04:00
Jack Hsu
790f1748d2 fix(react): add missing polyfills for apps using babel.
Closes #1668
2019-07-30 02:47:47 -04:00
Victor Savkin
9beafb14f9 build(nx): run format check only as part of the first job 2019-07-30 02:37:20 -04:00
Victor Savkin
fbb3dc63fa fix(nx): set the default linter in presets 2019-07-30 02:33:27 -04:00
James Henry
448233bc5c feat(nx): add eslint support 2019-07-31 17:05:56 -04:00