39 Commits

Author SHA1 Message Date
Jason Jean
d007d37fb4
fix(devkit): add env variable to disable project graph cache (#5297) 2021-04-15 10:29:33 -04:00
Jason Jean
bfb194843f
feat(core): remove readFile argument from createProjectGraph (#5206)
* feat(core): deprecate creating a project graph from a host

* feat(core): remove readFile argument from createProjectGraph
2021-04-06 13:44:09 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Jason Jean
0933bcafd8
feat(core): clean up remaining usages of angular devkit (#4610) 2021-01-25 17:21:42 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Jason Jean
dae806a51d
fix(core): fix migrations for adding tao and cli (#4249) 2020-12-10 17:34:25 -05:00
victor savkin
a24fb961d8 feat(core): format workspace.json based on version field 2020-12-03 20:20:04 -05:00
Tasos Bekos
a3163cabec fix(core): prevent binary file corruption when renaming
Closes #4024
Closes #2469
2020-11-20 09:02:06 -05:00
Victor Savkin
428edb0c32 feat(core): implement basic support for schematics 2020-11-17 19:31:08 -05:00
Noriyuki Shinpuku
c3334d0ab0
feat(core): sort dependencies and devDependencies (#3806) 2020-09-25 10:11:46 -04:00
Jason Jean
ed797617af fix(core): allow-tsconfig.json for project graph 2020-09-17 12:38:26 -04:00
Jason Jean
e9393805c1 feat(core): optimize project locator perf 2020-09-10 14:23:36 -04:00
Victor Savkin
67dda10d55 feat(core): redesign workspace file hashing 2020-07-16 13:51:25 -04:00
Jonathan Cammisuli
3b8a10f073
feat(testing): add setupFilesAfterEnv and other configs to project's jest config file (#3224)
* feat(testing): add util to update jest configs.

* feat(testing): place configurations in jest config file rather than just the builder

* feat(testing): create migration and unit tests

* feat(testing): fix jest template

* feat(testing): fix jest template to correct unit tests

* feat(testing): include globals.ts-jest for all non babel configs

* feat(testing): include globals.ts-jest for node e2e

* feat(testing): fix migration to run properly. Also check for angular tests using the setupfile rather than builder

* feat(testing): clean up jest config functions and fix errors with some migrations

* feat(testing): add new line to package.json

* feat(testing): update object check to actually check for undefined

* chore(testing): loop through all project targets as well as targets

* chore(testing): update migration to be 10.0.0-beta.2
2020-07-13 10:45:04 -04:00
Jack Hsu
d593153a33
feat(react): refactored babel support so options are more easily customized (#3089)
This reverts commit 7679df22f5b90d085b5f32f2135d828036ee5aa7.
2020-05-29 02:09:47 -04:00
Victor Savkin
7679df22f5 Revert "feat(react): refactored babel support so options are more easily customized (#3058)"
This reverts commit 0e036272cbe156fe9750a2f2bc6498a08cf7f457.
2020-05-28 13:11:56 -04:00
Jack Hsu
0e036272cb
feat(react): refactored babel support so options are more easily customized (#3058) 2020-05-26 09:16:36 -04:00
Victor Savkin
a95cba3144 feat(core): support different workspace layouts 2020-05-17 16:39:14 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Juri Strumpflohner
a47c24c05f
feat(react): improve storybook schematics (#2831) 2020-04-27 18:47:23 +02:00
Jason Jean
efae1694cc
cleanup(misc): refactor how installs are added during schematics (#2788) 2020-04-02 12:41:08 -04:00
Jack Hsu
a0a9180cec
fix(core): perform package.json update if one of the deps is missing (#2481)
* fix(core): perform package.json update if one of the deps is missing

* fix(core): add test for package.json update

Co-authored-by: Juri Strumpflohner <juri.strumpflohner@gmail.com>
2020-02-14 09:43:30 -05:00
Juri
c213ae1a99 fix(misc): update package.json only if needed
Adjusts the schematic to only touch the package.json if really required

ISSUES CLOSED: #2317
2020-01-28 21:26:22 -05:00
Jonathan Cammisuli
fe98e29e4b feat(nx-plugin): add new package for creating nx plugins 2020-01-21 15:18:13 -05:00
Jack Hsu
3a36c24873 feat(core): add support for npm package dependencies in project graph 2019-12-20 18:23:02 -05:00
Mike Brocchi
8da8ee08a2 fix(core): account for files with paths (#2166) 2019-12-18 23:09:43 -05:00
Victor Savkin
8749c18f91 cleanup(core): extract "core" folder from "command-line" 2019-12-16 16:04:35 -05:00
Jason Jean
e56dadc09a feat(bazel): generate all target rules 2019-12-14 12:57:05 -05:00
Jason Jean
2e2167d9f3 feat(bazel): re-introduce @nrwl/bazel 2019-12-14 12:57:05 -05:00
Jack Hsu
a2fbc47c13 feat(react): improve lib schematic by replacing parentRoute with appProject option
- Instead of providing full path to app component, just pass the project's name.
- Updates both app.tsx and main.tsx so user no longer need to do any maual updates.
2019-08-14 18:10:51 -04:00
Victor Savkin
238236a468 fix(nx): 8.0.0 schematic expected workspace.json 2019-08-06 15:12:36 -04:00
Maciej Kuster
3ec2bb2a0b fix(nx): Keeping original order of dependencies when adding new one (#1598) 2019-07-24 12:45:11 -04:00
Victor Savkin
2b646f8eb4 feat(nx): standalone version of nx 2019-07-24 10:27:47 -04:00
Jack Hsu
b3bea39892
feat(react): updates libraries for React to newest versions (#1584) 2019-07-16 22:19:42 -04:00
Jason Jean
1748ac9e9c fix(nx): handle reading json with comments 2019-06-15 18:35:18 -04:00
Victor Savkin
82f53c94fc fix(nx): create-nx-workspace creates an extra yarn.lock 2019-06-05 10:18:40 -04:00
Victor Savkin
90c2d45686 cleanup(nx): clean up schematics to only depend on non-framework specific packages 2019-05-02 11:43:47 -04:00
Jason Jean
a3be21ca78
feat(nx): generating apps works without ng-add (#1287) 2019-04-26 15:19:50 -04:00
Victor Savkin
b5f1966ca5 refactor(nx): extract workspace creation into @nrwl/workspace 2019-04-21 09:46:21 -04:00