mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore: fixup exports and move prettier/lintstaged to mjs
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -30,6 +30,7 @@ dist-docs
|
|||||||
tsconfig.tsbuildinfo
|
tsconfig.tsbuildinfo
|
||||||
coverage
|
coverage
|
||||||
out
|
out
|
||||||
|
package.tgz
|
||||||
|
|
||||||
# Deno
|
# Deno
|
||||||
deno.lock
|
deno.lock
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = require('../../.lintstagedrc.json');
|
|
||||||
1
apps/website/.lintstagedrc.js
Normal file
1
apps/website/.lintstagedrc.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from '../../.lintstagedrc.json' assert { type: 'json' };
|
||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = require('../../.prettierrc.json');
|
|
||||||
1
apps/website/.prettierrc.js
Normal file
1
apps/website/.prettierrc.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from '../../.prettierrc.json' assert { type: 'json' };
|
||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = require('../../.lintstagedrc.json');
|
|
||||||
1
packages/actions/.lintstagedrc.js
Normal file
1
packages/actions/.lintstagedrc.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from '../../.lintstagedrc.json' assert { type: 'json' };
|
||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = require('../../.prettierrc.json');
|
|
||||||
1
packages/actions/.prettierrc.js
Normal file
1
packages/actions/.prettierrc.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from '../../.prettierrc.json' assert { type: 'json' };
|
||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = require('../../.lintstagedrc.json');
|
|
||||||
1
packages/create-discord-bot/.lintstagedrc.js
Normal file
1
packages/create-discord-bot/.lintstagedrc.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from '../../.lintstagedrc.json' assert { type: 'json' };
|
||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = require('../../.prettierrc.json');
|
|
||||||
1
packages/create-discord-bot/.prettierrc.js
Normal file
1
packages/create-discord-bot/.prettierrc.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from '../../.prettierrc.json' assert { type: 'json' };
|
||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = require('../../.lintstagedrc.json');
|
|
||||||
1
packages/proxy-container/.lintstagedrc.js
Normal file
1
packages/proxy-container/.lintstagedrc.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from '../../.lintstagedrc.json' assert { type: 'json' };
|
||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = require('../../.prettierrc.json');
|
|
||||||
1
packages/proxy-container/.prettierrc.js
Normal file
1
packages/proxy-container/.prettierrc.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from '../../.prettierrc.json' assert { type: 'json' };
|
||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = require('../../.lintstagedrc.json');
|
|
||||||
1
packages/ui/.lintstagedrc.js
Normal file
1
packages/ui/.lintstagedrc.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from '../../.lintstagedrc.json' assert { type: 'json' };
|
||||||
@@ -1 +0,0 @@
|
|||||||
module.exports = require('../../.prettierrc.json');
|
|
||||||
1
packages/ui/.prettierrc.js
Normal file
1
packages/ui/.prettierrc.js
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export * from '../../.prettierrc.json' assert { type: 'json' };
|
||||||
@@ -19,12 +19,12 @@
|
|||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"import": {
|
"import": {
|
||||||
"types": "./dist/index.d.mts",
|
"types": "./dist/index.d.ts",
|
||||||
"default": "./dist/index.mjs"
|
"default": "./dist/index.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|||||||
Reference in New Issue
Block a user