Skip to content

chore(maintenance): remove createLogger and createTracer helpers #1722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Oct 2, 2023
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
4 changes: 2 additions & 2 deletions docs/snippets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docs",
"version": "1.13.1",
"version": "1.14.0",
"description": "A collection code snippets for the Powertools for AWS Lambda (TypeScript) docs",
"author": {
"name": "Amazon Web Services",
Expand Down Expand Up @@ -39,4 +39,4 @@
"axios": "^1.5.0",
"hashi-vault-js": "^0.4.14"
}
}
}
2,070 changes: 821 additions & 1,249 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 0 additions & 12 deletions packages/logger/src/helpers.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/logger/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from './helpers';
export * from './Logger';
export * from './middleware';
export * from './formatter';
Loading