Skip to content

Commit b26d5fa

Browse files
authored
Merge pull request #15 from AbacatePay/fix/types
Align package tsconfigs and type exports
2 parents bfbea34 + 9cc4dbc commit b26d5fa

27 files changed

Lines changed: 1027 additions & 994 deletions

packages/adapters/package.json

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
11
{
2-
"name": "@abacatepay/adapters",
3-
"version": "1.0.2",
4-
"repository": {
5-
"type": "git",
6-
"url": "git+https://github.com/AbacatePay/ecosystem.git"
7-
},
8-
"author": {
9-
"name": "AbacatePay",
10-
"email": "opensource@abacatepay.com",
11-
"url": "https://abacatepay.com"
12-
},
13-
"maintainers": [
14-
{
15-
"name": "Almeida",
16-
"url": "https://github.com/almeidazs"
17-
}
18-
],
19-
"main": "./dist/index.js",
20-
"devDependencies": {
21-
"@biomejs/biome": "^2.3.11",
22-
"typescript": "^5.0.0"
23-
},
24-
"exports": {
25-
"./webhooks": {
26-
"import": "./dist/webhooks/index.js",
27-
"types": "./dist/webhooks/index.d.ts"
28-
},
29-
"./webhooks/*": {
30-
"import": "./dist/webhooks/*.js",
31-
"types": "./dist/webhooks/*.d.ts"
32-
}
33-
},
34-
"description": "Checkout and webhook adapters for AbacatePay.",
35-
"engines": {
36-
"node": ">=18",
37-
"bun": ">=1.0.0"
38-
},
39-
"files": [
40-
"dist"
41-
],
42-
"keywords": [
43-
"abacatepay",
44-
"payments",
45-
"webhooks",
46-
"checkouts",
47-
"adapters"
48-
],
49-
"license": "Apache-2.0",
50-
"publishConfig": {
51-
"access": "public"
52-
},
53-
"scripts": {
54-
"test": "bun test",
55-
"build": "rm -rf dist && bun run scripts/version.ts && tsc",
56-
"types": "bunx tsc --emitDeclarationOnly",
57-
"prepublishOnly": "bun run build"
58-
},
59-
"sideEffects": false,
60-
"type": "module",
61-
"types": "./dist/index.d.ts",
62-
"dependencies": {
63-
"@abacatepay/zod": "^1.0.0"
64-
}
2+
"name": "@abacatepay/adapters",
3+
"version": "1.0.2",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/AbacatePay/ecosystem.git"
7+
},
8+
"author": {
9+
"name": "AbacatePay",
10+
"email": "opensource@abacatepay.com",
11+
"url": "https://abacatepay.com"
12+
},
13+
"maintainers": [
14+
{
15+
"name": "Almeida",
16+
"url": "https://github.com/almeidazs"
17+
}
18+
],
19+
"main": "./dist/index.js",
20+
"devDependencies": {
21+
"@biomejs/biome": "^2.3.11",
22+
"typescript": "^5.0.0"
23+
},
24+
"exports": {
25+
"./webhooks": {
26+
"import": "./dist/webhooks/index.js",
27+
"types": "./dist/webhooks/index.d.ts"
28+
},
29+
"./webhooks/*": {
30+
"import": "./dist/webhooks/*.js",
31+
"types": "./dist/webhooks/*.d.ts"
32+
}
33+
},
34+
"description": "Checkout and webhook adapters for AbacatePay.",
35+
"engines": {
36+
"node": ">=18",
37+
"bun": ">=1.0.0"
38+
},
39+
"files": [
40+
"dist"
41+
],
42+
"keywords": [
43+
"abacatepay",
44+
"payments",
45+
"webhooks",
46+
"checkouts",
47+
"adapters"
48+
],
49+
"license": "Apache-2.0",
50+
"publishConfig": {
51+
"access": "public"
52+
},
53+
"scripts": {
54+
"test": "bun test",
55+
"build": "rm -rf dist && bun run scripts/version.ts && tsc",
56+
"types": "bunx tsc --emitDeclarationOnly",
57+
"prepublishOnly": "bun run build"
58+
},
59+
"sideEffects": false,
60+
"type": "module",
61+
"types": "./dist/index.d.ts",
62+
"dependencies": {
63+
"@abacatepay/zod": "^1.0.0"
64+
}
6565
}

