From 3a578d1010de87b82f01ca7a4d4484a31c55487f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 22:03:09 +0000 Subject: [PATCH 01/10] chore(deps): update dependency node to v22.8.0 --- .tool-versions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tool-versions b/.tool-versions index 5230cd8..b8c6605 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 22.7.0 +nodejs 22.8.0 From 288947acc830c7e5bc784b23223bb36983dda7ac Mon Sep 17 00:00:00 2001 From: devsheva Date: Wed, 4 Sep 2024 14:32:08 +0200 Subject: [PATCH 02/10] chore: add author field --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 5a748aa..2ee9b0b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,11 @@ { "name": "simplelog", "type": "module", + "author": { + "email": "sheshi.mateo01@gmail.com", + "name": "Mateo Sheshi", + "url": "https://github.com/devsheva" + }, "description": "A simple logging library", "devDependencies": { "@vitest/coverage-v8": "^2.0.5", From fcfb358183dd709594d322ec93717f7b12526cc3 Mon Sep 17 00:00:00 2001 From: devsheva Date: Wed, 4 Sep 2024 14:32:54 +0200 Subject: [PATCH 03/10] chore: add main script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 2ee9b0b..612e37a 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "name": "Mateo Sheshi", "url": "https://github.com/devsheva" }, + "main": "dist/logger.js", "description": "A simple logging library", "devDependencies": { "@vitest/coverage-v8": "^2.0.5", From 9ba82135e15c30c068253deb0d0c359f07fcc611 Mon Sep 17 00:00:00 2001 From: devsheva Date: Wed, 4 Sep 2024 14:34:32 +0200 Subject: [PATCH 04/10] chore: add declaration file generation --- package.json | 1 + tsconfig.build.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/package.json b/package.json index 612e37a..f9efbec 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "url": "https://github.com/devsheva" }, "main": "dist/logger.js", + "types": "dist/logger.d.ts", "description": "A simple logging library", "devDependencies": { "@vitest/coverage-v8": "^2.0.5", diff --git a/tsconfig.build.json b/tsconfig.build.json index 82a7a35..3726a41 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,5 +1,8 @@ { "extends": "./tsconfig.json", + "compilerOptions": { + "declaration": true + }, "exclude": [ "spec/**/*.ts", "test/**/*.ts" From 365e49d2a43bad6a09b836f73f63e3dbb3af1e05 Mon Sep 17 00:00:00 2001 From: devsheva Date: Wed, 4 Sep 2024 14:36:20 +0200 Subject: [PATCH 05/10] release: add version and rename to simplelog-decorator the npm --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f9efbec..bc50c14 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { - "name": "simplelog", + "name": "simplelog-decorator", + "version": "0.1.0", "type": "module", "author": { "email": "sheshi.mateo01@gmail.com", From b24d310a6832edefa876ecb781b159dcd6ff0906 Mon Sep 17 00:00:00 2001 From: devsheva Date: Wed, 4 Sep 2024 14:43:37 +0200 Subject: [PATCH 06/10] chore: add MIT license --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index bc50c14..4854c80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "simplelog-decorator", "version": "0.1.0", + "license": "MIT", "type": "module", "author": { "email": "sheshi.mateo01@gmail.com", From 4e3abb5751a9243d82253a081f4a0914c021114c Mon Sep 17 00:00:00 2001 From: devsheva Date: Wed, 4 Sep 2024 17:21:03 +0200 Subject: [PATCH 07/10] chore: add files section --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 4854c80..392f612 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,10 @@ "typescript": "^5.5.4", "vitest": "^2.0.5" }, + "files": [ + "dist", + "src" + ], "scripts": { "start": "pnpm tsx src/index.ts", "dev": "pnpm tsx watch src/index.ts", From fa4d3ca6002fa4eb742d0af746b80f81aeeaf2ee Mon Sep 17 00:00:00 2001 From: devsheva Date: Wed, 4 Sep 2024 17:21:35 +0200 Subject: [PATCH 08/10] chore: add package keywords --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 392f612..3731fd9 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,11 @@ "dist", "src" ], + "keywords": [ + "typescript", + "nodejs", + "decorators" + ], "scripts": { "start": "pnpm tsx src/index.ts", "dev": "pnpm tsx watch src/index.ts", From d6986977006007d7ef489d22880fa74dc80c7f3f Mon Sep 17 00:00:00 2001 From: devsheva Date: Wed, 4 Sep 2024 17:24:20 +0200 Subject: [PATCH 09/10] release: upgrade version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3731fd9..45b6ad7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simplelog-decorator", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "type": "module", "author": { From 81dba283dff09d716d7c78fba880c4db80f2792c Mon Sep 17 00:00:00 2001 From: devsheva Date: Wed, 4 Sep 2024 17:30:00 +0200 Subject: [PATCH 10/10] docs: update changelog --- CHANGELOG.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f19758c..fea5f1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -## [0.1.0] - 2024-09-03 +## [0.1.1] - 2024-09-04 ### ๐Ÿš€ Features @@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file. - Use shields.io for badges - Add instructions on how to temporary type a property added by a decorator +- Bump to 0.1.0 ### ๐Ÿงช Testing @@ -51,5 +52,16 @@ All notable changes to this project will be documented in this file. - Build with specific tsconfig.build - *(ts)* Add js extension for nodenext path resolution - [**breaking**] Switch to tsx to support ts out of the box +- Add author field +- Add main script +- Add declaration file generation +- Add MIT license +- Add files section +- Add package keywords + +### Release + +- Add version and rename to simplelog-decorator the npm +- Upgrade version