Skip to content

Commit

Permalink
Fix package versions by changing latest to * (#211)
Browse files Browse the repository at this point in the history
* change latest to *

* update package.lock

* change latest to * in init command
  • Loading branch information
taranvohra authored Aug 11, 2023
1 parent 649f52b commit 7087f1c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions integrations/discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"publish-integrations-staging": "gitbook publish ."
},
"devDependencies": {
"@gitbook/cli": "^0.9.0",
"@gitbook/runtime": "latest"
"@gitbook/cli": "*",
"@gitbook/runtime": "*"
},
"dependencies": {
"itty-router": "^4.0.9"
Expand Down
24 changes: 12 additions & 12 deletions integrations/formspree/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "formspree",
"private": true,
"scripts": {
"lint": "eslint ./**/*.ts*",
"typecheck": "tsc --noEmit",
"publish-integrations-staging": "gitbook publish ."
},
"devDependencies": {
"@gitbook/cli": "^0.9.0",
"@gitbook/runtime": "latest"
}
}
"name": "formspree",
"private": true,
"scripts": {
"lint": "eslint ./**/*.ts*",
"typecheck": "tsc --noEmit",
"publish-integrations-staging": "gitbook publish ."
},
"devDependencies": {
"@gitbook/cli": "*",
"@gitbook/runtime": "*"
}
}
4 changes: 2 additions & 2 deletions integrations/github-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"itty-router": "^3.0.12"
},
"devDependencies": {
"@gitbook/api": "latest",
"@gitbook/api": "*",
"@gitbook/cli": "^0.9.1",
"@gitbook/eslint-config": "*",
"@gitbook/runtime": "latest",
"@gitbook/runtime": "*",
"@gitbook/tsconfig": "*"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion integrations/gitlab-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"devDependencies": {
"@gitbook/cli": "^0.9.0",
"@gitbook/runtime": "latest",
"@gitbook/runtime": "*",
"@gitbook/eslint-config": "*",
"@gitbook/tsconfig": "*"
},
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/cli/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ export async function extendPackageJson(dirPath: string, projectName: string): P
publish: 'gitbook publish .',
},
dependencies: {
'@gitbook/runtime': 'latest',
'@gitbook/runtime': '*',
},
devDependencies: {
[packageJSON.name]: `^${packageJSON.version}`,
'@gitbook/eslint-config': 'latest',
'@gitbook/tsconfig': 'latest',
'@gitbook/eslint-config': '*',
'@gitbook/tsconfig': '*',
},
};

Expand Down

0 comments on commit 7087f1c

Please sign in to comment.