@massimo-cassandro/minimo 0.5.1 → 0.5.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.
|
@@ -149,7 +149,7 @@ StyleDictionary.registerFormat({
|
|
|
149
149
|
|
|
150
150
|
const lines = dictionary.allTokens
|
|
151
151
|
.slice()
|
|
152
|
-
.sort((a, b) => a.name.localeCompare(b.name))
|
|
152
|
+
.sort((a, b) => a.name.localeCompare(b.name, 'en', {numeric: true, sensitivity: 'base'}))
|
|
153
153
|
.flatMap((token) => {
|
|
154
154
|
const type = token.$type ?? token.type;
|
|
155
155
|
const orig = token.original?.$value ?? token.original?.value;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
/* eslint-disable no-console */
|
|
2
3
|
|
|
3
4
|
// build-tokens.mjs
|
|
4
5
|
// Entry point: imports modules, runs the build, lints the CSS output, prints the log.
|
|
@@ -106,7 +107,7 @@ if (penpotBuildPath) {
|
|
|
106
107
|
}
|
|
107
108
|
} else {
|
|
108
109
|
console.log(styleText(['yellow'],
|
|
109
|
-
|
|
110
|
+
'[build-tokens] penpot json : (disabled — penpotBuildPath not set)'
|
|
110
111
|
));
|
|
111
112
|
}
|
|
112
113
|
|