Skip to content

Commit

Permalink
refactor: remove obsolete path from config objects, adjust package or…
Browse files Browse the repository at this point in the history
…der and ts config
  • Loading branch information
ehrdi committed Aug 6, 2024
1 parent 9d3b3c8 commit 12ce8ae
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ node_modules/
dist/
.DS_Store
coverage/
_old
**/infrastructure/
**/*.env.local
**/*.pem
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export default [
'node_modules/**',
'dist/**',
'*-demo/**',
'src/_old/**',
'coverage/**',
'build/**',
],
Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,23 @@
"test:coverage": "vitest run --coverage",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0"
},
"repository": {
"type": "git",
"url": "https://github.com/PAYONE-GmbH/PCP-client-javascript-SDK.git"
},
"keywords": [
"payone",
"client",
"typescript",
"javascript",
"sdk"
],
"author": "",
"license": "MIT",
"author": "PAYONE-GmbH",
"homepage": "https://github.com/PAYONE-GmbH/PCP-client-javascript-SDK",
"repository": {
"type": "git",
"url": "https://github.com/PAYONE-GmbH/PCP-client-javascript-SDK.git"
},
"dependencies": {
"@types/applepayjs": "14.0.8"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
Expand All @@ -59,8 +63,5 @@
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true
},
"dependencies": {
"@types/applepayjs": "14.0.8"
}
}
7 changes: 5 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
"declaration": true,
"outDir": "./dist",
"strict": true,
"moduleResolution": "NodeNext"
"moduleResolution": "NodeNext",
"sourceMap": true,
"allowJs": false,
"forceConsistentCasingInFileNames": true
},
"include": ["src"],
"exclude": ["node_modules", "**/__tests__/*", "src/_old"]
"exclude": ["node_modules", "dist", "**/__tests__/*"]
}
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
test: {
coverage: {
include: ['src'],
exclude: ['src/interfaces', 'src/_old', '**/*index.ts'],
exclude: ['src/interfaces', '**/*index.ts'],
reporter: ['text', 'lcov'],
},
environment: 'jsdom',
Expand Down

0 comments on commit 12ce8ae

Please sign in to comment.