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 diff --git a/package.json b/package.json index 5a748aa..45b6ad7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,15 @@ { - "name": "simplelog", + "name": "simplelog-decorator", + "version": "0.1.1", + "license": "MIT", "type": "module", + "author": { + "email": "sheshi.mateo01@gmail.com", + "name": "Mateo Sheshi", + "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", @@ -10,6 +19,15 @@ "typescript": "^5.5.4", "vitest": "^2.0.5" }, + "files": [ + "dist", + "src" + ], + "keywords": [ + "typescript", + "nodejs", + "decorators" + ], "scripts": { "start": "pnpm tsx src/index.ts", "dev": "pnpm tsx watch src/index.ts", 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"