214 Commits

Author SHA1 Message Date
c9f77a0a22 fix(webpack): NativeClass decorator should run after angular transformers in AOT mode (#9908) 2022-07-09 10:09:43 -07:00
97a21bb0d7 fix(webpack): unit test runner with node 18+ (#9952) 2022-07-09 10:09:43 -07:00
bc8f15580b chore: typescript 4.7.3 2022-07-09 09:02:45 -07:00
698052230b chore: nx migrate latest 2022-07-09 09:02:45 -07:00
35b8985282 chore(release): @nativescript/webpack 5.0.7 2022-07-01 12:11:58 +02:00
c2d554bf02 fix(webpack): pin vue-loader version to the latest working version 2022-07-01 12:10:23 +02:00
d452dc139e chore(release): @nativescript/webpack 5.0.6 2022-03-08 23:53:50 +01:00
6631391437 Merge branch 'master' into release/8.2.0 2022-03-08 14:36:47 -08:00
8be543bcc7 feat: testID property for use with e2e testing without interfering with a11y (#9793)
* fix(android): nested frames were sometimes not recreated (#9748)

Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>

* feat: testID property for use with e2e testing without interfering with a11y

* feat: better testID support along a11y

wip

* fix: make sure we have a defined id

* feat: --env.e2e to enable testID

* chore: return if using testID

* chore: cleanup

Co-authored-by: Eduardo Speroni <edusperoni@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2022-03-08 23:25:05 +01:00
fa4a270e13 chore(release): @nativescript/webpack 5.0.5 2022-03-08 13:18:28 +01:00
d2f166b832 Merge remote-tracking branch 'origin/master' into release/8.2.0 2022-03-04 15:00:11 -08:00
028bfc4f1c chore(release): @nativescript/webpack 5.0.5-rc.0 2022-03-03 13:04:07 +01:00
af4b7e3b33 feat: support webpack profiling (#9804)
Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
2022-03-03 10:22:28 +01:00
151d6e8c85 fix(webpack): xml-namespace-loader incorrect dependency mapping (#9780) 2022-03-03 09:38:27 +01:00
774d0533da chore: update workspace dependencies 2022-03-01 12:32:38 -08:00
4fa51b6064 feat(webpack): add support for .mjs files (#9747)
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2022-02-18 13:58:44 +01:00
9c9c831ac0 feat(webpack): allow watching node_modules (#9781) 2022-02-18 13:39:28 +01:00
61ff7e4762 feat(webpack): read nativescript.config.ts main if set before fallback to package.json (#9769)
implements #9658

BREAKING CHANGES:

Possibly breaking if a project has a main field set in the nativescript.config.ts - since after this lands, this value will be used instead of package.json main.

The impact is likely very small, the steps to migrate:

    (Option A) remove main from nativescript.config.ts if set
    (Option B) update main to the correct path in nativescript.config.ts if set incorrectly
2022-02-18 13:39:04 +01:00
cb7bd2a401 fix(webpack): exclude other platforms from require.context (#9686)
fixes #9682
2022-02-18 13:37:32 +01:00
d8d624a154 chore(release): @nativescript/webpack 5.0.4 2021-12-23 22:49:18 +01:00
965ccb4aec fix(webpack): typescript imports in non-ts projects (#9714) 2021-12-23 22:48:00 +01:00
6ca3d353ea chore(release): @nativescript/webpack 5.0.3 2021-12-22 21:01:30 +01:00
0df5aa9712 feat(webpack): disable aot flag, optional angular dep and tsconfig utils (#9711)
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-12-22 20:54:17 +01:00
9c6c84b107 chore: nx migrate latest (#9709) 2021-12-21 18:24:24 -08:00
a88cacab89 chore(migrate): apps/* to webpack5 (#9606) 2021-12-21 09:47:33 -08:00
80d92dbc5b chore(release): @nativescript/webpack 5.0.2-alpha.1 2021-12-10 22:43:52 +01:00
5cf948688e chore: update snapshots 2021-12-10 22:32:55 +01:00
fae6582a61 fix(webpack): prepend NativeClass transformer in angular config (#9698)
This fixes angular JIT compilation
2021-12-10 22:31:05 +01:00
e8955b4ed4 chore(release): @nativescript/webpack 5.0.2-alpha.0 2021-11-30 16:53:37 +01:00
c68f40f871 feat(webpack): support NG 13 and zone async/await (#9676)
* feat(webpack): support NG 13 and zone async/await

* chore: cleanup

* chore: remove require.resolve and update snapshots

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-11-30 16:51:34 +01:00
05082b1aec fix(webpack5): include hmr handling only when enabled (#9685)
* fix(webpack): respect hmr flag

* fix(webpack): ensure correct loader order is used

* chore: cleanup

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-11-29 17:55:10 +01:00
57eac49128 chore(webpack5): update snapshots 2021-11-21 18:12:14 +01:00
bbd2aa9540 chore(webpack5): update react-refresh (#9675) 2021-11-21 17:51:12 +01:00
1b0414c6ae chore(release): @nativescript/webpack 5.0.1 2021-11-10 21:02:34 +01:00
c26779735f test(webpack): update snapshots 2021-11-10 21:01:09 +01:00
78e9c17be3 fix(webpack): map 'svelte' to 'svelte/internal' to avoid forced ssr (#9627) 2021-10-29 12:32:56 +02:00
99298331c8 fix(webpack): exclude files starting with _ from require.context (#9596) 2021-10-06 12:49:47 +02:00
1ceea571e4 fix(webpack): using multiple workers in a single file 2021-09-29 19:22:21 +02:00
e91aa70a0b chore(release): webpack 5.0.0 2021-09-08 16:12:11 -07:00
10e4e30cbd build(deps): bump webpack5 deps 2021-09-08 16:12:11 -07:00
f00f82caa4 feat(webpack): -v and --version flags 2021-09-08 16:12:11 -07:00
4c393cd837 feat(webpack): export merge helper 2021-09-08 16:12:11 -07:00
e3eb1eb94a chore(release): webpack-5.0.0-rc.8 2021-09-08 16:12:11 -07:00
5ff85bfae9 fix: include bundle-entry-points by default 2021-09-08 16:12:11 -07:00
8bc4878a81 chore(release): webpack-5.0.0-rc.7 2021-09-08 16:12:11 -07:00
21639e39fd chore(release): webpack 5.0.0-rc.6 2021-09-08 16:07:39 -07:00
97dda95024 feat(webpack): try resolving compiler, but don't fail if not found 2021-09-08 16:07:39 -07:00
9ce48f42fd chore(release): webpack rc.5 2021-09-08 16:07:39 -07:00
3bdc34aec3 refactor(webpack): drop custom flavor helper & explicitly set in each config 2021-09-08 16:07:39 -07:00
5084ef8795 chore(webpack): rc.4 2021-09-08 16:07:39 -07:00