Skip to content

Commit 66e696d

Browse files
authored
build: fix build issue in 0.5.5 (openwallet-foundation#1920)
fix: build issue Signed-off-by: Timo Glastra <[email protected]>
1 parent 5919833 commit 66e696d

30 files changed

+2668
-4253
lines changed

.changeset/silly-cooks-compete.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@credo-ts/indy-sdk-to-askar-migration': patch
3+
'@credo-ts/question-answer': patch
4+
'@credo-ts/bbs-signatures': patch
5+
'@credo-ts/react-native': patch
6+
'@credo-ts/action-menu': patch
7+
'@credo-ts/anoncreds': patch
8+
'@credo-ts/openid4vc': patch
9+
'@credo-ts/indy-vdr': patch
10+
'@credo-ts/tenants': patch
11+
'@credo-ts/askar': patch
12+
'@credo-ts/cheqd': patch
13+
'@credo-ts/core': patch
14+
'@credo-ts/drpc': patch
15+
'@credo-ts/node': patch
16+
---
17+
18+
Fix build issue causing error with importing packages in 0.5.5 release

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"ts-node": "^10.0.0",
6161
"tsconfig-paths": "^4.1.2",
6262
"tsyringe": "^4.8.0",
63-
"typescript": "~5.5.0-beta",
63+
"typescript": "~5.5.2",
6464
"ws": "^8.13.0"
6565
},
6666
"resolutions": {

packages/action-menu/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "@credo-ts/action-menu",
33
"main": "build/index",
4-
"types": "build/index",
4+
"types": "src/index",
55
"version": "0.5.5",
66
"files": [
7+
"!src/**/__tests__",
8+
"src",
79
"build"
810
],
911
"license": "Apache-2.0",
@@ -32,6 +34,6 @@
3234
"devDependencies": {
3335
"reflect-metadata": "^0.1.13",
3436
"rimraf": "^4.4.0",
35-
"typescript": "~5.5.0-beta"
37+
"typescript": "~5.5.2"
3638
}
3739
}
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"extends": "../../tsconfig.build.json",
33
"compilerOptions": {
4-
"outDir": "./build",
5-
"baseUrl": ".",
6-
"paths": {
7-
"@credo-ts/*": ["../*/src"]
8-
}
4+
"outDir": "./build"
95
},
106
"include": ["src/**/*"]
117
}

packages/anoncreds/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "@credo-ts/anoncreds",
33
"main": "build/index",
4-
"types": "build/index",
4+
"types": "src/index",
55
"version": "0.5.5",
66
"files": [
7+
"!src/**/__tests__",
8+
"src",
79
"build"
810
],
911
"license": "Apache-2.0",
@@ -39,7 +41,7 @@
3941
"@hyperledger/anoncreds-shared": "^0.2.2",
4042
"rimraf": "^4.4.0",
4143
"rxjs": "^7.8.0",
42-
"typescript": "~5.5.0-beta"
44+
"typescript": "~5.5.2"
4345
},
4446
"peerDependencies": {
4547
"@hyperledger/anoncreds-shared": "^0.2.2"
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"extends": "../../tsconfig.build.json",
33
"compilerOptions": {
4-
"outDir": "./build",
5-
"baseUrl": ".",
6-
"paths": {
7-
"@credo-ts/*": ["../*/src"]
8-
}
4+
"outDir": "./build"
95
},
106
"include": ["src/**/*"]
117
}

packages/askar/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "@credo-ts/askar",
33
"main": "build/index",
4-
"types": "build/index",
4+
"types": "src/index",
55
"version": "0.5.5",
66
"files": [
7+
"!src/**/__tests__",
8+
"src",
79
"build"
810
],
911
"license": "Apache-2.0",
@@ -39,7 +41,7 @@
3941
"@types/ref-struct-di": "^1.1.10",
4042
"reflect-metadata": "^0.1.13",
4143
"rimraf": "^4.4.0",
42-
"typescript": "~5.5.0-beta"
44+
"typescript": "~5.5.2"
4345
},
4446
"peerDependencies": {
4547
"@hyperledger/aries-askar-shared": "^0.2.1"

packages/askar/tsconfig.build.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
{
22
"extends": "../../tsconfig.build.json",
33
"compilerOptions": {
4-
"outDir": "./build",
5-
"baseUrl": ".",
6-
"paths": {
7-
"@credo-ts/*": ["../*/src"]
8-
}
4+
"outDir": "./build"
95
},
106
"include": ["src/**/*"]
117
}

packages/bbs-signatures/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "@credo-ts/bbs-signatures",
33
"main": "build/index",
4-
"types": "build/index",
4+
"types": "src/index",
55
"version": "0.5.5",
66
"files": [
7+
"!src/**/__tests__",
8+
"src",
79
"build"
810
],
911
"license": "Apache-2.0",
@@ -36,7 +38,7 @@
3638
"@credo-ts/node": "workspace:*",
3739
"reflect-metadata": "^0.1.13",
3840
"rimraf": "^4.4.0",
39-
"typescript": "~5.5.0-beta"
41+
"typescript": "~5.5.2"
4042
},
4143
"peerDependenciesMeta": {
4244
"@animo-id/react-native-bbs-signatures": {

packages/bbs-signatures/tsconfig.build.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
"extends": "../../tsconfig.build.json",
33

44
"compilerOptions": {
5-
"outDir": "./build",
6-
"baseUrl": ".",
7-
"paths": {
8-
"@credo-ts/*": ["../*/src"]
9-
}
5+
"outDir": "./build"
106
},
117

128
"include": ["src/**/*"]

0 commit comments

Comments
 (0)