diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 8201686a..7f219514 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -8,7 +8,7 @@ jobs: options: --user 1001 steps: - uses: actions/checkout@v2 - - run: yarn pull_tools + - run: yarn pull_tools && yarn tools:update - uses: cypress-io/github-action@v2 with: browser: firefox @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-16.04 steps: - uses: actions/checkout@v2 - - run: yarn pull_tools + - run: yarn pull_tools && yarn tools:update - uses: cypress-io/github-action@v2 with: browser: chrome @@ -26,7 +26,7 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - run: yarn pull_tools + - run: yarn pull_tools && yarn tools:update - uses: cypress-io/github-action@v2 with: browser: edge diff --git a/.gitmodules b/.gitmodules index 7dc8f02c..cd7ec4ee 100644 --- a/.gitmodules +++ b/.gitmodules @@ -49,6 +49,3 @@ [submodule "example/tools/underline"] path = example/tools/underline url = https://github.com/editor-js/underline -[submodule "example/tools/nested-list"] - path = example/tools/nested-list - url = https://github.com/editor-js/nested-list diff --git a/example/example-dev.html b/example/example-dev.html index 4700e8e9..6a69c428 100644 --- a/example/example-dev.html +++ b/example/example-dev.html @@ -32,7 +32,7 @@ No core bundle file found. Run yarn build
- No submodules found. Run yarn pull_tools + No submodules found. Run yarn pull_tools && yarn tools:update
editor.save() diff --git a/example/example-rtl.html b/example/example-rtl.html index cb1c2ba1..c8fa6662 100644 --- a/example/example-rtl.html +++ b/example/example-rtl.html @@ -31,7 +31,7 @@ No core bundle file found. Run yarn build
- No submodules found. Run yarn pull_tools + No submodules found. Run yarn pull_tools && yarn tools:update
editor.save() diff --git a/example/tools/checklist b/example/tools/checklist index 197d5d53..6e81175e 160000 --- a/example/tools/checklist +++ b/example/tools/checklist @@ -1 +1 @@ -Subproject commit 197d5d53e0c7d869d76afc4eabae566d391e6d0e +Subproject commit 6e81175e48038d1244b9fc63fc8ecd49d6335a56 diff --git a/example/tools/code b/example/tools/code index 83d2d9d3..cd102da6 160000 --- a/example/tools/code +++ b/example/tools/code @@ -1 +1 @@ -Subproject commit 83d2d9d3136d48ab67b52bc034370c9a26c82c8c +Subproject commit cd102da627f5138b94d960ace16fb1a62e1c8069 diff --git a/example/tools/delimiter b/example/tools/delimiter index 1f2ec8c7..a98f8005 160000 --- a/example/tools/delimiter +++ b/example/tools/delimiter @@ -1 +1 @@ -Subproject commit 1f2ec8c709a94c5f4f499bb1aaba7f4930e10484 +Subproject commit a98f800569c4d952caec16cb527b65b6f2b3b589 diff --git a/example/tools/embed b/example/tools/embed index 9d3d4b52..a765a45e 160000 --- a/example/tools/embed +++ b/example/tools/embed @@ -1 +1 @@ -Subproject commit 9d3d4b5216dce1a933b1e92b45b7b8c404d889b7 +Subproject commit a765a45ec03a9ed5529dac0b3a03ff0a1e16f3b3 diff --git a/example/tools/header b/example/tools/header index 2b21da39..f511dc06 160000 --- a/example/tools/header +++ b/example/tools/header @@ -1 +1 @@ -Subproject commit 2b21da39b57d0abfcd4979444fb0c3d2d435af7d +Subproject commit f511dc066aab6bf82b4ffcd4cdee35ad71db8d36 diff --git a/example/tools/image b/example/tools/image index a983c4e6..e26b3e7c 160000 --- a/example/tools/image +++ b/example/tools/image @@ -1 +1 @@ -Subproject commit a983c4e62135c88d6cfd926527e6fc92c304451b +Subproject commit e26b3e7c106486d2d776219e18cd125469991a25 diff --git a/example/tools/inline-code b/example/tools/inline-code index 051b8e9e..145be45a 160000 --- a/example/tools/inline-code +++ b/example/tools/inline-code @@ -1 +1 @@ -Subproject commit 051b8e9e03e2f6bea30875da8253f6c0d858b231 +Subproject commit 145be45a4fe991a40d3fdd99d275ef211116e6ee diff --git a/example/tools/link b/example/tools/link index 6a556363..f3d72358 160000 --- a/example/tools/link +++ b/example/tools/link @@ -1 +1 @@ -Subproject commit 6a5563630977f223ebafaa03a7df3bf85797437b +Subproject commit f3d72358b5a35e7fde58b08604b57eea2c4fa8ff diff --git a/example/tools/list b/example/tools/list index 458a5fe3..cce71dc4 160000 --- a/example/tools/list +++ b/example/tools/list @@ -1 +1 @@ -Subproject commit 458a5fe364e33ad5b5913155d665f335ab742e0f +Subproject commit cce71dc42bdc9df04f5c3efefc48217126e483c5 diff --git a/example/tools/marker b/example/tools/marker index 6708697c..3f388a64 160000 --- a/example/tools/marker +++ b/example/tools/marker @@ -1 +1 @@ -Subproject commit 6708697c1af79abbf6650f0f14e1cedc45eb5213 +Subproject commit 3f388a64f92b408038eb1ab3db0c588dfb2b58ec diff --git a/example/tools/nested-list b/example/tools/nested-list deleted file mode 160000 index 64566ce5..00000000 --- a/example/tools/nested-list +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 64566ce553fc90e20a3721ec1bf24c959d1efefd diff --git a/example/tools/quote b/example/tools/quote index 07881fc1..fbccf7e3 160000 --- a/example/tools/quote +++ b/example/tools/quote @@ -1 +1 @@ -Subproject commit 07881fc1020fde79ab9468f740227a99935abb2a +Subproject commit fbccf7e35e1ca7a3b7b04422fbdfc10634302d1c diff --git a/example/tools/raw b/example/tools/raw index 3f40a9cf..208cbfd7 160000 --- a/example/tools/raw +++ b/example/tools/raw @@ -1 +1 @@ -Subproject commit 3f40a9cfdb0086c94ee2c7295a96d69c9b266dec +Subproject commit 208cbfd7ea1da507173686e1312f95788fb8f209 diff --git a/example/tools/simple-image b/example/tools/simple-image index 1883b28d..527d1224 160000 --- a/example/tools/simple-image +++ b/example/tools/simple-image @@ -1 +1 @@ -Subproject commit 1883b28d8aac863d3907c21d5fda231c8e6f799a +Subproject commit 527d12247f1a486a1627f5e69b6c8e809e8adecb diff --git a/example/tools/table b/example/tools/table index b8944944..42e1281e 160000 --- a/example/tools/table +++ b/example/tools/table @@ -1 +1 @@ -Subproject commit b8944944e3c159db367dea7d79c30d68f31e76b4 +Subproject commit 42e1281e505de90968263ab88d977873e17500b6 diff --git a/example/tools/warning b/example/tools/warning index c0507d91..6355942a 160000 --- a/example/tools/warning +++ b/example/tools/warning @@ -1 +1 @@ -Subproject commit c0507d91014f9b4fdb514f0499348d7619e3e1a2 +Subproject commit 6355942a1f4528004791d9f9af3a67d84a4b1b2e diff --git a/package.json b/package.json index 6c13eb80..b48c7a99 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,12 @@ "lint:tests": "eslint test/ --ext .ts", "svg": "svg-sprite-generate -d src/assets/ -o dist/sprite.svg", "pull_tools": "git submodule update --init --recursive", - "checkout_tools": "git submodule foreach git pull origin master", + "_tools:checkout": "git submodule foreach git checkout master", + "_tools:pull": "git submodule foreach git pull", + "_tools:yarn": "git submodule foreach yarn", + "_tools:build": "git submodule foreach yarn build", + "_tools:make": "yarn _tools:yarn && yarn _tools:build", + "tools:update": "yarn _tools:checkout && yarn _tools:pull && yarn _tools:make", "test:e2e": "yarn build && cypress run" }, "author": "CodeX", diff --git a/src/tools/paragraph b/src/tools/paragraph index 4832182d..4b193c33 160000 --- a/src/tools/paragraph +++ b/src/tools/paragraph @@ -1 +1 @@ -Subproject commit 4832182dcf3874cbaedcb789f682bd61782e49ad +Subproject commit 4b193c33c3efe00ffc13b16839cffb5e339df526