286 Commits

Author SHA1 Message Date
Victor Savkin
20f731990c docs(misc): rework the top section of docs 2022-01-04 14:11:31 -05:00
Victor Savkin
973cf4e243 fix(misc): add -W to yarn add to fix the error in yarn monorepos 2021-12-22 12:51:16 -05:00
Victor Savkin
9051ff2605 feat(core): add ts preset to create-nx-workspace 2021-12-17 21:57:15 -05:00
Victor Savkin
88751a3685 chore(repo): clean up the language to match the new tag line 2021-12-17 16:08:38 -05:00
Nicholas Cunningham
18b3d61a1d
feat(core): Add support for versioning in the preset package name (#8146) 2021-12-14 10:07:57 -05:00
Nicholas Cunningham
3bedfd8039
feat(core): preset now supports external generators when creating a workspace. (#8084)
When you run create-nx-workspace --preset you can now pass in an npm package name.
This package will contain a generator named preset which is run after the workspace has been generated.
2021-12-10 15:44:20 -05:00
Craigory Coppola
cc2aa9feba
feat(core): show version number when generating a new workspace (#7570) 2021-12-02 17:20:39 -06:00
Miroslav Jonaš
99946a2bea
feat(core): print out directly simple create-nx-workspace exceptions (#7932)
* feat(core): print out directly simple create-nx-workspace exceptions

* feat(core): respect NX_VERBOSE_LOGGING when calling create-nx-workspace
2021-11-30 09:57:08 -05:00
James Henry
98ffe8574b feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
Jason Jean
448923a1b1
chore(repo): update nx to 13.2.0-rc.4 (#7796) 2021-11-18 16:56:36 -05:00
Jay McDoniel
474dc283ce
fix(core): use pnpm exec instead of pnpx (#7695)
pnpm is deprecating pnpx and suggests using pnpm exec instead.
pnpx still works at the moment, but if for whatever reason it
isn't installed then this pr can make create-nx-worksapce stsill work.

[pnpx documenation](https://pnpm.io/pnpx-cli)
2021-11-12 11:49:53 -05:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -05:00
Colum Ferry
8d6ac4f694
chore(angular): support angular 13 (#7161)
* chore(angular): support angular 13

Support Angular 13

chore(angular): support ng 13 next 11

chore(angular): upgrade tslib dep

chore(angular): update package and ng-packagr-lite executors to align with ng-packagr v13

chore(angular): update test snapshots with ts version

fix(angular): buildable lib tsconfig transform test

* chore(angular): sync ng-packagr changes to the package and ng-packagr-lite executors

* chore(angular): add migrations

* chore(angular): rxjs7

* feat(angular): check rxjs version to install

* feat(angular): update jest resolver to resolve esm

* chore(angular): fix version

* chore(angular): support jest-preset-angular

* fix(angular): tests

* fix(angular): fix e2e tests and add .angular to gitignore

* fix(angular): fix jest transformers ignore pattern

* fix(angular): fix node test

* fix(angular): fix workspace test

* fix(angular): import marble utils from jasmine-marbles instead of @nrwl/angular/testing

* feat(angular): update ngrx to 13.0.0-beta.;0

* fix(angular): temporarily skip test with pnpm

* fix(angular): bump jest-preset-angular to fix jest performance issues

* fix(angular): webpack-browser and server schema changes

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-08 12:01:55 -05:00
Antoine Leblanc
a965f89d89
Update GitHub brand name usage (#7291)
* docs(misc): update github brand name usage

Relates to https://github.com/logos

* docs(nxdev): update github brand name usage

Relates to https://github.com/logos

* fix(misc): update github brand name usage

Relates to https://github.com/logos
2021-10-12 15:09:03 -04:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json (#6973) 2021-09-15 11:53:08 -04:00
Emily Xiong
387af0cf3f
feat(core): add react native to main repo (#6493) 2021-08-25 15:54:23 -04:00
AgentEnder
c9c8fa7f1c chore(core): project.json should not be included in builds
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-08-20 20:22:30 -04:00
Leosvel Pérez Espinosa
ff202d323c
cleanup(misc): rename oss preset to npm and update presets related docs (#6777) 2021-08-19 11:10:29 -07:00
Chau Tran
3bcfaf018d
feat(core): detect package manager used to invoke create-nx-(plugin|workspace) (#6749)
* feat(core): detect package manager used to invoke create-nx-(plugin|workspace)

When consumers create a new Workspace (or Plugin) using the create-nx-workspace (or
create-nx-plugin) generator, the package manager used to invoke the generator will be detected and
used as packageManager. For example: pnpx create-nx-workspace will use pnpm, yarn create
nx-workspace will use yarn. Explicit `--packageManager` flag will be priority over the detection.

* cleanup(core): reassign SELECTED_PM after each test run

* fix(core): augment args instead of hardcode --packageManager flag

* cleanup(core): use packageManagerLockFile instead of magic strings

* cleanup(core): fix typo in create-nx-workspace

* cleanup(core): ensure new workspace name for every test

* feat(core): detect package manager used to invoke create-nx-(plugin|workspace)

When consumers create a new Workspace (or Plugin) using the create-nx-workspace (or
create-nx-plugin) generator, the package manager used to invoke the generator will be detected and
used as packageManager. For example: pnpx create-nx-workspace will use pnpm, yarn create
nx-workspace will use yarn. Explicit `--packageManager` flag will be priority over the detection.

* cleanup(core): reassign SELECTED_PM after each test run

* fix(core): augment args instead of hardcode --packageManager flag

* cleanup(core): use packageManagerLockFile instead of magic strings

* cleanup(core): fix typo in create-nx-workspace

* cleanup(core): ensure new workspace name for every test

* fix(core): move detectInvokedPackageManager off of tao

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-18 12:09:00 -04:00
Emily Xiong
f96c5371c0
fix(gatsby): remove npm_config_legacy_peer_deps (#6698) 2021-08-12 12:47:46 -04:00
Victor Savkin
1049c93dea
fix(misc): NxCloud activation link is not displayed (#6619) 2021-08-05 12:09:13 -04:00
Miroslav Jonaš
9326742442
fix(core): fix wrong create-nx-workspace tutorial link (#6428) 2021-07-22 09:31:10 +02:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Jason Jean
4f7191e154 chore(repo): update nx to 12.5.0-beta.5 2021-06-25 17:08:37 -04:00
Leosvel Pérez Espinosa
bbb0416cc2
fix(angular): remove Stylus from new Angular workspaces and apps (#6095) 2021-06-22 16:56:51 +01:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Juri Strumpflohner
efbb7c6b4c
feat(core): add spinner during node module install (#5593) 2021-05-21 10:33:42 -04: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
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
Emily Xiong
72ce35264f
fix(core): change legacy_peer_deps to npm env variable (#5541) 2021-05-04 16:02:12 -04:00
Phillip Barta
cc69d90ba6 cleanup(core): cleanup usage of flat 2021-05-04 16:01:11 -04:00
Emily Xiong
efd706ff5f
feat(gatsby): add style-jsx support for gatsby (#5300)
add style-jsx option for gatsby
add plugin to add _JSXStyle to global
2021-05-03 13:19:32 -04:00
Emily Xiong
84e387b238
feat(gatsby): add preset gatsby (#5485) 2021-04-29 17:53:20 -04:00
Minijus L
357ecd09a4
fix(testing): update ts-jest to version 26.5.5 (#5405)
Update `jest.config.js` ts-jest section with lower-cased 'tsconfig' property as 'tsConfig' is to be deprecated in version 27.
2021-04-26 08:56:52 -04:00
vsavkin
d72569a5e6 fix(core): emit erorr logs instead of retrying when creating a worksapce 2021-04-24 19:11:45 -04:00
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
Phillip Barta
2dbb6ec341
cleanup(repo): updated dependency 'tmp' (#5340) 2021-04-14 23:57:57 -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
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