MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / main

Function main

dev/update-blueprint-dependencies.js:172–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172async function main() {
173 for (let packageFile of PACKAGE_FILES) {
174 let filePath = path.join(__dirname, packageFile);
175 let pkg = JSON.parse(fs.readFileSync(filePath, { encoding: 'utf8' }));
176
177 await updateDependencies(pkg.dependencies);
178 await updateDependencies(pkg.devDependencies);
179
180 let output = `${JSON.stringify(pkg, null, 2)}\n`;
181
182 fs.writeFileSync(filePath, output, { encoding: 'utf8' });
183 }
184}
185
186if (module === require.main) {
187 // ensure promise rejection is a failure

Calls 1

updateDependenciesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…