Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: linking CLI
version
output with package.json (#6097)
* fix: Importing package.json `version` via script during `changeset version` so that the value doesn't need to be updated separately from release automation. Updating auto-publish values + changeset generation to be more frictionless
- Loading branch information
Showing
9 changed files
with
77 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
"app-builder-lib": patch | ||
"builder-util": patch | ||
"builder-util-runtime": patch | ||
"dmg-builder": patch | ||
"electron-builder": patch | ||
"electron-builder-squirrel-windows": patch | ||
"electron-forge-maker-appimage": patch | ||
"electron-forge-maker-nsis": patch | ||
"electron-forge-maker-nsis-web": patch | ||
"electron-forge-maker-snap": patch | ||
"electron-publish": patch | ||
"electron-updater": patch | ||
--- | ||
|
||
Synchronizing CLI and package.json versions. Updating auto-publish values + changeset generation to be more frictionless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export const PACKAGE_VERSION = "22.11.8" | ||
export const PACKAGE_VERSION = "22.11.10" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const path = require("path") | ||
const version = require(path.join(__dirname, "../packages/app-builder-lib/package.json")).version | ||
|
||
const destFile = path.join(__dirname, '../packages/app-builder-lib/src/version.ts') | ||
|
||
const { writeFileSync } = require("fs") | ||
writeFileSync(destFile, `export const PACKAGE_VERSION = "${version}"`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters