etherpad-lite/bin/plugins/lib
John McLear 0423477966
Fix/plugin workflow templates clean (#7399)
* Revert plugin workflow template changes

Reverts the following commits to replace with a single clean fix:
- e97e203d7 Fix backend-tests find pattern for versioned plugin paths
- 45fe8a310 Fix backend-tests find path for plugin test discovery
- 892c52ba2 Fix plugin backend-tests workflow pnpm 10 symlink error
- 7484d9ea6 Update deprecated GitHub Actions in plugin workflow templates

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Modernize plugin workflow templates for pnpm 10 and new plugin paths

- Bump actions/checkout v3 → v4, cache-apt-pkgs-action v1.4.2 → v1.6.0
- Replace pnpm link --global with pnpm run plugins i --path (fixes
  pnpm 10 "symlink path same as target" error)
- Fix backend test discovery: plugins install to src/plugin_packages/
  via live-plugin-manager, not node_modules/
- Run mocha directly from src/ against node_modules/ep_* symlinks
  so tests resolve correctly

Tested and verified on ep_table_of_contents.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 01:21:17 +01:00
..
backend-tests.yml Fix/plugin workflow templates clean (#7399) 2026-03-31 01:21:17 +01:00
CONTRIBUTING.md cleanup after workspace refactoring (#6174) 2024-02-21 21:50:11 +01:00
dependabot.yml cleanup after workspace refactoring (#6174) 2024-02-21 21:50:11 +01:00
eslintrc.cjs cleanup after workspace refactoring (#6174) 2024-02-21 21:50:11 +01:00
frontend-tests.yml Update deprecated GitHub Actions in plugin workflow templates (#7395) 2026-03-31 00:31:21 +01:00
gitignore cleanup after workspace refactoring (#6174) 2024-02-21 21:50:11 +01:00
LICENSE cleanup after workspace refactoring (#6174) 2024-02-21 21:50:11 +01:00
npmpublish.yml Update deprecated GitHub Actions in plugin workflow templates (#7395) 2026-03-31 00:31:21 +01:00
README.md cleanup after workspace refactoring (#6174) 2024-02-21 21:50:11 +01:00
test-and-release.yml Updated checkPlugin to work again and added updated workflow files. 2024-03-16 23:11:11 +01:00

[plugin_name]

TODO: Describe the plugin.

Example animated gif of usage if appropriate

screenshot

Installation

From the Etherpad working directory, run:

npm install --no-save --legacy-peer-deps [plugin_name]

Or, install from Etherpad's /admin/plugins page.

Configuration

TODO

Testing

To run the backend tests, run the following from the Etherpad working directory:

(cd src && pnpm test)

To run the frontend tests, visit: http://localhost:9001/tests/frontend/

Copyright © [yyyy] [name of copyright owner] and the [plugin_name] authors and contributors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.