Skip to content
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
7 changes: 0 additions & 7 deletions .changeset/cli-git-url-and-redundant-reporoot.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-multiplayer-adapter.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/new-plugin-multiplayer-repo.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/new-extension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/new-extension/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 7 additions & 0 deletions packages/new-multiplayer-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion packages/new-multiplayer-adapter/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
10 changes: 10 additions & 0 deletions packages/new-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/new-plugin/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 6 additions & 0 deletions packages/new-timeline/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/new-timeline/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down