conjure-lite
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -51,2 +51,4 @@ import * as path from "node:path"; | ||
switch (type.type) { | ||
case "external": | ||
return this.getTypeForCode(type.external.fallback); | ||
case "list": | ||
@@ -53,0 +55,0 @@ return `Array<${this.getTypeForCode(type.list.itemType)}>`; |
{ | ||
"name": "conjure-lite", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"exports": { | ||
@@ -19,2 +19,7 @@ ".": { | ||
], | ||
"scripts": { | ||
"prepack": "npm run clean && tsc", | ||
"clean": "rm -rf lib tsconfig.tsbuildinfo", | ||
"generateExamples": "npm run prepack && rm -rf examples/widget/src/generated examples/widget/lib examples/widget/tsconfig.tsbuildinfo && ./bin/conjure-lite.mjs generate --ir examples/widget/ir.json --outDir examples/widget/src/generated && tsc --build examples/widget" | ||
}, | ||
"devDependencies": { | ||
@@ -33,7 +38,3 @@ "@types/node": "^20.9.0", | ||
"yargs": "^17.7.2" | ||
}, | ||
"scripts": { | ||
"clean": "rm -rf lib tsconfig.tsbuildinfo", | ||
"generateExamples": "npm run prepack && rm -rf examples/widget/src/generated examples/widget/lib examples/widget/tsconfig.tsbuildinfo && ./bin/conjure-lite.mjs generate --ir examples/widget/ir.json --outDir examples/widget/src/generated && tsc --build examples/widget" | ||
} | ||
} | ||
} |
25387
566