Skip to content

Commit

Permalink
improve: support cjs & remove graffle code
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Nov 1, 2024
1 parent 30b39bf commit 37445c8
Show file tree
Hide file tree
Showing 148 changed files with 4 additions and 9,669 deletions.
47 changes: 4 additions & 43 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,10 @@
"version": "0.0.0-dripip",
"packageManager": "[email protected]",
"type": "module",
"bin": {
"graffle": "./build/cli/generate.js"
},
"main": "./build/entrypoints/main.js",
"exports": {
".": {
"import": {
"types": "./build/entrypoints/main.d.ts",
"default": "./build/entrypoints/main.js"
}
},
"./alpha/client": {
"import": {
"types": "./build/entrypoints/alpha/client.d.ts",
"default": "./build/entrypoints/alpha/client.js"
}
},
"./alpha/schema": {
"import": {
"types": "./build/entrypoints/alpha/schema.d.ts",
"default": "./build/entrypoints/alpha/schema.js"
}
},
"./alpha/schema/scalars": {
"import": {
"types": "./build/entrypoints/alpha/scalars.d.ts",
"default": "./build/entrypoints/alpha/scalars.js"
}
"default": "./build/entrypoints/main.js"
}
},
"files": [
Expand Down Expand Up @@ -69,7 +46,7 @@
"check:publint": "publint run --strict",
"prepublishOnly": "pnpm build",
"build:docs": "doctoc README.md --notitle && dprint fmt README.md",
"build": "pnpm clean && pnpm tsc --project tsconfig.build.json && chmod +x ./build/cli/generate.js",
"build": "pnpm clean && pnpm tsc --project tsconfig.build.json",
"clean": "tsc --build --clean && rm -rf build",
"test": "vitest",
"test:web": "vitest --environment jsdom",
Expand All @@ -80,27 +57,11 @@
"release:pr": "dripip pr"
},
"dependencies": {
"@graphql-typed-document-node/core": "^3.2.0",
"@molt/command": "^0.9.0",
"zod": "^3.23.8"
"@graphql-typed-document-node/core": "^3.2.0"
},
"peerDependencies": {
"@dprint/formatter": "^0.3.0",
"@dprint/typescript": "^0.91.1",
"dprint": "^0.46.2",
"graphql": "14 - 16"
},
"peerDependenciesMeta": {
"dprint": {
"optional": true
},
"@dprint/formatter": {
"optional": true
},
"@dprint/typescript": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@pothos/core": "^3.41.1",
Expand Down
98 changes: 0 additions & 98 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 0 additions & 49 deletions src/cli/generate.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/entrypoints/alpha/client.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/entrypoints/alpha/main.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/entrypoints/alpha/scalars.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/entrypoints/alpha/schema.ts

This file was deleted.

Loading

0 comments on commit 37445c8

Please sign in to comment.