conjure-lite
Advanced tools
Comparing version 0.0.6 to 0.1.0
@@ -57,2 +57,4 @@ import * as path from "node:path"; | ||
return `${this.getTypeForCode(type.optional.itemType)} | undefined`; | ||
case "map": | ||
return `Map<${this.getTypeForCode(type.map.keyType)}, ${this.getTypeForCode(type.map.valueType)}>`; | ||
case "primitive": | ||
@@ -59,0 +61,0 @@ switch (type.primitive) { |
{ | ||
"name": "conjure-lite", | ||
"version": "0.0.6", | ||
"version": "0.1.0", | ||
"exports": { | ||
@@ -10,3 +10,5 @@ ".": { | ||
}, | ||
"bin": "./bin/conjure-lite.mjs", | ||
"bin": { | ||
"conjure-lite": "bin/conjure-lite.mjs" | ||
}, | ||
"type": "module", | ||
@@ -18,7 +20,2 @@ "files": [ | ||
], | ||
"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": { | ||
@@ -37,3 +34,7 @@ "@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" | ||
} | ||
} | ||
} |
25250
564