Skip to content

Commit

Permalink
deprecate: trustedDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stagas committed Jul 31, 2022
1 parent bc52a79 commit bf094a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .pull-configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ const remote = 'https://github.com/stagas/typescript-minimal-template/raw/main/'
const { assign, omit, sort, merge, replace } = pullConfigs(remote, local)

merge('package.json', (prev, next) => {
prev.trustedDependencies ??= []
prev.trustedDependencies = [
...new Set([...prev.trustedDependencies, ...(next.trustedDependencies ?? [])]),
].sort()
// deprecated: now using ~/.trusted-npm-deps per system configuration
delete prev.trustedDependencies

prev.types = next.types
prev.scripts = next.scripts
prev.files = next.files
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"@typescript-eslint/eslint-plugin": "5.30.7",
"@typescript-eslint/parser": "5.30.7",
"bunzee": "^1.0.0",
"dokio": "^0.0.1",
"dokio": "^0.0.2",
"dprint": "0.30.3",
"eslint": "8.20.0",
"eslint-config-html-jsx": "^1.0.0",
Expand Down

0 comments on commit bf094a3

Please sign in to comment.