* 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.
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.
* 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>
* 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