Archived
1
0
Fork 0

fix Config supmiku39->sup39

This commit is contained in:
sup39 2020-05-07 00:26:53 +09:00
parent 23b621734a
commit 456cb9d119
3 changed files with 3 additions and 3 deletions

2
dist/Config.js vendored
View file

@ -11,7 +11,7 @@ exports.configDefault = {
routerName: 'apiRouter', routerName: 'apiRouter',
// TS path // TS path
ServerAPITSPath: '#ServerAPI', ServerAPITSPath: '#ServerAPI',
utilsTSPath: '@supmiku39/api-ts-gen/utils', utilsTSPath: '@sup39/api-ts-gen/utils',
// other // other
outputDir: 'api/generated', outputDir: 'api/generated',
validateStatus: function (status) { return /^2..$/.test(status); }, validateStatus: function (status) { return /^2..$/.test(status); },

View file

@ -29,7 +29,7 @@ export const configDefault: ConfigOptional = {
routerName: 'apiRouter', routerName: 'apiRouter',
// TS path // TS path
ServerAPITSPath: '#ServerAPI', ServerAPITSPath: '#ServerAPI',
utilsTSPath: '@supmiku39/api-ts-gen/utils', utilsTSPath: '@sup39/api-ts-gen/utils',
// other // other
outputDir: 'api/generated', outputDir: 'api/generated',
validateStatus: (status: string) => /^2..$/.test(status), validateStatus: (status: string) => /^2..$/.test(status),

View file

@ -1,6 +1,6 @@
{ {
"name": "@sup39/api-ts-gen", "name": "@sup39/api-ts-gen",
"version": "2.0.2-a", "version": "2.0.2-b",
"description": "OpenAPI code generator for TypeScript", "description": "OpenAPI code generator for TypeScript",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",