chore(bump): updated versions (#1177)
* feat(upgrade): updated up to angular 11 tests are failed * chore(bump): updated versions * chore(bump): updated package * fix(style): delete extra rule * disabled ivy build, added prod config, changed demo serve script * feat(bump): added strict mode, doesn't build in dist, should be resolved * feat(core): added nx * feat(core): updated dependencies list * feat(github actions): check gh actions * feat(gh actions): try gh actions * feat(gh actions): try gh actions * feat(gh actions): try gh actions * feat(gh actions): try gh actions * feat(gh actions): try gh actions * feat(github actions): delete codecov * feat(firebase): try firebase actions * feat(firebase): try firebase actions * feat(firebase): try firebase actions * feat(firebase): try firebase actions * feat(firebase): try firebase actions * feat(strict): added strict mode * feat(github actions): updated yml file * fix(lint): fixed linting errors * fix(lint): fixed linting errors * fix(lint): fixed lint errors * Delete hosting.ZGlzdC9hcHBzL2RlbW8.cache * feat(github actions): added publish action * fix(firebase): test extra folder https Co-authored-by: Mishchenko Dmitriy <ripatrip@gmail.com> Co-authored-by: Dmitriy Shekhovtsov <valorkin@gmail.com>
This commit was merged in pull request #1177.
This commit is contained in:
committed by
GitHub
parent
8171bc831b
commit
be27edbe13
13
scripts/set-version.ts
Normal file
13
scripts/set-version.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { readJson, writeJson } from 'fs-extra';
|
||||
|
||||
const libPackage = './libs/ng2-file-upload/package.json';
|
||||
const mainPackage = './package.json';
|
||||
|
||||
(async () => {
|
||||
const version = await readJson(mainPackage).then(json => json.version);
|
||||
const packageJson = await readJson(libPackage);
|
||||
if (packageJson.version) {
|
||||
packageJson.version = version;
|
||||
}
|
||||
await writeJson(libPackage, packageJson, { spaces: 2 });
|
||||
})();
|
||||
Reference in New Issue
Block a user