@ctil/gql 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/tsconfig.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "module": "nodenext", // ✅ 必须和 moduleResolution 配套
5
+ "moduleResolution": "nodenext", // ✅ 支持 Node ESM
6
+ "esModuleInterop": true,
7
+ "allowSyntheticDefaultImports": true,
8
+ "allowImportingTsExtensions": true,
9
+ "noEmit":true,
10
+ "declaration": true,
11
+ "declarationMap": true,
12
+ "outDir": "dist",
13
+ "strict": true,
14
+ "skipLibCheck": true
15
+ },
16
+ "include": ["src"]
17
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,10 @@
1
+ import { defineConfig } from "tsup";
2
+
3
+ export default defineConfig({
4
+ entry: ["src/index.ts"],
5
+ format: ["esm", "cjs"],
6
+ dts: true,
7
+ sourcemap: true,
8
+ clean: true,
9
+ outDir: "dist",
10
+ });