Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): remove "init" module loading system SHELL-1402
BREAKING CHANGE: The top level "init" function loading feature has been moved to an internal constructor option of the CliLoader class: "initFunctions". Custom "init.js" files located in the project's cli directory will no longer be loaded automatically as custom CLI initialization functions.
- Loading branch information
Showing
9 changed files
with
148 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export * from './start' | ||
export * from './loader' | ||
export * from './utils' | ||
export * from './loader-plugin' | ||
export * from './loader-plugin' | ||
export * from './init' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
test/fixtures/main-package/node_modules/cli-package1/cli/init.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.