From 349a385f97383658250ef5b953f1d0f230f93dd9 Mon Sep 17 00:00:00 2001 From: Guillaume Jenkins Date: Fri, 4 Nov 2016 18:32:13 -0700 Subject: [PATCH] Move templates to directly under libs/ (#303) --- libs/{templates => }/blocksprj/README.md | 0 libs/{templates => }/blocksprj/main.blocks | 0 libs/{templates => }/blocksprj/main.ts | 0 libs/{templates/bluetoothprj => blocksprj}/pxt.json | 4 ++-- libs/{templates => }/blocksprj/tsconfig.json | 0 libs/{templates => }/bluetoothprj/README.md | 0 libs/{templates => }/bluetoothprj/main.blocks | 0 libs/{templates => }/bluetoothprj/main.ts | 0 libs/{templates/blocksprj => bluetoothprj}/pxt.json | 4 ++-- libs/{templates => }/bluetoothprj/tsconfig.json | 0 libs/{templates => }/tsprj/README.md | 0 libs/{templates => }/tsprj/main.ts | 0 libs/{templates => }/tsprj/pxt.json | 4 ++-- libs/{templates => }/tsprj/tsconfig.json | 0 14 files changed, 6 insertions(+), 6 deletions(-) rename libs/{templates => }/blocksprj/README.md (100%) rename libs/{templates => }/blocksprj/main.blocks (100%) rename libs/{templates => }/blocksprj/main.ts (100%) rename libs/{templates/bluetoothprj => blocksprj}/pxt.json (71%) rename libs/{templates => }/blocksprj/tsconfig.json (100%) rename libs/{templates => }/bluetoothprj/README.md (100%) rename libs/{templates => }/bluetoothprj/main.blocks (100%) rename libs/{templates => }/bluetoothprj/main.ts (100%) rename libs/{templates/blocksprj => bluetoothprj}/pxt.json (69%) rename libs/{templates => }/bluetoothprj/tsconfig.json (100%) rename libs/{templates => }/tsprj/README.md (100%) rename libs/{templates => }/tsprj/main.ts (100%) rename libs/{templates => }/tsprj/pxt.json (68%) rename libs/{templates => }/tsprj/tsconfig.json (100%) diff --git a/libs/templates/blocksprj/README.md b/libs/blocksprj/README.md similarity index 100% rename from libs/templates/blocksprj/README.md rename to libs/blocksprj/README.md diff --git a/libs/templates/blocksprj/main.blocks b/libs/blocksprj/main.blocks similarity index 100% rename from libs/templates/blocksprj/main.blocks rename to libs/blocksprj/main.blocks diff --git a/libs/templates/blocksprj/main.ts b/libs/blocksprj/main.ts similarity index 100% rename from libs/templates/blocksprj/main.ts rename to libs/blocksprj/main.ts diff --git a/libs/templates/bluetoothprj/pxt.json b/libs/blocksprj/pxt.json similarity index 71% rename from libs/templates/bluetoothprj/pxt.json rename to libs/blocksprj/pxt.json index 6cae5d55..c15ee157 100644 --- a/libs/templates/bluetoothprj/pxt.json +++ b/libs/blocksprj/pxt.json @@ -1,8 +1,8 @@ { "name": "{0} block", "dependencies": { - "core": "*", - "bluetooth": "*" + "core": "file:../core", + "radio": "file:../radio" }, "description": "", "files": [ diff --git a/libs/templates/blocksprj/tsconfig.json b/libs/blocksprj/tsconfig.json similarity index 100% rename from libs/templates/blocksprj/tsconfig.json rename to libs/blocksprj/tsconfig.json diff --git a/libs/templates/bluetoothprj/README.md b/libs/bluetoothprj/README.md similarity index 100% rename from libs/templates/bluetoothprj/README.md rename to libs/bluetoothprj/README.md diff --git a/libs/templates/bluetoothprj/main.blocks b/libs/bluetoothprj/main.blocks similarity index 100% rename from libs/templates/bluetoothprj/main.blocks rename to libs/bluetoothprj/main.blocks diff --git a/libs/templates/bluetoothprj/main.ts b/libs/bluetoothprj/main.ts similarity index 100% rename from libs/templates/bluetoothprj/main.ts rename to libs/bluetoothprj/main.ts diff --git a/libs/templates/blocksprj/pxt.json b/libs/bluetoothprj/pxt.json similarity index 69% rename from libs/templates/blocksprj/pxt.json rename to libs/bluetoothprj/pxt.json index e7c395e6..c9a514b2 100644 --- a/libs/templates/blocksprj/pxt.json +++ b/libs/bluetoothprj/pxt.json @@ -1,8 +1,8 @@ { "name": "{0} block", "dependencies": { - "core": "*", - "radio": "*" + "core": "file:../core", + "bluetooth": "file:../bluetooth" }, "description": "", "files": [ diff --git a/libs/templates/bluetoothprj/tsconfig.json b/libs/bluetoothprj/tsconfig.json similarity index 100% rename from libs/templates/bluetoothprj/tsconfig.json rename to libs/bluetoothprj/tsconfig.json diff --git a/libs/templates/tsprj/README.md b/libs/tsprj/README.md similarity index 100% rename from libs/templates/tsprj/README.md rename to libs/tsprj/README.md diff --git a/libs/templates/tsprj/main.ts b/libs/tsprj/main.ts similarity index 100% rename from libs/templates/tsprj/main.ts rename to libs/tsprj/main.ts diff --git a/libs/templates/tsprj/pxt.json b/libs/tsprj/pxt.json similarity index 68% rename from libs/templates/tsprj/pxt.json rename to libs/tsprj/pxt.json index dbd3d5ea..79e518b7 100644 --- a/libs/templates/tsprj/pxt.json +++ b/libs/tsprj/pxt.json @@ -1,8 +1,8 @@ { "name": "{0} bit", "dependencies": { - "core": "*", - "radio": "*" + "core": "file:../core", + "radio": "file:../radio" }, "description": "", "files": [ diff --git a/libs/templates/tsprj/tsconfig.json b/libs/tsprj/tsconfig.json similarity index 100% rename from libs/templates/tsprj/tsconfig.json rename to libs/tsprj/tsconfig.json