Skip to content

Commit 214bcdb

Browse files
rename update-swift-docc-render to build-swift-docc-render
1 parent ed93485 commit 214bcdb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@
5252
"preLaunchTask": "compile-tests"
5353
},
5454
{
55-
"name": "Update swift-docc-render",
55+
"name": "Build swift-docc-render",
5656
"type": "node",
5757
"request": "launch",
5858
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/tsx",
59-
"runtimeArgs": ["${workspaceFolder}/scripts/update_swift_docc_render.ts"]
59+
"runtimeArgs": ["${workspaceFolder}/scripts/build_swift_docc_render.ts"]
6060
},
6161
{
6262
"name": "Preview Package",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,10 +2047,10 @@
20472047
"compile-documentation-webview": "del-cli ./assets/documentation-webview && esbuild ./src/documentation/webview/webview.ts --bundle --outfile=assets/documentation-webview/index.js --define:process.env.NODE_ENV=\\\"production\\\" --define:process.env.CI=\\\"\\\" --format=cjs --sourcemap",
20482048
"watch-documentation-webview": "npm run compile-documentation-webview -- --watch",
20492049
"lint": "eslint ./ --ext ts && tsc --noEmit && tsc --noEmit -p scripts/tsconfig.json",
2050-
"update-swift-docc-render": "tsx ./scripts/update_swift_docc_render.ts",
2050+
"build-swift-docc-render": "tsx ./scripts/build_swift_docc_render.ts",
20512051
"compile-icons": "tsx ./scripts/compile_icons.ts",
20522052
"format": "prettier --check .",
2053-
"postinstall": "npm run compile-icons && npm run update-swift-docc-render",
2053+
"postinstall": "npm run compile-icons && npm run build-swift-docc-render",
20542054
"pretest": "npm run compile-tests",
20552055
"soundness": "scripts/soundness.sh",
20562056
"check-package-json": "tsx ./scripts/check_package_json.ts",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ main(async () => {
7070
checkNodeVersion();
7171
await rm(outputDirectory, { force: true, recursive: true });
7272
await mkdir(outputDirectory, { recursive: true });
73-
await withTemporaryDirectory("update-swift-docc-render_", async buildDirectory => {
73+
await withTemporaryDirectory("build-swift-docc-render_", async buildDirectory => {
7474
const swiftDocCRenderDirectory = await cloneSwiftDocCRender(buildDirectory);
7575
await exec("npm", ["install"], { cwd: swiftDocCRenderDirectory });
7676
await exec("npx", ["vue-cli-service", "build", "--dest", outputDirectory], {

0 commit comments

Comments
 (0)