528 Commits

Author SHA1 Message Date
Jack Hsu
157c6e0fb0
feat(web): rename @nrwl/web:build to @nrwl/web:webpack (#7952) 2021-11-30 14:22:34 -05:00
Kirils L
bfd1a4715a
feat(web): rename package executor to rollup (#7904) 2021-11-30 09:32:12 -05:00
Emily Xiong
445d72c38a
bugfix(react-native): change path to absolute to allow run commands in any directory (#7737)
- change the path to absolute to run the nx command in any directory
- add resetCache option to run-ios and run-android command
2021-11-26 09:13:30 -05:00
Jay Bell
2d9c0ff4d9
feat(angular): allow for full ivy compilation in buildable libraries (#7873) 2021-11-25 18:56:10 +00: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
Victor Savkin
e3c7b979b2 feat(core): rework the tasks runner to use life cycle for printing messages 2021-11-16 20:07:34 -05:00
Umair Hafeez
ddad52bc82
docs(angular): update 'npm run' to 'npx nx' for affected commands (#7738)
* docs(angular): update 'npm run' to 'npx nx' for affected commands

The tutorial refers to using 'npm run' for the affected commands, which doesn't work if the
workspace is generated using yarn.

To fix that, change it to 'npx nx' so it works in all cases,
like other places in the docs.

* chore(misc): fix formatting

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-16 17:57:34 -05:00
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