1256 Commits

Author SHA1 Message Date
Jason Jean
b6e6b3f1c3
Revert "Revert "feat(core): update to next version of angular deps"" (#2264)
This reverts commit f816fc424d4b0d850e0a49d0ed8e4a30ddca308c.
2020-01-31 13:08:50 -05:00
Jonathan Cammisuli
1c4078986f
TypeScript module resolution and lint updates (#2309)
* Revert "Revert "fix(core): sort node names for module resolution""

This reverts commit 0b77072fcfe63f8d02fccb73ba138aca99cb7f66.

* fix(core): add target project locator

This will sort nodes by length of the root (high to low) then nodes that have no root.

It also uses TypeScript to first try and resolve a module. If it is not found via TypeScript, it will
fall back to using a string match.
2020-01-31 13:08:12 -05:00
Jo Hanna Pearce
2f72133dc7 feat(nextjs): add fileReplacements to the builder config 2020-01-31 11:23:49 +00:00
Jason Jean
3ef75b85c1
fix(repo): extend the timeout for plugin e2e tests (#2402) 2020-01-30 10:10:13 -05:00
Jo Pearce
8c99bc3da7
feat(angular): add --project alias, default argv source and example to move schemas (#2390) 2020-01-28 16:46:29 +00:00
Jason Jean
b30930f95f
feat(core): analyze changes to nx.json and workspace.json (#2338) 2020-01-24 12:59:31 -05:00
Juri Strumpflohner
f951a1bc9b feat(angular): library builder to handle buildable libraries with deps (#2307)
This builder makes sure using buildable libraries depending on
other buildable libraries works as expected, without limiting the
current dx with auto-reload when using libraries within apps.
2020-01-24 10:19:24 -05:00
Jo Pearce
e72c3baf1f feat(nextjs): allow SVG imports from non-TS/JS modules (#2359) 2020-01-21 20:05:55 -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
1132d9ec57
feat(react): add support for css modules (#2349)
Closes #1744
2020-01-20 15:52:34 -05:00
Thomas
8010e67b00 fix(nextjs): fix issue where using .ts files in next.js app would res… (#2276)
* fix(nextjs): fix issue where using .ts files in next.js app would result in a compile error

The issue was just a misconfiguration in the next's config.ts file: Webpack was only applying the
babel loader on .tsx files.
The updated regex will now load both .ts and .tsx files.

ISSUES CLOSED: #2249

* cleanup(testing): add missing tests for pull request #2276

Co-authored-by: tdnll <40502786+tdnll@users.noreply.github.com>
2020-01-14 10:40:51 -05:00
Victor Savkin
0b77072fcf Revert "fix(core): sort node names for module resolution" 2020-01-11 22:42:33 -05:00
Jonathan Cammisuli
3d05bf08d0 Revert "Revert "fix(misc): resolve projects for linting using TypeScript""
This reverts commit ab25e84b08a938661d5766c5c7f4d501cfaf8b0b.
2020-01-09 19:13:53 -05:00
Victor Savkin
c3fdf2e702 feat(core): running one task uses the same tasks runner as run-many 2020-01-09 12:07:41 -05:00
Jo Hanna Pearce
25de783a26 feat(angular): add move schematic for workspace and angular collections 2020-01-08 13:09:24 -05:00
Juri
02a5a0ef46 cleanup(repo): re-enable generating playground for all clis 2020-01-08 11:07:39 -05:00
Victor Savkin
ab25e84b08 Revert "fix(misc): resolve projects for linting using TypeScript"
This reverts commit 6411a29683eff436ad314692aec61ea403155d3a.
2020-01-02 22:19:33 -05:00
Victor Savkin
eb455b93be fix(core): pass options to tasks runner correctly 2020-01-02 15:10:57 -05:00
Victor Savkin
d2d9f1cca0 feat(core): implement caching 2020-01-01 10:51:58 -05:00
Jonathan Cammisuli
6411a29683 fix(misc): resolve projects for linting using TypeScript 2019-12-30 15:39:46 -05:00
Jack Hsu
ef995fdabe feat(react): add SVG and SVGR support for React apps 2019-12-28 11:06:45 -05:00
Victor Savkin
c98745a55e fix(core): wait for deps to be built before building projects 2019-12-28 10:57:03 -05:00
Jonathan Cammisuli
dec7063b89 feat(node): add package target for node libs (#2226) 2019-12-23 16:56:44 -05:00
Jack Hsu
5d0e1ad199
feat(react): add support for const enums (#2224) 2019-12-23 14:06:58 -05:00
Jack Hsu
3a36c24873 feat(core): add support for npm package dependencies in project graph 2019-12-20 18:23:02 -05:00
Jonathan Cammisuli
6328b8f718 feat(node): add library schematic 2019-12-20 10:52:57 -05:00
Kristof degrave
8579894796 feat(storybook): added static storybook build (#2074)
* chore(nx): added static storybook build

Added static storybook build builder

* chore(nx): added documentation + configuration for storybook-static

Added documentation files for storybook-static builder task
Added creation of storybook-static task to the configuration schematics of storybook

* docs(nx): generated documentation correctly

Generated documentation correctly

* chore(nx) renamed task to storybook-build

Renamed task to storybook-build
Builder task is now @nwrl/storybook:build
Added e2e-test

* chore(nx): renamed task to storybook-build

Renamed task to storybook-build
Builder task is now @nwrl/storybook:build
Added e2e-test

* chore(nx): improved e2e test

Improved e2e test

* chore(nx): fixed missing import e2e test

fixed missing import e2e test

* chore(nx): excluded added storybook build test

Verifiy of the test run correctly when the last added test is excluded

* chore(nx): refactored e2e test

refactored e2e test build storybook for beter performance
extended the wait in travis yaml file to fix timeouts on the test

* chore(nx): fixed issue with travis file

fixed issue with travis file

* chore(nx): fixed merge issue

fixed merge issue

* chore(nx): increased timout of travis_wait

increased timeout of travis_wait

* chore(nx): ignored original test

ignored original test to check how long mine taks.

* chore(nx): increased travis wait (again)

increased travis wait (again)

* chore(nx): wrapped storybook build in from observable

wrapped storybook build in from observable so it would finish
Moved to one storybook test again for performance
Remove travis_wait statement

* chore(nx): fix import for build

fixed import for build

* chore(nx): removed commented out code

Removed comments

* chore(nx): run yarn format

run yarn format

* chore(nx): fixed line endings

fixed line endings

* chore(nx): needed correct commitmsg

needed a correct commit message to build.

* chore(storybook): needed correct commitmsg

needed a correct commit message to build.

* chore(storybook): removed whitespaces

removed whitespaces

* chore(storybook): removed whitespaces

removed whitespaces

* chore(storybook): rename to build-storybook

Renamed 'storybook-build' to 'build-storybook'

* chore(storybook): added unit test

Added a unit test

* chore(storybook): applied formatting

* test(storybook): added additional tests

Added additional tests for the build-storybook + fixed the unittests

* test(storybook): formatted tests

formatted test build-storybook

* chore(storybook): provide a correct commitmsg

Provide a correct commit message

* chore(storybook): increased test timeout build-storybook

increased the timeout of a test in the build-storybook tests

* chore(storybook): ignore storybook test except one failing

ignore storybook tests except the one failing on the buildserver for investigation

* chore(storybook): reenabled stroybook tests

Reenabled storybook tests

* chore(storybook): consolidated unit tests

Consolidated unit tests into a single one
2019-12-19 15:13:58 -05:00
Jason Jean
6c83f2dc59
feat(nextjs): support next@9.1.5 and add log when ready (#2216) 2019-12-18 23:10:29 -05:00
Victor Savkin
8e08924bc3 feat(core): add ability to select data from the print affected output 2019-12-16 16:04:35 -05:00
Victor Savkin
f5b56fd41b fix(misc): reenable run-many tests 2019-12-14 15:26:34 -05:00
Jason Jean
6a6f795d6e fix(bazel): fix bazel e2e tests 2019-12-14 12:57:05 -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
Jason Jean
fb4fccb713
feat(repo): set names for tasks in circle ci (#2187) 2019-12-13 23:41:29 -05:00
Matt Briggs
734acefeb2 feat(core): update run-many to handle --with-deps 2019-12-12 18:10:56 -05:00
Victor Savkin
e5377d223f feat(core): improves print-affected command to support more use cases 2019-12-12 18:08:43 -05:00
Jack Hsu
a82737968b
chore(core): refactor generation of dependency graph (aka project graph) (#2151) 2019-12-12 15:54:31 -05:00
Jonathan Cammisuli
bf56469c0a fix(testing): set NODE_ENV to 'test' when running jest 2019-12-12 11:32:19 -05:00
Victor Savkin
f816fc424d Revert "feat(core): update to next version of angular deps"
This reverts commit bd230e0530e690b2ae7896a876510f62002943c8.
2019-12-10 08:07:26 -05:00
Jason Jean
5229529e03
fix(node): fix node e2e test for circle (#2163) 2019-12-09 12:39:30 -05:00
Jason Jean
bd230e0530 feat(core): update to next version of angular deps 2019-12-08 16:16:33 -05:00
Victor Savkin
6eae959184 feat(misc): add first version of the nx insights plugin 2019-12-08 14:49:58 -05:00
Jason Jean
a346817d15
fix(node): fix node tests for circle (#2156) 2019-12-07 13:46:54 -05:00
Jason Jean
fd6b12029d
fix(node): fix and reenable node e2e tests (#2145) 2019-12-06 14:46:42 -05:00
Jason Jean
74c5c69a37
feat(repo): add circleci config (#2146) 2019-12-06 14:46:29 -05:00
Victor Savkin
370e87f53b cleanup(repo): dev experience cleanup (#2142) 2019-12-04 14:47:21 -05:00
Isaac Mann
ac33f049b2 fix(nx): skip existing stories and cypress specs 2019-12-03 19:43:48 -05:00
da-mkay
18d0798b13 feat(testing): added test for ts options required by nest 2019-12-02 16:34:22 -05:00
Isaac Mann
c4cba1ca37 fix(nx): update storybook configuration (#2104) 2019-11-30 11:10:46 -05:00
Jack Hsu
7a434d469a fix(web): resolve issue where different core-js versions exist in the same workspace
Closes #2086
2019-11-28 07:54:08 -05:00