@minecraftbot-com/plugin 0.1.0 → 0.2.0
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.
- package/AGENTS.md +188 -177
- package/README.md +47 -46
- package/dist/api.d.ts +4 -1
- package/dist/cli/api.d.ts +23 -0
- package/dist/cli/api.js +8 -0
- package/dist/cli/build.d.ts +1 -0
- package/dist/cli/build.js +9 -2
- package/dist/cli/check.d.ts +7 -0
- package/dist/cli/check.js +2 -1
- package/dist/cli/deploy.d.ts +13 -0
- package/dist/cli/deploy.js +51 -0
- package/dist/cli/main.js +7 -0
- package/dist/hosted/fetch.d.ts +53 -0
- package/dist/hosted/fetch.js +216 -0
- package/dist/hosted/index.d.ts +3 -0
- package/dist/hosted/index.js +81 -0
- package/dist/runtime/runtime.d.ts +1 -1
- package/dist/runtime/runtime.js +1 -1
- package/package.json +6 -1
- package/src/api.ts +4 -1
- package/src/cli/api.ts +105 -79
- package/src/cli/build.ts +9 -2
- package/src/cli/check.ts +104 -103
- package/src/cli/deploy.ts +60 -0
- package/src/cli/main.ts +7 -0
- package/src/hosted/fetch.ts +224 -0
- package/src/hosted/index.ts +121 -0
- package/src/runtime/runtime.ts +281 -281
- package/templates/basic/AGENTS.md +32 -31
- package/templates/basic/README.md +14 -13
- package/templates/basic/package.json +1 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
# __TITLE__
|
|
2
|
-
|
|
3
|
-
A MineBot plugin.
|
|
4
|
-
|
|
5
|
-
```sh
|
|
6
|
-
npm install
|
|
7
|
-
npx minebot login # once: approve the sign-in on the dashboard
|
|
8
|
-
npm run dev # runs the plugin on your running profile; edit src/index.ts and it restarts
|
|
9
|
-
npm test # tests against a fake bot
|
|
10
|
-
npm run check # what users will be asked to allow, and the bundle size
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
# __TITLE__
|
|
2
|
+
|
|
3
|
+
A MineBot plugin.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm install
|
|
7
|
+
npx minebot login # once: approve the sign-in on the dashboard
|
|
8
|
+
npm run dev # runs the plugin on your running profile; edit src/index.ts and it restarts
|
|
9
|
+
npm test # tests against a fake bot
|
|
10
|
+
npm run check # what users will be asked to allow, and the bundle size
|
|
11
|
+
npm run deploy -- --profile <name> # keep it running on MineBot's servers, without this machine
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
The API is documented in `node_modules/@minecraftbot-com/plugin/AGENTS.md`.
|