Skip to content

Commit

Permalink
initial version that starts node script that will run scratch project…
Browse files Browse the repository at this point in the history
…s and node 'client' scripts. (OASIS-learn-study#151)

* initial version that starts node script for scratch and node scripting

* use 'frontend-maven-plugin' to download, install and run node and npm

* install package.json so that the server can start without files in config

* added directory watching

* move example code to documentation
and create folders on startup

* fixing licenses in package.json files
  • Loading branch information
edewit committed May 22, 2019
1 parent 1db2abd commit 1d63885
Show file tree
Hide file tree
Showing 15 changed files with 8,083 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
bin/
.apt_generated/
xtend-gen/
.rpt2_cache/
.gradle/
build/
out/
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Please do Star & Watch this GitHub project if you like it!
This project has two parts, delivered as separate Minecraft plugins:
* The first, described below, lets you create stories by writing .story text files.
* The second, [described in a separate README](/scratch/README.md), lets you script Minecraft with Scratch!
* Third option, [in another separate README](/scratch3-server/README.md), create a javascript 'story'.

## Get it

Expand Down Expand Up @@ -118,7 +119,7 @@ To use an un-published S2I Java builder image you have to first:
and then:

oc new-build s2i~https://github.com/vorburger/s2i-minecraft-server

If have this project's source code locally, then (the `rm .../node_modules` is because of [issue 28](https://github.com/vorburger/minecraft-storeys-maker/issues/28)):

rm -rf scratch/.gradle/ scratch/node_modules
Expand Down
2 changes: 1 addition & 1 deletion api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "minecraft-storeys",
"version": "0.0.2",
"version": "0.0.3",
"description": "Javascript API for minecraft storeys",
"homepage": "http://learn.study",
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/vorburger/minecraft-storeys.git"
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ allprojects {
license {
header rootProject.file('LICENSE-HEADER')
strictCheck true
exclude '**/*.json'
mapping {
java='SLASHSTAR_STYLE'
}
Expand Down
2 changes: 1 addition & 1 deletion scratch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"clean": "npm cache clear && rimraf -- dist",
"test": "karma start"
},
"license": "ISC",
"license": "AGPL-3.0-only",
"devDependencies": {
"@types/jasmine": "^2.8.16",
"@types/lodash": "^4.14.122",
Expand Down
Loading

0 comments on commit 1d63885

Please sign in to comment.