Skip to content

Commit 3f099dd

Browse files
[dependencies] Fixes all sorts of problems with types and exports (#87)
* fixed all sorts of problems with types and exports * stars for @xethya, stop wasting time on this
1 parent e7bda47 commit 3f099dd

26 files changed

+111
-51
lines changed

packages/ability/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/ability",
33
"shortName": "ability",
4-
"version": "0.0.3",
4+
"version": "0.0.5",
55
"description": "",
66
"main": "dist/xethya.ability.js",
77
"module": "dist/xethya.ability.es.js",
88
"iife": "dist/xethya.ability.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",

packages/ability/tsconfig.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
3-
}
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
7+
}

packages/bridge-phaser/package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "@xethya/bridge-phaser",
3-
"version": "0.0.2",
3+
"version": "0.0.5",
44
"shortName": "bridge.Phaser",
55
"main": "dist/xethya.bridge-phaser.js",
66
"module": "dist/xethya.bridge-phaser.es.js",
77
"iife": "dist/xethya.bridge-phaser.iife.js",
8+
"types": "dist/index.d.ts",
89
"description": "A bridge to integrate Xethya objects into the Phaser framework.",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
@@ -37,7 +38,7 @@
3738
"access": "public"
3839
},
3940
"dependencies": {
40-
"@xethya/dice": "^0.1.2",
41-
"@xethya/inventory": "^0.0.2"
41+
"@xethya/dice": "*",
42+
"@xethya/inventory": "*"
4243
}
4344
}

packages/bridge-phaser/tsconfig.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4-
"types": ["phaser", "node", "mocha", "chai"],
4+
"baseUrl": "./src",
5+
"types": ["phaser", "node", "mocha", "chai", "@xethya/dice", "@xethya/inventory"],
56
"skipLibCheck": true
6-
}
7+
},
8+
"include": ["./src"]
79
}

packages/creature/package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/creature",
33
"shortName": "creature",
4-
"version": "0.0.1",
4+
"version": "0.0.3",
55
"description": "",
66
"main": "dist/xethya.creature.js",
77
"module": "dist/xethya.creature.es.js",
88
"iife": "dist/xethya.creature.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",
@@ -40,10 +41,10 @@
4041
]
4142
},
4243
"dependencies": {
43-
"@xethya/ability": "^0.0.3",
44-
"@xethya/definitions": "^0.0.4",
45-
"@xethya/point": "^0.0.3",
46-
"@xethya/race": "^0.0.1",
44+
"@xethya/ability": "*",
45+
"@xethya/definitions": "*",
46+
"@xethya/point": "*",
47+
"@xethya/race": "*",
4748
"uuid": "^3.3.3"
4849
}
4950
}

packages/creature/tsconfig.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
3-
}
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
7+
}

packages/definitions/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/definitions",
33
"shortName": "definitions",
4-
"version": "0.0.4",
4+
"version": "0.0.5",
55
"description": "",
66
"main": "dist/xethya.definitions.js",
77
"module": "dist/xethya.definitions.es.js",
88
"iife": "dist/xethya.definitions.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",

packages/definitions/tsconfig.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
37
}

packages/dice/package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/dice",
33
"shortName": "dice",
4-
"version": "0.1.2",
4+
"version": "0.1.4",
55
"description": "",
66
"main": "dist/xethya.dice.js",
77
"module": "dist/xethya.dice.es.js",
88
"iife": "dist/xethya.dice.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",
@@ -20,9 +21,9 @@
2021
"typescript": "^3.5.3"
2122
},
2223
"dependencies": {
23-
"@xethya/random-blum-blum-shub": "^0.1.2",
24-
"@xethya/random-core": "^0.1.2",
25-
"@xethya/utils": "^0.1.2",
24+
"@xethya/random-blum-blum-shub": "*",
25+
"@xethya/random-core": "*",
26+
"@xethya/utils": "*",
2627
"eventemitter3": "^4.0.0"
2728
},
2829
"scripts": {

packages/dice/tsconfig.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
3-
}
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
7+
}

packages/gamebook-dnd-5e/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/gamebook-dnd-5e",
33
"shortName": "gamebooks.dnd5e",
4-
"version": "0.0.3",
4+
"version": "0.0.5",
55
"description": "",
66
"main": "dist/xethya.gamebook-dnd-5e.js",
77
"module": "dist/xethya.gamebook-dnd-5e.es.js",
88
"iife": "dist/xethya.gamebook-dnd-5e.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",
@@ -39,6 +40,6 @@
3940
]
4041
},
4142
"dependencies": {
42-
"@xethya/ability": "^0.0.3"
43+
"@xethya/ability": "*"
4344
}
4445
}
+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
3-
}
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
7+
}

