61 Commits

Author SHA1 Message Date
Craigory Coppola
6e7234c1aa
feat(nx-plugin): reuse utilities from create-nx-workspace for create-nx-plugin (#15743) 2023-03-31 17:23:21 -04:00
Leosvel Pérez Espinosa
4eb7cc7bf1
fix(misc): skip formatting files in nested generator calls (#15961) 2023-03-31 11:22:18 -04:00
Craigory Coppola
41f094aadf
feat(nx-plugin): plugin presets can now be standalone (#15601) 2023-03-13 18:58:03 -04:00
Colum Ferry
8744698a01
feat(devkit): move runTasksInSerial to devkit (#15467) 2023-03-06 13:55:44 -05:00
Katerina Skroumpelou
b84125f9dd
fix(js): integrate buildable bundler and compiler options (#15376) 2023-03-03 09:56:57 -05:00
titan-ron
6796bce5fb
docs(nx-plugin): fix typo of generate nx-plugin example (#15143) 2023-02-21 14:01:42 -05:00
Dmitriy Stepanenko
b8e66790a6
feat(nx-plugin): add lint option for the e2e generator (#15140) 2023-02-20 17:00:14 -05:00
Emily Xiong
a97212b601
feat(core): move tsconfig.base.json to @nrwl/js:init (#14467) 2023-02-16 11:17:30 -05:00
Jack Hsu
d7536aa7e3 feat(core): clean up workspace configuration code 2023-01-23 19:35:15 -05:00
Craigory Coppola
39e0be6fc8
chore(nx-plugin): add x-priority tags to schema files (#14312) 2023-01-23 16:06:59 +00:00
Daniel Schuba
41a9bc18fd
feat(misc): move ci options to configuration (#14215)
CLOSED https://github.com/nrwl/nx/issues/12045
Fixes https://github.com/nrwl/nx/issues/12045
2023-01-23 08:42:21 -06:00
Craigory Coppola
f98071ab50
chore(nx-plugin): update x-deprecated boolean values for nx-plugin:e2e (#14291) 2023-01-12 16:01:22 +00:00
Victor Savkin
34d861d234 fix(testing): preserve the old coverage layout 2022-12-11 14:47:16 -05:00
Victor Savkin
40b39b2e64 fix(core): remove leading ./ when normalizing root project outputs 2022-12-10 15:53:25 -05:00
Victor Savkin
fe062f42c3 fix(core): deduce layout directory 2022-11-29 16:08:57 -05:00
Victor Savkin
16fd4374d6 feat(misc): derive workspace layout dynamically 2022-11-23 15:45:13 -05:00
Elyahou Ittah
90f2791303
fix(nx-plugin): ensure project has eslint available before adding lint checks for migrations.json(#13327)
Fixes https://github.com/nrwl/nx/issues/13326
2022-11-22 13:19:54 -05:00
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