Skip to content

Commit

Permalink
Update: Lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Oct 17, 2023
1 parent ed5bc32 commit 7e86672
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,31 @@ prepare:
up-lock:
@echo "${GREEN}Writing lock files...${RESET}"
@rm -rf node_modules yarn.lock pnpm-lock.yaml package-lock.json
@pnpm setPackageManager pnpm
@pnpm install
@rm -rf node_modules
@yarn setPackageManager yarn
@yarn install
@rm -rf node_modules
@npm run setPackageManager npm
@npm install
@git add yarn.lock pnpm-lock.yaml package-lock.json
@git commit -m "Update: Lock files"
@git push

## Check for upgraded packages with pnpm
up-pnpm:
@pnpm setPackageManager pnpm
@pnpm up --interactive --latest

## Check for upgraded packages with yarn
up-yarn:
@yarn setPackageManager yarn
@yarn upgrade-interactive --latest

## Check for upgraded packages with npm
up-npm:
@npm setPackageManager npm
@npm update

## Copy the root package.json to the build directory
Expand All @@ -45,26 +51,26 @@ up-copy:
## Run some basic checks with pnpm
test-pnpm:
@rm -rf node_modules
@pnpm install
@pnpm setPackageManager pnpm
@pnpm install
@pnpm add svelte svelte-preprocess esbuild-svelte vue esbuild-plugin-vue3 sass node-sass-tilde-importer
@pnpm showConfig
@pnpm build

## Run some basic checks with yarn
test-yarn:
@rm -rf node_modules
@yarn install
@yarn setPackageManager yarn
@yarn install
@yarn add svelte svelte-preprocess esbuild-svelte vue esbuild-plugin-vue3 sass node-sass-tilde-importer
@yarn showConfig
@yarn build

## Run some basic checks with npm
test-npm:
@rm -rf node_modules
@npm install
@npm setPackageManager npm
@npm install
@npm add svelte svelte-preprocess esbuild-svelte vue esbuild-plugin-vue3 sass node-sass-tilde-importer
@npm run showConfig
@npm run build
Expand Down

0 comments on commit 7e86672

Please sign in to comment.