@noobsociety/nsds 0.2.0 → 0.2.1
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 +36 -8
- package/CONTRIBUTING.md +89 -10
- package/README.md +128 -377
- package/dist/index.cjs +1 -1
- package/dist/index.js +1964 -567
- package/package.json +12 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,14 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to NSDS are documented here.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
## [0.2.1] - 2026-06-20
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Project README structure for install, usage, package exports, development, release, and license guidance.
|
|
14
|
+
- Changesets configuration and release scripts for version intent and publishing.
|
|
15
|
+
- Storybook configuration and component stories for the public React package surface.
|
|
16
|
+
- Release workflow for Changesets version pull requests and npm publishing.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Contribution guidance now documents SemVer, changelog, release, component documentation, and license expectations.
|
|
21
|
+
- Public documentation now describes only the package source and published package surface.
|
|
22
|
+
|
|
23
|
+
### Removed
|
|
24
|
+
|
|
25
|
+
- Design-source and prototype artifacts from the public repository tree.
|
|
26
|
+
|
|
27
|
+
## [0.2.0] - 2026-06-20
|
|
6
28
|
|
|
7
29
|
### Added
|
|
8
30
|
|
|
9
31
|
- Tailwind preset export for mapping `--ns-*` design tokens into utility classes.
|
|
10
32
|
- HUD token file and HUD React primitives for game-layer UI.
|
|
11
|
-
- RPG icon React component and icon
|
|
12
|
-
- Lab homepage and game HUD reference surfaces for internal design work.
|
|
33
|
+
- RPG icon React component and icon catalog support.
|
|
13
34
|
|
|
14
35
|
### Changed
|
|
15
36
|
|
|
@@ -24,7 +45,7 @@ All notable changes to NSDS are documented here.
|
|
|
24
45
|
- Duplicate compiled component runtime source files.
|
|
25
46
|
- Superseded `ui-kits/` homepage path.
|
|
26
47
|
|
|
27
|
-
## 0.1.2 - 2026-06-18
|
|
48
|
+
## [0.1.2] - 2026-06-18
|
|
28
49
|
|
|
29
50
|
### Added
|
|
30
51
|
|
|
@@ -35,22 +56,29 @@ All notable changes to NSDS are documented here.
|
|
|
35
56
|
- React smoke tests for the public component entry points.
|
|
36
57
|
- TypeScript smoke validation for consumer-facing package imports.
|
|
37
58
|
- Tailwind preset export for token-mapped utility classes.
|
|
38
|
-
- Prioritized README roadmap and
|
|
59
|
+
- Prioritized README roadmap and documentation, changelog, versioning, release, and component documentation workflows.
|
|
39
60
|
|
|
40
61
|
### Changed
|
|
41
62
|
|
|
42
63
|
- Updated README language for the public npm package and repository.
|
|
43
64
|
- Documented the TypeScript and testing roadmap.
|
|
44
65
|
|
|
45
|
-
## 0.1.1 - 2026-06-18
|
|
66
|
+
## [0.1.1] - 2026-06-18
|
|
46
67
|
|
|
47
68
|
### Changed
|
|
48
69
|
|
|
49
70
|
- Published the package as `@noobsociety/nsds`.
|
|
50
71
|
- Updated repository metadata for the public NSDS package.
|
|
51
72
|
|
|
52
|
-
## 0.1.0 - 2026-06-18
|
|
73
|
+
## [0.1.0] - 2026-06-18
|
|
53
74
|
|
|
54
75
|
### Added
|
|
55
76
|
|
|
56
|
-
- Initial NSDS package with tokens, CSS primitives, React components,
|
|
77
|
+
- Initial NSDS package with tokens, CSS primitives, React components, and Tailwind support.
|
|
78
|
+
|
|
79
|
+
[Unreleased]: https://github.com/noobsociety/nsds/compare/v0.2.1...HEAD
|
|
80
|
+
[0.2.1]: https://github.com/noobsociety/nsds/compare/v0.2.0...v0.2.1
|
|
81
|
+
[0.2.0]: https://github.com/noobsociety/nsds/compare/v0.1.2...v0.2.0
|
|
82
|
+
[0.1.2]: https://github.com/noobsociety/nsds/compare/v0.1.1...v0.1.2
|
|
83
|
+
[0.1.1]: https://github.com/noobsociety/nsds/compare/v0.1.0...v0.1.1
|
|
84
|
+
[0.1.0]: https://github.com/noobsociety/nsds/releases/tag/v0.1.0
|
package/CONTRIBUTING.md
CHANGED
|
@@ -1,34 +1,113 @@
|
|
|
1
1
|
# Contributing
|
|
2
2
|
|
|
3
|
-
NSDS is the NoobSociety Design System. Changes should keep the package small, reusable, and
|
|
3
|
+
NSDS is the NoobSociety Design System. Changes should keep the package small, reusable, direct, and Tailwind-first.
|
|
4
4
|
|
|
5
|
-
## Local
|
|
5
|
+
## Local setup
|
|
6
|
+
|
|
7
|
+
Use Node.js 22 or newer.
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
10
|
npm install
|
|
9
11
|
npm run check
|
|
10
12
|
```
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
Run Storybook while changing components:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm run storybook
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Change guidelines
|
|
13
21
|
|
|
14
22
|
- Keep package exports stable unless the release is intentionally breaking.
|
|
15
23
|
- Prefer CSS tokens and shared primitives over one-off styles.
|
|
16
24
|
- Keep React components small and framework-light.
|
|
17
|
-
- Add or update
|
|
18
|
-
-
|
|
19
|
-
-
|
|
25
|
+
- Add or update Storybook stories when changing public component behavior or props.
|
|
26
|
+
- Add or update smoke coverage when changing import behavior, package exports, or runtime behavior.
|
|
27
|
+
- Keep third-party code and assets license-compatible with MIT.
|
|
28
|
+
|
|
29
|
+
## Versioning
|
|
30
|
+
|
|
31
|
+
NSDS follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
32
|
+
|
|
33
|
+
- Patch versions are for docs, metadata, dependency compatibility, bug fixes, and non-breaking visual corrections.
|
|
34
|
+
- Minor versions are for new components, tokens, exports, or additive behavior.
|
|
35
|
+
- Major versions are for breaking public API changes, removed exports, incompatible CSS token changes, or required consumer migration.
|
|
36
|
+
|
|
37
|
+
The package is still pre-1.0, but release intent should still be explicit. If a `0.x` minor release contains a breaking package-boundary change, document the migration clearly in the changelog.
|
|
38
|
+
|
|
39
|
+
## Changelog
|
|
40
|
+
|
|
41
|
+
`CHANGELOG.md` follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
20
42
|
|
|
21
|
-
|
|
43
|
+
Use these categories when applicable:
|
|
22
44
|
|
|
23
|
-
|
|
45
|
+
- `Added`
|
|
46
|
+
- `Changed`
|
|
47
|
+
- `Deprecated`
|
|
48
|
+
- `Removed`
|
|
49
|
+
- `Fixed`
|
|
50
|
+
- `Security`
|
|
51
|
+
|
|
52
|
+
Keep user-facing changes in the changelog. Internal maintenance can stay in the pull request when it has no package or contributor impact.
|
|
53
|
+
|
|
54
|
+
Add unreleased package notes under `## [Unreleased]`. During release, `npm run changeset:version` moves those notes into a dated version section and updates the compare links.
|
|
55
|
+
|
|
56
|
+
## Changesets
|
|
57
|
+
|
|
58
|
+
Every package-impacting pull request should include a changeset:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
npm run changeset
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Choose the SemVer bump that matches the public impact. Documentation-only changes may skip a changeset when they do not affect the published package behavior.
|
|
65
|
+
|
|
66
|
+
Maintainers prepare release commits with:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npm run changeset:version
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
This command applies the Changesets version plan and updates `CHANGELOG.md` from the `[Unreleased]` section. Open the result as a release pull request.
|
|
73
|
+
|
|
74
|
+
Publishing is handled by the release workflow after the release pull request is merged to `main`, when `NPM_TOKEN` is configured:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
npm run changeset:publish
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Component documentation
|
|
81
|
+
|
|
82
|
+
Public React components must have Storybook coverage.
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
npm run storybook
|
|
86
|
+
npm run build:storybook
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Stories should show the stable public props, common variants, disabled or edge states when relevant, and realistic token-backed styling. Avoid documenting private implementation details as API.
|
|
90
|
+
|
|
91
|
+
## Release checks
|
|
92
|
+
|
|
93
|
+
Before merging a package-impacting change:
|
|
24
94
|
|
|
25
95
|
```bash
|
|
26
96
|
npm run check
|
|
97
|
+
npm run build:storybook
|
|
27
98
|
npm run release:dry-run
|
|
28
99
|
```
|
|
29
100
|
|
|
30
|
-
|
|
101
|
+
Before publishing manually:
|
|
31
102
|
|
|
32
103
|
```bash
|
|
33
|
-
npm
|
|
104
|
+
npm run check
|
|
105
|
+
npm run release:dry-run
|
|
106
|
+
npm run changeset:publish
|
|
34
107
|
```
|
|
108
|
+
|
|
109
|
+
## License guidance
|
|
110
|
+
|
|
111
|
+
NSDS uses the [MIT License](./LICENSE), selected from [Choose a License](https://choosealicense.com/licenses/mit/).
|
|
112
|
+
|
|
113
|
+
New code, images, fonts, and documentation must be original, owned by NoobSociety, or compatible with MIT redistribution. When adding third-party material, document its source and license in the pull request.
|