chore(deps-dev): bump ts-jest in /packages/webpack5 Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.4.0 to 29.4.4. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.4.0...v29.4.4) --- updated-dependencies: - dependency-name: ts-jest dependency-version: 29.4.4 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@nativescript/webpack rewrite
The rewrite allows us to simplify things, and introduce some breaking changes. Listing them here, so we can keep track of them - will be in the merge commit, and the release notes once we are ready.
BREAKING CHANGES:
-
package.jsonmain should now use a relative path to the package.json instead of the app directoryFor example (given we have a
srcdirectory where our app is):"main": "app.js"becomes"main": "src/app.js"OR"main": "src/app.ts"(whether using JS or TS)This simplifies things, and will allow ctrl/cmd + clicking on the filename in some editors.
-
postinstallscripts have been removed.The configuration will not need to change in the user projects between updates.
For existing projects we will provide an easy upgrade path, through
ns migrateand a binary in the package.For new projects
ns createshould create the config file by invoking a binary in the package. -
removed resolutions for short imports - use full imports instead.
For example:
import http from 'http' // becomes import { http } from '@nativescript/core'