Fixed documentation to be pnpm run plugins i for plugin installation (#6405)
This commit is contained in:
parent
966b0dc2d1
commit
27dab95113
7 changed files with 4853 additions and 3838 deletions
|
@ -78,7 +78,7 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Install Etherpad plugins
|
name: Install Etherpad plugins
|
||||||
run: >
|
run: >
|
||||||
pnpm run install-plugins
|
pnpm run plugins i
|
||||||
ep_align
|
ep_align
|
||||||
ep_author_hover
|
ep_author_hover
|
||||||
ep_cursortrace
|
ep_cursortrace
|
||||||
|
|
|
@ -47,8 +47,8 @@
|
||||||
- Bin folder: The bin folder has been moved from the src folder to the root folder. This change was necessary as the contained scripts do not represent core functionality of the user.
|
- Bin folder: The bin folder has been moved from the src folder to the root folder. This change was necessary as the contained scripts do not represent core functionality of the user.
|
||||||
- Starting Etherpad: Etherpad can now be started with a single command: `pnpm run prod` in the root directory.
|
- Starting Etherpad: Etherpad can now be started with a single command: `pnpm run prod` in the root directory.
|
||||||
- Installing Etherpad: Etherpad no longer symlinks itself in the root directory. This is now also taken care by pnpm, and it just creates a node_modules folder with the src directory`s ep_etherpad-lite folder
|
- Installing Etherpad: Etherpad no longer symlinks itself in the root directory. This is now also taken care by pnpm, and it just creates a node_modules folder with the src directory`s ep_etherpad-lite folder
|
||||||
- Plugins can now be installed simply via the command: `pnpm run install-plugins first-plugin second-plugin` or if you want to install from path you can do:
|
- Plugins can now be installed simply via the command: `pnpm run plugins i first-plugin second-plugin` or if you want to install from path you can do:
|
||||||
`pnpm run install-plugins --path ../path-to-plugin`
|
`pnpm run plugins i --path ../path-to-plugin`
|
||||||
|
|
||||||
|
|
||||||
# 1.9.7
|
# 1.9.7
|
||||||
|
|
|
@ -120,7 +120,7 @@ COPY --chown=etherpad:etherpad --from=adminBuild /opt/etherpad-lite/ui/dist ./sr
|
||||||
|
|
||||||
RUN bin/installDeps.sh && \
|
RUN bin/installDeps.sh && \
|
||||||
if [ ! -z "${ETHERPAD_PLUGINS}" ] || [ ! -z "${ETHERPAD_LOCAL_PLUGINS}" ]; then \
|
if [ ! -z "${ETHERPAD_PLUGINS}" ] || [ ! -z "${ETHERPAD_LOCAL_PLUGINS}" ]; then \
|
||||||
pnpm run install-plugins ${ETHERPAD_PLUGINS} ${ETHERPAD_LOCAL_PLUGINS:+--path ${ETHERPAD_LOCAL_PLUGINS}}; \
|
pnpm run plugins i ${ETHERPAD_PLUGINS} ${ETHERPAD_LOCAL_PLUGINS:+--path ${ETHERPAD_LOCAL_PLUGINS}}; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ COPY --chown=etherpad:etherpad --from=adminBuild /opt/etherpad-lite/ui/dist ./sr
|
||||||
|
|
||||||
RUN bin/installDeps.sh && rm -rf ~/.npm && rm -rf ~/.local && rm -rf ~/.cache && \
|
RUN bin/installDeps.sh && rm -rf ~/.npm && rm -rf ~/.local && rm -rf ~/.cache && \
|
||||||
if [ ! -z "${ETHERPAD_PLUGINS}" ] || [ ! -z "${ETHERPAD_LOCAL_PLUGINS}" ]; then \
|
if [ ! -z "${ETHERPAD_PLUGINS}" ] || [ ! -z "${ETHERPAD_LOCAL_PLUGINS}" ]; then \
|
||||||
pnpm run install-plugins ${ETHERPAD_PLUGINS} ${ETHERPAD_LOCAL_PLUGINS:+--path ${ETHERPAD_LOCAL_PLUGINS}}; \
|
pnpm run plugins i ${ETHERPAD_PLUGINS} ${ETHERPAD_LOCAL_PLUGINS:+--path ${ETHERPAD_LOCAL_PLUGINS}}; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -195,7 +195,7 @@ Alternatively, you can install plugins from the command line:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd /path/to/etherpad-lite
|
cd /path/to/etherpad-lite
|
||||||
pnpm run install-plugins ep_${plugin_name}
|
pnpm run plugins i ep_${plugin_name}
|
||||||
```
|
```
|
||||||
|
|
||||||
Also see [the plugin wiki
|
Also see [the plugin wiki
|
||||||
|
@ -207,7 +207,7 @@ Run the following command in your Etherpad folder to get all of the features
|
||||||
visible in the above demo gif:
|
visible in the above demo gif:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pnpm run install-plugins \
|
pnpm run plugins i \
|
||||||
ep_align \
|
ep_align \
|
||||||
ep_comments_page \
|
ep_comments_page \
|
||||||
ep_embedded_hyperlinks2 \
|
ep_embedded_hyperlinks2 \
|
||||||
|
|
|
@ -69,7 +69,7 @@ jobs:
|
||||||
working-directory: ./etherpad-lite
|
working-directory: ./etherpad-lite
|
||||||
run: |
|
run: |
|
||||||
pnpm link --global $PLUGIN_NAME
|
pnpm link --global $PLUGIN_NAME
|
||||||
pnpm run install-plugins --path ../../plugin
|
pnpm run plugins i --path ../../plugin
|
||||||
env:
|
env:
|
||||||
PLUGIN_NAME: ${{ steps.plugin_name.outputs.plugin_name }}
|
PLUGIN_NAME: ${{ steps.plugin_name.outputs.plugin_name }}
|
||||||
- name: Link ep_etherpad-lite
|
- name: Link ep_etherpad-lite
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"test-ui:ui": "pnpm --filter ep_etherpad-lite run test-ui:ui",
|
"test-ui:ui": "pnpm --filter ep_etherpad-lite run test-ui:ui",
|
||||||
"test-admin": "pnpm --filter ep_etherpad-lite run test-admin",
|
"test-admin": "pnpm --filter ep_etherpad-lite run test-admin",
|
||||||
"test-admin:ui": "pnpm --filter ep_etherpad-lite run test-admin:ui",
|
"test-admin:ui": "pnpm --filter ep_etherpad-lite run test-admin:ui",
|
||||||
"install-plugins": "pnpm --filter bin run install-plugins",
|
"plugins": "pnpm --filter bin run plugins",
|
||||||
"remove-plugins": "pnpm --filter bin run remove-plugins",
|
"remove-plugins": "pnpm --filter bin run remove-plugins",
|
||||||
"list-plugins": "pnpm --filter bin run list-plugins"
|
"list-plugins": "pnpm --filter bin run list-plugins"
|
||||||
},
|
},
|
||||||
|
|
8673
pnpm-lock.yaml
8673
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue