Skip to content

Commit

Permalink
fix(setup-js): fix typo in bundledDependencies (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jędrzej Ginter authored Jul 14, 2022
1 parent 724f98c commit ff14578
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup-js/get-meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = function run(
return
}

/** @type {import('type-fest').PackageJson} */
const packageJson = JSON.parse(
fs.readFileSync('package.json').toString(),
);
Expand Down Expand Up @@ -44,7 +45,7 @@ module.exports = function run(
...(packageJson.devDependencies ?? {}),
...(packageJson.peerDependencies ?? {}),
...(packageJson.optionalDependencies ?? {}),
...(packageJson.bundlesDependencies ?? {}),
...(packageJson.bundledDependencies ?? {}),
});

const dependenciesHash = crypto.createHash('sha256')
Expand Down
4 changes: 3 additions & 1 deletion setup-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"devDependencies": {
"@actions/core": "1.9.0",
"@actions/github": "5.0.3",
"@types/node": "18.0.3",
"@types/node": "18.0.4",
"npm-check-updates": "15.3.0",
"type-fest": "2.16.0",
"typescript": "4.7.4"
}
}

0 comments on commit ff14578

Please sign in to comment.