Skip to content

Commit f021f13

Browse files
authored
fix: Add repo url to package.json to fix npm publish (#1058)
1 parent f8dbf12 commit f021f13

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

openapi-generator/templates/typescript-fetch/package.mustache

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"prepare": "npm run build",
1212
"test": "jest"
1313
},
14+
"repository": {
15+
"type": "git",
16+
"url": "{{repositoryUrl}}"
17+
},
1418
"devDependencies": {
1519
"@types/jest": "^29.5.5",
1620
"form-data": "^4.0.0",
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
'!include': shared.yaml
1+
"!include": shared.yaml
22
generatorName: typescript-fetch
33
outputDir: clients/typescript
44
npmName: phrase-js
55
npmVersion: 3.16.0
66
typescriptThreePlus: true
77
templateDir: openapi-generator/templates/typescript-fetch
8+
repositoryUrl: https://github.com/phrase/phrase-js

0 commit comments

Comments
 (0)