From 2814adb314ee2fe1af77d26b780291826142479a Mon Sep 17 00:00:00 2001 From: Leo Ribeiro Date: Thu, 15 Feb 2024 16:22:49 -0500 Subject: [PATCH] test patching some packages (#2) * test patching some packages * add changesets --- .changeset/cold-onions-cheer.md | 5 +++++ .changeset/twenty-items-rescue.md | 5 +++++ packages/common/src/greetings.ts | 3 +++ packages/common/src/index.ts | 3 ++- packages/crypto-aws-kms/src/foo.ts | 3 +++ packages/crypto-aws-kms/src/index.ts | 3 ++- 6 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .changeset/cold-onions-cheer.md create mode 100644 .changeset/twenty-items-rescue.md create mode 100644 packages/common/src/greetings.ts create mode 100644 packages/crypto-aws-kms/src/foo.ts diff --git a/.changeset/cold-onions-cheer.md b/.changeset/cold-onions-cheer.md new file mode 100644 index 000000000..28467111d --- /dev/null +++ b/.changeset/cold-onions-cheer.md @@ -0,0 +1,5 @@ +--- +"@leordev-web5/crypto-aws-kms": patch +--- + +Add foo functionality diff --git a/.changeset/twenty-items-rescue.md b/.changeset/twenty-items-rescue.md new file mode 100644 index 000000000..8c87b4fe2 --- /dev/null +++ b/.changeset/twenty-items-rescue.md @@ -0,0 +1,5 @@ +--- +"@leordev-web5/common": patch +--- + +Add greetings functionality diff --git a/packages/common/src/greetings.ts b/packages/common/src/greetings.ts new file mode 100644 index 000000000..dc01f9710 --- /dev/null +++ b/packages/common/src/greetings.ts @@ -0,0 +1,3 @@ +export function greetings(name: string): string { + return `Hello ${name}!`; +} diff --git a/packages/common/src/index.ts b/packages/common/src/index.ts index 9766464cf..38abbd03f 100644 --- a/packages/common/src/index.ts +++ b/packages/common/src/index.ts @@ -6,4 +6,5 @@ export * from './object.js'; export * from './stores.js'; export * from './stream.js'; export * from './stream-node.js'; -export * from './type-utils.js'; \ No newline at end of file +export * from './type-utils.js'; +export * from './greetings.js'; \ No newline at end of file diff --git a/packages/crypto-aws-kms/src/foo.ts b/packages/crypto-aws-kms/src/foo.ts new file mode 100644 index 000000000..16231e2f5 --- /dev/null +++ b/packages/crypto-aws-kms/src/foo.ts @@ -0,0 +1,3 @@ +export function foo(bar: string): string { + return `Foo - Bar: ${bar}!`; +} diff --git a/packages/crypto-aws-kms/src/index.ts b/packages/crypto-aws-kms/src/index.ts index 64e57da03..e950ed7c9 100644 --- a/packages/crypto-aws-kms/src/index.ts +++ b/packages/crypto-aws-kms/src/index.ts @@ -1,3 +1,4 @@ export * from './ecdsa.js'; export * from './key-manager.js'; -export * from './utils.js'; \ No newline at end of file +export * from './utils.js'; +export * from './foo.js'; \ No newline at end of file