Skip to content

Commit

Permalink
version 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stagas committed Aug 1, 2022
1 parent a13add6 commit c33770f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 52 deletions.
12 changes: 8 additions & 4 deletions .pull-configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,25 @@ 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
sort(assign(prev.devDependencies, next.devDependencies))

// never used it - OTR screen acts like review so
// it can be accidentally published anyway. also i dont care
delete prev.private

// deprecated
delete prev.devDependencies['@stagas/documentation-fork']
delete prev.devDependencies['@rollup/plugin-commonjs']
delete prev.devDependencies['@stagas/sucrase-jest-plugin']
delete prev.devDependencies['@web/dev-server-esbuild']
delete prev.devDependencies['@web/dev-server-rollup']
delete prev.devDependencies['@web/test-runner']
delete prev.devDependencies['esbuild']
delete prev.devDependencies['esbuild-register']
delete prev.devDependencies['prettier']
Expand Down
Loading

0 comments on commit c33770f

Please sign in to comment.