Skip to content

Commit

Permalink
chore(maintenance): remove createLogger and createTracer helpers (#…
Browse files Browse the repository at this point in the history
…1722)

* chore(maintenance): bump dependencies & drop nodejs14x (#1687)

* chore: add pre-release script

* chore: restore deps

* chore: added v2 shim

* chore(maintenance): remove logger and tracer helper function

* chore: remove imports

* chore: fix deps & versions

* tests: moved unit tests

* tests: move logger tests

* chore: added v2 shim

* chore: added v2 shim
  • Loading branch information
dreamorosi committed Mar 6, 2024
1 parent dc3f642 commit 67e5e94
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 455 deletions.
8 changes: 7 additions & 1 deletion .github/scripts/release_patch_package_json.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ const betaPackages = [];
let version = originalVersion;
// If the package is an alpha or beta package, update the version number to include a suffix
if (alphaPackages.includes(name)) {
version = `${version}-alpha`;
const iteration = JSON.parse(
readFileSync(resolve('..', '..', 'v2.json'), 'utf8')
).iteration;
version = `${version}-alpha.${iteration}`;
} else if (betaPackages.includes(name)) {
version = `${version}-beta`;
}
Expand All @@ -81,6 +84,9 @@ const betaPackages = [];
types,
files,
type,
scripts: {
postinstall: `echo 'WARNING: This is a pre-release version of Powertools for AWS (TypeScript) provided for evaluation only. Do not use in production.'`,
},
};

// Not all utilities have these fields, so only add them if they exist to avoid
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
"axios": "^1.6.7",
"hashi-vault-js": "^0.4.14"
}
}
}
Loading

0 comments on commit 67e5e94

Please sign in to comment.