MCPcopy Index your code
hub / github.com/angular/angularfire / replacePackageCoreVersion

Function replacePackageCoreVersion

tools/build.ts:265–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263const rootPackage = import(join(process.cwd(), 'package.json'));
264
265async function replacePackageCoreVersion() {
266 const root = await rootPackage;
267 // eslint-disable-next-line @typescript-eslint/no-var-requires
268 const replace = require('replace-in-file');
269 const files = dest('package.json');
270 return replace({
271 files,
272 from: 'ANGULARFIRE2_VERSION',
273 to: root.version
274 });
275}
276
277async function replaceSchematicVersions() {
278 const root = await rootPackage;

Callers 1

buildLibraryFunction · 0.85

Calls 1

destFunction · 0.85

Tested by

no test coverage detected