fix Config supmiku39->sup39
This commit is contained in:
parent
23b621734a
commit
456cb9d119
3 changed files with 3 additions and 3 deletions
2
dist/Config.js
vendored
2
dist/Config.js
vendored
|
@ -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); },
|
||||||
|
|
|
@ -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),
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Reference in a new issue