@macolmenerori/component-library 1.3.0 → 1.3.1
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.
- package/README.md +9 -8
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -38,12 +38,12 @@ Import components from the library. You can use the main entry point or subpath
|
|
|
38
38
|
|
|
39
39
|
### Subpath Exports
|
|
40
40
|
|
|
41
|
-
| Import Path
|
|
42
|
-
|
|
|
43
|
-
| `@macolmenerori/component-library`
|
|
44
|
-
| `@macolmenerori/component-library/theme-switch`
|
|
45
|
-
| `@macolmenerori/component-library/monthly-calendar`
|
|
46
|
-
| `@macolmenerori/component-library/markdown-render`
|
|
41
|
+
| Import Path | Components | Dependencies Required |
|
|
42
|
+
| --------------------------------------------------- | --------------- | --------------------------------- |
|
|
43
|
+
| `@macolmenerori/component-library` | All | react, react-markdown, remark-gfm |
|
|
44
|
+
| `@macolmenerori/component-library/theme-switch` | ThemeSwitch | react |
|
|
45
|
+
| `@macolmenerori/component-library/monthly-calendar` | MonthlyCalendar | react |
|
|
46
|
+
| `@macolmenerori/component-library/markdown-render` | MarkdownRender | react, react-markdown, remark-gfm |
|
|
47
47
|
|
|
48
48
|
### Available Components
|
|
49
49
|
|
|
@@ -226,8 +226,9 @@ This will generate multiple entry points:
|
|
|
226
226
|
|
|
227
227
|
To publish a new version:
|
|
228
228
|
|
|
229
|
-
1.
|
|
230
|
-
2.
|
|
229
|
+
1. Bump version with `pnpm release <major | minor | patch>`
|
|
230
|
+
2. Build the library: `pnpm build`
|
|
231
|
+
3. Publish: `pnpm publish`
|
|
231
232
|
|
|
232
233
|
## Technology Stack
|
|
233
234
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@macolmenerori/component-library",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -125,6 +125,7 @@
|
|
|
125
125
|
"types": "tsc --noEmit",
|
|
126
126
|
"verify": "pnpm lint && pnpm prettify && pnpm types && pnpm test && pnpm audit --prod && pnpm build",
|
|
127
127
|
"publish:npm": "pnpm publish --registry https://registry.npmjs.org/ --access public",
|
|
128
|
-
"publish:github": "pnpm publish --registry https://npm.pkg.github.com"
|
|
128
|
+
"publish:github": "pnpm publish --registry https://npm.pkg.github.com",
|
|
129
|
+
"release": "npx tsx scripts/release.ts"
|
|
129
130
|
}
|
|
130
131
|
}
|