Skip to content

Commit

Permalink
feat: allow module: NodeNext (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Mar 5, 2022
1 parent 5cfec48 commit 9dc6dd6
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 16 deletions.
3 changes: 2 additions & 1 deletion packages/async-queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/async-queue",
Expand Down
3 changes: 2 additions & 1 deletion packages/decorators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/decorators",
Expand Down
3 changes: 2 additions & 1 deletion packages/discord-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/discord-utilities",
Expand Down
3 changes: 2 additions & 1 deletion packages/discord.js-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/discord.js-utilities",
Expand Down
3 changes: 2 additions & 1 deletion packages/embed-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/embed-jsx",
Expand Down
3 changes: 2 additions & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/eslint-config",
Expand Down
3 changes: 2 additions & 1 deletion packages/event-iterator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/event-iterator",
Expand Down
3 changes: 2 additions & 1 deletion packages/fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/fetch",
Expand Down
3 changes: 2 additions & 1 deletion packages/phisherman/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/phisherman",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/prettier-config",
Expand Down
3 changes: 2 additions & 1 deletion packages/ratelimits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/ratelimits",
Expand Down
3 changes: 2 additions & 1 deletion packages/result/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/result",
Expand Down
3 changes: 2 additions & 1 deletion packages/snowflake/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/snowflake",
Expand Down
3 changes: 2 additions & 1 deletion packages/stopwatch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/stopwatch",
Expand Down
3 changes: 2 additions & 1 deletion packages/time-utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/time-utilities",
Expand Down
3 changes: 2 additions & 1 deletion packages/utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"typedocMain": "src/index.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"sideEffects": false,
"homepage": "https://github.com/sapphiredev/utilities/tree/main/packages/utilities",
Expand Down

0 comments on commit 9dc6dd6

Please sign in to comment.