Skip to content

Commit d3232a6

Browse files
committed
1 parent f910353 commit d3232a6

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"version": "0.34.1",
23
"author": "Joep Meindertsma",
34
"dependencies": {
45
"@noble/ed25519": "1.6.0",
@@ -38,6 +39,5 @@
3839
"source": "src/index.ts",
3940
"type": "module",
4041
"types": "dist/src/index.d.ts",
41-
"version": "0.34.0",
4242
"gitHead": "2172c73d8df4e5f273e6386676abc91b6c5b2707"
4343
}

react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"version": "0.34.1",
23
"author": "Joep Meindertsma",
34
"description": "Atomic Data React library",
45
"dependencies": {
@@ -33,6 +34,5 @@
3334
"source": "src/index.ts",
3435
"type": "module",
3536
"types": "dist/src/index.d.ts",
36-
"version": "0.34.0",
3737
"gitHead": "2172c73d8df4e5f273e6386676abc91b6c5b2707"
3838
}

react/tsconfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
"compilerOptions": {
44
"composite": true,
55
"outDir": "./dist",
6+
"lib": [
7+
"ES6",
8+
"ES7",
9+
"ESNext",
10+
"DOM"
11+
],
612
"rootDir": ".",
713
"jsx": "react"
814
},

tsconfig.build.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
11
{
22
"compilerOptions": {
3-
// would prefer es2020, but this is needed for jest
4-
"module": "es2020",
5-
// required by jest
3+
"target": "ES5",
4+
"module": "commonjs",
5+
"lib": [
6+
"ES6",
7+
"ES7",
8+
"ESNext"
9+
],
10+
"moduleResolution": "Node",
611
"esModuleInterop": true,
7-
// required by jest
812
"allowSyntheticDefaultImports": true,
9-
"moduleResolution": "node",
10-
"target": "es6",
1113
"jsx": "preserve",
1214
"strictFunctionTypes": true,
1315
"sourceMap": true,
1416
"declaration": true,
1517
// Enables following definitions to source files instead of d.ts files
1618
"declarationMap": true,
17-
// This is a fix for mocha types https://stackoverflow.com/questions/55680391/typescript-error-ts2403-subsequent-variable-declarations-must-have-the-same-typ
18-
"skipLibCheck": true,
19-
// used in monorepo ts projects to set precendence in compiling tsc things https://dev.to/t7yang/typescript-yarn-workspace-monorepo-1pao
19+
// used in monorepo ts projects to set precedence in compiling tsc things https://dev.to/t7yang/typescript-yarn-workspace-monorepo-1pao
2020
"composite": true,
2121
"strictNullChecks": true,
2222
// Todo: enable this
2323
// "noImplicitAny": true
24+
"downlevelIteration": true,
2425
},
2526
"exclude": [
2627
"node_modules",

0 commit comments

Comments
 (0)