mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Fix module package.json file copying
The package.json files in the module dirs were not copied properly due to the grunt-contrib-copy update. Fix that by adding an expand clause to the copy tasks.
This commit is contained in:
@ -231,6 +231,7 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
modulesPackageDef: {
|
modulesPackageDef: {
|
||||||
|
expand: true,
|
||||||
src: localCfg.packageJsonFilePath,
|
src: localCfg.packageJsonFilePath,
|
||||||
dest: localCfg.outModulesDir + "/",
|
dest: localCfg.outModulesDir + "/",
|
||||||
options: {
|
options: {
|
||||||
@ -254,6 +255,7 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
childPackageFiles: {
|
childPackageFiles: {
|
||||||
|
expand: true,
|
||||||
src: [
|
src: [
|
||||||
localCfg.srcDir + "/**/package.json",
|
localCfg.srcDir + "/**/package.json",
|
||||||
"!./package.json",
|
"!./package.json",
|
||||||
|
Reference in New Issue
Block a user