mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 19:25:18 -04:00
docs(manual): Adjust instructions to use only pinned dependencies
This patch adds `--frozen-lockfile` to our regular `yarn install` calls during manual set up. This should ensure people get the expected versions and not any newer or older versions that might behave unexpectedly. References: https://github.com/yarnpkg/yarn/issues/5847#issuecomment-537521943 https://classic.yarnpkg.com/en/docs/cli/install#toc-yarn-install-frozen-lockfile Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
parent
7f09558b58
commit
3d7bf464d9
2 changed files with 4 additions and 4 deletions
|
@ -47,10 +47,10 @@ if [ ! -f config.json ]; then
|
|||
fi
|
||||
|
||||
echo "Installing packages..."
|
||||
yarn install --production=true --pure-lockfile
|
||||
yarn install --production=true --frozen-lockfile
|
||||
|
||||
cat << EOF
|
||||
If you want to build the frontend yourself, you need to run 'yarn install' before 'yarn build' to install the devDependencies for the build process.
|
||||
If you want to build the frontend yourself, you need to run 'yarn install --frozen-lockfile' before 'yarn build' to install the devDependencies for the build process.
|
||||
|
||||
Edit the following config file to setup HedgeDoc server and client.
|
||||
Read more info at https://docs.hedgedoc.org/configuration/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue