@pantoken/cli 0.1.17 → 0.1.18
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/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -148,8 +148,9 @@ function assertGenerateTarget(args) {
|
|
|
148
148
|
}
|
|
149
149
|
/** Generate Swift token source plus an SPM `Package.swift` manifest stub. */
|
|
150
150
|
async function runSwift(args) {
|
|
151
|
+
const sourcesDir = join(args.out, "Sources", args.className);
|
|
151
152
|
const file = await generateSwift({
|
|
152
|
-
outDir:
|
|
153
|
+
outDir: sourcesDir,
|
|
153
154
|
theme: args.theme,
|
|
154
155
|
className: args.className,
|
|
155
156
|
icons: args.icons
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantoken/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"description": "pantoken generate <target> — emit native design-token source (Swift now; Kotlin/Dart/Drupal to follow).",
|
|
5
5
|
"homepage": "https://pantoken.iywahl.com",
|
|
6
6
|
"bugs": "https://github.com/thedannywahl/pantoken/issues",
|