293 Commits

Author SHA1 Message Date
vsavkin
6024859990 chore(repo): clean up language 2021-03-29 12:26:01 -04:00
Phillip Barta
4dae7299bf
fix(misc): fixed a typo in nx not globally installed warning (#5126) 2021-03-26 11:08:34 -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
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
vsavkin
e40c65194d feat(misc): add a spinner when creating a workspace 2021-03-15 10:25:14 -04:00
vsavkin
cad02e4399 feat(core): speed up and clean up create-nx-workspace 2021-03-11 15:56:00 -05:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -05:00
Jonathan Cammisuli
bba26b08bd
feat(express): add express preset to create-nx-workspace (#4909) 2021-03-05 11:40:40 -05:00
Tasos Bekos
d2bac514ac
fix(core): fix creating workspace on Windows for npm@7 (#4926) 2021-03-01 15:08:42 -05:00
Jason Jean
b5bfbc9fae
fix(react): temporarily remove gatsby preset from create-nx-workspace (#4819) 2021-02-17 13:03:51 -05:00
Jack Hsu
51973b88e2 chore(gatsby): move gatsby plugin to main repo 2021-01-26 12:17:28 -05:00
Jason Jean
0933bcafd8
feat(core): clean up remaining usages of angular devkit (#4610) 2021-01-25 17:21:42 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Juri
958c302c17 docs(core): add packageManager option to workspace creation help 2021-01-19 08:40:52 -05:00
Tasos Bekos
9abdb78a4a feat(repo): run E2E tests on Windows (cmd) 2021-01-06 15:47:18 -05:00
Victor Savkin
93031143e3 feat(angular): switch default linter from eslint to tslint when creating a workspace 2021-01-05 12:23:29 -05:00
Tasos Bekos
6b02132e7b fix(core): convert workspace root path with forward slashes
Yarn was wrongly interpreting `nxWorkspaceRoot` when current working directory was ending in backslash, for example `E:\` in Windows. This commit makes sure that `nxWorkspaceRoot` parameter uses only forward slashes that work in all cases.

Closes #4363
2020-12-21 11:42:18 -05:00
Victor Savkin
fba9b15895 fix(core): linter defaults are not used by presets 2020-12-16 21:02:22 -05:00
Tasos Bekos
056f4eb20e fix(core): handle commit object argument when creating workspace 2020-12-06 13:39:19 -05:00
Tasos Bekos
c6cb176218 cleanup(core): remove duplicate code about package manager 2020-12-01 12:43:23 +02:00
Tasos Bekos
98ed4b1dc7 cleanup(core): combine ng-new and tao-new schematic 2020-11-27 20:56:26 +02:00
Victor Savkin
c8259074ac cleanup(core): default to nx cli for empty preset 2020-11-17 19:31:08 -05:00
Tasos Bekos
8676c1a68b fix(core): default to NPM package manager
* Simplify the determination & detection of the desired package manager.
* Add the `package-manager` option on plugin creation.
* Nx Cloud installation uses the appropriate package manager.
2020-11-11 10:02:47 -05:00
Tasos Bekos
5938c9e093 cleanup(core): remove superfluous resolve of collection.json on workspace creation
Also, passing the resolved path makes Yarn 2 to fail during installation.
2020-11-09 16:12:35 -05:00
Tasos Bekos
34d156d46e feat(core): support packageManager argument 2020-10-30 09:25:23 +02:00
Tasos Bekos
6fb23f497f fix(core): handle spaces in workspace path
Closes #3919
2020-10-28 21:04:47 -04:00
Tasos Bekos
463d2cb9e0
fix(repo): add missing tslib dependency in generated applications (#3858) 2020-10-23 17:09:35 -04:00
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 (#3840) 2020-10-02 13:12:34 -04:00
Rares Matei
b45734b1d2
fix(core): fix linter prompt in create-nx-workspace (#3845) 2020-10-01 09:35:25 -04:00
Victor Savkin
c25628a4f6
feat(misc): add linter flag to create-nx-workspace (#3826)
* feat(misc): add linter flag to create-nx-workspace

* fix(core): prompt linter when preset is angular or angular-nest

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-09-30 12:11:37 -04:00
Tasos Bekos
c510cdd3d3
fix(misc): upgrade version of yargs-parser (#3751)
ISSUES CLOSED: #3105
2020-09-17 10:31:10 -04:00
Tasos Bekos
07ba927ed7 cleanup(core): avoid referencing node_modules on workspace creation 2020-09-15 21:53:29 -04:00
Tasos Bekos
71c8e9c493 cleanup(repo): avoid referencing node_modules 2020-09-14 13:14:11 -04:00
Tasos Bekos
b11a50f9a0 cleanup(repo): add packages to dependency lists in package.json
This commit also adds a dependency check tool.
2020-09-14 13:07:45 -04:00
Victor Savkin
a615da995d feat(core): add a prompt when using --scan without nx-cloud 2020-09-10 16:32:46 -04:00
Victor Savkin
7df4ee1551 fix(core): remove an invalid link 2020-09-10 11:32:41 -04:00
Victor Savkin
326bff6f1a fix(core): update the version of yargs to fix npm audit 2020-09-04 10:15:07 -04:00
Jonathan Cammisuli
10d3d0de3b feat(core): add nest preset 2020-09-01 11:46:46 -04:00
Jonathan Cammisuli
7dbf48a11e
chore(repo): update to 10.1.0-beta (#3561) 2020-08-19 13:06:12 -04:00
Victor Savkin
f51d0d257c fix(core): create-nx-workspace uses a unix-style path on windows 2020-08-07 22:13:16 -04:00
Bram Borggreve
757bce79fb fix(core): create-nx-workspace preset and cli params should work with spaces 2020-08-07 14:55:10 -04:00
Victor Savkin
aff592b930 feat(angular): add an option to use eslint 2020-08-06 22:08:16 -04:00
Victor Savkin
3cd9f4fe6c feat(misc): add nx package to make installing global cli easier 2020-07-29 12:16:12 -04:00
Victor Savkin
5d53661139 fix(repo): update the repo to nx 10 2020-07-16 16:18:00 -04:00
Brandon
24b87d115b
feat(core): adds configurable base branch and HEAD in nx.json (#3217)
* feat(core): adds configurable base branch in nx.json

new field in nx.json - defaultBranch

ISSUES CLOSED: #1791

* feat(core): split affected into config options for base and head in nx.json

Co-authored-by: agriggs <alex.griggs@gmail.com>
2020-06-25 10:24:37 -04:00
Jack Hsu
40f9180eba
feat(react): add styled-jsx support for apps, libs, and components (#3204) 2020-06-22 20:41:57 -04:00
Victor Savkin
7cbf4ffd88 feat(core): add oss preset to create-nx-workspace 2020-06-19 13:01:57 -04:00
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Victor Savkin
c228ea6848 feat(repo): add detailed instructions on how to publish to local registry 2020-06-10 11:33:41 -04:00