@verdaccio/ui-components 5.0.0-next-9.9 → 5.0.0-next-9.11
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/build/components/AppRoute/AppRoute.js +54 -47
- package/build/components/AppRoute/AppRoute.js.map +1 -1
- package/build/components/AppRoute/AppRoute.mjs +54 -47
- package/build/components/AppRoute/AppRoute.mjs.map +1 -1
- package/build/components/Package/styles.d.ts +1 -1
- package/build/components/RawViewer/RawViewer.js +1 -2
- package/build/components/RawViewer/RawViewer.js.map +1 -1
- package/build/components/RawViewer/RawViewer.mjs +2 -3
- package/build/components/RawViewer/RawViewer.mjs.map +1 -1
- package/build/components/Readme/github-markdown.css +291 -311
- package/build/providers/AuthProvider/AuthProvider.js +11 -10
- package/build/providers/AuthProvider/AuthProvider.js.map +1 -1
- package/build/providers/AuthProvider/AuthProvider.mjs +12 -11
- package/build/providers/AuthProvider/AuthProvider.mjs.map +1 -1
- package/build/sections/Security/Login.js +4 -6
- package/build/sections/Security/Login.js.map +1 -1
- package/build/sections/Security/Login.mjs +5 -7
- package/build/sections/Security/Login.mjs.map +1 -1
- package/build/ui-components.css +291 -311
- package/build/utils/url.js +2 -3
- package/build/utils/url.js.map +1 -1
- package/build/utils/url.mjs +2 -3
- package/build/utils/url.mjs.map +1 -1
- package/package.json +16 -16
package/build/utils/url.js
CHANGED
|
@@ -29,11 +29,10 @@ function extractFileName(url) {
|
|
|
29
29
|
return url.substring(url.lastIndexOf("/") + 1);
|
|
30
30
|
}
|
|
31
31
|
function blobToFile(blob, fileName) {
|
|
32
|
-
|
|
32
|
+
return Object.assign(blob, {
|
|
33
33
|
lastModified: Date.now(),
|
|
34
34
|
name: fileName
|
|
35
|
-
};
|
|
36
|
-
return Object.assign(blob, fileProperties);
|
|
35
|
+
});
|
|
37
36
|
}
|
|
38
37
|
function downloadFile(fileStream, fileName) {
|
|
39
38
|
let file;
|
package/build/utils/url.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url.js","names":[],"sources":["../../src/utils/url.ts"],"sourcesContent":["import isEmailValidator from 'validator/lib/isEmail';\nimport isURLValidator from 'validator/lib/isURL';\n\nexport function isURL(url: string): boolean {\n return isURLValidator(url || '', {\n protocols: ['http', 'https', 'git+https', 'git'],\n require_protocol: true,\n require_tld: false,\n });\n}\n\nexport function isEmail(email: string): boolean {\n return isEmailValidator(email || '');\n}\n\nexport function extractFileName(url: string): string {\n return url.substring(url.lastIndexOf('/') + 1);\n}\n\n// Legacy Edge support for file downloads\ninterface NavigatorWithMSSaveBlob extends Navigator {\n msSaveBlob?: (blob: Blob, fileName: string) => boolean;\n}\n\nfunction blobToFile(blob: Blob, fileName: string): File {\n // Create a proper File object by extending the Blob with File properties\n const fileProperties = {\n lastModified: Date.now(),\n name: fileName,\n };\n\n // Use Object.assign to copy properties while maintaining the Blob prototype\n return Object.assign(blob, fileProperties) as File;\n}\n\nexport function downloadFile(fileStream: Blob, fileName: string): void {\n let file: File;\n // File constructor is not supported by Edge\n // https://developer.mozilla.org/en-US/docs/Web/API/File#Browser_compatibility\n const nav = navigator as NavigatorWithMSSaveBlob;\n if (nav.msSaveBlob) {\n // Detect if Edge\n file = blobToFile(new Blob([fileStream], { type: 'application/octet-stream' }), fileName);\n } else {\n file = new File([fileStream], fileName, {\n type: 'application/octet-stream',\n lastModified: Date.now(),\n });\n }\n\n const objectURL = URL.createObjectURL(file);\n const fileLink = document.createElement('a');\n fileLink.href = objectURL;\n fileLink.download = fileName;\n\n // Skip actual download in test environment to avoid JSDOM navigation error\n // Check if we're in a test environment (JSDOM)\n const isTestEnvironment =\n (typeof window !== 'undefined' &&\n window.navigator &&\n window.navigator.userAgent &&\n window.navigator.userAgent.includes('Node.js')) ||\n window.navigator.userAgent.includes('jsdom');\n\n if (!isTestEnvironment) {\n // Without appending to an HTML Element, download dialog does not show up on Firefox\n // https://github.com/verdaccio/ui/issues/119\n document.documentElement.appendChild(fileLink);\n fileLink.click();\n // firefox requires remove the object url\n setTimeout(() => {\n URL.revokeObjectURL(objectURL);\n document.documentElement.removeChild(fileLink);\n }, 150);\n } else {\n // In test environment, just clean up without triggering navigation\n setTimeout(() => {\n URL.revokeObjectURL(objectURL);\n }, 150);\n }\n}\n"],"mappings":";;;;;;;;;;;;AAGA,SAAgB,MAAM,KAAsB;AAC1C,SAAA,GAAA,oBAAA,SAAsB,OAAO,IAAI;EAC/B,WAAW;GAAC;GAAQ;GAAS;GAAa;GAAM;EAChD,kBAAkB;EAClB,aAAa;EACd,CAAC;;AAGJ,SAAgB,QAAQ,OAAwB;AAC9C,SAAA,GAAA,sBAAA,SAAwB,SAAS,GAAG;;AAGtC,SAAgB,gBAAgB,KAAqB;AACnD,QAAO,IAAI,UAAU,IAAI,YAAY,IAAI,GAAG,EAAE;;AAQhD,SAAS,WAAW,MAAY,UAAwB;
|
|
1
|
+
{"version":3,"file":"url.js","names":[],"sources":["../../src/utils/url.ts"],"sourcesContent":["import isEmailValidator from 'validator/lib/isEmail';\nimport isURLValidator from 'validator/lib/isURL';\n\nexport function isURL(url: string): boolean {\n return isURLValidator(url || '', {\n protocols: ['http', 'https', 'git+https', 'git'],\n require_protocol: true,\n require_tld: false,\n });\n}\n\nexport function isEmail(email: string): boolean {\n return isEmailValidator(email || '');\n}\n\nexport function extractFileName(url: string): string {\n return url.substring(url.lastIndexOf('/') + 1);\n}\n\n// Legacy Edge support for file downloads\ninterface NavigatorWithMSSaveBlob extends Navigator {\n msSaveBlob?: (blob: Blob, fileName: string) => boolean;\n}\n\nfunction blobToFile(blob: Blob, fileName: string): File {\n // Create a proper File object by extending the Blob with File properties\n const fileProperties = {\n lastModified: Date.now(),\n name: fileName,\n };\n\n // Use Object.assign to copy properties while maintaining the Blob prototype\n return Object.assign(blob, fileProperties) as File;\n}\n\nexport function downloadFile(fileStream: Blob, fileName: string): void {\n let file: File;\n // File constructor is not supported by Edge\n // https://developer.mozilla.org/en-US/docs/Web/API/File#Browser_compatibility\n const nav = navigator as NavigatorWithMSSaveBlob;\n if (nav.msSaveBlob) {\n // Detect if Edge\n file = blobToFile(new Blob([fileStream], { type: 'application/octet-stream' }), fileName);\n } else {\n file = new File([fileStream], fileName, {\n type: 'application/octet-stream',\n lastModified: Date.now(),\n });\n }\n\n const objectURL = URL.createObjectURL(file);\n const fileLink = document.createElement('a');\n fileLink.href = objectURL;\n fileLink.download = fileName;\n\n // Skip actual download in test environment to avoid JSDOM navigation error\n // Check if we're in a test environment (JSDOM)\n const isTestEnvironment =\n (typeof window !== 'undefined' &&\n window.navigator &&\n window.navigator.userAgent &&\n window.navigator.userAgent.includes('Node.js')) ||\n window.navigator.userAgent.includes('jsdom');\n\n if (!isTestEnvironment) {\n // Without appending to an HTML Element, download dialog does not show up on Firefox\n // https://github.com/verdaccio/ui/issues/119\n document.documentElement.appendChild(fileLink);\n fileLink.click();\n // firefox requires remove the object url\n setTimeout(() => {\n URL.revokeObjectURL(objectURL);\n document.documentElement.removeChild(fileLink);\n }, 150);\n } else {\n // In test environment, just clean up without triggering navigation\n setTimeout(() => {\n URL.revokeObjectURL(objectURL);\n }, 150);\n }\n}\n"],"mappings":";;;;;;;;;;;;AAGA,SAAgB,MAAM,KAAsB;AAC1C,SAAA,GAAA,oBAAA,SAAsB,OAAO,IAAI;EAC/B,WAAW;GAAC;GAAQ;GAAS;GAAa;GAAM;EAChD,kBAAkB;EAClB,aAAa;EACd,CAAC;;AAGJ,SAAgB,QAAQ,OAAwB;AAC9C,SAAA,GAAA,sBAAA,SAAwB,SAAS,GAAG;;AAGtC,SAAgB,gBAAgB,KAAqB;AACnD,QAAO,IAAI,UAAU,IAAI,YAAY,IAAI,GAAG,EAAE;;AAQhD,SAAS,WAAW,MAAY,UAAwB;AAQtD,QAAO,OAAO,OAAO,MANE;EACrB,cAAc,KAAK,KAAK;EACxB,MAAM;EACP,CAGyC;;AAG5C,SAAgB,aAAa,YAAkB,UAAwB;CACrE,IAAI;AAIJ,KADY,UACJ,WAEN,QAAO,WAAW,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,MAAM,4BAA4B,CAAC,EAAE,SAAS;KAEzF,QAAO,IAAI,KAAK,CAAC,WAAW,EAAE,UAAU;EACtC,MAAM;EACN,cAAc,KAAK,KAAK;EACzB,CAAC;CAGJ,MAAM,YAAY,IAAI,gBAAgB,KAAK;CAC3C,MAAM,WAAW,SAAS,cAAc,IAAI;AAC5C,UAAS,OAAO;AAChB,UAAS,WAAW;AAWpB,KAAI,EAND,OAAO,WAAW,eACjB,OAAO,aACP,OAAO,UAAU,aACjB,OAAO,UAAU,UAAU,SAAS,UAAU,IAChD,OAAO,UAAU,UAAU,SAAS,QAAQ,GAEtB;AAGtB,WAAS,gBAAgB,YAAY,SAAS;AAC9C,WAAS,OAAO;AAEhB,mBAAiB;AACf,OAAI,gBAAgB,UAAU;AAC9B,YAAS,gBAAgB,YAAY,SAAS;KAC7C,IAAI;OAGP,kBAAiB;AACf,MAAI,gBAAgB,UAAU;IAC7B,IAAI"}
|
package/build/utils/url.mjs
CHANGED
|
@@ -27,11 +27,10 @@ function extractFileName(url) {
|
|
|
27
27
|
return url.substring(url.lastIndexOf("/") + 1);
|
|
28
28
|
}
|
|
29
29
|
function blobToFile(blob, fileName) {
|
|
30
|
-
|
|
30
|
+
return Object.assign(blob, {
|
|
31
31
|
lastModified: Date.now(),
|
|
32
32
|
name: fileName
|
|
33
|
-
};
|
|
34
|
-
return Object.assign(blob, fileProperties);
|
|
33
|
+
});
|
|
35
34
|
}
|
|
36
35
|
function downloadFile(fileStream, fileName) {
|
|
37
36
|
let file;
|
package/build/utils/url.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url.mjs","names":[],"sources":["../../src/utils/url.ts"],"sourcesContent":["import isEmailValidator from 'validator/lib/isEmail';\nimport isURLValidator from 'validator/lib/isURL';\n\nexport function isURL(url: string): boolean {\n return isURLValidator(url || '', {\n protocols: ['http', 'https', 'git+https', 'git'],\n require_protocol: true,\n require_tld: false,\n });\n}\n\nexport function isEmail(email: string): boolean {\n return isEmailValidator(email || '');\n}\n\nexport function extractFileName(url: string): string {\n return url.substring(url.lastIndexOf('/') + 1);\n}\n\n// Legacy Edge support for file downloads\ninterface NavigatorWithMSSaveBlob extends Navigator {\n msSaveBlob?: (blob: Blob, fileName: string) => boolean;\n}\n\nfunction blobToFile(blob: Blob, fileName: string): File {\n // Create a proper File object by extending the Blob with File properties\n const fileProperties = {\n lastModified: Date.now(),\n name: fileName,\n };\n\n // Use Object.assign to copy properties while maintaining the Blob prototype\n return Object.assign(blob, fileProperties) as File;\n}\n\nexport function downloadFile(fileStream: Blob, fileName: string): void {\n let file: File;\n // File constructor is not supported by Edge\n // https://developer.mozilla.org/en-US/docs/Web/API/File#Browser_compatibility\n const nav = navigator as NavigatorWithMSSaveBlob;\n if (nav.msSaveBlob) {\n // Detect if Edge\n file = blobToFile(new Blob([fileStream], { type: 'application/octet-stream' }), fileName);\n } else {\n file = new File([fileStream], fileName, {\n type: 'application/octet-stream',\n lastModified: Date.now(),\n });\n }\n\n const objectURL = URL.createObjectURL(file);\n const fileLink = document.createElement('a');\n fileLink.href = objectURL;\n fileLink.download = fileName;\n\n // Skip actual download in test environment to avoid JSDOM navigation error\n // Check if we're in a test environment (JSDOM)\n const isTestEnvironment =\n (typeof window !== 'undefined' &&\n window.navigator &&\n window.navigator.userAgent &&\n window.navigator.userAgent.includes('Node.js')) ||\n window.navigator.userAgent.includes('jsdom');\n\n if (!isTestEnvironment) {\n // Without appending to an HTML Element, download dialog does not show up on Firefox\n // https://github.com/verdaccio/ui/issues/119\n document.documentElement.appendChild(fileLink);\n fileLink.click();\n // firefox requires remove the object url\n setTimeout(() => {\n URL.revokeObjectURL(objectURL);\n document.documentElement.removeChild(fileLink);\n }, 150);\n } else {\n // In test environment, just clean up without triggering navigation\n setTimeout(() => {\n URL.revokeObjectURL(objectURL);\n }, 150);\n }\n}\n"],"mappings":";;;;;;;;;;AAGA,SAAgB,MAAM,KAAsB;AAC1C,QAAO,eAAe,OAAO,IAAI;EAC/B,WAAW;GAAC;GAAQ;GAAS;GAAa;GAAM;EAChD,kBAAkB;EAClB,aAAa;EACd,CAAC;;AAGJ,SAAgB,QAAQ,OAAwB;AAC9C,QAAO,iBAAiB,SAAS,GAAG;;AAGtC,SAAgB,gBAAgB,KAAqB;AACnD,QAAO,IAAI,UAAU,IAAI,YAAY,IAAI,GAAG,EAAE;;AAQhD,SAAS,WAAW,MAAY,UAAwB;
|
|
1
|
+
{"version":3,"file":"url.mjs","names":[],"sources":["../../src/utils/url.ts"],"sourcesContent":["import isEmailValidator from 'validator/lib/isEmail';\nimport isURLValidator from 'validator/lib/isURL';\n\nexport function isURL(url: string): boolean {\n return isURLValidator(url || '', {\n protocols: ['http', 'https', 'git+https', 'git'],\n require_protocol: true,\n require_tld: false,\n });\n}\n\nexport function isEmail(email: string): boolean {\n return isEmailValidator(email || '');\n}\n\nexport function extractFileName(url: string): string {\n return url.substring(url.lastIndexOf('/') + 1);\n}\n\n// Legacy Edge support for file downloads\ninterface NavigatorWithMSSaveBlob extends Navigator {\n msSaveBlob?: (blob: Blob, fileName: string) => boolean;\n}\n\nfunction blobToFile(blob: Blob, fileName: string): File {\n // Create a proper File object by extending the Blob with File properties\n const fileProperties = {\n lastModified: Date.now(),\n name: fileName,\n };\n\n // Use Object.assign to copy properties while maintaining the Blob prototype\n return Object.assign(blob, fileProperties) as File;\n}\n\nexport function downloadFile(fileStream: Blob, fileName: string): void {\n let file: File;\n // File constructor is not supported by Edge\n // https://developer.mozilla.org/en-US/docs/Web/API/File#Browser_compatibility\n const nav = navigator as NavigatorWithMSSaveBlob;\n if (nav.msSaveBlob) {\n // Detect if Edge\n file = blobToFile(new Blob([fileStream], { type: 'application/octet-stream' }), fileName);\n } else {\n file = new File([fileStream], fileName, {\n type: 'application/octet-stream',\n lastModified: Date.now(),\n });\n }\n\n const objectURL = URL.createObjectURL(file);\n const fileLink = document.createElement('a');\n fileLink.href = objectURL;\n fileLink.download = fileName;\n\n // Skip actual download in test environment to avoid JSDOM navigation error\n // Check if we're in a test environment (JSDOM)\n const isTestEnvironment =\n (typeof window !== 'undefined' &&\n window.navigator &&\n window.navigator.userAgent &&\n window.navigator.userAgent.includes('Node.js')) ||\n window.navigator.userAgent.includes('jsdom');\n\n if (!isTestEnvironment) {\n // Without appending to an HTML Element, download dialog does not show up on Firefox\n // https://github.com/verdaccio/ui/issues/119\n document.documentElement.appendChild(fileLink);\n fileLink.click();\n // firefox requires remove the object url\n setTimeout(() => {\n URL.revokeObjectURL(objectURL);\n document.documentElement.removeChild(fileLink);\n }, 150);\n } else {\n // In test environment, just clean up without triggering navigation\n setTimeout(() => {\n URL.revokeObjectURL(objectURL);\n }, 150);\n }\n}\n"],"mappings":";;;;;;;;;;AAGA,SAAgB,MAAM,KAAsB;AAC1C,QAAO,eAAe,OAAO,IAAI;EAC/B,WAAW;GAAC;GAAQ;GAAS;GAAa;GAAM;EAChD,kBAAkB;EAClB,aAAa;EACd,CAAC;;AAGJ,SAAgB,QAAQ,OAAwB;AAC9C,QAAO,iBAAiB,SAAS,GAAG;;AAGtC,SAAgB,gBAAgB,KAAqB;AACnD,QAAO,IAAI,UAAU,IAAI,YAAY,IAAI,GAAG,EAAE;;AAQhD,SAAS,WAAW,MAAY,UAAwB;AAQtD,QAAO,OAAO,OAAO,MANE;EACrB,cAAc,KAAK,KAAK;EACxB,MAAM;EACP,CAGyC;;AAG5C,SAAgB,aAAa,YAAkB,UAAwB;CACrE,IAAI;AAIJ,KADY,UACJ,WAEN,QAAO,WAAW,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,MAAM,4BAA4B,CAAC,EAAE,SAAS;KAEzF,QAAO,IAAI,KAAK,CAAC,WAAW,EAAE,UAAU;EACtC,MAAM;EACN,cAAc,KAAK,KAAK;EACzB,CAAC;CAGJ,MAAM,YAAY,IAAI,gBAAgB,KAAK;CAC3C,MAAM,WAAW,SAAS,cAAc,IAAI;AAC5C,UAAS,OAAO;AAChB,UAAS,WAAW;AAWpB,KAAI,EAND,OAAO,WAAW,eACjB,OAAO,aACP,OAAO,UAAU,aACjB,OAAO,UAAU,UAAU,SAAS,UAAU,IAChD,OAAO,UAAU,UAAU,SAAS,QAAQ,GAEtB;AAGtB,WAAS,gBAAgB,YAAY,SAAS;AAC9C,WAAS,OAAO;AAEhB,mBAAiB;AACf,OAAI,gBAAgB,UAAU;AAC9B,YAAS,gBAAgB,YAAY,SAAS;KAC7C,IAAI;OAGP,kBAAiB;AACf,MAAI,gBAAgB,UAAU;IAC7B,IAAI"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/ui-components",
|
|
3
|
-
"version": "5.0.0-next-9.
|
|
3
|
+
"version": "5.0.0-next-9.11",
|
|
4
4
|
"description": "Verdaccio UI Components",
|
|
5
5
|
"author": "Juan Picado <juanpicado19@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@emotion/react": "11.14.0",
|
|
26
26
|
"@emotion/styled": "11.14.1",
|
|
27
27
|
"@hookform/resolvers": "5.2.2",
|
|
28
|
-
"@microlink/react-json-view": "1.31.
|
|
28
|
+
"@microlink/react-json-view": "1.31.16",
|
|
29
29
|
"@mui/icons-material": "7.3.9",
|
|
30
30
|
"@mui/material": "7.3.9",
|
|
31
31
|
"@mui/system": "7.3.9",
|
|
@@ -33,25 +33,25 @@
|
|
|
33
33
|
"country-flag-icons": "1.6.15",
|
|
34
34
|
"dayjs": "1.11.20",
|
|
35
35
|
"debug": "4.4.3",
|
|
36
|
-
"dompurify": "3.
|
|
36
|
+
"dompurify": "3.4.0",
|
|
37
37
|
"highlight.js": "11.11.1",
|
|
38
|
-
"i18next": "25.
|
|
38
|
+
"i18next": "25.10.10",
|
|
39
39
|
"js-base64": "3.7.8",
|
|
40
40
|
"localstorage-memory": "1.0.3",
|
|
41
|
-
"lodash-es": "4.
|
|
42
|
-
"marked": "17.0.
|
|
41
|
+
"lodash-es": "4.18.1",
|
|
42
|
+
"marked": "17.0.5",
|
|
43
43
|
"marked-highlight": "2.2.3",
|
|
44
44
|
"normalize.css": "8.0.1",
|
|
45
45
|
"react": "19.2.4",
|
|
46
46
|
"react-dom": "19.2.4",
|
|
47
|
-
"react-hook-form": "7.
|
|
48
|
-
"react-i18next": "16.
|
|
47
|
+
"react-hook-form": "7.72.1",
|
|
48
|
+
"react-i18next": "16.6.6",
|
|
49
49
|
"react-markdown": "10.1.0",
|
|
50
|
-
"react-router": "7.
|
|
50
|
+
"react-router": "7.14.0",
|
|
51
51
|
"react-virtualized": "9.22.6",
|
|
52
52
|
"semver": "7.7.4",
|
|
53
53
|
"swr": "2.4.1",
|
|
54
|
-
"validator": "13.15.
|
|
54
|
+
"validator": "13.15.35",
|
|
55
55
|
"yup": "1.7.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
@@ -63,17 +63,16 @@
|
|
|
63
63
|
"@testing-library/react": "16.3.2",
|
|
64
64
|
"@types/lodash-es": "4.17.12",
|
|
65
65
|
"@types/node": "24.10.13",
|
|
66
|
-
"@verdaccio/types": "14.0.0-next-9.
|
|
66
|
+
"@verdaccio/types": "14.0.0-next-9.6",
|
|
67
67
|
"@vitejs/plugin-react": "6.0.1",
|
|
68
|
-
"
|
|
69
|
-
"eslint-plugin-verdaccio": "10.0.0",
|
|
68
|
+
"generate-github-markdown-css": "6.6.0",
|
|
70
69
|
"jsdom": "28.1.0",
|
|
71
70
|
"mockdate": "3.0.5",
|
|
72
71
|
"msw": "2.12.10",
|
|
73
72
|
"msw-storybook-addon": "2.0.6",
|
|
74
73
|
"mutationobserver-shim": "0.3.7",
|
|
75
74
|
"storybook": "10.2.17",
|
|
76
|
-
"vite": "
|
|
75
|
+
"vite": "8.0.5",
|
|
77
76
|
"vitest": "4.1.0",
|
|
78
77
|
"whatwg-fetch": "3.6.20"
|
|
79
78
|
},
|
|
@@ -87,8 +86,9 @@
|
|
|
87
86
|
"clean": "rimraf ./build",
|
|
88
87
|
"type-check": "tsc --noEmit -p tsconfig.build.json",
|
|
89
88
|
"watch": "vite build --watch",
|
|
90
|
-
"build": "vite build",
|
|
89
|
+
"build": "node tools/generate-github-markdown.mjs && vite build",
|
|
91
90
|
"start": "cross-env BROWSER=none storybook dev -p 6006",
|
|
92
|
-
"build-storybook": "storybook build"
|
|
91
|
+
"build-storybook": "storybook build",
|
|
92
|
+
"generate:github-markdown-css": "node tools/generate-github-markdown.mjs"
|
|
93
93
|
}
|
|
94
94
|
}
|