MCPcopy Create free account
hub / github.com/cn-docs/vueuse / run

Function run

scripts/update.ts:6–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import { updateContributors, updateCountBadge, updateFunctionREADME, updateFunctionsMD, updateImport, updateIndexREADME, updatePackageJSON, updatePackageREADME } from './utils'
5
6async function run() {
7 await Promise.all([
8 updateImport(metadata),
9 updatePackageREADME(metadata),
10 updateIndexREADME(metadata),
11 updateFunctionsMD(metadata),
12 updateFunctionREADME(metadata),
13 updatePackageJSON(metadata),
14 updateCountBadge(metadata),
15 process.env.NETLIFY && updateContributors(),
16 ])
17
18 await fs.copyFile('./CONTRIBUTING.md', './packages/contributing.md')
19}
20
21run()

Callers 1

update.tsFile · 0.70

Calls 8

updateImportFunction · 0.90
updatePackageREADMEFunction · 0.90
updateIndexREADMEFunction · 0.90
updateFunctionsMDFunction · 0.90
updateFunctionREADMEFunction · 0.90
updatePackageJSONFunction · 0.90
updateCountBadgeFunction · 0.90
updateContributorsFunction · 0.90

Tested by

no test coverage detected