Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/tools/version-check.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
echo "Verifying that all packages have the same major and minor version (patch version can be different)..."
version_base=$(cat package.json | jq '.version' --raw-output)
version_base=${version_base%.*}
echo "Base Version: $version_base"

find . -name "package.json" -type f -not -path "*/node_modules/*" -not -path "*/.next/*" -not -path "*/state/*" | sort | while read -r file; do
find . -name "package.json" -type f -not -path "./package.json" -not -path "*/node_modules/*" -not -path "*/.next/*" -not -path "*/state/*" | sort | while read -r file; do
name_pkg=$(cat $file | jq '.name' --raw-output)
version_pkg_original=$(cat $file | jq '.version' --raw-output)
version_pkg="${version_pkg_original%.*}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
npm cache clean --force

# Install the package dependencies
npm install
npm ci

# Check if there are local dependencies in the package.json
if jq -e '.dependencies | to_entries[] | select(.value | startswith("file:")) | length > 0' package.json &> /dev/null; then
Expand Down
11 changes: 6 additions & 5 deletions base/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@krmx/base",
"description": "krmx base",
"author": "Simon Karman",
"version": "0.6.4",
"version": "0.6.5",
"main": "dist/src/index.js",
"scripts": {
"test": "jest --coverage --silent --verbose",
Expand Down
2 changes: 1 addition & 1 deletion base/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.6.4';
export const VERSION = '0.6.5';
17 changes: 9 additions & 8 deletions client-react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@krmx/client-react",
"description": "krmx client for react",
"author": "Simon Karman",
"version": "0.6.5",
"version": "0.6.6",
"main": "dist/src/index.js",
"scripts": {
"test": "jest --coverage --silent --verbose",
Expand Down
2 changes: 1 addition & 1 deletion client-react/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.6.5';
export const VERSION = '0.6.6';
15 changes: 8 additions & 7 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@krmx/client",
"description": "krmx client",
"author": "Simon Karman",
"version": "0.6.4",
"version": "0.6.5",
"main": "dist/src/index.js",
"scripts": {
"test": "jest --coverage --silent --verbose",
Expand Down
2 changes: 1 addition & 1 deletion client/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.6.4';
export const VERSION = '0.6.5';
47 changes: 20 additions & 27 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@
"name": "@krmx/root",
"description": "Krmx is a network protocol for realtime multi-user interactions",
"author": "Simon Karman",
"version": "0.6.0",
"version": "0.6",
"private": true,
"scripts": {
"postinstall": "npm --prefix base install && npm --prefix server install && npm --prefix client install && npm --prefix client-react install && npm --prefix state install && npm --prefix docs install",
"audit:fix": "npm --prefix base audit fix && npm --prefix server audit fix && npm --prefix client audit fix && npm --prefix client-react audit fix && npm --prefix state run audit:fix && npm --prefix docs audit fix",
"audit:fix": "npm --prefix base audit fix && npm --prefix server audit fix && npm --prefix client audit fix && npm --prefix client-react audit fix && npm --prefix state run audit:fix && npm --prefix docs audit fix && npm run patch",
"validate": "npm install && .github/tools/version-check.sh && npm run --prefix base validate && npm run --prefix server validate && npm run --prefix client validate && npm run --prefix client-react validate && npm run --prefix state validate && npm run --prefix docs validate",
"dev": "npm-run-all --parallel dev:*",
"dev:base": "npm run --prefix base dev",
"dev:server": "sleep 250 && npm run --prefix server dev",
"dev:client": "sleep 500 && npm run --prefix client dev",
"dev:client-react": "sleep 750 && npm run --prefix client-react dev",
"dev:docs": "npm run --prefix docs dev",
"versions": ".github/tools/version-check.sh && npm install && npm --prefix base run postversion && npm --prefix server run postversion && npm --prefix client run postversion && npm --prefix client-react run postversion && npm --prefix state run versions"
"versions": ".github/tools/version-check.sh && npm install && npm --prefix base run postversion && npm --prefix server run postversion && npm --prefix client run postversion && npm --prefix client-react run postversion && npm --prefix state run versions",
"patch": "npm --prefix base version patch && npm --prefix server version patch && npm --prefix client version patch && npm --prefix client-react version patch && .github/tools/version-check.sh"
},
"dependencies": {
"npm-run-all": "^4.1.5",
Expand Down
13 changes: 7 additions & 6 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@krmx/server",
"description": "krmx server",
"author": "Simon Karman",
"version": "0.6.8",
"version": "0.6.9",
"main": "dist/src/index.js",
"scripts": {
"start": "nodemon --exec \"ts-node src/index.ts\" src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion server/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.6.8';
export const VERSION = '0.6.9';
12 changes: 6 additions & 6 deletions state/base/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading