@pol-cova/gessi 0.0.1 → 0.0.2

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/dist/gessi.js ADDED
@@ -0,0 +1,14 @@
1
+ import "./components.js";
2
+
3
+ if (
4
+ typeof document !== "undefined"
5
+ && !document.querySelector(
6
+ '[data-gessi-styles], link[rel="stylesheet"][href*="gessi.css"]',
7
+ )
8
+ ) {
9
+ const stylesheet = document.createElement("link");
10
+ stylesheet.rel = "stylesheet";
11
+ stylesheet.href = new URL("./gessi.css", import.meta.url).href;
12
+ stylesheet.dataset.gessiStyles = "";
13
+ document.head.append(stylesheet);
14
+ }
package/package.json CHANGED
@@ -1,28 +1,55 @@
1
1
  {
2
2
  "name": "@pol-cova/gessi",
3
- "version": "0.0.1",
4
- "description": "A tiny style kit for expressive HTML.",
3
+ "version": "0.0.2",
4
+ "description": "CSS and Web Components for expressive HTML and retro desktop interfaces.",
5
5
  "type": "module",
6
6
  "style": "dist/gessi.css",
7
+ "exports": {
8
+ ".": "./dist/gessi.css",
9
+ "./css": "./dist/gessi.css",
10
+ "./components": "./dist/components.js",
11
+ "./components.js": "./dist/components.js",
12
+ "./dist/components.js": "./dist/components.js",
13
+ "./gessi.js": "./dist/gessi.js",
14
+ "./dist/gessi.js": "./dist/gessi.js",
15
+ "./dist/gessi.css": "./dist/gessi.css"
16
+ },
7
17
  "files": [
8
18
  "dist",
9
19
  "src",
20
+ "AGENTS.md",
10
21
  "README.md",
11
- "LICENSE"
22
+ "LICENSE",
23
+ "CONTRIBUTING.md",
24
+ "CODE_OF_CONDUCT.md",
25
+ "SECURITY.md"
12
26
  ],
13
27
  "scripts": {
14
- "build": "cp src/gessi.css dist/gessi.css",
28
+ "build": "cp src/gessi.css dist/gessi.css && cp src/components.js dist/components.js && cp src/gessi.js dist/gessi.js && mkdir -p dist/fonts && cp src/fonts/* dist/fonts/",
29
+ "check": "node scripts/verify.mjs",
30
+ "docs:build": "node scripts/build-docs.mjs",
31
+ "pack:check": "npm run build && npm pack --dry-run",
32
+ "preview": "node scripts/preview.mjs",
33
+ "release:patch": "node scripts/release.mjs patch",
34
+ "release:minor": "node scripts/release.mjs minor",
35
+ "release:major": "node scripts/release.mjs major",
15
36
  "prepublishOnly": "npm run build"
16
37
  },
17
38
  "keywords": [
18
39
  "css",
19
40
  "html",
20
- "style-kit",
21
- "stylesheet"
41
+ "web-components",
42
+ "plain-html",
43
+ "zero-dependency",
44
+ "retro-ui",
45
+ "pixel-ui",
46
+ "desktop-ui",
47
+ "os-ui",
48
+ "component-library"
22
49
  ],
23
50
  "author": "Paul Contreras",
24
51
  "license": "MIT",
25
- "homepage": "https://github.com/pol-cova/gessi#readme",
52
+ "homepage": "https://pol-cova.github.io/gessi/",
26
53
  "repository": {
27
54
  "type": "git",
28
55
  "url": "git+https://github.com/pol-cova/gessi.git"