chore: toolbox to use our fork

This commit is contained in:
Martin Guillon
2022-01-20 21:36:27 +01:00
parent 7351200568
commit ccb7c902c7
3 changed files with 5 additions and 2 deletions

View File

@ -7,13 +7,14 @@
"url": "https://github.com/NativeScript/NativeScript.git"
},
"dependencies": {
"@nativescript/core": "file:../../packages/core",
"@akylas/nativescript": "file:../../packages/core",
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core"
},
"devDependencies": {
"@nativescript/core": "file:../../packages/core",
"@nativescript/android": "8.1.1",
"@nativescript/ios": "8.1.0",
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
"@nativescript/webpack": "5.0.4",
"typescript": "4.3.5"
}
}

View File

@ -1,2 +1,3 @@
/// <reference path="../../packages/types-ios/src/lib/ios.d.ts" />
/// <reference path="../../packages/types-android/src/lib/android-29.d.ts" />
declare let global: NodeJS.Global & typeof globalThis;

View File

@ -4,6 +4,7 @@ module.exports = (env) => {
webpack.init(env);
webpack.chainWebpack(config => {
config.resolve.alias.set('@nativescript/core', '@akylas/nativescript');
config.plugin('DefinePlugin').tap(args => {
Object.assign(args[0], {
__CI__: !!process.env.CI,