Procházet zdrojové kódy

Aligned scripts and docs to changes in mgit.

Kamil Piechaczek před 7 roky
rodič
revize
207059e46f

+ 1 - 1
.travis.yml

@@ -19,7 +19,7 @@ before_install:
 install:
   - npm install
   - npm install mgit2 lerna
-  - mgit bootstrap --resolver-url-template="https://github.com/\${ path }.git"
+  - mgit sync --resolver-url-template="https://github.com/\${ path }.git"
   - lerna bootstrap
 script:
   - npm t -- --reporter=dots

+ 2 - 2
docs/framework/guides/contributing/development-environment.md

@@ -64,7 +64,7 @@ In order to work with development versions of all the official packages, it is r
 First, clone all the repositories:
 
 ```bash
-mgit bootstrap
+mgit sync
 ```
 
 Expected result:
@@ -114,7 +114,7 @@ Whenever you want to update all packages to their latest versions call:
 git pull
 
 # To update pull changes to all the packages:
-mgit update
+mgit sync
 ```
 
 From time to time, if the list of dependencies in any of the packages changed, you will need to call Lerna again to symlink them:

+ 1 - 1
package.json

@@ -101,7 +101,7 @@
     "precommit": "lint-staged",
     "test": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test.js",
     "manual": "node --max_old_space_size=4096 node_modules/@ckeditor/ckeditor5-dev-tests/bin/test-manual.js",
-    "reset": "rm -rf ./packages ./node_modules && mgit bootstrap && lerna bootstrap",
+    "reset": "rm -rf ./packages ./node_modules && mgit sync && lerna bootstrap",
     "reinstall": "lerna clean --yes && lerna bootstrap",
     "docs": "node ./scripts/docs/build-docs.js",
     "docs:api": "node ./scripts/docs/build-api-docs.js",

+ 2 - 2
scripts/bump-year.js

@@ -14,10 +14,10 @@ mgit exec 'node ../../scripts/bump-year.js'
 node scripts/bump-year.js
 
 Full command to update the entire project:
-git pull && mgit update && mgit exec 'node ../../scripts/bump-year.js' && node scripts/bump-year.js
+git pull && mgit sync && mgit exec 'node ../../scripts/bump-year.js' && node scripts/bump-year.js
 
 And after reviewing the changes:
-mgit exec 'git commit -am "Internal: Bumped the year. [skip ci]" && git push' && git commit -am "Internal: Bumped the year." && git push
+mgit commit -m "Internal: Bumped the year. [skip ci]" && mgit push git commit -am "Internal: Bumped the year." && git push
 
 */