@battlekart/create-plugin 0.0.0-stage → 0.0.2

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/LICENSE ADDED
@@ -0,0 +1,16 @@
1
+ BattleKart Plugin Kit License
2
+
3
+ Copyright (c) 2026 BattleKart. All rights reserved.
4
+
5
+ This package (the "Software") is part of the BattleKart booking platform.
6
+
7
+ 1. Permitted use. You may install and use the Software only to develop, build, test and publish plugins for the
8
+ BattleKart booking platform, under an active agreement with BattleKart for that platform.
9
+ 2. Plugins. Plugins you write with the Software remain yours. Publishing a plugin on the platform is subject to the
10
+ terms of that agreement and to BattleKart's review.
11
+ 3. Restrictions. You may not sell, sublicense or redistribute the Software, or use it, in whole or in part, to build
12
+ or run a product other than plugins for the BattleKart booking platform.
13
+ 4. No warranty. The Software is provided "as is", without warranty of any kind. To the extent permitted by law,
14
+ BattleKart is not liable for any damage arising from its use.
15
+
16
+ Any other use requires the prior written consent of BattleKart.
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+ // `npm create @battlekart/plugin` (also pnpm, yarn, bun create): runs `bk init` of @battlekart/cli with the same
3
+ // arguments, in this process.
4
+ import { createRequire } from 'node:module';
5
+
6
+ const bin = createRequire(import.meta.url).resolve('@battlekart/cli/bin/bk.js');
7
+ process.argv.splice(2, 0, 'init');
8
+ await import(bin);
package/package.json CHANGED
@@ -1,6 +1,23 @@
1
1
  {
2
2
  "name": "@battlekart/create-plugin",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.0.2",
4
+ "description": "npm create @battlekart/plugin: a new project of BattleKart booking plugins, with the bk command line",
5
+ "type": "module",
6
+ "bin": {
7
+ "create-plugin": "./bin/create-plugin.js"
8
+ },
9
+ "files": [
10
+ "bin",
11
+ "LICENSE"
12
+ ],
13
+ "engines": {
14
+ "node": ">=20.19"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "dependencies": {
20
+ "@battlekart/cli": "^0.0.4"
21
+ },
22
+ "license": "SEE LICENSE IN LICENSE"
6
23
  }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.