chore: import upstream snapshot with attribution
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env node
|
||||
import { readFileSync } from 'fs';
|
||||
import { execSync } from 'child_process';
|
||||
try {
|
||||
const config = JSON.parse(
|
||||
readFileSync(new URL('../../.rawdocs.local.json', import.meta.url))
|
||||
);
|
||||
execSync(
|
||||
`node ${config.rawDocsPath}/scripts/analyze-changes.mjs ${process.argv
|
||||
.slice(2)
|
||||
.join(' ')}`,
|
||||
{ stdio: 'inherit' }
|
||||
);
|
||||
} catch {
|
||||
console.log(
|
||||
`Error: Run installation with:\ngh api repos/nrwl/raw-docs/contents/install.sh --jq '.content' | base64 -d | bash`
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user