@codemonster-ru/ui-utilities 1.0.0 → 2.0.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/README.md +4 -5
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -2,18 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Generated token-backed utility CSS for CodeMonster UI.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
This guide covers version `2.0.0`. See the [2.0 release notes](../../docs/codemonster-ui-2.0-release-notes.md)
|
|
6
|
+
for release status and matching package versions.
|
|
6
7
|
|
|
7
8
|
## Requirements
|
|
8
9
|
|
|
9
10
|
- Node.js `^22.22.3`, `^24.15.0`, or `>=26.0.0` for package tooling.
|
|
10
|
-
- `@codemonster-ru/ui-tokens@^
|
|
11
|
+
- `@codemonster-ru/ui-tokens@^2.0.0` loaded before the generated utilities.
|
|
11
12
|
|
|
12
13
|
## Installation
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
npm install @codemonster-ru/ui-tokens@next @codemonster-ru/ui-utilities@next
|
|
16
|
-
```
|
|
15
|
+
For 2.0, [pack and install the matching Tokens and Utilities archives](../../docs/getting-started.md#install-a-local-20-build).
|
|
17
16
|
|
|
18
17
|
```css
|
|
19
18
|
@import '@codemonster-ru/ui-tokens/tokens.css';
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemonster-ru/ui-utilities",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Generated token-backed utility CSS for CodeMonster UI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": "^22.22.3 || ^24.15.0 || >=26.0.0"
|
|
9
9
|
},
|
|
10
|
-
"homepage": "https://github.com/codemonster-ru/
|
|
10
|
+
"homepage": "https://github.com/codemonster-ru/ui/tree/main/packages/utilities#readme",
|
|
11
11
|
"bugs": {
|
|
12
|
-
"url": "https://github.com/codemonster-ru/
|
|
12
|
+
"url": "https://github.com/codemonster-ru/ui/issues"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/codemonster-ru/
|
|
16
|
+
"url": "git+https://github.com/codemonster-ru/ui.git",
|
|
17
17
|
"directory": "packages/utilities"
|
|
18
18
|
},
|
|
19
19
|
"publishConfig": {
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"build": "node ./scripts/build.mjs",
|
|
33
33
|
"check": "npm run lint && npm run typecheck && npm run test",
|
|
34
34
|
"format": "prettier --ignore-path ../../.prettierignore --write .",
|
|
35
|
+
"format:check": "prettier --ignore-path ../../.prettierignore --check .",
|
|
35
36
|
"lint": "eslint . && stylelint \"src/**/*.css\"",
|
|
36
37
|
"prepack": "npm run build",
|
|
37
38
|
"test": "npm run build && node --test ./__tests__/*.test.mjs",
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
"utilities"
|
|
44
45
|
],
|
|
45
46
|
"dependencies": {
|
|
46
|
-
"@codemonster-ru/ui-tokens": "^
|
|
47
|
+
"@codemonster-ru/ui-tokens": "^2.0.0"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"eslint": "^10.8.0",
|