airyhooks 0.1.0-beta.1 → 0.1.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.
@@ -0,0 +1,2 @@
1
+ export declare function add(hookName: string): Promise<void>;
2
+ //# sourceMappingURL=add.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function init(): Promise<void>;
2
+ //# sourceMappingURL=init.d.ts.map
@@ -0,0 +1,2 @@
1
+ export declare function list(): void;
2
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
File without changes
@@ -0,0 +1,2 @@
1
+ export declare function getHookTemplate(hookName: string): string;
2
+ //# sourceMappingURL=get-hook-template.d.ts.map
package/package.json CHANGED
@@ -1,8 +1,16 @@
1
1
  {
2
2
  "name": "airyhooks",
3
- "version": "0.1.0-beta.1",
3
+ "version": "0.1.0",
4
4
  "description": "CLI to add React hooks to your project",
5
5
  "type": "module",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/leifarriens/airyhooks.git",
12
+ "directory": "packages/cli"
13
+ },
6
14
  "bin": {
7
15
  "airyhooks": "./dist/index.js"
8
16
  },
@@ -10,13 +18,6 @@
10
18
  "dist",
11
19
  "README.md"
12
20
  ],
13
- "scripts": {
14
- "build": "tsc",
15
- "dev": "tsc --watch",
16
- "typecheck": "tsc --noEmit",
17
- "lint": "eslint .",
18
- "prepublishOnly": "pnpm build"
19
- },
20
21
  "dependencies": {
21
22
  "commander": "^12.1.0",
22
23
  "fs-extra": "^11.2.0",
@@ -24,17 +25,23 @@
24
25
  "prompts": "^2.4.2"
25
26
  },
26
27
  "devDependencies": {
27
- "@airyhooks/eslint-config": "workspace:*",
28
- "@airyhooks/tsconfig": "workspace:*",
29
28
  "@types/fs-extra": "^11.0.4",
30
29
  "@types/prompts": "^2.4.9",
31
30
  "eslint": "^9.38.0",
32
- "typescript": "^5.9.3"
31
+ "typescript": "^5.9.3",
32
+ "@airyhooks/eslint-config": "0.1.0",
33
+ "@airyhooks/tsconfig": "0.1.0"
33
34
  },
34
35
  "keywords": [
35
36
  "react",
36
37
  "hooks",
37
38
  "cli"
38
39
  ],
39
- "license": "MIT"
40
- }
40
+ "license": "MIT",
41
+ "scripts": {
42
+ "build": "tsc",
43
+ "dev": "tsc --watch",
44
+ "typecheck": "tsc --noEmit",
45
+ "lint": "eslint ."
46
+ }
47
+ }