@v5x/cli 0.0.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/README.md +15 -0
- package/dist/index.js +45 -0
- package/package.json +39 -0
package/README.md
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
// @bun
|
|
3
|
+
// package.json
|
|
4
|
+
var package_default = {
|
|
5
|
+
name: "@v5x/cli",
|
|
6
|
+
version: "0.0.0",
|
|
7
|
+
description: "Command line interface for v5x.",
|
|
8
|
+
license: "MIT",
|
|
9
|
+
type: "module",
|
|
10
|
+
bin: {
|
|
11
|
+
v5x: "dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
files: [
|
|
14
|
+
"dist",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
repository: {
|
|
18
|
+
type: "git",
|
|
19
|
+
url: "git+https://github.com/beanarchystudios/v5x.git",
|
|
20
|
+
directory: "packages/cli"
|
|
21
|
+
},
|
|
22
|
+
bugs: {
|
|
23
|
+
url: "https://github.com/beanarchystudios/v5x/issues"
|
|
24
|
+
},
|
|
25
|
+
homepage: "https://github.com/beanarchystudios/v5x#readme",
|
|
26
|
+
publishConfig: {
|
|
27
|
+
access: "public"
|
|
28
|
+
},
|
|
29
|
+
scripts: {
|
|
30
|
+
build: "bun build ./src/index.ts --target bun --outfile ./dist/index.js && chmod +x ./dist/index.js",
|
|
31
|
+
dev: "bun run ./src/index.ts",
|
|
32
|
+
lint: "bunx tsc --noEmit",
|
|
33
|
+
prepublishOnly: "bun run typecheck && bun run build",
|
|
34
|
+
typecheck: "bunx tsc --noEmit"
|
|
35
|
+
},
|
|
36
|
+
engines: {
|
|
37
|
+
bun: ">=1.3.14"
|
|
38
|
+
},
|
|
39
|
+
devDependencies: {
|
|
40
|
+
"@types/bun": "^1.3.1"
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
// src/index.ts
|
|
45
|
+
console.log(`v5x ${package_default.version}`);
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@v5x/cli",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "Command line interface for v5x.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"v5x": "dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/beanarchystudios/v5x.git",
|
|
17
|
+
"directory": "packages/cli"
|
|
18
|
+
},
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/beanarchystudios/v5x/issues"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/beanarchystudios/v5x#readme",
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "bun build ./src/index.ts --target bun --outfile ./dist/index.js && chmod +x ./dist/index.js",
|
|
28
|
+
"dev": "bun run ./src/index.ts",
|
|
29
|
+
"lint": "bunx tsc --noEmit",
|
|
30
|
+
"prepublishOnly": "bun run typecheck && bun run build",
|
|
31
|
+
"typecheck": "bunx tsc --noEmit"
|
|
32
|
+
},
|
|
33
|
+
"engines": {
|
|
34
|
+
"bun": ">=1.3.14"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@types/bun": "^1.3.1"
|
|
38
|
+
}
|
|
39
|
+
}
|