Skip to content

Commit

Permalink
fix(examples): downgraded core
Browse files Browse the repository at this point in the history
  • Loading branch information
sr258 committed May 11, 2021
1 parent 5cbbb94 commit bdcf41b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build:h5p-html-exporter": "npm run build --prefix packages/h5p-html-exporter",
"build:h5p-react": "npm run build --prefix packages/h5p-react",
"build:h5p-webcomponents": "npm run build --prefix packages/h5p-webcomponents",
"build": "(npm run build --prefix packages/h5p-server) && (concurrently \"npm run build --prefix packages/h5p-express\" \"npm run build --prefix packages/h5p-html-exporter\" \"npm run build --prefix packages/h5p-mongos3\") && (concurrently \"npm run build --prefix packages/h5p-examples\" \"npm run build:h5p-webcomponents\") && (npm run build:h5p-react)",
"build": "npm run build --prefix packages/h5p-server && concurrently \"npm run build --prefix packages/h5p-express\" \"npm run build --prefix packages/h5p-html-exporter\" \"npm run build --prefix packages/h5p-mongos3\" && concurrently \"npm run build --prefix packages/h5p-examples\" \"npm run build:h5p-webcomponents\" && npm run build:h5p-react",
"download:content-type-cache": "ts-node scripts/update-real-content-type-cache.ts",
"download:content": "node scripts/download-examples.js test/data/content-type-cache/real-content-types.json test/data/hub-content",
"download:h5p": "sh scripts/install.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/h5p-rest-example-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"build": "npx tsc",
"clean": "rm -rf h5p && rm -rf build && rm -rf coverage && rm -rf node_modules",
"prepare": "sh download-core.sh 588f096afe07541f50c8025ae6730b835027d9f5 7bc192798f8f6e1dee34891b56f3bf60ab320f3d",
"prepare": "sh download-core.sh affaa83b51828be13e175c8ba1a7085ba9692d1d 7bc192798f8f6e1dee34891b56f3bf60ab320f3d",
"start:watch": "npx ts-node-dev --deps --respawn src/index.ts",
"start": "npx ts-node src/index.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# If the editor and core files are missing, we download them from GitHub.
if [ ! -d "packages/h5p-examples/h5p/editor" ] || [ ! -d "packages/h5p-examples/h5p/core" ]
then
sh packages/h5p-examples/download-core.sh 588f096afe07541f50c8025ae6730b835027d9f5 7bc192798f8f6e1dee34891b56f3bf60ab320f3d
sh packages/h5p-examples/download-core.sh affaa83b51828be13e175c8ba1a7085ba9692d1d 7bc192798f8f6e1dee34891b56f3bf60ab320f3d
else
echo "Not downloading H5P Core and Editor files as they are already present!"
fi
Expand Down

0 comments on commit bdcf41b

Please sign in to comment.