mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00
feat(config): add new option for pathsToClean
This commit is contained in:
@ -102,7 +102,12 @@ interface IConfigCLI {
|
|||||||
packageManager: 'yarn' | 'pnpm' | 'npm';
|
packageManager: 'yarn' | 'pnpm' | 'npm';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optional files or paths to clean when running the `clean` command
|
* Optional - Override the files or paths to clean when running the `ns clean` command
|
||||||
|
*/
|
||||||
|
pathsToClean?: string[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Optional - Additional files or paths to clean when running the `ns clean` command, the paths are appended to the default list of paths.
|
||||||
*/
|
*/
|
||||||
additionalPathsToClean?: string[];
|
additionalPathsToClean?: string[];
|
||||||
}
|
}
|
||||||
@ -128,16 +133,16 @@ interface IConfigHook {
|
|||||||
*/
|
*/
|
||||||
type:
|
type:
|
||||||
| 'before-buildAndroidPlugin' | 'after-buildAndroidPlugin'
|
| 'before-buildAndroidPlugin' | 'after-buildAndroidPlugin'
|
||||||
| 'before-buildAndroid' | 'after-buildAndroid'
|
| 'before-buildAndroid' | 'after-buildAndroid'
|
||||||
| 'before-buildIOS' | 'after-buildIOS'
|
| 'before-buildIOS' | 'after-buildIOS'
|
||||||
| 'before-checkEnvironment' | 'after-checkEnvironment'
|
| 'before-checkEnvironment' | 'after-checkEnvironment'
|
||||||
| 'before-checkForChanges' | 'after-checkForChanges'
|
| 'before-checkForChanges' | 'after-checkForChanges'
|
||||||
| 'before-install' | 'after-install'
|
| 'before-install' | 'after-install'
|
||||||
| 'before-prepare' | 'after-prepare'
|
| 'before-prepare' | 'after-prepare'
|
||||||
| 'before-prepareNativeApp' | 'after-prepareNativeApp'
|
| 'before-prepareNativeApp' | 'after-prepareNativeApp'
|
||||||
| 'before-resolveCommand' | 'after-resolveCommand'
|
| 'before-resolveCommand' | 'after-resolveCommand'
|
||||||
| 'before-watch' | 'after-watch'
|
| 'before-watch' | 'after-watch'
|
||||||
| 'before-watchPatterns' | 'after-watchPatterns';
|
| 'before-watchPatterns' | 'after-watchPatterns';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Path to the hook script file to run
|
* Path to the hook script file to run
|
||||||
|
Reference in New Issue
Block a user