@canyonjs/cli 1.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 ADDED
@@ -0,0 +1,23 @@
1
+ # Rslib project
2
+
3
+ ## Setup
4
+
5
+ Install the dependencies:
6
+
7
+ ```bash
8
+ pnpm install
9
+ ```
10
+
11
+ ## Get started
12
+
13
+ Build the library:
14
+
15
+ ```bash
16
+ pnpm build
17
+ ```
18
+
19
+ Build the library in watch mode:
20
+
21
+ ```bash
22
+ pnpm dev
23
+ ```
package/bin/canyon ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ // * The entry point of the CLI
3
+ import('../dist/index.js').then(m => m.cli(process.argv));
@@ -0,0 +1 @@
1
+ export declare const cli: () => void;
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ const cli = ()=>{
2
+ console.log('cli');
3
+ };
4
+ export { cli };
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@canyonjs/cli",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./dist/index.d.ts",
8
+ "import": "./dist/index.js"
9
+ }
10
+ },
11
+ "types": "./dist/index.d.ts",
12
+ "files": [
13
+ "dist",
14
+ "bin"
15
+ ],
16
+ "bin": {
17
+ "canyon": "bin/canyon"
18
+ },
19
+ "devDependencies": {
20
+ "@biomejs/biome": "2.2.3",
21
+ "@rslib/core": "^0.15.1",
22
+ "@rstest/core": "^0.5.1",
23
+ "@types/node": "^22.18.10",
24
+ "typescript": "^5.9.3"
25
+ },
26
+ "scripts": {
27
+ "build": "rslib build",
28
+ "check": "biome check --write",
29
+ "dev": "rslib build --watch",
30
+ "format": "biome format --write",
31
+ "test": "rstest"
32
+ }
33
+ }