521 Commits

Author SHA1 Message Date
Victor Savkin
fcecebeb3a feat(js): add library and app generators 2021-11-15 21:29:28 -05:00
Craigory Coppola
d28f571874
feat(js): create @nrwl/js package and move @nrwl/workspace:tsc to it (#7604) 2021-11-12 16:41:30 -06:00
Chau Tran
421d4f2f02
feat(node): add outputFileName to build executor (#7708)
Fixes  #4969
2021-11-11 17:01:20 -06:00
Victor Savkin
3d1899eec8 feat(core): deprecate --max-parallel and use --paralle=N instead 2021-11-09 20:03:24 -05:00
Matt
965b11679f
feat(testing): add --testPathIgnorePatterns flag support (#7478)
closes #7462

Co-authored-by: Matt <MattGson>
2021-11-08 13:42:44 -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
Miroslav Jonaš
878b44d997
docs(testing): add clarification for baseUrl when devServerTarget is set (#7622) 2021-11-05 15:24:36 +01:00
Miroslav Jonaš
1afeeb6be1
docs(core): move misleading migration overview page (#7608) 2021-11-04 14:39:38 +01:00
Brandon
5d81232a61
docs(angular): cleanup Angular tutorial (#7583) 2021-11-01 15:01:23 -05:00
Ashley Hunter
cae625a817
feat(nest): nest resource generator (#7571)
* feat(nest): adding nest resource generator

Adding a generator to run the Nest Resource schematic

ISSUES CLOSED: #6754

* feat(nest): adding nest resource generator

Adding a generator to run the Nest Resource schematic

ISSUES CLOSED: #6754

* feat(nest): adding nest resource generator

Adding a generator to run the Nest Resource schematic

ISSUES CLOSED: #6754
2021-11-01 11:10:58 -05:00
Victor Savkin
cc3078e307 cleanup(nxdev): minor home page tweaks 2021-11-01 12:06:48 -04:00
Victor Savkin
5b9992c62a docs(react): rework the core section to highlight nx core 2021-10-28 19:48:13 -04:00
Jack Hsu
39bc2e293e
feat(nextjs): bump Next.js version to 12.0.0 (#7524) 2021-10-27 00:37:14 +00:00
Leosvel Pérez Espinosa
8311a172d7
feat(angular): add secondary entry point generator for publishable libraries (#7501) 2021-10-26 11:12:53 +01:00
Chau Tran
9356f73380
feat(node): add tsPlugins to node:package executor (#7477)
node:build currently has tsPlugins options to invoke TypeScript Plugins (transformers). This PR
brings the same functionality to node:package

ISSUES CLOSED: #7420
2021-10-25 20:03:56 -05:00
Jordan
338dc289a7
docs(testing): update migration guide from protractor to cypress (#7513) 2021-10-25 15:07:39 -05:00
Victor Savkin
a20f326ac4 docs(core): add a plugin about using nx without plugins 2021-10-19 15:49:52 -04:00
Craigory Coppola
a300b2c0f2
docs(core): updates to configuration docs to reflect #6642 (#7413) 2021-10-19 10:27:03 -05:00
Victor Savkin
693bd411d7 fix(core): reset daemon intenral state when cache is missing 2021-10-19 11:19:20 -04:00
Colum Ferry
0f85b49065
docs(angular): fix command in karma to jest (#7417) 2021-10-19 15:08:31 +01:00
Leosvel Pérez Espinosa
86613f6e66
cleanup(angular): remove deprecated options from the ngrx generator (#7404)
BREAKING CHANGE:
The deprecated options `onlyAddFiles` and `onlyEmptyRoot` from the `ngrx` generator were removed,
`skipImport` and `minimal` should be used instead.
2021-10-18 13:44:37 -04:00
Miroslav Jonaš
d9fd42eec8
chore(linter): update eslint to latest v7 version (#7400) 2021-10-18 15:20:51 +02:00
Xie Jay
3fca35ceb1
fix(web): remove default baseHref in dev-server (#7302) 2021-10-15 21:38:16 -04:00
Craigory Coppola
bdcbac4445
feat(core): standalone project configuration is default (#7351)
* feat(core): standalone project configuration is default

* chore(core): changes to e2e tests

* fix(core): intuit projects when inside their directories when using project.json files

* chore(core): e2e changes

* fix(core): standalone configurations work with npm-project generator

* chore(core): e2e tests should use standalone configurations

* chore(core): e2e fixes per review
2021-10-16 00:07:12 +02:00
Benjamin Cabanes
54aecd07c8
docs(nxdev): typedoc generator upgraded (#7374) 2021-10-15 11:59:27 -06:00
Dominik Pieper
b3a656ec89
feat(storybook): add @storybook/svelte fot the storybook and build-storybook executors (#7352) 2021-10-15 10:58:47 -04:00
Jason Neal
a4b0c80785
docs(angular): fix a typo
Co-authored-by: Jason Neal <jasonneal@rocketmortgage.com>
2021-10-15 10:51:40 -04:00
puku0x
324738b289 feat(core): strict mode by default for workspace libraries 2021-10-15 10:35:44 -04:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes (#7340) 2021-10-15 10:08:12 -04:00
Colum Ferry
65b65bf4c5
docs(angular): provide reason for imported remote entry module (#7377) 2021-10-15 11:38:44 +01:00
James Henry
a4e0d72edc chore(core): updates to daemon related commands and output 2021-10-14 20:10:20 -04:00
James Henry
e7d49aa55d chore(core): nx reset command, updates to cli help output and docs 2021-10-14 20:10:20 -04:00
Craigory Coppola
79cf69b4e4
feat(core): consolidate nx.json and workspace.json (#6642)
* feat(core): consolidate settings between workspace.json + nx.json

workspace.json (and linked project.json files) now contain all project specific settings.
nx.json now contains all settings that affect the whole workspace.

* chore(core): fix angular unit tests w/ new config

* chore(core): fix failing tests

* chore(core): fix formatting

* chore(core): fix more tests

* chore(core): normalize-nx-json feedback

* chore(core): Fix more unit tests

* chore(core): fix remaining tests in workspace

* chore(linter): fix remaining linter tests

* chore(core): fix remaining spec + build issues

* chore(core): formatting fixes

* feat(core): migration script to move config options to new locations

* chore(core): fix e2e tests

* chore(core): run format

* chore(react-native): fix failing tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): move properties to new location during format step

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): initial pass on ngcli-adapter for property consolidation

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(misc): fix tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* docs(core): update docs with changes

* chore(misc): fix tests

* chore(core): code review changes

updateWorkspaceJson -> updateWorkspace, no longer uses updater function

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix bug in ngcli impl

* fix(core): fix bug in ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* fix(core): fix ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix workspace e2e

* chore(core): fix nx-plugin e2e

* fix(core): move defaultProject to nx.json

* chore(core): fix broken workspace test

* chore(core): formatting

* chore(core): fix workspace format

* chore(core): add nxJson to ExecutorContext

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): remove all references ot `NxProjectConfiguration` from our code

* chore(core): Review Changes

* fix(core): update new config locations v13 migration
2021-10-14 10:42:47 -04:00
Jack Hsu
086f67d4bd
chore(web): remove build options deprecated since Nx 11 (#7330) 2021-10-13 05:48:31 +00:00
Jack Hsu
4d6df58ac8
chore(node): remove build options deprecated since Nx 11 (#7331) 2021-10-13 07:47:51 +02:00
Jack Hsu
724b0c0e3c
feat(core): upgrade to webpack 5 (#7283)
* feat(core): upgrade to webpack 5

* chore(core): update webpack 5 docs
2021-10-13 00:34:28 -04:00
James Henry
9d2a304b11 chore(core): updates to daemon outputs, socket location and help 2021-10-12 20:02:00 -04: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
Craigory Coppola
8435bdfb6f
feat(core): shift from 'master' to 'main' as default branch and base (#7111)
* chore(core): fix some broken tests

* docs(core): update docs to represent master -> main

* chore(core): review changes

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>

* chore(core): add migration script for backwards-compat w/ main default.

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-10-08 16:48:02 -04:00
Benjamin Cabanes
5ae45b63dd
docs(core): add categories typed comment for nxdevk (#7286) 2021-10-08 12:09:53 -04:00
Xie Jay
2bcc552fa0
fix(web): remove default value of baseHref (#6994)
close #5079
2021-10-04 14:50:26 -04:00
Philip Fulcher
1d8a8878dc
feat(misc): add --open option for dep-graph command (#7209) 2021-10-04 11:45:00 -04:00
Benjamin Cabanes
88fa507f1b
docs(nxdev): sync content (#7138) 2021-09-25 15:23:45 +00:00
Elderov Ali
3e3ec2e981
docs(angular): fix embedded link in talk section (#7037) 2021-09-25 11:09:38 -04:00
Jonathan Romano
f8f09b91df
fix(linter): add setParserOptionsProject option to generators missing it (#7103) 2021-09-24 21:02:52 -04:00
Benjamin Cabanes
1377728f41
docs(nxdev): better path interpolation (#7112) 2021-09-23 14:07:15 -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
Victor Savkin
a5ba9bc0c3 docs(core): add better docs for run-script 2021-09-16 20:30:00 -04:00