From 246a90a83572c1d5c46aa6ad6b0e35c630cbf29e Mon Sep 17 00:00:00 2001 From: JongHak Seo Date: Sun, 21 Jul 2024 01:25:43 +0900 Subject: [PATCH] docs: update missing rename (#591) --- packages/shared/README.md | 2 +- packages/ui/README.md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/shared/README.md b/packages/shared/README.md index 7805d393a..7d40c22f6 100644 --- a/packages/shared/README.md +++ b/packages/shared/README.md @@ -6,7 +6,7 @@ To use the code in the package, you need to add the following to the package.jso ```json { "dependencies": { - "@chrome-extension-boilerplate/shared": "workspace:*" + "@extension/shared": "workspace:*" } } ``` diff --git a/packages/ui/README.md b/packages/ui/README.md index 7e8771f78..6a63ed55e 100644 --- a/packages/ui/README.md +++ b/packages/ui/README.md @@ -15,7 +15,7 @@ Add the following to the dependencies in `package.json`. ```json { "dependencies": { - "@chrome-extension-boilerplate/ui": "workspace:*" + "@extension/ui": "workspace:*" } } ``` @@ -29,8 +29,8 @@ pnpm install Add the following to the `tailwind.config.js` file. ```js -const baseConfig = require('@chrome-extension-boilerplate/tailwindcss-config'); -const { withUI } = require('@chrome-extension-boilerplate/ui'); +const baseConfig = require('@extension/tailwindcss-config'); +const { withUI } = require('@extension/ui'); /** @type {import('tailwindcss').Config} */ module.exports = withUI({ @@ -42,7 +42,7 @@ module.exports = withUI({ Add the following to the `index.tsx` file. ```tsx -import '@chrome-extension-boilerplate/ui/dist/global.css'; +import '@extension/ui/dist/global.css'; ``` ## Add Component @@ -81,7 +81,7 @@ export function Button({ theme, className, children, ...props }: ButtonProps) { ## Usage ```tsx -import { Button } from '@chrome-extension-boilerplate/ui'; +import { Button } from '@extension/ui'; export default function ToggleButton() { const [theme, setTheme] = useState<'light' | 'dark'>('light');