James M. Greene
542a459c06
Move script-only dependencies to devDependencies ( #19542 )
...
* Move lib/search/sync.js to script/search/sync.js
* Move mdast-util-from-markdown to devDeps
* Move lib/redirects/add-redirect-to-frontmatter.js to script/helpers/
* Move mkdirp to devDeps
* Move linkinator to devDeps
* Move rimraf to devDeps
* Fix script/search/sync.js require paths
* Move lib/search/build-records.js to script/search/
* Move lib/search/find-indexable-pages to script/search/
* Fix require paths for build-records
* Fix require paths for find-indexable-pages
* Move lib/search/algolia-get-remote-index-names.js to script/search/
* Movbe lib/search/algolia-search-index.js to script/search/
* Move lib/search/lunr-search-index.js to script/search/
* Move lib/search/lunr-get-index-names.js to script/search/
* Fix Lunr search index paths
* Move lib/search/validate-records.js to script/search/
* Move is-url to devDeps
* Move lib/search/algolia-client.js to script/search/
* Move lib/search/parse-page-sections-into-records.js to script/search/
* Move lib/search/rank.js to script/search/
* Fix path to cached-index-names.json file
* Normalize require for fs.promises
2021-05-25 20:44:19 +00:00
Kevin Heis
9ba7e6bc34
Update homogenize-frontmatter script to not stop on errors and concurrency yes ( #19480 )
...
* Update homogenize-frontmatter script to not stop on errors and concurrency yes
* Update homogenize-frontmatter.js
* Speed up by avoiding exists check
Node docs: Using fs.exists() to check for the existence of a file before calling fs.open(), fs.readFile() or fs.writeFile() is not recommended. Doing so introduces a race condition, since other processes may change the file's state between the two calls. Instead, user code should open/read/write the file directly and handle the error raised if the file does not exist.
* Update homogenize-frontmatter.js
Co-authored-by: Zeke Sikelianos <zeke@github.com >
2021-05-24 16:27:50 +00:00
Rachael Sewell
ad20a5e23c
crowdin frontmatter cleanup workflow ( #19329 )
2021-05-14 00:10:28 +00:00
James M. Greene
a68d285228
Crowdin remediation process tweaks ( #19252 )
2021-05-13 20:38:43 +00:00
Zeke Sikelianos
918bd8a54f
update frontmatter homogenisation to sweep all translated files ( #19117 )
...
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com >
Co-authored-by: James M. Greene <417751+JamesMGreene@users.noreply.github.com >
2021-05-03 23:26:18 +00:00
Zeke Sikelianos
2c3b74bb6c
create script to homogenise localised frontmatter ( #19014 )
...
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-04-29 18:50:09 +00:00