Skip to content

Commit 44d89cd

Browse files
committed
fix: correct typo in success message and update script commands to use node
1 parent b003b78 commit 44d89cd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/update-redirects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ Someone must have committed the _redirects after build.`
4747

4848
fs.writeFileSync(redirects, before.replace(VERSION_KEY, latestPublicVersion));
4949
console.log(
50-
`Successfully added direct for /docs/${latestPublicVersion}/* -> /docs/*`
50+
`Successfully added redirect for /docs/${latestPublicVersion}/* -> /docs/*`
5151
);

website/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
"prettier": "yarn format:style",
2727
"lint": "eslint .",
2828
"lint:examples": "eslint-examples-jsx && eslint-examples-tsx && tsc-examples",
29-
"lint:markdown:images": "yarn ../scripts/image-check.ts",
29+
"lint:markdown:images": "node ../scripts/image-check.ts",
3030
"lint:markdown:links": "remark ../docs --quiet -r .remarkrc.withBrokenLinks.mjs",
3131
"language:lint": "cd ../ && alex && case-police 'docs/*.md' -d ./website/react-native-dict.json --disable SDK,URI",
3232
"language:lint:versioned": "cd ../ && alex . && case-police '**/*.md' -d ./website/react-native-dict.json --disable SDK,URI",
3333
"ci:lint": "yarn lint && yarn lint:examples && yarn language:lint:versioned && yarn lint:markdown:images && prettier --check src/**/*.scss",
3434
"pwa:generate": "npx pwa-asset-generator ./static/img/header_logo.svg ./static/img/pwa --padding '40px' --background 'rgb(32, 35, 42)' --icon-only --opaque true",
35-
"generate-llms-txt": "yarn ../scripts/generate-llms-txt.ts",
36-
"update-redirects": "yarn ../scripts/update-redirects.ts"
35+
"generate-llms-txt": "node ../scripts/generate-llms-txt.ts",
36+
"update-redirects": "node ../scripts/update-redirects.ts"
3737
},
3838
"browserslist": {
3939
"production": [

0 commit comments

Comments
 (0)