Skip to content

Commit

Permalink
fix: update 'package.json' main file
Browse files Browse the repository at this point in the history
  • Loading branch information
penjj committed Oct 11, 2023
1 parent 90ac907 commit 1cc99e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"codegen",
"generate api"
],
"main": "src/index.ts",
"main": "dist/index.js",
"bin": {
"ts-autoapi": "dist/program.cjs"
},
Expand Down
1 change: 1 addition & 0 deletions src/codegen/writer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { upperFirst } from './name'
import { Apis } from './parse'

export const fixedHeader = `/* eslint-disable */
// ts-nocheck
/**
* This file was auto generated by \`ts-autoapi\`.
Expand Down

0 comments on commit 1cc99e4

Please sign in to comment.