packages/adapters/tsconfig.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
2-
"extends": "../../tsconfig.base.json",
3-
"compilerOptions": {
4-
"outDir": "dist",
5-
"rootDir": "src",
6-
"composite": true
7-
},
8-
"include": ["src"]
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"rootDir": "src",
6+
"paths": {}
7+
},
8+
"include": [
9+
"src"
10+
]
911
}

packages/better-auth/package.json

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
11
{
2-
"name": "@abacatepay/better-auth",
3-
"version": "1.0.0",
4-
"repository": {
5-
"type": "git",
6-
"url": "git+https://github.com/AbacatePay/ecosystem.git"
7-
},
8-
"main": "./dist/index.js",
9-
"devDependencies": {
10-
"@biomejs/biome": "^2.3.11",
11-
"typescript": "^5.0.0"
12-
},
13-
"author": {
14-
"name": "AbacatePay",
15-
"email": "opensource@abacatepay.com",
16-
"url": "https://abacatepay.com"
17-
},
18-
"maintainers": [
19-
{
20-
"name": "Almeida",
21-
"url": "https://github.com/almeidazs"
22-
}
23-
],
24-
"exports": {
25-
".": {
26-
"types": "./dist/index.d.ts",
27-
"import": "./dist/index.js",
28-
"default": "./dist/index.js"
29-
}
30-
},
31-
"description": "Checkouts, Webhooks and OAuth made simple with AbacatePay.",
32-
"engines": {
33-
"node": ">=18",
34-
"bun": ">=1.0.0"
35-
},
36-
"files": [
37-
"dist"
38-
],
39-
"keywords": [
40-
"abacatepay",
41-
"payments",
42-
"better-auth",
43-
"auth",
44-
"webhooks"
45-
],
46-
"license": "Apache-2.0",
47-
"publishConfig": {
48-
"access": "public"
49-
},
50-
"scripts": {
51-
"test": "bun test",
52-
"build": "rm -rf dist && bun run scripts/version.ts && tsc",
53-
"types": "bunx tsc --emitDeclarationOnly",
54-
"prepublishOnly": "bun run build"
55-
},
56-
"sideEffects": false,
57-
"type": "module",
58-
"types": "./dist/index.d.ts",
59-
"peerDependencies": {
60-
"better-auth": "^1.4.17"
61-
}
2+
"name": "@abacatepay/better-auth",
3+
"version": "1.0.0",
4+
"repository": {
5+
"type": "git",
6+
"url": "git+https://github.com/AbacatePay/ecosystem.git"
7+
},
8+
"main": "./dist/index.js",
9+
"devDependencies": {
10+
"@biomejs/biome": "^2.3.11",
11+
"typescript": "^5.0.0"
12+
},
13+
"author": {
14+
"name": "AbacatePay",
15+
"email": "opensource@abacatepay.com",
16+
"url": "https://abacatepay.com"
17+
},
18+
"maintainers": [
19+
{
20+
"name": "Almeida",
21+
"url": "https://github.com/almeidazs"
22+
}
23+
],
24+
"exports": {
25+
".": {
26+
"types": "./dist/index.d.ts",
27+
"import": "./dist/index.js",
28+
"default": "./dist/index.js"
29+
}
30+
},
31+
"description": "Checkouts, Webhooks and OAuth made simple with AbacatePay.",
32+
"engines": {
33+
"node": ">=18",
34+
"bun": ">=1.0.0"
35+
},
36+
"files": [
37+
"dist"
38+
],
39+
"keywords": [
40+
"abacatepay",
41+
"payments",
42+
"better-auth",
43+
"auth",
44+
"webhooks"
45+
],
46+
"license": "Apache-2.0",
47+
"publishConfig": {
48+
"access": "public"
49+
},
50+
"scripts": {
51+
"test": "bun test",
52+
"build": "rm -rf dist && bun run scripts/version.ts && tsc",
53+
"types": "bunx tsc --emitDeclarationOnly",
54+
"prepublishOnly": "bun run build"
55+
},
56+
"sideEffects": false,
57+
"type": "module",
58+
"types": "./dist/index.d.ts",
59+
"peerDependencies": {
60+
"better-auth": "^1.4.17"
61+
}
6262
}

packages/better-auth/tsconfig.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2-
"extends": "../../tsconfig.base.json",
3-
"compilerOptions": {
4-
"outDir": "dist",
5-
"rootDir": "src",
6-
"composite": true
7-
},
8-
"include": ["src"]
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"outDir": "dist",
5+
"rootDir": "src"
6+
},
7+
"include": [
8+
"src"
9+
]
910
}

0 commit comments

Comments
 (0)