@julseb-lib/react 0.0.71 → 0.0.72
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.
|
@@ -6,7 +6,7 @@ import type { ILibHelmet } from "./types"
|
|
|
6
6
|
/**
|
|
7
7
|
* @description Returns a Helmet component
|
|
8
8
|
* @link https://documentation-components-react.vercel.app/components/helmet
|
|
9
|
-
* @extends HelmetProps => imported from react-helmet
|
|
9
|
+
* @extends HelmetProps => imported from react-helmet
|
|
10
10
|
* @prop title: string
|
|
11
11
|
* @prop favicon?: string
|
|
12
12
|
* @prop description?: string
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/*=============================================== Helmet types ===============================================*/
|
|
2
2
|
|
|
3
|
-
import type { HelmetProps } from "react-helmet-async"
|
|
3
|
+
// import type { HelmetProps } from "react-helmet-async"
|
|
4
|
+
import type { HelmetProps } from "react-helmet"
|
|
4
5
|
import type { ReactChildren } from "../../types"
|
|
5
6
|
|
|
6
7
|
export interface ILibHelmet extends HelmetProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@julseb-lib/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.72",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"copy-lib": "cp -a ./src/lib ./dist && rm -rf ./dist/lib/components/*/__tests__ ./dist/lib/components/*/__preview__",
|
|
12
12
|
"clean": "rm -rf ./dist/icons ./dist/images ./dist/vite.svg ./dist/favicon.svg ./dist/icons-alt",
|
|
13
13
|
"plop": "cross-env NODE_OPTIONS='--import tsx' plop --plopfile=./plop/plopfile.ts",
|
|
14
|
-
"build": "",
|
|
14
|
+
"build": "vite build && yarn copy && yarn copy-lib && yarn clean",
|
|
15
15
|
"plop:c": "yarn plop component",
|
|
16
16
|
"plop:p": "yarn plop preview",
|
|
17
17
|
"plop:st": "yarn plop subtype",
|