@noobsociety/nsds 0.2.0 → 0.3.0
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/CHANGELOG.md +52 -8
- package/CONTRIBUTING.md +113 -10
- package/README.md +155 -377
- package/dist/components/buttons/Button.d.ts +17 -20
- package/dist/components/cards/FeatureCard.d.ts +15 -17
- package/dist/components/cards/QuestCard.d.ts +12 -15
- package/dist/components/hud/HUDBar.d.ts +15 -16
- package/dist/components/hud/HUDDivider.d.ts +9 -10
- package/dist/components/hud/HUDLabel.d.ts +21 -16
- package/dist/components/icons/RPGIcon.d.ts +25 -38
- package/dist/components/navigation/SectionArrow.d.ts +8 -12
- package/dist/components/react/index.d.ts +17 -0
- package/dist/components/shared/styles.d.ts +47 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -18
- package/dist/index.js +1959 -554
- package/dist/tailwind/preset.d.cts +4 -0
- package/dist/tailwind/preset.d.ts +4 -0
- package/package.json +55 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noobsociety/nsds",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "NoobSociety Design System — Monokai dark tokens, Tailwind preset, and pixel-art React components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|
|
@@ -13,12 +13,23 @@
|
|
|
13
13
|
"author": "NoobSociety",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"scripts": {
|
|
16
|
-
"build": "vite build",
|
|
17
|
-
"
|
|
16
|
+
"build": "vite build && tsc -p tsconfig.build.json && node scripts/prepare-types.mjs",
|
|
17
|
+
"build:storybook": "storybook build --disable-telemetry",
|
|
18
|
+
"changeset": "changeset",
|
|
19
|
+
"changeset:publish": "changeset publish",
|
|
20
|
+
"changeset:version": "changeset version && node scripts/release-changelog.mjs",
|
|
21
|
+
"check": "npm run build && npm run check:package && npm run check:exports && npm run check:install && npm run check:types && npm run check:docs && npm run test:components && npm run test:visual && npm run test:smoke",
|
|
22
|
+
"check:docs": "npm run docs:api && git diff --exit-code docs/reference/api",
|
|
23
|
+
"check:exports": "publint run --pack npm --level warning && attw --pack . --profile node16 --entrypoints . ./react ./tailwind --format table --no-emoji",
|
|
24
|
+
"check:install": "node scripts/check-install.mjs",
|
|
18
25
|
"check:package": "node scripts/check-package.mjs",
|
|
19
26
|
"check:types": "tsc --noEmit",
|
|
27
|
+
"docs:api": "typedoc --options typedoc.json",
|
|
20
28
|
"prepublishOnly": "npm run build",
|
|
29
|
+
"storybook": "storybook dev -p 6006 --disable-telemetry",
|
|
21
30
|
"test": "npm run check",
|
|
31
|
+
"test:components": "vitest run",
|
|
32
|
+
"test:visual": "playwright test",
|
|
22
33
|
"test:smoke": "node scripts/smoke-imports.mjs",
|
|
23
34
|
"release:dry-run": "npm pack --dry-run"
|
|
24
35
|
},
|
|
@@ -51,16 +62,35 @@
|
|
|
51
62
|
],
|
|
52
63
|
"exports": {
|
|
53
64
|
".": {
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
65
|
+
"import": {
|
|
66
|
+
"types": "./dist/index.d.ts",
|
|
67
|
+
"default": "./dist/index.js"
|
|
68
|
+
},
|
|
69
|
+
"require": {
|
|
70
|
+
"types": "./dist/index.d.cts",
|
|
71
|
+
"default": "./dist/index.cjs"
|
|
72
|
+
}
|
|
57
73
|
},
|
|
58
74
|
"./react": {
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
75
|
+
"import": {
|
|
76
|
+
"types": "./dist/index.d.ts",
|
|
77
|
+
"default": "./dist/index.js"
|
|
78
|
+
},
|
|
79
|
+
"require": {
|
|
80
|
+
"types": "./dist/index.d.cts",
|
|
81
|
+
"default": "./dist/index.cjs"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"./tailwind": {
|
|
85
|
+
"import": {
|
|
86
|
+
"types": "./dist/tailwind/preset.d.ts",
|
|
87
|
+
"default": "./dist/tailwind/preset.js"
|
|
88
|
+
},
|
|
89
|
+
"require": {
|
|
90
|
+
"types": "./dist/tailwind/preset.d.cts",
|
|
91
|
+
"default": "./dist/tailwind/preset.js"
|
|
92
|
+
}
|
|
62
93
|
},
|
|
63
|
-
"./tailwind": "./dist/tailwind/preset.js",
|
|
64
94
|
"./styles": "./dist/styles.css",
|
|
65
95
|
"./styles.css": "./dist/styles.css",
|
|
66
96
|
"./tokens/*": "./dist/tokens/*",
|
|
@@ -73,12 +103,25 @@
|
|
|
73
103
|
"react-dom": ">=18.0.0"
|
|
74
104
|
},
|
|
75
105
|
"devDependencies": {
|
|
106
|
+
"@arethetypeswrong/cli": "^0.18.3",
|
|
107
|
+
"@changesets/cli": "^2.31.0",
|
|
108
|
+
"@playwright/test": "^1.61.0",
|
|
109
|
+
"@storybook/addon-docs": "^10.4.6",
|
|
110
|
+
"@storybook/react-vite": "^10.4.6",
|
|
111
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
112
|
+
"@testing-library/react": "^16.3.2",
|
|
76
113
|
"@types/react": "^19.2.17",
|
|
77
|
-
"@vitejs/plugin-react": "^
|
|
114
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
115
|
+
"jsdom": "^29.1.1",
|
|
116
|
+
"publint": "^0.3.21",
|
|
78
117
|
"react": "^19.2.7",
|
|
79
118
|
"react-dom": "^19.2.7",
|
|
119
|
+
"storybook": "^10.4.6",
|
|
80
120
|
"tailwindcss": "^3.0.0",
|
|
121
|
+
"typedoc": "^0.28.19",
|
|
122
|
+
"typedoc-plugin-markdown": "^4.12.0",
|
|
81
123
|
"typescript": "^6.0.3",
|
|
82
|
-
"vite": "^
|
|
124
|
+
"vite": "^8.0.16",
|
|
125
|
+
"vitest": "^4.1.9"
|
|
83
126
|
}
|
|
84
127
|
}
|