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
24 changed files with 14 additions and 13 deletions

1
.gitignore vendored
View File

@@ -30,6 +30,7 @@ dist-docs
tsconfig.tsbuildinfo tsconfig.tsbuildinfo
coverage coverage
out out
package.tgz
# Deno # Deno
deno.lock 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": { "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": {