Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force bump, plan fix for release-plan #1624

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .release-plan.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@
"pkgJSONPath": "packages/@glimmer/wire-format/package.json"
}
},
"description": "## Release (2024-09-13)\n\n\n\n#### :bug: Bug Fix\n* `@glimmer-workspace/bin`, `@glimmer-workspace/build-support`\n * [#1622](https://github.com/glimmerjs/glimmer-vm/pull/1622) Add CI step for verifying that unwanted code does not get published ([@NullVoxPopuli](https://github.com/NullVoxPopuli))\n\n#### Committers: 1\n- [@NullVoxPopuli](https://github.com/NullVoxPopuli)\n"
}
"description": ""
}
2 changes: 2 additions & 0 deletions bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@types/tar": "^6.1.10",
"chalk": "^5.2.0",
"execa": "^7.1.1",
"fs-extra": "^11.2.0",
"glob": "^10.2.3",
"globby": "^14.0.2",
"js-yaml": "^4.1.0",
Expand All @@ -21,6 +22,7 @@
"tar": "^6.2.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"eslint": "^8.54.0",
"esno": "^0.16.3"
},
Expand Down
24 changes: 23 additions & 1 deletion bin/patch-all.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { readFile, writeFile } from 'node:fs/promises';
import { existsSync } from 'node:fs';
import fsExtra from 'fs-extra';
const { readJSONSync, writeJSONSync } = fsExtra;

let file;

Expand All @@ -13,12 +15,32 @@ for (let [pkgName, existing] of Object.entries(file.solution)) {
let [major, minor, patch] = existing.oldVersion.split('.');
let newVersion = `${major}.${minor}.${Number(patch) + 1}`;

let pkgJSONPath = `packages/${pkgName}/package.json`;
file.solution[pkgName] = {
...existing,
newVersion,
impact: 'patch',
pkgJSONPath: `packages/${pkgName}/package.json`,
pkgJSONPath,
};
}

await writeFile('.release-plan.json', JSON.stringify(file, null, 2));

// copied from release-plan
// This is temporary just fix the VM release, since it's a bit pressing.
// Loneger term fix for this is happening
// https://github.com/embroider-build/release-plan/pull/79
/**
* @param {any} solution
*/
function updateVersions(solution) {
for (const entry of Object.values(solution)) {
if (entry.impact) {
const pkg = readJSONSync(entry.pkgJSONPath);
pkg.version = entry.newVersion;
writeJSONSync(entry.pkgJSONPath, pkg, { spaces: 2 });
}
}
}

updateVersions(file.solution);
2 changes: 1 addition & 1 deletion packages/@glimmer/compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/compiler",
"version": "0.92.3",
"version": "0.92.4",
"license": "MIT",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/compiler",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/debug/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/debug",
"version": "0.92.3",
"version": "0.92.4",
"license": "MIT",
"description": "Utilities for helping make working in the vm easier. these should be inlined and stripped for ember usage.",
"sideEffects": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/destroyable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/destroyable",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"description": "Utilities for creating and managing a destroyable hierarchy of objects",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/destroyable",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/encoder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/encoder",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/encoder",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/global-context/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/global-context",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/global-context",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/interfaces/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/interfaces",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/interfaces",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/manager",
"version": "0.92.3",
"version": "0.92.4",
"license": "MIT",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/program",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/node",
"version": "0.92.3",
"version": "0.92.4",
"license": "MIT",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/node",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/opcode-compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/opcode-compiler",
"version": "0.92.3",
"version": "0.92.4",
"license": "MIT",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/opcode-compiler",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/owner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/owner",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"description": "Implementation for the owner in Glimmer apps",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/owner",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/program/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/program",
"version": "0.92.3",
"version": "0.92.4",
"license": "MIT",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/program",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/reference/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/reference",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"description": "Objects used to track values and their dirtiness in Glimmer",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/runtime",
"version": "0.92.3",
"version": "0.92.4",
"license": "MIT",
"description": "Minimal runtime needed to render Glimmer templates",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/runtime",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/syntax/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/syntax",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/syntax",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/util/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/util",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"description": "Common utilities used in Glimmer",
"repository": "https://github.com/tildeio/glimmer/tree/main/packages/@glimmer/util",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/validator",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"description": "Objects used to track values and their dirtiness in Glimmer",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/vm-babel-plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/vm-babel-plugins",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"description": "Compiles out VM assertion and deprecation utilities and debug tooling based on environment",
"repository": "https://github.com/glimmerjs/glimmer.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/vm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/vm",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/vm",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/wire-format/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@glimmer/wire-format",
"version": "0.92.2",
"version": "0.92.3",
"license": "MIT",
"description": "",
"repository": "https://github.com/glimmerjs/glimmer-vm/tree/main/packages/@glimmer/wire-format",
Expand Down
17 changes: 10 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading