Skip to content

Commit

Permalink
project: Remove usage and dependency tslib.
Browse files Browse the repository at this point in the history
It was only used with the spread operator in the tests files,
so it's fine to embed the lib code instead of depending on tslib
as a peer dependency.
  • Loading branch information
microbit-carlos committed Feb 28, 2024
1 parent 41f19d8 commit 4955609
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
4 changes: 0 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@
"lint:fix": "npm run lint -- --fix",
"docs": "typedoc --options config/typedoc.json"
},
"peerDependencies": {
"tslib": ">=2.0.0"
},
"dependencies": {},
"peerDependencies": {},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/polyfill": "^7.12.1",
Expand All @@ -69,7 +67,6 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"shx": "^0.3.4",
"ts-jest": "^29.1.2",
"tslib": "^2.6.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
Expand All @@ -78,4 +75,4 @@
"typedoc-neo-theme": "^1.1.1",
"typescript": "^4.9.5"
}
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"outDir": "dist/esm5",
"resolveJsonModule": true,
"useUnknownInCatchVariables": false,
"importHelpers": true
"importHelpers": false
},
"include": [
"./src"
Expand Down

0 comments on commit 4955609

Please sign in to comment.