mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 02:54:11 +08:00
chore: toolbox to use our fork
This commit is contained in:
@ -7,13 +7,14 @@
|
|||||||
"url": "https://github.com/NativeScript/NativeScript.git"
|
"url": "https://github.com/NativeScript/NativeScript.git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nativescript/core": "file:../../packages/core",
|
"@akylas/nativescript": "file:../../packages/core",
|
||||||
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core"
|
"nativescript-theme-core": "file:../../node_modules/nativescript-theme-core"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@nativescript/core": "file:../../packages/core",
|
||||||
"@nativescript/android": "8.1.1",
|
"@nativescript/android": "8.1.1",
|
||||||
"@nativescript/ios": "8.1.0",
|
"@nativescript/ios": "8.1.0",
|
||||||
"@nativescript/webpack": "file:../../dist/packages/nativescript-webpack.tgz",
|
"@nativescript/webpack": "5.0.4",
|
||||||
"typescript": "4.3.5"
|
"typescript": "4.3.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
apps/toolbox/references.d.ts
vendored
1
apps/toolbox/references.d.ts
vendored
@ -1,2 +1,3 @@
|
|||||||
/// <reference path="../../packages/types-ios/src/lib/ios.d.ts" />
|
/// <reference path="../../packages/types-ios/src/lib/ios.d.ts" />
|
||||||
/// <reference path="../../packages/types-android/src/lib/android-29.d.ts" />
|
/// <reference path="../../packages/types-android/src/lib/android-29.d.ts" />
|
||||||
|
declare let global: NodeJS.Global & typeof globalThis;
|
||||||
|
@ -4,6 +4,7 @@ module.exports = (env) => {
|
|||||||
webpack.init(env);
|
webpack.init(env);
|
||||||
|
|
||||||
webpack.chainWebpack(config => {
|
webpack.chainWebpack(config => {
|
||||||
|
config.resolve.alias.set('@nativescript/core', '@akylas/nativescript');
|
||||||
config.plugin('DefinePlugin').tap(args => {
|
config.plugin('DefinePlugin').tap(args => {
|
||||||
Object.assign(args[0], {
|
Object.assign(args[0], {
|
||||||
__CI__: !!process.env.CI,
|
__CI__: !!process.env.CI,
|
||||||
|
Reference in New Issue
Block a user