npm install -g meta
npm install
meta git update
meta project add PROJECT_NAME PROJECT_GITHUB_PATH
.meta
-file located in the root directory of the meta project.PROJECT_NAME
should be the name used in the package.jsonPROJECT_GITHUB_PATH
should be the ssh link copied to clone the repositorymeta exec "any command"
meta exec "any command" --exclude core,core_contracts
meta exec "any command" --include-only core,core_contracts
--exclude
and --include-only
are separated by commas--exclude
will be executed in every module specified in the .meta
-file, excluding the given arguments --include-only
will only be executed in modules contained in the argument list - modules specified in the .meta
-file will not be includedmeta git clean -fd
node_modules
foldersmeta exec "git checkout develop"
meta exec "git pull"
develop
branch so that every repository is on the same branchdevelop
branch you will see an error that you have to manually fixdevelop
branch to fetch possible updatesdevelop
branch you will see an error that you have to manually fixAlthough the meta NPM plugin provides a shortcut to install the node_modules
for every package this involves a lot of overhead, because it starts fresh in every package and executes npm install
in it.
A better way to achieve this is by sharing the same node_modules in multiple packages wherever it is possible.
We can do this by using the tool minstall
:
npm install
in the root folder of the meta project3.1
)This is the meta way:
meta npm install
.meta
-file individuallymeta npm link --all
.meta
-file if they are a dependency to another module specified in the .meta
-filemeta exec "git checkout master" // wenn git flow init auf master ausgeführt wird können alle Default-Branchnamen via Enter selektiert werden
meta exec "git flow init"
master
branch so that every repository is on the same branchEnter
during initilizationgit flow init
will be run in each repository individuallymeta exec "git flow feature start my_feature" --include-only core,core_contracts
core
and core_contracts
meta exec "git flow feature publish my_feature" --include-only core,core_contracts
core
and core_contracts
meta git status
git status
in each module specified in the .meta
-file individuallymeta git push
git push
in each module specified in the .meta
-file individuallyGenerated using TypeDoc