Skip to content

Commit

Permalink
v1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
uhyo committed Dec 8, 2023
1 parent f6a78f6 commit 6f6c66a
Show file tree
Hide file tree
Showing 15 changed files with 293 additions and 94 deletions.
28 changes: 28 additions & 0 deletions build/version-bump.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash
set -ux

# Script to bump version of all packages.
# get "minor" or "patch" from first argument

if [ "$#" -ne 1 ]; then
echo "Illegal number of parameters"
exit 1
fi

case $1 in
"minor" | "patch" )
;;
* )
echo "Illegal argument: $1"
exit 1
;;
esac

# bump version
npm version $1 --workspaces --include-workspace-root --no-git-tag-version
# update dependencies (can be done by build-node.sh)
"$(dirname "$0")/build-node.sh"
# run npm install to update lockfile
npm install
# done!

2 changes: 1 addition & 1 deletion e2e-tests/cjs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nitrogql/e2e-test-cjs",
"private": true,
"version": "1.3.3",
"version": "1.3.4",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/esm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nitrogql/e2e-test-esm",
"private": true,
"version": "1.3.3",
"version": "1.3.4",
"description": "",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/node16/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nitrogql/e2e-test-node16",
"private": true,
"version": "1.3.3",
"version": "1.3.4",
"description": "",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs",
"version": "1.3.3",
"version": "1.3.4",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion examples/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vite",
"private": true,
"version": "1.3.3",
"version": "1.3.4",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Loading

0 comments on commit 6f6c66a

Please sign in to comment.