chore: fixup exports and move prettier/lintstaged to mjs

This commit is contained in:
iCrawl 2023-08-22 01:58:54 +02:00
parent 1e3aed0d97
commit 2e40a05adf
No known key found for this signature in database
GPG key ID: 1AB888B16355FBB2
24 changed files with 14 additions and 13 deletions

1
.gitignore vendored
View file

@ -30,6 +30,7 @@ dist-docs
tsconfig.tsbuildinfo
coverage
out
package.tgz
# Deno
deno.lock

View file

@ -1 +0,0 @@
module.exports = require('../../.lintstagedrc.json');

View file

@ -0,0 +1 @@
export * from '../../.lintstagedrc.json' assert { type: 'json' };

View file

@ -1 +0,0 @@
module.exports = require('../../.prettierrc.json');

View file

@ -0,0 +1 @@
export * from '../../.prettierrc.json' assert { type: 'json' };

View file

@ -1 +0,0 @@
module.exports = require('../../.lintstagedrc.json');

View file

@ -0,0 +1 @@
export * from '../../.lintstagedrc.json' assert { type: 'json' };

View file

@ -1 +0,0 @@
module.exports = require('../../.prettierrc.json');

View file

@ -0,0 +1 @@
export * from '../../.prettierrc.json' assert { type: 'json' };

View file

@ -1 +0,0 @@
module.exports = require('../../.lintstagedrc.json');

View file

@ -0,0 +1 @@
export * from '../../.lintstagedrc.json' assert { type: 'json' };

View file

@ -1 +0,0 @@
module.exports = require('../../.prettierrc.json');

View file

@ -0,0 +1 @@
export * from '../../.prettierrc.json' assert { type: 'json' };

View file

@ -1 +0,0 @@
module.exports = require('../../.lintstagedrc.json');

View file

@ -0,0 +1 @@
export * from '../../.lintstagedrc.json' assert { type: 'json' };

View file

@ -1 +0,0 @@
module.exports = require('../../.prettierrc.json');

View file

@ -0,0 +1 @@
export * from '../../.prettierrc.json' assert { type: 'json' };

View file

@ -1 +0,0 @@
module.exports = require('../../.lintstagedrc.json');

View file

@ -0,0 +1 @@
export * from '../../.lintstagedrc.json' assert { type: 'json' };

View file

@ -1 +0,0 @@
module.exports = require('../../.prettierrc.json');

View file

@ -0,0 +1 @@
export * from '../../.prettierrc.json' assert { type: 'json' };

View file

@ -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": {