1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/build/set_npm_version.ts
Sebastian Malton 83586dd75a add calls to build-npm and build-extensions to intergration-* targets
- add testing calls to all extensions

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2020-11-03 14:08:23 -05:00

10 lines
369 B
TypeScript

import * as fs from "fs"
import * as path from "path"
import packageInfo from "../src/extensions/npm/extensions/package.json"
import appInfo from "../package.json"
const packagePath = path.join(__dirname, "../src/extensions/npm/extensions/package.json")
packageInfo.version = appInfo.version
fs.writeFileSync(packagePath, JSON.stringify(packageInfo, null, 2) + "\n")