Commit Graph

6869 Commits

Author SHA1 Message Date
Igor Randjelovic
687bc641a5 fix: fileReplacements should be relative to app root 2021-03-29 13:59:09 +02:00
Igor Randjelovic
fd5f4a023f chore: drop unused env flags 2021-03-29 13:58:43 +02:00
Igor Randjelovic
c2297464bc fix: print errorDetails with env.verbose 2021-03-29 13:58:22 +02:00
Igor Randjelovic
44c8ef9993 fix: make nsv template compiler optional 2021-03-29 13:57:55 +02:00
Igor Randjelovic
c922e77129 style: run prettier on webpack5 files 2021-03-29 01:24:23 +02:00
Igor Randjelovic
c55782bfaf chore: clean up unused code 2021-03-29 01:20:43 +02:00
Nathan Walker
7594d00ed9 feat: env based replacements (#9286)
* feat: file replacement handling for TS and pure file copy replacements

* test: add tests for replacements & refactor a bit

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-03-29 01:13:51 +02:00
Igor Randjelovic
0b32d5a88d fix: hmr runtime for core/ts 2021-03-28 23:04:15 +02:00
Igor Randjelovic
78ad71db6c test: update snapshots 2021-03-28 19:48:44 +02:00
Igor Randjelovic
f8cc505a94 fix: look for tsconfig.app.json in ng projects 2021-03-28 19:39:41 +02:00
Igor Randjelovic
6dc0c7e285 chore: clean up HMR runtime 2021-03-28 19:39:22 +02:00
Igor Randjelovic
b2a636e307 chore: clean up old WatchStateLoggerPlugin 2021-03-26 23:20:27 +01:00
Igor Randjelovic
b7da9d573f chore: cleanup 2021-03-26 22:58:49 +01:00
Igor Randjelovic
75e6009b8a chore: implement basic devServer 2021-03-26 22:16:36 +01:00
Igor Randjelovic
bb23bca3ce chore: bump deps 2021-03-26 22:15:35 +01:00
Igor Randjelovic
8855ca4373 chore: HMRRuntime injection (wip) 2021-03-24 17:27:35 +01:00
Igor Randjelovic
3a28f9eef6 fix: patch vue-loader for hmr 2021-03-12 16:08:28 +01:00
Igor Randjelovic
6cc0ce3d57 feat: core-hmr handling & watch ignore 2021-03-11 23:05:47 +01:00
Igor Randjelovic
0e8336f1d9 chore: cleanup imports 2021-03-11 16:28:11 +01:00
Igor Randjelovic
da25b30992 chore: cleanup 2021-03-11 16:22:12 +01:00
Igor Randjelovic
437c3b41f9 feat: support workspace configs 2021-03-11 16:19:05 +01:00
Igor Randjelovic
567a7ed25c Merge branch 'feat/webpack5' of https://github.com/NativeScript/NativeScript into feat/webpack5 2021-03-09 18:45:31 +01:00
Igor Randjelovic
0353d68781 chore: bump deps & drop clean-webpack-plugin in favor of clean:true 2021-03-09 18:45:28 +01:00
Nathan Walker
e8bdf6e56e Merge branch 'master' into feat/webpack5 2021-03-08 10:35:15 -08:00
Igor Randjelovic
d2abd58174 feat: add worker support 2021-03-07 19:33:52 +01:00
Igor Randjelovic
02d2befc8a refactor: simplify project file lookup 2021-03-07 19:33:42 +01:00
Igor Randjelovic
39d90d5c32 chore: mock os.networkInterfaces 2021-03-05 18:28:00 +01:00
Igor Randjelovic
aa0daba6a5 feat: ips helper, ts config, cleanups 2021-03-05 15:34:16 +01:00
Igor Randjelovic
4827b22359 Merge branch 'feat/webpack5' of https://github.com/NativeScript/NativeScript into feat/webpack5 2021-03-05 15:33:41 +01:00
Nathan Walker
17c85107ba chore: declare var global no longer needed 2021-03-03 16:15:55 -08:00
Igor Randjelovic
a7bd622b60 chore: cleanup loaders 2021-03-02 20:23:04 -08:00
Igor Randjelovic
1481661557 fix: handle appComponents (closes #9126) 2021-03-02 20:23:04 -08:00
Igor Randjelovic
2ce3405dbe style: move import 2021-03-02 20:23:04 -08:00
Igor Randjelovic
b794b9969f feat: parse --env.<flags> [WIP] 2021-03-02 20:23:04 -08:00
Igor Randjelovic
d3e51bbd33 fix: handle empty env for app resources 2021-03-02 20:23:04 -08:00
Igor Randjelovic
84fdc11a8d feat: add DotEnv support 2021-03-02 20:23:04 -08:00
Igor Randjelovic
b7f04ce7fa chore: update snapshots 2021-03-02 20:23:04 -08:00
Igor Randjelovic
bf34966ced fix: ngcc default format to use module field 2021-03-02 20:23:04 -08:00
Igor Randjelovic
f95e10cb45 chore: update snapshots & regex for filterWarnings 2021-03-02 20:23:04 -08:00
Nathan Walker
bb4921c333 feat(webpack): filter common undesirable warnings by default (#9253)
* feat(webpack): filter common undesirable warnings by default

* style: move import line

Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
2021-03-02 20:23:04 -08:00
Igor Randjelovic
39c58bcc9f chore: bump version 2021-03-02 20:23:04 -08:00
Igor Randjelovic
8b3350a4da chore: bump deps & remove forkts from angular 2021-03-02 20:23:04 -08:00
Nathan Walker
ed48487702 fix: bash prefix 2021-03-02 20:23:04 -08:00
Igor Randjelovic
6e918cdf6b test: fix failing test & update snapshots 2021-03-02 20:23:04 -08:00
Martin Guillon
1e6a904b30 fix: correctly sanitize project name (#9193) 2021-03-02 20:23:04 -08:00
Igor Randjelovic
9e73a63cb3 refactor: simplify copy handling 2021-03-02 20:23:04 -08:00
Martin Guillon
93d25e6572 chore: tweaks & fixes (#9109)
* fix: correct bundle analyzer settings

* fix: svelte config fix

* fix: CopyWebpackPlugin fixed ignore

* chore: tabs fix
2021-03-02 20:23:04 -08:00
Igor Randjelovic
ff013096f7 chore: add JSDocs 2021-03-02 20:23:04 -08:00
Igor Randjelovic
6817886cd7 chore: cleanup 2021-03-02 20:23:04 -08:00
Igor Randjelovic
54dd20e90a feat: extract platforms 2021-03-02 20:23:04 -08:00