Files
Canmert 0a2b2202f3 fix(testing): e2e flag no longer needed, testID is now applicable in dev or prod builds (#10396)
- you can now test on development or production with testID set
- for android, this changes testID to use resource id instead of content description
- you no longer need to pass `--env.e2e`. e2e is simply usable if testID is set
- the `testID` property will also set `accessibilityIdentifier` and `accessibilityIdentifier` property will set `testID` only if there is a `testID` already set
2023-10-04 08:49:26 -07:00
..
2021-06-01 09:15:56 -07:00
2023-10-03 15:00:37 -07:00
2020-12-01 19:25:29 +01:00

@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.json main should now use a relative path to the package.json instead of the app directory

    For example (given we have a src directory 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.

  • postinstall scripts 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 migrate and a binary in the package.

    For new projects ns create should 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'