@robotical/martyblocks 1.1.8 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,7 @@ buildAllAndCpToWebApp () {
14
14
  local type="${1:-all}"
15
15
  cpReplacements
16
16
  buildScratch $type
17
+ cpToDist
17
18
  cpToWebapp
18
19
  }
19
20
 
@@ -35,6 +36,12 @@ cpToWebapp () {
35
36
  cp -r $gui_original/build/* $WebappHome/public/MartyBlocks
36
37
  }
37
38
 
39
+ cpToDist () {
40
+ cdhome
41
+ rm -rf dist/*
42
+ cp -r $gui_original/build/* ./dist
43
+ }
44
+
38
45
  buildBlocks() {
39
46
  cd $blocks_original && npm run prepublish
40
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robotical/martyblocks",
3
- "version": "1.1.8",
3
+ "version": "1.2.1",
4
4
  "description": "MartyBlocks based on Scratch for Marty the Robot by Robotical",
5
5
  "main": "README.md",
6
6
  "scripts": {