77 Commits

Author SHA1 Message Date
Phillip Barta
6bd6e1485f
feat(core): added package manager union type (#5378)
cleanup(misc): add package manager union type
2021-04-19 15:24:02 -04:00
Jason Jean
fb0411ee8f
fix(core): print error if there is an issue creating the sandbox during create (#5380) 2021-04-19 12:00:00 -04:00
katerina
2612268faa fix(core): take into account name argument in create-nx-workspace generator 2021-04-06 10:31:50 -04:00
Tasos Bekos
9cb23ddbbd feat(core): replace inquirer dependency with enquirer 2021-04-06 10:31:30 -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
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
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
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
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
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
Jonathan Cammisuli
10d3d0de3b feat(core): add nest preset 2020-09-01 11:46:46 -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
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
c228ea6848 feat(repo): add detailed instructions on how to publish to local registry 2020-06-10 11:33:41 -04:00
Victor Savkin
11e57ea2cc feat(core): add a prompt asking to connect to free tier of Nx Cloud 2020-06-10 11:33:41 -04:00
Victor Savkin
2a3116f2e6 feat(misc): add an option not to update package.json files when building libs 2020-06-03 12:55:37 -04:00
Victor Savkin
d97d76090b feat(core): add an option to connect to free distributed caching 2020-05-28 14:35:18 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Adam L Barrett
4293f1f4fb fix(core): remove extra style argument passed to the new command in create-nx-workspace
ISSUES CLOSED: #2427
2020-02-21 09:14:20 -05:00
Jo Hanna Pearce
a849b4d339 fix(nextjs): add styled components and emotion to Next.js preset options
ISSUES CLOSED: #2058
2020-02-18 17:42:02 -05:00
Victor Savkin
6706a05042 feat(misc): move create-nx-plugin create script into create-nx-workspace package 2020-01-27 09:45:08 -05:00
pesoklp13
77238e2ce7 feat(core): accept style argument for create-nx-workspace (#2294)
* add style as an available argument for create-nx-workspace command
* updated determineStyle based on parsed argument if passed into command
2020-01-27 13:39:51 +00:00
Brandon
d7be9c1694 feat(core): add support for interactive mode when using presets (#2258)
* feat(core): add support for interactive mode when using presets

* fix(angular): get interactive flag from schematic context for preset task

* docs(core): add note about using interactive mode with presets

* fix(core): update parsing of interactive argument for preset
2020-01-24 13:00:35 -05:00
Victor Savkin
3160639d2e refactor(misc): merge tutorial and course notes 2020-01-15 10:38:43 -05:00
ben
df72d317b4 chore(core): add free video course note for create-nx-workspace 2020-01-14 22:15:24 -05:00