diff --git a/integrations/discord/package.json b/integrations/discord/package.json index 696bb7759..b1cac82b1 100644 --- a/integrations/discord/package.json +++ b/integrations/discord/package.json @@ -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" diff --git a/integrations/formspree/package.json b/integrations/formspree/package.json index f40d4a15e..d4f371da7 100644 --- a/integrations/formspree/package.json +++ b/integrations/formspree/package.json @@ -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" - } -} \ No newline at end of file + "name": "formspree", + "private": true, + "scripts": { + "lint": "eslint ./**/*.ts*", + "typecheck": "tsc --noEmit", + "publish-integrations-staging": "gitbook publish ." + }, + "devDependencies": { + "@gitbook/cli": "*", + "@gitbook/runtime": "*" + } +} diff --git a/integrations/github-files/package.json b/integrations/github-files/package.json index e086f979a..e2eed970c 100644 --- a/integrations/github-files/package.json +++ b/integrations/github-files/package.json @@ -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": { diff --git a/integrations/gitlab-files/package.json b/integrations/gitlab-files/package.json index 47b6494c1..01c6c828b 100644 --- a/integrations/gitlab-files/package.json +++ b/integrations/gitlab-files/package.json @@ -7,7 +7,7 @@ }, "devDependencies": { "@gitbook/cli": "^0.9.0", - "@gitbook/runtime": "latest", + "@gitbook/runtime": "*", "@gitbook/eslint-config": "*", "@gitbook/tsconfig": "*" }, diff --git a/package-lock.json b/package-lock.json index 4ac4d7a49..91058faa8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,8 +56,8 @@ "itty-router": "^4.0.9" }, "devDependencies": { - "@gitbook/cli": "^0.9.0", - "@gitbook/runtime": "latest" + "@gitbook/cli": "*", + "@gitbook/runtime": "*" } }, "integrations/discord/node_modules/@gitbook/runtime": { @@ -94,8 +94,8 @@ }, "integrations/formspree": { "devDependencies": { - "@gitbook/cli": "^0.9.0", - "@gitbook/runtime": "latest" + "@gitbook/cli": "*", + "@gitbook/runtime": "*" } }, "integrations/formspree/node_modules/@gitbook/runtime": { @@ -131,10 +131,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": "*" } }, @@ -195,7 +195,7 @@ "devDependencies": { "@gitbook/cli": "^0.9.0", "@gitbook/eslint-config": "*", - "@gitbook/runtime": "latest", + "@gitbook/runtime": "*", "@gitbook/tsconfig": "*" } }, diff --git a/packages/cli/src/init.ts b/packages/cli/src/init.ts index aaaa8482e..b4776aa07 100644 --- a/packages/cli/src/init.ts +++ b/packages/cli/src/init.ts @@ -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': '*', }, };