@couch-kit/cli 0.1.0 → 0.1.1
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/dist/index.js +5 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2052,7 +2052,7 @@ var init_init = __esm(() => {
|
|
|
2052
2052
|
dependencies: {
|
|
2053
2053
|
react: "^18.2.0",
|
|
2054
2054
|
"react-dom": "^18.2.0",
|
|
2055
|
-
"@couch-kit/client": "
|
|
2055
|
+
"@couch-kit/client": "^0.4.3"
|
|
2056
2056
|
},
|
|
2057
2057
|
devDependencies: {
|
|
2058
2058
|
"@types/react": "^18.2.66",
|
|
@@ -2177,8 +2177,11 @@ Next steps:
|
|
|
2177
2177
|
|
|
2178
2178
|
// src/index.ts
|
|
2179
2179
|
init_esm();
|
|
2180
|
+
import { createRequire as createRequire2 } from "node:module";
|
|
2181
|
+
var require2 = createRequire2(import.meta.url);
|
|
2182
|
+
var { version } = require2("../package.json");
|
|
2180
2183
|
var program2 = new Command;
|
|
2181
|
-
program2.name("couch-kit").description("CLI for Couch Kit").version(
|
|
2184
|
+
program2.name("couch-kit").description("CLI for Couch Kit").version(version);
|
|
2182
2185
|
program2.command("bundle").description("Bundles the web controller into the Android assets directory").option("-s, --source <path>", "Source directory of web controller", "./web-controller").option("-o, --output <path>", "Android assets directory", "./android/app/src/main/assets/www").option("--no-build", "Skip build step (just copy)").action(async (options) => {
|
|
2183
2186
|
const { bundleCommand: bundleCommand2 } = await Promise.resolve().then(() => (init_bundle(), exports_bundle));
|
|
2184
2187
|
await bundleCommand2.parseAsync(["bundle", ...reconstructArgs(options)], {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@couch-kit/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CLI tools for Couch Kit party games — bundle web controllers, simulate clients, and scaffold projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"clean": "rm -rf dist"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@couch-kit/core": "0.3.
|
|
34
|
+
"@couch-kit/core": "0.3.2",
|
|
35
35
|
"commander": "^12.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|