362 Commits

Author SHA1 Message Date
Phillip Barta
8abcaab7c3
fix(misc): dont publish jest.config.js files (#8341) 2022-01-07 14:10:24 -05:00
Victor Savkin
20f731990c docs(misc): rework the top section of docs 2022-01-04 14:11:31 -05:00
Victor Savkin
85918d83b0 fix(core): assert valid workspace config should be a warning 2022-01-02 09:22:59 -05:00
Leosvel Pérez Espinosa
d3f4613687
fix(core): handle project graph plugins not providing optional projectFilePatterns property (#8290) 2021-12-23 12:09:35 -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
Craigory Coppola
6a77ce837c
fix(core): nested node_modules packages shouldn't be inferred as nx projects (#8166) 2021-12-21 16:54:54 -05:00
Craigory Coppola
ba7a1aeda6
fix(core): should infer whole projects if workspace.json is missing (#8244) 2021-12-20 20:19:13 +00:00
Craigory Coppola
814061dbff
feat(core): support for extending project inference capabilities (#8210) 2021-12-20 11:18:31 -05:00
Victor Savkin
f1c21fa01a fix(core): print a warning instead of an error duplicate names in package.json 2021-12-20 08:59:31 -05:00
Victor Savkin
3965ce42e7 docs(core): update config guides 2021-12-19 15:53:18 -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
Craigory Coppola
2b04794a89
fix(core): default project name should be inferred by cwd on windows (#8172) 2021-12-15 10:51:08 -05:00
Craigory Coppola
a23284e9ce
fix(core): misc. ng cli compat layer fixes (#8141)
* fix(core): misc. ng cli compat layer fixes

* chore(core): unit test fixes
2021-12-13 18:48:11 -05:00
Craigory Coppola
b44f240785
fix(core): project inference should work if name not specified by package.json (#8116) 2021-12-10 21:16:27 +00:00
Craigory Coppola
ec24422927
fix(core): package.json should not override project.json during generation of new js apps (#8076) 2021-12-09 11:59:05 -05:00
Craigory Coppola
4685b1ee50
cleanup(core): add tests for merging package json scripts with targets (#8066) 2021-12-09 10:51:40 -05:00
Leosvel Pérez Espinosa
7d13b54216 fix(core): prevent processing migrations for transitive dependencies 2021-12-09 09:46:43 -05:00
Victor Savkin
7885018ae9 fix(repo): handle circular deps between workspace and cli/jest 2021-12-08 10:28:26 -05:00
Craigory Coppola
fce3d9be35
feat(core): merge package json scripts with targets list when building dependency graph (#7979)
* feat(core): merge package json scripts with targets list when building dependency graph

* chore(repo): add tsconfig path handling to generate CLI docs
2021-12-07 18:02:19 -05:00
Craigory Coppola
9fd3e248e0
fix(core): fix stack overflow when using standalone configs with 600+ projects (#8026) 2021-12-06 18:13:48 -05:00
Juri
c06de16ae2 fix(core): log error stack trace if present 2021-12-06 11:48:36 -05:00
Craigory Coppola
7dbb645b8b
fix(core): ngcli adapter should find changed matching files correctly (#7980) 2021-12-02 20:23:02 -05:00
Craigory Coppola
c04686ab10
feat(core): optional workspace.json file (#7584) 2021-11-30 15:02:06 -06:00
Kirils L
bfd1a4715a
feat(web): rename package executor to rollup (#7904) 2021-11-30 09:32:12 -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
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
Victor Savkin
7d14859863 fix(core): support target names with colons 2021-11-11 21:43:31 -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
Kirils L
3c6044c821
fix(core): wrong migration docs link again (#7628) 2021-11-05 16:35:33 +00:00
Kirils L
3d6496b7a3
fix(core): wrong migration docs link (#7625) 2021-11-05 15:32:16 +00:00
Craigory Coppola
0fe1614505
fix(core): convert-nx-executor should be executable in ng workspace (#7474) 2021-10-21 12:29:49 -04:00
Jason Jean
d2c18e651f
fix(core): throw an error when configuration is invalid/ outdated (#7452) 2021-10-20 17:05:37 +00: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
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
Leosvel Pérez Espinosa
301e11660a
fix(core): ensure workspace version format is respected when making changes to it (#7043) 2021-10-12 15:05:16 -04:00
Jason Jean
4c4826667e
fix(core): fix defaulting object properties to empty {} (#7288) 2021-10-08 13:15:37 -04:00
Jason Jean
a57ca80a19
fix(core): fix error when tsconfig.base.json is invalid json (#7204) 2021-10-01 20:05:30 -04:00
Jason Jean
04f8426fa8
fix(angular): remove relative calculation for config paths in wrapped angular devkit schematics (#7201) 2021-10-01 21:13:41 +00:00
Jason Jean
4c3d65541e
fix(core): simplify the way angular devkit migrations run (#7135) 2021-09-24 21:31:13 -04:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
AgentEnder
a3599a525b fix(core): convert-to-nx-project should normalize paths
fixes #6968
2021-09-15 11:54:03 -04:00
AgentEnder
8f9da7c762 fix(core): read v2 workspace format in converted nx generators
closes #6452
2021-09-15 11:54:03 -04:00
AgentEnder
f929a474c6 fix(core): display dynamic prompts in angular cli 2021-09-15 11:54:03 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json (#6973) 2021-09-15 11:53:08 -04:00
Craigory Coppola
06dc66b770
chore(repo): fix copy dep ordering (#6919) 2021-09-02 17:52:38 -04:00
Craigory V Coppola
b416bb6dc9
fix(core): npmrc should be obeyed during nx migrate (#6781) 2021-09-01 23:37:40 +00:00
Craigory V Coppola
a656959204
fix(core): configFilePath included in hash (#6881)
closes #6880
2021-08-31 16:46:26 -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