Skip to content

Commit

Permalink
do not adjust lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaner committed Aug 26, 2024
1 parent 6fbb46b commit a5a7224
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .pnpmfile.cjs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
module.exports = {
hooks: {
afterAllResolved: async lockfile => {
Object.keys(lockfile.packages)
.filter(pkg => pkg.startsWith('@sap-ai-sdk'))
.forEach(pkg => {
delete lockfile.packages[pkg];
});
// Object.keys(lockfile.packages)
// .filter(pkg => pkg.startsWith('@sap-ai-sdk'))
// .forEach(pkg => {
// delete lockfile.packages[pkg];
// });

Object.keys(lockfile.importers['tests/smoke-tests'].dependencies)
.filter(pkg => pkg.startsWith('@sap-ai-sdk'))
.forEach(pkg => {
delete lockfile.importers['tests/smoke-tests'].dependencies[pkg];
});
// Object.keys(lockfile.importers['tests/smoke-tests'].dependencies)
// .filter(pkg => pkg.startsWith('@sap-ai-sdk'))
// .forEach(pkg => {
// delete lockfile.importers['tests/smoke-tests'].dependencies[pkg];
// });

return lockfile;
}
Expand Down
49 changes: 48 additions & 1 deletion pnpm-lock.yaml

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

0 comments on commit a5a7224

Please sign in to comment.