Skip to content

Commit

Permalink
Merge pull request #66 from windingtree/develop
Browse files Browse the repository at this point in the history
Cjs modules fix
  • Loading branch information
kostysh authored Oct 31, 2023
2 parents c76301d + 1e4c08a commit 57d2ab5
Show file tree
Hide file tree
Showing 16 changed files with 48 additions and 48 deletions.
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/contracts-manger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
},
"./users": {
Expand All @@ -30,7 +30,7 @@
},
"require": {
"types": "./dist/users.d.ts",
"default": "./dist/users.cjs.js"
"default": "./dist/users.cjs"
}
},
"./deals": {
Expand All @@ -40,7 +40,7 @@
},
"require": {
"types": "./dist/deals.d.ts",
"default": "./dist/deals.cjs.js"
"default": "./dist/deals.cjs"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/messages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
}
},
Expand Down
10 changes: 5 additions & 5 deletions packages/node-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
},
"./router": {
Expand All @@ -30,7 +30,7 @@
},
"require": {
"types": "./dist/router.d.ts",
"default": "./dist/router.cjs.js"
"default": "./dist/router.cjs"
}
},
"./server": {
Expand All @@ -40,7 +40,7 @@
},
"require": {
"types": "./dist/server.d.ts",
"default": "./dist/server.cjs.js"
"default": "./dist/server.cjs"
}
},
"./client": {
Expand All @@ -50,7 +50,7 @@
},
"require": {
"types": "./dist/client.d.ts",
"default": "./dist/client.cjs.js"
"default": "./dist/client.cjs"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
}
},
Expand Down
8 changes: 4 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"files": [
"dist"
],
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"exports": {
Expand All @@ -19,7 +19,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
},
"./providers": {
Expand All @@ -29,7 +29,7 @@
},
"require": {
"types": "./dist/providers/index.d.ts",
"default": "./dist/providers.cjs.js"
"default": "./dist/providers.cjs"
}
},
"./utils": {
Expand All @@ -39,7 +39,7 @@
},
"require": {
"types": "./dist/utils/index.d.ts",
"default": "./dist/utils.cjs.js"
"default": "./dist/utils.cjs"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
}
},
Expand Down
10 changes: 5 additions & 5 deletions packages/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
},
"./local": {
Expand All @@ -30,7 +30,7 @@
},
"require": {
"types": "./dist/local.d.ts",
"default": "./dist/local.cjs.js"
"default": "./dist/local.cjs"
}
},
"./memory": {
Expand All @@ -40,7 +40,7 @@
},
"require": {
"types": "./dist/memory.d.ts",
"default": "./dist/memory.cjs.js"
"default": "./dist/memory.cjs"
}
},
"./level": {
Expand All @@ -50,7 +50,7 @@
},
"require": {
"types": "./dist/level.d.ts",
"default": "./dist/level.cjs.js"
"default": "./dist/level.cjs"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs.js"
"default": "./dist/index.cjs"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs.js",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
Expand All @@ -20,7 +20,7 @@
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.cjs.js"
"default": "./dist/cjs/index.cjs"
}
}
},
Expand Down
Loading

0 comments on commit 57d2ab5

Please sign in to comment.