From 0c358aaa9a65bcb0ef5ac866165dafa37ea006f3 Mon Sep 17 00:00:00 2001 From: tassioFront Date: Sat, 9 Nov 2024 12:13:42 -0300 Subject: [PATCH 1/2] feat: use org name instead --- packages/trycatchfy/README.md | 4 +++- packages/trycatchfy/package.json | 6 ++++-- tsconfig.base.json | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/trycatchfy/README.md b/packages/trycatchfy/README.md index bf2a164..cb1a1d3 100644 --- a/packages/trycatchfy/README.md +++ b/packages/trycatchfy/README.md @@ -2,8 +2,10 @@ Standardize the way you try/catch HTTP request +Are you reading this on `npm`? Check out the [full and updated documentation on GitHub](https://github.com/open-ish/utility/blob/c4edf4815c97bb1f295875cd0d9f2902e28b0dad/packages/trycatchfy/README.md). + ```bash -npm i utility-trycatchfy +npm i @open-ish/trycatchfy ``` ## Motivation diff --git a/packages/trycatchfy/package.json b/packages/trycatchfy/package.json index 3ada925..26b2f9f 100644 --- a/packages/trycatchfy/package.json +++ b/packages/trycatchfy/package.json @@ -1,5 +1,5 @@ { - "name": "utility-trycatchfy", + "name": "@open-ish/trycatchfy", "version": "0.0.0-semantic-release", "type": "commonjs", "repository": { @@ -7,7 +7,9 @@ "url": "https://github.com/open-ish/utility.git", "directory": "packages/trycatchfy" }, + "keywords": ["frontend", "trycatch", "axios", "error handling"], "main": "src/index.js", "types": "src/index.d.ts", - "license": "MIT" + "license": "MIT", + "readme": "https://github.com/open-ish/utility/blob/master/packages/trycatchfy/README.md" } diff --git a/tsconfig.base.json b/tsconfig.base.json index 3cff2d8..46a591b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -25,7 +25,7 @@ "@open-ish/http-front-cache": ["packages/http-front-cache/src/index.ts"], "@open-ish/semantic-release-exec": ["packages/extensions/src/index.ts"], "@open-ish/utility-trycatchfy": ["packages/storagefy/src/index.ts"], - "@utility/trycatchfy": ["packages/trycatchfy/src/index.ts"] + "@open-ish/trycatchfy": ["packages/trycatchfy/src/index.ts"] } }, "exclude": ["node_modules"] From 9ec450cc02e2cc55796b17ace2775e8e5a6e62b5 Mon Sep 17 00:00:00 2001 From: tassioFront Date: Sat, 9 Nov 2024 12:16:37 -0300 Subject: [PATCH 2/2] feat: use org name instead BREAKING CHANGE: just using open-ish prefix instead --- packages/trycatchfy/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/trycatchfy/package.json b/packages/trycatchfy/package.json index 26b2f9f..a7cf172 100644 --- a/packages/trycatchfy/package.json +++ b/packages/trycatchfy/package.json @@ -7,6 +7,7 @@ "url": "https://github.com/open-ish/utility.git", "directory": "packages/trycatchfy" }, + "author": "Open-ish", "keywords": ["frontend", "trycatch", "axios", "error handling"], "main": "src/index.js", "types": "src/index.d.ts",