Skip to content

Commit

Permalink
chore: Cleanup package and make it a native ESM package
Browse files Browse the repository at this point in the history
* Drop unneeded .npmignore (`files` section of package.json overrides it anyways)
* Make package an ESM one (migrate config files to modules)
  * ESLint currently does not support an esm config, so use the json config instead
* Use `bundler` as Typescript resolution as we use rollup anyways

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Jul 25, 2023
1 parent 3dcb3ad commit 498e618
Show file tree
Hide file tree
Showing 9 changed files with 3,652 additions and 7,722 deletions.
5 changes: 0 additions & 5 deletions .eslintrc.js

This file was deleted.

12 changes: 12 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,12 @@
{
"extends": [
"@nextcloud/eslint-config/typescript"
],
"parserOptions": {
"babelOptions": {
"plugins": [
"@babel/plugin-syntax-import-assertions"
]
}
}
}
1 change: 1 addition & 0 deletions .github/dependabot.yml
Expand Up @@ -8,3 +8,4 @@ updates:
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
versioning-strategy: increase
1 change: 0 additions & 1 deletion .npmignore

This file was deleted.

2 changes: 1 addition & 1 deletion jest.config.js
@@ -1,4 +1,4 @@
module.exports = {
export default {
clearMocks: true,
collectCoverageFrom: ['lib/**/*.ts'],
coveragePathIgnorePatterns: ['lib/utils/logger.ts'],
Expand Down

0 comments on commit 498e618

Please sign in to comment.