mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-08 01:51:19 +12:00
chore: fixup exports and move prettier/lintstaged to mjs
This commit is contained in:
parent
1e3aed0d97
commit
2e40a05adf
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -30,6 +30,7 @@ dist-docs
|
|||
tsconfig.tsbuildinfo
|
||||
coverage
|
||||
out
|
||||
package.tgz
|
||||
|
||||
# Deno
|
||||
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": {
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"default": "./dist/index.mjs"
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"module": "./dist/index.mjs",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"sideEffects": false,
|
||||
"directories": {
|
||||
|
|
Loading…
Reference in a new issue