From e22a918da039119a92f4a423ff003a985ca60700 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 17:50:23 +0000 Subject: [PATCH] chore(release): version packages --- .changeset/cli-git-url-and-redundant-reporoot.md | 7 ------- .changeset/new-multiplayer-adapter.md | 5 ----- .changeset/new-plugin-multiplayer-repo.md | 5 ----- packages/new-extension/CHANGELOG.md | 6 ++++++ packages/new-extension/package.json | 2 +- packages/new-multiplayer-adapter/CHANGELOG.md | 7 +++++++ packages/new-multiplayer-adapter/package.json | 2 +- packages/new-plugin/CHANGELOG.md | 10 ++++++++++ packages/new-plugin/package.json | 2 +- packages/new-timeline/CHANGELOG.md | 6 ++++++ packages/new-timeline/package.json | 2 +- 11 files changed, 33 insertions(+), 21 deletions(-) delete mode 100644 .changeset/cli-git-url-and-redundant-reporoot.md delete mode 100644 .changeset/new-multiplayer-adapter.md delete mode 100644 .changeset/new-plugin-multiplayer-repo.md create mode 100644 packages/new-multiplayer-adapter/CHANGELOG.md diff --git a/.changeset/cli-git-url-and-redundant-reporoot.md b/.changeset/cli-git-url-and-redundant-reporoot.md deleted file mode 100644 index 11bbde2..0000000 --- a/.changeset/cli-git-url-and-redundant-reporoot.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@jspsych/new-plugin": patch -"@jspsych/new-extension": patch -"@jspsych/new-timeline": patch ---- - -Fix `getGitHttpsUrl` so the `.git` suffix is stripped at any path boundary, not only at the end of the string. Previously, when a repo's `origin` fetch URL ended in `.git`, the suggested README/docs default in stand-alone mode kept `.git` in the middle of the URL (e.g. `https://github.com/user/repo.git/tree/main/...`), producing a broken link. Also resolve the git repo root once per run in `getCwdInfo` instead of spawning `git` an extra time. diff --git a/.changeset/new-multiplayer-adapter.md b/.changeset/new-multiplayer-adapter.md deleted file mode 100644 index efcec49..0000000 --- a/.changeset/new-multiplayer-adapter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jspsych/new-multiplayer-adapter": minor ---- - -Add `@jspsych/new-multiplayer-adapter`, a CLI that scaffolds a new jsPsych multiplayer adapter package. The generated package ships a TypeScript stub implementing the `MultiplayerAdapter` interface plus the standard build/test/docs/example/citation tooling. When run inside the jspsych-multiplayer repository it creates the package under `./packages` and names it under the `@jspsych-multiplayer` npm scope. diff --git a/.changeset/new-plugin-multiplayer-repo.md b/.changeset/new-plugin-multiplayer-repo.md deleted file mode 100644 index f1951aa..0000000 --- a/.changeset/new-plugin-multiplayer-repo.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@jspsych/new-plugin": minor ---- - -Recognize the [jspsych-multiplayer](https://github.com/jspsych/jspsych-multiplayer) repository in addition to jspsych-contrib. Repo detection is now data-driven (a `KNOWN_REPOS` map keyed by the root `package.json` name), so running `npx @jspsych/new-plugin` inside jspsych-multiplayer scaffolds a `@jspsych-multiplayer/plugin-*` package under `./packages`. Behavior inside jspsych-contrib is unchanged. diff --git a/packages/new-extension/CHANGELOG.md b/packages/new-extension/CHANGELOG.md index 5276d5c..0574d8f 100644 --- a/packages/new-extension/CHANGELOG.md +++ b/packages/new-extension/CHANGELOG.md @@ -1,5 +1,11 @@ # @jspsych/new-extension +## 0.2.5 + +### Patch Changes + +- 01719f8: Fix `getGitHttpsUrl` so the `.git` suffix is stripped at any path boundary, not only at the end of the string. Previously, when a repo's `origin` fetch URL ended in `.git`, the suggested README/docs default in stand-alone mode kept `.git` in the middle of the URL (e.g. `https://github.com/user/repo.git/tree/main/...`), producing a broken link. Also resolve the git repo root once per run in `getCwdInfo` instead of spawning `git` an extra time. + ## 0.2.4 ### Patch Changes diff --git a/packages/new-extension/package.json b/packages/new-extension/package.json index 2d79bc8..cfab143 100644 --- a/packages/new-extension/package.json +++ b/packages/new-extension/package.json @@ -1,6 +1,6 @@ { "name": "@jspsych/new-extension", - "version": "0.2.4", + "version": "0.2.5", "description": "CLI tool to create new jsPsych extensions", "type": "module", "bin": "./src/cli.js", diff --git a/packages/new-multiplayer-adapter/CHANGELOG.md b/packages/new-multiplayer-adapter/CHANGELOG.md new file mode 100644 index 0000000..0d2bc32 --- /dev/null +++ b/packages/new-multiplayer-adapter/CHANGELOG.md @@ -0,0 +1,7 @@ +# @jspsych/new-multiplayer-adapter + +## 0.2.0 + +### Minor Changes + +- 8ad71ff: Add `@jspsych/new-multiplayer-adapter`, a CLI that scaffolds a new jsPsych multiplayer adapter package. The generated package ships a TypeScript stub implementing the `MultiplayerAdapter` interface plus the standard build/test/docs/example/citation tooling. When run inside the jspsych-multiplayer repository it creates the package under `./packages` and names it under the `@jspsych-multiplayer` npm scope. diff --git a/packages/new-multiplayer-adapter/package.json b/packages/new-multiplayer-adapter/package.json index 46dc5e1..34c0b8d 100644 --- a/packages/new-multiplayer-adapter/package.json +++ b/packages/new-multiplayer-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@jspsych/new-multiplayer-adapter", - "version": "0.1.0", + "version": "0.2.0", "description": "CLI tool to create new jsPsych multiplayer adapters", "type": "module", "bin": "./src/cli.js", diff --git a/packages/new-plugin/CHANGELOG.md b/packages/new-plugin/CHANGELOG.md index ccea314..f1ff691 100644 --- a/packages/new-plugin/CHANGELOG.md +++ b/packages/new-plugin/CHANGELOG.md @@ -1,5 +1,15 @@ # @jspsych/new-plugin +## 0.4.0 + +### Minor Changes + +- 8ad71ff: Recognize the [jspsych-multiplayer](https://github.com/jspsych/jspsych-multiplayer) repository in addition to jspsych-contrib. Repo detection is now data-driven (a `KNOWN_REPOS` map keyed by the root `package.json` name), so running `npx @jspsych/new-plugin` inside jspsych-multiplayer scaffolds a `@jspsych-multiplayer/plugin-*` package under `./packages`. Behavior inside jspsych-contrib is unchanged. + +### Patch Changes + +- 01719f8: Fix `getGitHttpsUrl` so the `.git` suffix is stripped at any path boundary, not only at the end of the string. Previously, when a repo's `origin` fetch URL ended in `.git`, the suggested README/docs default in stand-alone mode kept `.git` in the middle of the URL (e.g. `https://github.com/user/repo.git/tree/main/...`), producing a broken link. Also resolve the git repo root once per run in `getCwdInfo` instead of spawning `git` an extra time. + ## 0.3.4 ### Patch Changes diff --git a/packages/new-plugin/package.json b/packages/new-plugin/package.json index a59da81..e556158 100644 --- a/packages/new-plugin/package.json +++ b/packages/new-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@jspsych/new-plugin", - "version": "0.3.4", + "version": "0.4.0", "description": "CLI tool to create new jsPsych plugins", "type": "module", "bin": "./src/cli.js", diff --git a/packages/new-timeline/CHANGELOG.md b/packages/new-timeline/CHANGELOG.md index edce787..03cae2c 100644 --- a/packages/new-timeline/CHANGELOG.md +++ b/packages/new-timeline/CHANGELOG.md @@ -1,5 +1,11 @@ # @jspsych-timelines/new-timeline +## 0.3.5 + +### Patch Changes + +- 01719f8: Fix `getGitHttpsUrl` so the `.git` suffix is stripped at any path boundary, not only at the end of the string. Previously, when a repo's `origin` fetch URL ended in `.git`, the suggested README/docs default in stand-alone mode kept `.git` in the middle of the URL (e.g. `https://github.com/user/repo.git/tree/main/...`), producing a broken link. Also resolve the git repo root once per run in `getCwdInfo` instead of spawning `git` an extra time. + ## 0.3.4 ### Patch Changes diff --git a/packages/new-timeline/package.json b/packages/new-timeline/package.json index 28a9b05..e2d5d29 100644 --- a/packages/new-timeline/package.json +++ b/packages/new-timeline/package.json @@ -1,6 +1,6 @@ { "name": "@jspsych/new-timeline", - "version": "0.3.4", + "version": "0.3.5", "description": "CLI tool for creating new jsPsych timelines", "type": "module", "bin": "./src/cli.js",