@krlwlfrt/tsg
Advanced tools
Comparing version 0.10.0 to 1.0.0
@@ -6,3 +6,3 @@ "use strict"; | ||
function generateName(thing) { | ||
if (index_1.isAttribute(thing)) { | ||
if ((0, index_1.isAttribute)(thing)) { | ||
return thing.name; | ||
@@ -31,2 +31,2 @@ } | ||
exports.generatePropertyType = generatePropertyType; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhhbXBsZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZXhhbXBsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBY0EsbUNBQXlFO0FBT3pFLFNBQWdCLFlBQVksQ0FBQyxLQUFnQztJQUMzRCxJQUFJLG1CQUFXLENBQUMsS0FBSyxDQUFDLEVBQUU7UUFDdEIsT0FBTyxLQUFLLENBQUMsSUFBSSxDQUFDO0tBQ25CO0lBRUQsSUFBSSxPQUFPLEtBQUssQ0FBQyxTQUFTLEtBQUssUUFBUSxJQUFJLEtBQUssQ0FBQyxTQUFTLENBQUMsTUFBTSxLQUFLLENBQUMsRUFBRTtRQUN2RSxPQUFPLEtBQUssQ0FBQyxJQUFJLENBQUM7S0FDbkI7SUFFRCxPQUFPLEdBQUcsS0FBSyxDQUFDLFNBQVMsSUFBSSxLQUFLLENBQUMsSUFBSSxFQUFFLENBQUM7QUFDNUMsQ0FBQztBQVZELG9DQVVDO0FBT0QsU0FBZ0Isb0JBQW9CLENBQUMsUUFBa0I7SUFDckQsSUFBSSxJQUFJLEdBQUcsWUFBWSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUV2QyxJQUFJLFFBQVEsQ0FBQyxJQUFJLENBQUMsU0FBUyxLQUFLLEtBQUssRUFBRTtRQUNyQyxJQUFJLEdBQUcsUUFBUSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsV0FBVyxFQUFFLENBQUM7S0FDekM7SUFFRCxJ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QUMsUUFBUSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBRXZDLElBQUksUUFBUSxDQUFDLElBQUksQ0FBQyxTQUFTLEtBQUssS0FBSyxFQUFFO1FBQ3JDLElBQUksR0FBRyxRQUFRLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQztLQUN6QztJQUVELElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxRQUFRLENBQUMsVUFBVSxDQUFDLEVBQUU7UUFDdEMsS0FBSyxNQUFNLFNBQVMsSUFBSSxRQUFRLENBQUMsVUFBVSxFQUFFO1lBQzNDLElBQUksU0FBUyxDQUFDLElBQUksS0FBSyxVQUFVLElBQUksT0FBTyxTQUFTLENBQUMsS0FBSyxLQUFLLFNBQVMsSUFBSSxTQUFTLENBQUMsS0FBSyxFQUFFO2dCQUM1RixJQUFJLElBQUksU0FBUyxDQUFDO2FBQ25CO1NBQ0Y7S0FDRjtJQUVELE9BQU8sSUFBSSxDQUFDO0FBQ2QsQ0FBQztBQWhCRCxvREFnQkMifQ== |
@@ -7,3 +7,3 @@ export interface ThingWithNameAndNamespace { | ||
} | ||
export declare type Type = Entity | Property | Union | Enum; | ||
export type Type = Entity | Property | Union | Enum; | ||
export interface Entity extends ThingWithNameAndNamespace { | ||
@@ -10,0 +10,0 @@ parent?: ThingWithNameAndNamespace; |
{ | ||
"name": "@krlwlfrt/tsg", | ||
"version": "0.10.0", | ||
"version": "1.0.0", | ||
"description": "TypeScript generator", | ||
@@ -16,21 +16,22 @@ "repository": { | ||
"devDependencies": { | ||
"@krlwlfrt/otpc": "0.4.0", | ||
"@testdeck/mocha": "0.1.2", | ||
"@types/mocha": "9.0.0", | ||
"@types/node": "14.17.6", | ||
"@typescript-eslint/eslint-plugin": "4.28.4", | ||
"@typescript-eslint/parser": "4.28.4", | ||
"conventional-changelog-cli": "2.1.1", | ||
"eslint": "7.31.0", | ||
"mocha": "9.0.3", | ||
"@krlwlfrt/otpc": "1.0.0", | ||
"@testdeck/mocha": "0.3.3", | ||
"@types/mocha": "10.0.1", | ||
"@types/node": "18.14.2", | ||
"@typescript-eslint/eslint-plugin": "5.54.0", | ||
"@typescript-eslint/parser": "5.54.0", | ||
"conventional-changelog-cli": "2.2.2", | ||
"eslint": "8.35.0", | ||
"mocha": "10.2.0", | ||
"nyc": "15.1.0", | ||
"rimraf": "3.0.2", | ||
"ts-node": "10.1.0", | ||
"typedoc": "0.21.4", | ||
"typescript": "4.3.5" | ||
"rimraf": "4.1.2", | ||
"ts-node": "10.9.1", | ||
"typedoc": "0.23.26", | ||
"typescript": "4.9.5" | ||
}, | ||
"scripts": { | ||
"build": "npm run lint && npm run compile", | ||
"clean": "rm -rf package-lock.json node_modules", | ||
"compile": "rimraf lib && tsc", | ||
"documentation": "typedoc --out docs --readme README.md --listInvalidSymbolLinks src", | ||
"documentation": "typedoc --out docs --readme README.md src/index.ts", | ||
"lint": "eslint src --ext .ts", | ||
@@ -42,3 +43,3 @@ "prepublishOnly": "npm ci && npm run build && npm test", | ||
}, | ||
"main": "./lib/index.js", | ||
"main": "lib/index.js", | ||
"typings": "./lib/index.d.ts", | ||
@@ -45,0 +46,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
28708
0