|
1 | 1 | { |
2 | | - "name": "@taskless/packcheck", |
3 | | - "description": "Check your Taskless Packs", |
| 2 | + "name": "@taskless/pack", |
| 3 | + "description": "CLI for working with Taskless packs", |
4 | 4 | "version": "0.0.5", |
5 | 5 | "author": "Taskless", |
6 | 6 | "license": "Apache-2.0", |
7 | | - "repository": "taskless/loader-js", |
| 7 | + "repository": "taskless/pack", |
8 | 8 | "scripts": { |
9 | 9 | "build": "run-s build:vite build:bin", |
10 | | - "build:bin": "shx chmod +x dist/index.js", |
| 10 | + "build:bin": "shx chmod +x dist/cli.js", |
11 | 11 | "build:vite": "vite build", |
12 | 12 | "changeset": "changeset", |
| 13 | + "codegen": "typed-graphql-builder --schema https://api.taskless.io/graphql --output ./src/__generated__/api.ts", |
| 14 | + "codegen:dev": "typed-graphql-builder --schema http://localhost:3000/graphql --output ./src/__generated__/api.ts", |
13 | 15 | "husky": "husky", |
14 | 16 | "lint-staged": "lint-staged", |
15 | 17 | "prepare": "husky", |
16 | 18 | "prettier": "prettier", |
17 | 19 | "syncpack": "syncpack", |
18 | 20 | "test": "NODE_OPTIONS='--no-warnings' vitest", |
| 21 | + "tsx": "tsx", |
19 | 22 | "xo": "xo" |
20 | 23 | }, |
21 | 24 | "type": "module", |
22 | | - "main": "dist/index.cjs", |
23 | | - "module": "dist/index.js", |
| 25 | + "main": "dist/cli.cjs", |
| 26 | + "module": "dist/cli.js", |
24 | 27 | "exports": { |
25 | 28 | ".": { |
26 | | - "types": "./dist/index.d.ts", |
27 | | - "import": "./dist/index.js", |
28 | | - "require": "./dist/index.cjs" |
| 29 | + "types": "./dist/cli.d.ts", |
| 30 | + "import": "./dist/cli.js", |
| 31 | + "require": "./dist/cli.cjs" |
29 | 32 | } |
30 | 33 | }, |
31 | 34 | "files": [ |
|
38 | 41 | "dependencies": { |
39 | 42 | "@taskless/loader": "^0.0.29", |
40 | 43 | "colorette": "^2.0.20", |
41 | | - "command-line-args": "^6.0.1", |
42 | | - "command-line-usage": "^7.0.3", |
| 44 | + "dotenv": "^16.5.0", |
| 45 | + "graphql-request": "^7.1.2", |
| 46 | + "graphql-tag": "^2.12.6", |
43 | 47 | "jsonpath": "^1.1.1", |
| 48 | + "ky": "1.8.1", |
44 | 49 | "msw": "^2.3.5", |
45 | 50 | "uint8array-extras": "^1.4.0", |
| 51 | + "yargs": "^17.7.2", |
46 | 52 | "zod": "^3.23.8" |
47 | 53 | }, |
48 | 54 | "devDependencies": { |
49 | 55 | "@changesets/cli": "^2.27.7", |
50 | 56 | "@commitlint/cli": "^19.3.0", |
51 | 57 | "@commitlint/config-conventional": "^19.2.2", |
| 58 | + "@graphql-typed-document-node/core": "^3.2.0", |
52 | 59 | "@types/command-line-args": "^5.2.3", |
53 | 60 | "@types/command-line-usage": "^5.0.4", |
54 | 61 | "@types/jsonpath": "^0.2.4", |
55 | 62 | "@types/node": "^20.12.12", |
| 63 | + "@types/yargs": "^17.0.33", |
56 | 64 | "execa": "^9.5.1", |
57 | 65 | "husky": "^9.0.11", |
58 | 66 | "lint-staged": "^15.2.4", |
|
62 | 70 | "syncpack": "^12.3.2", |
63 | 71 | "tsx": "^4.16.5", |
64 | 72 | "type-fest": "^4.23.0", |
| 73 | + "typed-graphql-builder": "^5.0.1", |
65 | 74 | "typescript": "^5.4.5", |
66 | 75 | "vite": "^5.4.2", |
67 | 76 | "vite-plugin-dts": "^4.0.3", |
|
0 commit comments