@anywayseo/tools 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +69 -62
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,62 +1,69 @@
1
- # Shared UI Components & Modules for Anywayseo projects
2
-
3
- A modular UI component library designed for Anywayseo blog sites, offering reusable React components and utilities to enhance development speed and consistency.
4
-
5
- ## Installation
6
-
7
- ```bash
8
- npm install @anywayseo/tools
9
- # or
10
- yarn add @anywayseo/tools
11
- ```
12
-
13
- ### Peer Dependencies
14
-
15
- This package requires the following peer dependencies:
16
-
17
- - "@chakra-ui/icons": "^2.0.0",
18
- - "@chakra-ui/react": "^2.0.0",
19
- - "@emotion/react": "^11.0.0",
20
- - "@emotion/styled": "^11.0.0",
21
- - "@mdx-js/react": "^2.0.0",
22
- - "framer-motion": "^12.0.6",
23
- - "gatsby": "^5.0.0",
24
- - "gatsby-plugin-image": "^3.0.0",
25
- - "i18next": "^24.0.0",
26
- - "react": "^18.3.1",
27
- - "react-dom": "^18.3.1",
28
- - "react-i18next": "^15.0.0"
29
-
30
- ## Usage
31
-
32
- Importing Components
33
-
34
- ```tsx
35
- import type { IAuthor } from '@anywayseo/tools';
36
- import { Author, getCurrentYear } from '@anywayseo/tools';
37
-
38
- const BlogPreview = ({ author }) => (
39
- <div>
40
- <Author author={author} />
41
- {getCurrentYear()}
42
- </div>
43
- );
44
- ```
45
-
46
- ## Available Modules:
47
-
48
- - Components
49
-
50
- - Hooks
51
-
52
- - i18n
53
-
54
- - Providers
55
-
56
- - Types
57
-
58
- - Utilities
59
-
60
- ## License
61
-
62
- MIT License © 2025 Anywayseo
1
+ # Shared UI Components & Modules for Anywayseo projects
2
+
3
+ A modular UI component library designed for Anywayseo blog sites, offering reusable React components and utilities to enhance development speed and consistency.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @anywayseo/tools
9
+ # or
10
+ yarn add @anywayseo/tools
11
+ ```
12
+
13
+ ### Peer Dependencies
14
+
15
+ This package requires the following peer dependencies:
16
+
17
+ - "@chakra-ui/icons": "^2.0.0",
18
+ - "@chakra-ui/react": "^2.0.0",
19
+ - "@emotion/react": "^11.0.0",
20
+ - "@emotion/styled": "^11.0.0",
21
+ - "@mdx-js/react": "^2.0.0",
22
+ - "framer-motion": "^12.0.6",
23
+ - "gatsby": "^5.0.0",
24
+ - "i18next": "^24.0.0",
25
+ - "react": "^18.3.1",
26
+ - "react-dom": "^18.3.1",
27
+ - "react-i18next": "^15.0.0"
28
+
29
+ ## Usage
30
+
31
+ ### Local Dev using Stand
32
+
33
+ ```bash
34
+ npm start
35
+ # or
36
+ yarn start
37
+ ```
38
+
39
+ ### Importing Components
40
+
41
+ ```tsx
42
+ import type { IAuthor } from '@anywayseo/tools';
43
+ import { Author, getCurrentYear } from '@anywayseo/tools';
44
+
45
+ const BlogPreview = ({ author }) => (
46
+ <div>
47
+ <Author author={author} />
48
+ {getCurrentYear()}
49
+ </div>
50
+ );
51
+ ```
52
+
53
+ ## Available Modules:
54
+
55
+ - Components
56
+
57
+ - Hooks
58
+
59
+ - i18n
60
+
61
+ - Providers
62
+
63
+ - Types
64
+
65
+ - Utilities
66
+
67
+ ## License
68
+
69
+ MIT License © 2025 Anywayseo
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@anywayseo/tools",
3
3
  "description": "Shared UI Components and Modules",
4
- "version": "2.0.0",
4
+ "version": "2.1.0",
5
5
  "keywords": [
6
6
  "react",
7
7
  "ui",
@@ -64,7 +64,7 @@
64
64
  }
65
65
  },
66
66
  "scripts": {
67
- "start": "npm pack",
67
+ "start": "npm run start --prefix stand",
68
68
  "build": "tsc -b && vite build",
69
69
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
70
70
  "prepack": "npm run build",