Commit Graph

7592 Commits

Author SHA1 Message Date
Igor Randjelovic
58b44ff10c chore: remove console.log 2021-03-02 20:23:04 -08:00
Igor Randjelovic
877c513a1e fix: NativeClass transformer import 2021-03-02 20:23:04 -08:00
Igor Randjelovic
96799ac174 fix: use compiler object 2021-03-02 20:23:04 -08:00
Igor Randjelovic
d28afde904 chore: bump cli-highlight 2021-03-02 20:23:04 -08:00
Igor Randjelovic
575130c712 feat: external config loading
+refactor many pieces
2021-03-02 20:23:04 -08:00
Igor Randjelovic
04d989c2e6 refactor: improve css2json and apply-css loaders
optimize vendor chunks
2021-03-02 20:23:04 -08:00
Igor Randjelovic
2bd7c44038 feat: css loading 2021-03-02 20:23:04 -08:00
Igor Randjelovic
caae913257 fix: clean path should be absolute 2021-03-02 20:23:04 -08:00
Igor Randjelovic
19d12f13d3 refactor: move getPlatform to helpers 2021-03-02 20:23:04 -08:00
Igor Randjelovic
4b992958d0 chore: add types for terser plugin 2021-03-02 20:23:04 -08:00
Igor Randjelovic
7e8c6a900a chore: add comments 2021-03-02 20:23:04 -08:00
Igor Randjelovic
1e2c8e9932 chore: more base configuration 2021-03-02 20:23:04 -08:00
Igor Randjelovic
da476af3ec chore: scaffold config auto-discovery 2021-03-02 20:23:04 -08:00
Igor Randjelovic
0e85c7508e type: improve types for useConfig 2021-03-02 20:23:04 -08:00
Igor Randjelovic
cb7108d33c feat: implement basic public api 2021-03-02 20:23:04 -08:00
Igor Randjelovic
ae12ee9324 chore: rename things 2021-03-02 20:23:04 -08:00
Igor Randjelovic
8f951439e3 chore: rename use name 2021-03-02 20:23:04 -08:00
Igor Randjelovic
b770e2a69c refactor: rename plugins 2021-03-02 20:23:04 -08:00
Igor Randjelovic
4e9750398e feat: basic ract config 2021-03-02 20:23:04 -08:00
Igor Randjelovic
e9655716a9 chore: add mode and build script 2021-03-02 20:23:04 -08:00
Igor Randjelovic
c3b1907eab chore: more base configuration 2021-03-02 20:23:04 -08:00
Igor Randjelovic
362ff6a46f feat: additional base setup 2021-03-02 20:23:04 -08:00
Igor Randjelovic
3f9871dec6 refactor: use chained configs internally 2021-03-02 20:23:04 -08:00
Martin Guillon
04f83c9706 chore: workiing on base 2021-03-02 20:23:04 -08:00
Igor Randjelovic
aaae0d4f2e feat: basic webpack-chain setup 2021-03-02 20:23:04 -08:00
Igor Randjelovic
96da507d64 test: add jest and simple spec 2021-03-02 20:23:04 -08:00
Igor Randjelovic
9f436695ad feat(webpack5): initial project files 2021-03-02 20:23:04 -08:00
Nathan Walker
13a525ddd9 chore: Nx 11.4 2021-03-02 20:21:33 -08:00
Nathan Walker
902ad94377 chore: husky 5 2021-03-02 19:52:38 -08:00
Igor Randjelovic
7b24dc7a80 chore: cleanup loaders 2021-03-02 22:01:29 +01:00
Igor Randjelovic
73e97116d5 fix: handle appComponents (closes #9126) 2021-03-02 20:11:47 +01:00
Igor Randjelovic
43dc99784a style: move import 2021-03-02 19:20:09 +01:00
Igor Randjelovic
0a1ba16436 feat: parse --env.<flags> [WIP] 2021-03-02 18:50:10 +01:00
Igor Randjelovic
60293bb819 fix: handle empty env for app resources 2021-03-02 18:49:51 +01:00
Igor Randjelovic
3c44a553c3 feat: add DotEnv support 2021-03-02 18:49:15 +01:00
Igor Randjelovic
0fc94434b2 chore: update snapshots 2021-03-02 15:45:43 +01:00
Igor Randjelovic
d6d6e00149 fix: ngcc default format to use module field 2021-03-02 15:43:15 +01:00
Igor Randjelovic
50594fb5f4 chore: update snapshots & regex for filterWarnings 2021-03-02 15:26:04 +01:00
Nathan Walker
99eca67a90 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 15:18:37 +01:00
Igor Randjelovic
588989afa7 chore: bump version 2021-03-01 23:37:34 +01:00
Igor Randjelovic
014f71b878 chore: bump deps & remove forkts from angular 2021-03-01 23:14:40 +01:00
Nathan Walker
de2297c7a9 fix: bash prefix 2021-03-01 13:01:37 -08:00
Igor Randjelovic
6963e81d9f test: fix failing test & update snapshots 2021-03-01 21:49:33 +01:00
Nathan Walker
7847c2fd35 chore(release): @nativescript/core@7.3.0 7.3.0-core 2021-02-27 13:30:51 -08:00
Nathan Walker
ac7f041dea fix(core): AndroidTransitionType symbol export handling (#9252)
BREAKING CHANGE:

AndroidTransitionType is now a static member of the Transition class.

BEFORE:

```
import { AndroidTransitionType } from '@nativescript/core/ui/transition';
```

AFTER:

```
import { Transition } from '@nativescript/core';
Transition.AndroidTransitionType.enter; // etc.
```
2021-02-27 13:16:39 -08:00
Nathan Walker
ebcc0e2cc0 feat(android): types for API Level 30 and cleanup (#9219)
API Level 30 is now included. Also the `native` namespace used for Android/Java typings no longer collides with integrations.

BREAKING CHANGE:

If you were using`native.Array` for any of your own custom plugin typings, you can switch them to `androidNative.Array`

BEFORE:

```
public writeAsync(path: string, bytes: native.Array<number>) ...
```

AFTER:

```
public writeAsync(path: string, bytes: androidNative.Array<number>) ...
```
2021-02-27 12:45:49 -08:00
Nathan Walker
c5c8615529 chore(release): @nativescript/core@7.2.2 2021-02-26 16:51:46 -08:00
Nathanael Anderson
f08fcb17b4 fix(android): KeyboardType now respects numbers (#9240) 2021-02-26 16:23:50 -08:00
Nathanael Anderson
c04e1b59e5 feat(core): allow property overrides at runtime (#9241) 2021-02-26 16:23:18 -08:00
Nathan Walker
11ef943495 fix(xhr): remove unnecessary throw when event not supported (#9251)
closes https://github.com/NativeScript/NativeScript/issues/9245
2021-02-26 14:33:59 -08:00