Skip to content

Commit

Permalink
fix: add caret to package.json dep (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta authored Oct 20, 2023
1 parent eb76200 commit 305d3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/codegen/languages/typescript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default class TSGenerator extends CodeGenerator {
process.env.NODE_ENV === 'test'
? // eslint-disable-next-line unicorn/prefer-module
`file:${path.relative(__dirname, path.dirname(require.resolve('@readme/api-core/package.json')))}`
: corePkg.version,
: `^${corePkg.version}`,
},
tsup: {
dependencyType: 'development',
Expand Down

0 comments on commit 305d3ca

Please sign in to comment.