Skip to content

Commit

Permalink
upgrade to rollup dual esm cjs output build (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuzzlor authored Jan 30, 2024
1 parent 918f745 commit d73de14
Show file tree
Hide file tree
Showing 14 changed files with 1,023 additions and 879 deletions.
19 changes: 19 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'node', 'prettier'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
sourceType: 'module',
},
env: {
node: true,
},
extends: ['@makerx/eslint-config'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/consistent-type-imports': 'error',
},
}
30 changes: 0 additions & 30 deletions .eslintrc.js

This file was deleted.

7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

3 changes: 3 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('@makerx/prettier-config'),
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.organizeImports": true
"source.fixAll.eslint": "explicit",
"source.organizeImports": "explicit"
}
}
8 changes: 0 additions & 8 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,5 @@ const config: Config.InitialOptions = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/**/*.spec.ts'],
transform: {
'<regex_match_files>': [
'ts-jest',
{
tsconfig: 'tsconfig.test.json',
},
],
},
}
export default config
Loading

0 comments on commit d73de14

Please sign in to comment.