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:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user