packages/inventory/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/inventory",
33
"shortName": "inventory",
4-
"version": "0.0.2",
4+
"version": "0.0.5",
55
"description": "",
66
"main": "dist/xethya.inventory.js",
77
"module": "dist/xethya.inventory.es.js",
88
"iife": "dist/xethya.inventory.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",
@@ -45,7 +46,7 @@
4546
]
4647
},
4748
"dependencies": {
48-
"@xethya/utils": "^0.1.8",
49+
"@xethya/utils": "*",
4950
"uuid": "^3.3.3"
5051
}
5152
}

packages/inventory/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export * from "./inventory";
2+
export * from "./item";

packages/inventory/tsconfig.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
3-
}
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
7+
}

packages/point/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/point",
33
"shortName": "point",
4-
"version": "0.0.3",
4+
"version": "0.0.6",
55
"description": "",
66
"main": "dist/xethya.point.js",
77
"module": "dist/xethya.point.es.js",
88
"iife": "dist/xethya.point.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",
@@ -45,7 +46,7 @@
4546
]
4647
},
4748
"dependencies": {
48-
"@xethya/utils": "^0.1.5",
49+
"@xethya/utils": "*",
4950
"uuid": "^3.3.3"
5051
}
5152
}

packages/point/tsconfig.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
3-
}
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
7+
}

packages/race/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/race",
33
"shortName": "race",
4-
"version": "0.0.1",
4+
"version": "0.0.4",
55
"description": "",
66
"main": "dist/xethya.race.js",
77
"module": "dist/xethya.race.es.js",
88
"iife": "dist/xethya.race.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",
@@ -38,6 +39,6 @@
3839
]
3940
},
4041
"dependencies": {
41-
"@xethya/definitions": "^0.0.4"
42+
"@xethya/definitions": "*"
4243
}
4344
}

packages/race/tsconfig.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
3-
}
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
7+
}

packages/random-blum-blum-shub/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/random-blum-blum-shub",
33
"shortName": "random.BlumBlumShub",
4-
"version": "0.1.2",
4+
"version": "0.1.5",
55
"description": "An implementation of the BlumBlumShub pseudo-random number generator.",
66
"main": "dist/xethya.random.blum-blum-shub.js",
77
"module": "dist/xethya.random.blum-blum-shub.es.js",
88
"iife": "dist/xethya.random.blum-blum-shub.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",
@@ -39,6 +40,6 @@
3940
]
4041
},
4142
"dependencies": {
42-
"@xethya/random-core": "^0.1.2"
43+
"@xethya/random-core": "*"
4344
}
4445
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
37
}

packages/random-core/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/random-core",
33
"shortName": "random.core",
4-
"version": "0.1.2",
4+
"version": "0.1.4",
55
"description": "",
66
"main": "dist/xethya.random-core.js",
77
"module": "dist/xethya.random-core.es.js",
88
"iife": "dist/xethya.random-core.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",

packages/random-core/tsconfig.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
3-
}
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
7+
}

packages/random-mersenne-twister/package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "@xethya/random-mersenne-twister",
33
"shortName": "random.MersenneTwister",
4-
"version": "0.1.2",
4+
"version": "0.1.6",
55
"description": "",
66
"main": "dist/xethya.mersenne-twister.js",
77
"module": "dist/xethya.mersenne-twister.es.js",
88
"iife": "dist/xethya.mersenne-twister.iife.js",
9+
"types": "dist/index.d.ts",
910
"repository": "https://github.com/xethya/framework",
1011
"author": "Joel A. Villarreal Bertoldi",
1112
"license": "MIT",
@@ -17,8 +18,8 @@
1718
"typescript": "^3.5.3"
1819
},
1920
"dependencies": {
20-
"@xethya/random-core": "^0.1.2",
21-
"@xethya/utils": "^0.1.2"
21+
"@xethya/random-core": "*",
22+
"@xethya/utils": "*"
2223
},
2324
"scripts": {
2425
"build": "tsc -b && rollup -c",
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{
2-
"extends": "../../tsconfig.json"
3-
}
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"baseUrl": "./src"
5+
},
6+
"include": ["./src"]
7+
}

0 commit comments

Comments
 (0)