Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Initial files for MakeCode project
Browse files Browse the repository at this point in the history
  • Loading branch information
KierPalin committed Sep 25, 2024
1 parent da44696 commit c7cbee2
Show file tree
Hide file tree
Showing 13 changed files with 124 additions and 0 deletions.
12 changes: 12 additions & 0 deletions no-arcade-shield-mode/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# MakeCode
built
node_modules
yotta_modules
yotta_targets
pxt_modules
.pxt
_site
*.db
*.tgz
.header.json
.simstate.json
3 changes: 3 additions & 0 deletions no-arcade-shield-mode/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["ms-edu.pxt-vscode-web"]
}
29 changes: 29 additions & 0 deletions no-arcade-shield-mode/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"editor.formatOnType": true,
"files.autoSave": "afterDelay",
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/built/**": true,
"**/node_modules/**": true,
"**/yotta_modules/**": true,
"**/yotta_targets": true,
"**/pxt_modules/**": true,
"**/.pxt/**": true
},
"files.associations": {
"*.blocks": "html",
"*.jres": "json"
},
"search.exclude": {
"**/built": true,
"**/node_modules": true,
"**/yotta_modules": true,
"**/yotta_targets": true,
"**/pxt_modules": true,
"**/.pxt": true
},
"files.exclude": {
"**/pxt_modules": true,
"**/.pxt": true
}
}
2 changes: 2 additions & 0 deletions no-arcade-shield-mode/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
10 changes: 10 additions & 0 deletions no-arcade-shield-mode/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
all: deploy

build:
pxt build

deploy:
pxt deploy

test:
pxt test
24 changes: 24 additions & 0 deletions no-arcade-shield-mode/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

> Open this page at [https://kierpalin.github.io/microdata/](https://kierpalin.github.io/microdata/)
## Use as Extension

This repository can be added as an **extension** in MakeCode.

* open [https://makecode.microbit.org/](https://makecode.microbit.org/)
* click on **New Project**
* click on **Extensions** under the gearwheel menu
* search for **https://github.com/kierpalin/microdata/no-arcade-shield-mode** and import

## Edit this project

To edit this repository in MakeCode.

* open [https://makecode.microbit.org/](https://makecode.microbit.org/)
* click on **Import** then click on **Import URL**
* paste **https://github.com/kierpalin/microdata/no-arcade-shield-mode** and click import

#### Metadata (used for search, rendering)

* for PXT/microbit
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>
8 changes: 8 additions & 0 deletions no-arcade-shield-mode/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
makecode:
target: microbit
platform: microbit
home_url: https://makecode.microbit.org/
theme: jekyll-theme-slate
include:
- assets
- README.md
1 change: 1 addition & 0 deletions no-arcade-shield-mode/_history
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"entries":[{"timestamp":1727286215011,"editorVersion":"7.1.3","changes":[{"type":"edited","filename":"pxt.json","patch":[{"diffs":[[0," ],\n"],[-1," \"testFiles\": [\n \"test.ts\"\n ],\n"],[0," "]],"start1":278,"start2":278,"length1":52,"length2":8}]},{"type":"added","filename":"test.ts","value":"// tests go here; this will not be compiled when this package is used as an extension.\n"}]}],"snapshots":[{"timestamp":1727286215010,"editorVersion":"7.1.3","text":{"main.blocks":"","main.ts":"","README.md":"","pxt.json":"{\n \"name\": \"microdata-no-arcade-shield-mode\",\n \"dependencies\": {\n \"core\": \"*\",\n \"radio\": \"*\",\n \"microphone\": \"*\",\n \"microdata\": \"github:kierpalin/microdata\"\n },\n \"files\": [\n \"main.blocks\",\n \"main.ts\",\n \"README.md\"\n ],\n \"preferredEditor\": \"blocksprj\"\n}\n"}}],"shares":[],"lastSaveTime":1727286215011}
Empty file.
Empty file added no-arcade-shield-mode/main.ts
Empty file.
25 changes: 25 additions & 0 deletions no-arcade-shield-mode/pxt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "microdata-no-arcade-shield-mode",
"dependencies": {
"core": "*",
"radio": "*",
"microphone": "*",
"microdata": "github:kierpalin/microdata"
},
"files": [
"main.blocks",
"main.ts",
"README.md"
],
"testFiles": [
"test.ts"
],
"targetVersions": {
"target": "7.1.3",
"targetId": "microbit"
},
"supportedTargets": [
"microbit"
],
"preferredEditor": "blocksprj"
}
1 change: 1 addition & 0 deletions no-arcade-shield-mode/test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// tests go here; this will not be compiled when this package is used as an extension.
9 changes: 9 additions & 0 deletions no-arcade-shield-mode/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"target": "ES5",
"noImplicitAny": true,
"outDir": "built",
"rootDir": "."
},
"exclude": ["pxt_modules/**/*test.ts"]
}

0 comments on commit c7cbee2

Please sign in to comment.