vstack-typescript-generator
Advanced tools
Comparing version 0.3.1 to 0.4.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class CSharpType { | ||
@@ -3,0 +4,0 @@ constructor(namespace, name, inherits) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const c_sharp_objects_1 = require("./c-sharp-objects"); | ||
@@ -77,3 +78,3 @@ class CSharpParser { | ||
let propertyMatch; | ||
let propertyRegex = /public\s*([^\s]+)\s*([\w\d]+)\s*{\s*get;\s*set;\s*}/gm; | ||
let propertyRegex = /public\s*([^\s]+)\s*([\w\d]+)\s*{\s*get;\s*(?:(?:private\s*)?set;)?\s*}/gm; | ||
let getNextPropertyMatch = () => propertyMatch = propertyRegex.exec(body); | ||
@@ -80,0 +81,0 @@ while (getNextPropertyMatch() !== null) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=config.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.defaultOptions = { | ||
@@ -3,0 +4,0 @@ dateTimeToDate: false, |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class OutputItem { | ||
@@ -3,0 +4,0 @@ constructor(name, typescript) { |
#! /usr/bin/env node | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const fs = require("fs"); | ||
@@ -4,0 +5,0 @@ const path = require("path"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const pluralize = require("pluralize"); | ||
@@ -3,0 +4,0 @@ const options_1 = require("./options"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const camelcase = require("camelcase"); | ||
@@ -3,0 +4,0 @@ class Utility { |
{ | ||
"name": "vstack-typescript-generator", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "Tool to generate TypeScript interfaces and TypeScript filter classes for Vstack from C# sources.", | ||
@@ -10,8 +10,9 @@ "main": "dist/src/tsgen.js", | ||
"scripts": { | ||
"patch-release": "npm run lint && npm run build && npm test && npm version patch && npm publish && git push --follow-tags", | ||
"minor-release": "npm run lint && npm run build && npm test && npm version minor && npm publish && git push --follow-tags", | ||
"patch-release": "npm test && npm version patch && npm publish && git push --follow-tags", | ||
"minor-release": "npm test && npm version minor && npm publish && git push --follow-tags", | ||
"clean": "rimraf dist & rimraf coverage", | ||
"lint": "tslint \"src/**/*.ts\"", | ||
"build": "yarn run clean & yarn run build:typescript", | ||
"build:typescript": "tsc --project tsconfig.json", | ||
"prebuild": "yarn run clean && yarn run lint", | ||
"build": "tsc --project tsconfig.json", | ||
"pretest": "yarn run build", | ||
"test": "yarn run test:spec && yarn run test:generate && yarn run test:compare", | ||
@@ -21,6 +22,4 @@ "test:spec": "istanbul cover node_modules/jasmine/bin/jasmine.js", | ||
"test:compare": "dircompare -c test-project/generated test-project/test-generated", | ||
"remap-coverage": "yarn run remap-coverage-json & yarn run remap-coverage-html", | ||
"remap-coverage-json": "remap-istanbul -i coverage/coverage.json -o coverage/coverage-remapped.json", | ||
"remap-coverage-html": "remap-istanbul -i coverage/coverage-remapped.json -o coverage/lcov-report-remapped -t html", | ||
"report-coverage": "codecov" | ||
"posttest": "remap-istanbul -i coverage/coverage.json -o coverage -t html", | ||
"report-coverage": "cat ./coverage/lcov.info | codecov" | ||
}, | ||
@@ -44,18 +43,18 @@ "repository": { | ||
"mkdirp": "0.5.1", | ||
"pluralize": "3.1.0" | ||
"pluralize": "4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jasmine": "2.5.41", | ||
"@types/jasmine": "2.5.46", | ||
"@types/mkdirp": "0.3.29", | ||
"@types/node": "7.0.4", | ||
"@types/node": "7.0.8", | ||
"@types/rimraf": "0.0.28", | ||
"codecov": "1.0.1", | ||
"codecov.io": "0.1.6", | ||
"dir-compare": "1.3.0", | ||
"istanbul": "0.4.5", | ||
"jasmine": "2.5.3", | ||
"remap-istanbul": "0.8.4", | ||
"rimraf": "2.5.4", | ||
"tslint": "4.3.1", | ||
"typescript": "2.1.5" | ||
"remap-istanbul": "0.9.1", | ||
"rimraf": "2.6.1", | ||
"tslint": "4.5.1", | ||
"typescript": "2.2.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
598
170853
+ Addedpluralize@4.0.0(transitive)
- Removedpluralize@3.1.0(transitive)
Updatedpluralize@4.0.0