From 15e4157c944ab3904c87f9bc422f4c751fd088ef Mon Sep 17 00:00:00 2001 From: Griko Nibras Date: Thu, 18 Apr 2024 16:26:50 +0700 Subject: [PATCH] fix: things --- example/package.json | 2 +- package.json | 3 ++- pnpm-lock.yaml | 6 +++--- pnpm-workspace.yaml | 1 + 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/example/package.json b/example/package.json index 63bf11b..a7b5631 100644 --- a/example/package.json +++ b/example/package.json @@ -11,7 +11,7 @@ "dependencies": { "react": "^18.2.0", "react-dom": "^18.2.0", - "use-tailwind-breakpoint": "workspace:*" + "@kodingdotninja/use-tailwind-breakpoint": "workspace:*" }, "devDependencies": { "@types/react": "^18.2.79", diff --git a/package.json b/package.json index 261414b..2fd4343 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "use-tailwind-breakpoint", + "name": "@kodingdotninja/use-tailwind-breakpoint", "description": "Custom hooks to use breakpoints for React 🎐🔨", "version": "1.0.0", "author": "Griko Nibras ", @@ -32,6 +32,7 @@ "scripts": { "build": "tsup", "dev": "tsup --watch src", + "postpublish": "git reset HEAD --hard", "prepack": "node scripts/prepack.js", "prepublishOnly": "pnpm run build", "release": "changeset publish" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7d17cf1..4dd14e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,15 +33,15 @@ importers: example: dependencies: + '@kodingdotninja/use-tailwind-breakpoint': + specifier: workspace:* + version: link:.. react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) - use-tailwind-breakpoint: - specifier: workspace:* - version: link:.. devDependencies: '@types/react': specifier: ^18.2.79 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 4e7d80d..4660e92 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,3 @@ packages: + - ./ - example/