nirs4all-ui 0.1.2 → 0.1.3
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 +7 -5
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -53,8 +53,10 @@ npm run site:build
|
|
|
53
53
|
`site/src/App.tsx` renders reusable React components separately from the
|
|
54
54
|
runtime and score helper inventories. `site/public/` intentionally carries the
|
|
55
55
|
Pages publication files (`logo.svg`, `favicon.svg`, `robots.txt`,
|
|
56
|
-
`sitemap.xml`,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
`
|
|
60
|
-
project-page path
|
|
56
|
+
`sitemap.xml`, and `site.webmanifest`). The site build also copies the package
|
|
57
|
+
brand kit to namespaced GitHub Pages URLs under `assets/brand/nirs4all-ui/`;
|
|
58
|
+
the npm package keeps the same files available under `assets/brand` through the
|
|
59
|
+
`nirs4all-ui/assets/*` export. The default Pages base is `/nirs4all-ui/` for
|
|
60
|
+
the GitHub project-page path; set
|
|
61
|
+
`NIRS4ALL_UI_BASE=/` and add a `CNAME` only when switching to a dedicated
|
|
62
|
+
subdomain such as `ui.nirs4all.org`.
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nirs4all-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Shared React UI components and pure view-model helpers for nirs4all apps.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "(CECILL-2.1 OR AGPL-3.0-or-later)",
|
|
7
|
+
"homepage": "https://gbeurier.github.io/nirs4all-ui/",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
9
10
|
"url": "git+https://github.com/GBeurier/nirs4all-ui.git"
|
|
@@ -38,8 +39,9 @@
|
|
|
38
39
|
},
|
|
39
40
|
"scripts": {
|
|
40
41
|
"build": "tsc -p tsconfig.build.json",
|
|
41
|
-
"ci": "npm run prepublishOnly && npm run pack:smoke",
|
|
42
|
+
"ci": "npm run prepublishOnly && npm run pack:smoke && npm run smoke:react-consumers",
|
|
42
43
|
"pack:smoke": "npm pack --dry-run",
|
|
44
|
+
"smoke:react-consumers": "node scripts/smoke-react-consumers.mjs",
|
|
43
45
|
"site:build": "vite build --config site/vite.config.ts",
|
|
44
46
|
"site:dev": "vite --config site/vite.config.ts",
|
|
45
47
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|