44 Commits

Author SHA1 Message Date
Craigory Coppola
35dd6c95bc
fix(misc): remove -d as alias in generator schema (#12885) 2022-10-28 21:17:16 +00:00
Craigory Coppola
8ab7f85ca1
fix(core): swap default method for output capture (#12535) 2022-10-12 22:06:32 +00:00
Jason Jean
834e2db7cb
feat(core): prefix outputs and warn on non-prefixed outputs (#12470) 2022-10-11 21:54:25 +00:00
Phillip Barta
d91c7ca4ec
fix(linter): remove leftovers after tslint support removal (#12313) 2022-09-30 12:02:05 +01:00
Ashley Hunter
e80c2ee010
feat(nx-plugin): allow skipping the creation of an e2e project (#12129) 2022-09-22 20:11:38 -04:00
Kris
2baa96a2cc
fix(nx-plugin): fix the file paths for newly created generators in generators.json (#11611)
issue: https://github.com/nrwl/nx/issues/11610

ISSUES CLOSED: #11610
2022-08-16 14:22:16 -04:00
Craigory Coppola
458fc36014
chore(misc): split create tree with empty workspace to remove parameter (#10188)
* feat(devkit): split create-empty-tree to different functions

* chore(repo): apply migration for createEmptyTree

* cleanup(misc): fix tests that migration misses
2022-08-11 19:24:04 -04:00
Leosvel Pérez Espinosa
01f7376169
cleanup(misc): consolidate tslib version in generated projects (#11185) 2022-07-19 12:59:37 -04:00
Victor Savkin
8d4e87dcd0 feat(core): support env vars and runtime deps as inputs 2022-06-25 13:47:20 -04:00
Péter Ferenc Gyarmati
69881c277a
docs(core): fix typo "a executor" (#10862)
fixes "a executor" and "a Executor" to use "an"
2022-06-23 10:35:47 -04:00
Miroslav Jonaš
62bae5a120
feat(core): make npmScope optional (#10018) 2022-06-23 10:57:54 +02:00
Colum Ferry
c486b30c4d
feat(nx-plugin): add a minimal setup flag to produce an empty nx-plugin (#10718)
* feat(nx-plugin): add a minimal setup flag to produce an empty nx-plugin

* feat(nx-plugin): add e2e minimal setup
2022-06-16 22:15:27 +01:00
Daniel Harvey
09baf958e8 fix(core): Add missing formatFiles to migrations
Fixes nrwl/nx#10665
2022-06-15 10:38:32 -04:00
Craigory Coppola
8fc70ce402
fix(nx-plugin): generator and executor generators should work in js libs (#10621) 2022-06-07 16:00:53 -04:00
Craigory Coppola
10363e3bec
feat(nx-plugin): add plugin eslint rules (#9697)
* feat(nx-plugin): add lint rule for nx-plugin validation

* chore(repo): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>

* chore(repo): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>

* chore(nx-plugin): review comments

* chore(nx-plugin): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>
2022-06-03 16:03:39 -04:00
Craigory Coppola
c9897c61e6
fix(core): swc should be an optional peer dependency (#10461) 2022-05-26 12:09:27 -04:00
Juri
620b858acc fix(nx-plugin): handle nx.json without npmScope during plugin generation 2022-05-25 23:00:25 +02:00
Craigory Coppola
7d9397f2f1
fix(nx-plugin): e2e project paths should be normalized (#10123) 2022-05-03 21:26:48 +00:00
Craigory Coppola
62d0535acd
fix(nx-plugin): create-nx-plugin should generate valid import path (#10107) 2022-05-03 10:42:23 -04:00
Craigory Coppola
99fcb7873e
feat(nx-plugin): add --includeHasher option to generate hasher boilerplate (#9891)
Co-authored-by: James Henry <james@henry.sc>
2022-04-27 12:44:48 -04:00
Caleb Ukle
39331d1e17
feat(testing): move jest config to .ts files (#9854)
* feat(testing): move jest config to .ts

move jest config and preset to ts files

ISSUES CLOSED: #8344

* fix(testing): update tests for jest.config.ts changes

update tests broken by renaming jest fils to ts files
2022-04-21 17:58:40 +00:00
Benjamin Cabanes
6dae32cc3a
docs(nxdev): support packages schemas metadata & discoverability (#9383) 2022-03-24 12:00:06 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Giora Guttsait
7fb441b233
fix(nx-plugin): use importPath as package.json name when passed (#9430) 2022-03-21 14:46:55 +00:00
Giora Guttsait
63e1dee09f
fix(nx-plugin): remove broken reference to e2e tsconfig (#9409) 2022-03-21 13:33:07 +00:00
Craigory Coppola
208d5c0f6d
feat(nx-plugin): port compiler option into nx-plugin generator (#9299) 2022-03-11 14:36:56 -05:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json (#9195)
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json

* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -05:00
Jack Hsu
95f5a085fa
feat(node): consolidate js and node plugins (#9086)
* chore(node): update docs after consolidating js and node plugins

* feat(node): consolidate js and node plugins
2022-02-23 16:59:03 -05:00
Jack Hsu
8686e919fb
fix(core): update generator logic so empty strings ("") for appsDir and libsDir work properly (#7508) 2021-10-25 12:01:53 -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
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
Jonathan Romano
f8f09b91df
fix(linter): add setParserOptionsProject option to generators missing it (#7103) 2021-09-24 21:02:52 -04:00
Jason Jean
a7f89508e5
feat(linter): cache --outputFile (#6852) 2021-08-26 11:25:51 -04:00
Leosvel Pérez Espinosa
ddfbac50b2
fix(misc): make generated schemas compliant with json schema spec (#6548) 2021-07-30 13:33:17 +01:00
Jason Jean
89a4ac29b2
cleanup(devkit): rename all variable names of host to tree (#6541) 2021-07-29 15:46:41 -04:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
Leosvel Pérez Espinosa
5ba6d01262
cleanup(nx-plugin): migrate e2e executor to nx devkit (#6212) 2021-07-01 15:36:35 +01:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Miroslav Jonaš
b3c36dc067
chore(repo): enable windows nightly tests (#5889) 2021-06-18 21:16:50 +02:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Miroslav Jonaš
a9945e2946
chore(testing): fix broken nx-plugin e2e test (#6002) 2021-06-14 16:47:06 +02:00
Phillip Barta
817fc3c83b
cleanup(nx-plugin): use common json utils (#5942) 2021-06-14 11:03:35 +02:00
Craigory V Coppola
f9751786c6
feat(testing): support for Jest 27 (#5873)
- Sets default testEnvironment to web
- Updates node generators to specify testEnvironment: node
- Provides migrations to update existing jest.config.js files
- Bump angular-preset-jest to latest

ISSUES CLOSED: #5771
2021-06-11 13:25:57 -05:00
Phillip Barta
251b417a8a
feat(nx-plugin): migrate generators to @nrwl/devkit (#5744)
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2021-06-04 16:08:53 -04:00