Skip to content

Commit

Permalink
feat!: update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 9, 2022
1 parent e710503 commit fc7c164
Show file tree
Hide file tree
Showing 3 changed files with 397 additions and 344 deletions.
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,32 @@
},
"dependencies": {
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@rollup/pluginutils": "^4.1.2",
"chalk": "^5.0.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/pluginutils": "^4.2.0",
"chalk": "^5.0.1",
"consola": "^2.15.3",
"defu": "^5.0.1",
"esbuild": "^0.14.14",
"esbuild": "^0.14.25",
"hookable": "^5.1.1",
"jiti": "^1.12.14",
"magic-string": "^0.25.7",
"jiti": "^1.13.0",
"magic-string": "^0.26.1",
"mkdirp": "^1.0.4",
"mkdist": "^0.3.9",
"mlly": "^0.4.1",
"mkdist": "^0.3.10",
"mlly": "^0.4.3",
"mri": "^1.2.0",
"pathe": "^0.2.0",
"pkg-types": "^0.3.2",
"pretty-bytes": "^5.6.0",
"pretty-bytes": "^6.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.66.1",
"rollup-plugin-dts": "^4.1.0",
"rollup": "^2.70.0",
"rollup-plugin-dts": "^4.2.0",
"rollup-plugin-esbuild": "^4.8.2",
"scule": "^0.2.1",
"typescript": "^4.5.5",
"untyped": "^0.3.0"
"typescript": "^4.6.2",
"untyped": "^0.4.0"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "latest",
Expand Down
6 changes: 4 additions & 2 deletions src/builder/untyped.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { writeFile } from 'fs/promises'
import { resolve } from 'pathe'
import { resolveSchema, generateTypes, generateMarkdown } from 'untyped'
// @ts-ignore
import untypedPlugin from 'untyped/loader/babel'
import untypedPlugin from 'untyped/babel-plugin'
import jiti from 'jiti'
import { pascalCase } from 'scule'
import type { BuildContext, UntypedBuildEntry, UntypedOutputs } from '../types'
Expand Down Expand Up @@ -52,7 +52,9 @@ export async function typesBuild (ctx: BuildContext) {
declaration: entry.declaration
? {
fileName: `${entry.name}.d.ts`,
contents: generateTypes(schema, pascalCase(entry.name + '-schema'))
contents: generateTypes(schema, {
interfaceName: pascalCase(entry.name + '-schema')
})
}
: undefined
}
Expand Down
Loading

0 comments on commit fc7c164

Please sign in to comment.