From 527c271dacbad2ad47e7bcedda0aebc3509e2e9d Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Tue, 27 Aug 2024 16:09:48 +0200 Subject: [PATCH 1/3] Change prettier config file extensions to .mjs Signed-off-by: Johannes Loher --- apps/client/{prettier.config.js => prettier.config.mjs} | 0 .../{prettier.config.js => prettier.config.mjs} | 0 .../eslint-config/{prettier.config.js => prettier.config.mjs} | 0 packages/prettier-config/package.json | 2 +- .../prettier-config/{prettier.config.js => prettier.config.mjs} | 0 .../{prettier.config.js => prettier.config.mjs} | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename apps/client/{prettier.config.js => prettier.config.mjs} (100%) rename packages/cornucopia-cards/{prettier.config.js => prettier.config.mjs} (100%) rename packages/eslint-config/{prettier.config.js => prettier.config.mjs} (100%) rename packages/prettier-config/{prettier.config.js => prettier.config.mjs} (100%) rename packages/typescript-config/{prettier.config.js => prettier.config.mjs} (100%) diff --git a/apps/client/prettier.config.js b/apps/client/prettier.config.mjs similarity index 100% rename from apps/client/prettier.config.js rename to apps/client/prettier.config.mjs diff --git a/packages/cornucopia-cards/prettier.config.js b/packages/cornucopia-cards/prettier.config.mjs similarity index 100% rename from packages/cornucopia-cards/prettier.config.js rename to packages/cornucopia-cards/prettier.config.mjs diff --git a/packages/eslint-config/prettier.config.js b/packages/eslint-config/prettier.config.mjs similarity index 100% rename from packages/eslint-config/prettier.config.js rename to packages/eslint-config/prettier.config.mjs diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index 001eb6b..ccc640d 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -2,7 +2,7 @@ "name": "@eop/prettier-config", "type": "module", "version": "0.24.0", - "main": "prettier.config.js", + "main": "prettier.config.mjs", "scripts": { "checkformat": "prettier . --check", "format": "prettier . --write" diff --git a/packages/prettier-config/prettier.config.js b/packages/prettier-config/prettier.config.mjs similarity index 100% rename from packages/prettier-config/prettier.config.js rename to packages/prettier-config/prettier.config.mjs diff --git a/packages/typescript-config/prettier.config.js b/packages/typescript-config/prettier.config.mjs similarity index 100% rename from packages/typescript-config/prettier.config.js rename to packages/typescript-config/prettier.config.mjs From b30ad8f8dc3a3ef6b4f038e28a359b1cb3307603 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Tue, 27 Aug 2024 16:11:49 +0200 Subject: [PATCH 2/3] Improve readme Signed-off-by: Johannes Loher --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index addce94..781720d 100644 --- a/README.md +++ b/README.md @@ -209,7 +209,7 @@ and follow the instructions to add a new changeset for the relevant packages. A release can then be performed by running ```bash -npx changeset version +npx changeset version && npm install ``` and committing and pushing the changes. From e270e36b9a54c53a5f5dd1740fb61dfb4eda43af Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Tue, 27 Aug 2024 16:10:29 +0200 Subject: [PATCH 3/3] Bump version to 1.0.0 Signed-off-by: Johannes Loher --- .changeset/eleven-owls-jam.md | 5 ----- .changeset/nervous-cows-shave.md | 9 --------- .changeset/real-teachers-argue.md | 13 ------------- apps/client/CHANGELOG.md | 25 +++++++++++++++++++++++++ apps/client/package.json | 2 +- apps/server/CHANGELOG.md | 14 ++++++++++++++ apps/server/package.json | 2 +- package-lock.json | 14 +++++++------- packages/cornucopia-cards/CHANGELOG.md | 9 +++++++++ packages/cornucopia-cards/package.json | 2 +- packages/eslint-config/CHANGELOG.md | 9 +++++++++ packages/eslint-config/package.json | 2 +- packages/prettier-config/CHANGELOG.md | 9 +++++++++ packages/prettier-config/package.json | 2 +- packages/shared/CHANGELOG.md | 9 +++++++++ packages/shared/package.json | 2 +- packages/typescript-config/CHANGELOG.md | 9 +++++++++ packages/typescript-config/package.json | 2 +- 18 files changed, 98 insertions(+), 41 deletions(-) delete mode 100644 .changeset/eleven-owls-jam.md delete mode 100644 .changeset/nervous-cows-shave.md delete mode 100644 .changeset/real-teachers-argue.md create mode 100644 apps/client/CHANGELOG.md create mode 100644 apps/server/CHANGELOG.md create mode 100644 packages/cornucopia-cards/CHANGELOG.md create mode 100644 packages/eslint-config/CHANGELOG.md create mode 100644 packages/prettier-config/CHANGELOG.md create mode 100644 packages/shared/CHANGELOG.md create mode 100644 packages/typescript-config/CHANGELOG.md diff --git a/.changeset/eleven-owls-jam.md b/.changeset/eleven-owls-jam.md deleted file mode 100644 index accca03..0000000 --- a/.changeset/eleven-owls-jam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@eop/client": minor ---- - -Update React to v18 and also update related libraries diff --git a/.changeset/nervous-cows-shave.md b/.changeset/nervous-cows-shave.md deleted file mode 100644 index 7d44fa8..0000000 --- a/.changeset/nervous-cows-shave.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@eop/client": major ---- - -Replace CRA with Vite - -BREAKING CHANGE: - -- Environment variables now need to be prefixed with `VITE_` instead of `REACT_APP_` diff --git a/.changeset/real-teachers-argue.md b/.changeset/real-teachers-argue.md deleted file mode 100644 index 954a92a..0000000 --- a/.changeset/real-teachers-argue.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@eop/typescript-config": major -"@eop/cornucopia-cards": major -"@eop/prettier-config": major -"@eop/eslint-config": major -"@eop/shared": major -"@eop/client": major -"@eop/server": major ---- - -Separate package into subpackages and add support for Node.js 18, 20 and 22. - -Support for Node.js 16 has been dropped. diff --git a/apps/client/CHANGELOG.md b/apps/client/CHANGELOG.md new file mode 100644 index 0000000..d198c82 --- /dev/null +++ b/apps/client/CHANGELOG.md @@ -0,0 +1,25 @@ +# @eop/client + +## 1.0.0 + +### Major Changes + +- 9c51094: Replace CRA with Vite + + BREAKING CHANGE: + + - Environment variables now need to be prefixed with `VITE_` instead of `REACT_APP_` + +- 8b5f27f: Separate package into subpackages and add support for Node.js 18, 20 and 22. + + Support for Node.js 16 has been dropped. + +### Minor Changes + +- cf35b82: Update React to v18 and also update related libraries + +### Patch Changes + +- Updated dependencies [8b5f27f] + - @eop/cornucopia-cards@1.0.0 + - @eop/shared@1.0.0 diff --git a/apps/client/package.json b/apps/client/package.json index 2f759fd..2505b66 100644 --- a/apps/client/package.json +++ b/apps/client/package.json @@ -1,7 +1,7 @@ { "name": "@eop/client", "type": "module", - "version": "0.24.0", + "version": "1.0.0", "main": "src/client/index.tsx", "scripts": { "build": "tsc -b tsconfig.app.json && vite build", diff --git a/apps/server/CHANGELOG.md b/apps/server/CHANGELOG.md new file mode 100644 index 0000000..3b9dc73 --- /dev/null +++ b/apps/server/CHANGELOG.md @@ -0,0 +1,14 @@ +# @eop/server + +## 1.0.0 + +### Major Changes + +- 8b5f27f: Separate package into subpackages and add support for Node.js 18, 20 and 22. + + Support for Node.js 16 has been dropped. + +### Patch Changes + +- Updated dependencies [8b5f27f] + - @eop/shared@1.0.0 diff --git a/apps/server/package.json b/apps/server/package.json index 46cccec..703597e 100644 --- a/apps/server/package.json +++ b/apps/server/package.json @@ -1,7 +1,7 @@ { "name": "@eop/server", "type": "commonjs", - "version": "0.24.0", + "version": "1.0.0", "scripts": { "build": "rimraf dist *.tsbuildinfo && tsc --build tsconfig.app.json", "dev": "cross-env TS_NODE_PROJECT=./tsconfig.app.json node --inspect --watch --unhandled-rejections=warn -r ts-node/register src/main.ts", diff --git a/package-lock.json b/package-lock.json index 5d2c966..4e112aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ }, "apps/client": { "name": "@eop/client", - "version": "0.24.0", + "version": "1.0.0", "dependencies": { "@eop/cornucopia-cards": "*", "@eop/shared": "*", @@ -118,7 +118,7 @@ }, "apps/server": { "name": "@eop/server", - "version": "0.24.0", + "version": "1.0.0", "dependencies": { "@eop/shared": "*", "@koa/cors": "^5.0.0", @@ -9912,7 +9912,7 @@ }, "packages/cornucopia-cards": { "name": "@eop/cornucopia-cards", - "version": "0.24.0", + "version": "1.0.0", "license": "CC-BY-SA-3.0", "devDependencies": { "@eop/eslint-config": "*", @@ -9939,7 +9939,7 @@ }, "packages/eslint-config": { "name": "@eop/eslint-config", - "version": "0.24.0", + "version": "1.0.0", "devDependencies": { "@eop/prettier-config": "*", "@eslint/js": "^9.9.0", @@ -9972,7 +9972,7 @@ }, "packages/prettier-config": { "name": "@eop/prettier-config", - "version": "0.24.0", + "version": "1.0.0", "devDependencies": { "eslint": "^9.9.0", "prettier": "^3.3.3" @@ -9996,7 +9996,7 @@ }, "packages/shared": { "name": "@eop/shared", - "version": "0.24.0", + "version": "1.0.0", "dependencies": { "boardgame.io": "^0.50.2", "lodash": "^4.17.21", @@ -10036,7 +10036,7 @@ }, "packages/typescript-config": { "name": "@eop/typescript-config", - "version": "0.24.0", + "version": "1.0.0", "devDependencies": { "@eop/prettier-config": "*", "prettier": "^3.3.3" diff --git a/packages/cornucopia-cards/CHANGELOG.md b/packages/cornucopia-cards/CHANGELOG.md new file mode 100644 index 0000000..bfbe33a --- /dev/null +++ b/packages/cornucopia-cards/CHANGELOG.md @@ -0,0 +1,9 @@ +# @eop/cornucopia-cards + +## 1.0.0 + +### Major Changes + +- 8b5f27f: Separate package into subpackages and add support for Node.js 18, 20 and 22. + + Support for Node.js 16 has been dropped. diff --git a/packages/cornucopia-cards/package.json b/packages/cornucopia-cards/package.json index 980b40e..e84751d 100644 --- a/packages/cornucopia-cards/package.json +++ b/packages/cornucopia-cards/package.json @@ -1,7 +1,7 @@ { "name": "@eop/cornucopia-cards", "type": "module", - "version": "0.24.0", + "version": "1.0.0", "description": "a version of the playing cards OWASP Cornucopia adapted for this game", "author": "TNG Technology Consulting", "license": "CC-BY-SA-3.0", diff --git a/packages/eslint-config/CHANGELOG.md b/packages/eslint-config/CHANGELOG.md new file mode 100644 index 0000000..c912387 --- /dev/null +++ b/packages/eslint-config/CHANGELOG.md @@ -0,0 +1,9 @@ +# @eop/eslint-config + +## 1.0.0 + +### Major Changes + +- 8b5f27f: Separate package into subpackages and add support for Node.js 18, 20 and 22. + + Support for Node.js 16 has been dropped. diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index bd89615..577d347 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -1,7 +1,7 @@ { "name": "@eop/eslint-config", "type": "module", - "version": "0.24.0", + "version": "1.0.0", "exports": { "./base": { "default": "./base.js" diff --git a/packages/prettier-config/CHANGELOG.md b/packages/prettier-config/CHANGELOG.md new file mode 100644 index 0000000..4997b8d --- /dev/null +++ b/packages/prettier-config/CHANGELOG.md @@ -0,0 +1,9 @@ +# @eop/prettier-config + +## 1.0.0 + +### Major Changes + +- 8b5f27f: Separate package into subpackages and add support for Node.js 18, 20 and 22. + + Support for Node.js 16 has been dropped. diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index ccc640d..20195ec 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -1,7 +1,7 @@ { "name": "@eop/prettier-config", "type": "module", - "version": "0.24.0", + "version": "1.0.0", "main": "prettier.config.mjs", "scripts": { "checkformat": "prettier . --check", diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md new file mode 100644 index 0000000..099c5e4 --- /dev/null +++ b/packages/shared/CHANGELOG.md @@ -0,0 +1,9 @@ +# @eop/shared + +## 1.0.0 + +### Major Changes + +- 8b5f27f: Separate package into subpackages and add support for Node.js 18, 20 and 22. + + Support for Node.js 16 has been dropped. diff --git a/packages/shared/package.json b/packages/shared/package.json index a0a1f77..62fee4f 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,7 +1,7 @@ { "name": "@eop/shared", "type": "commonjs", - "version": "0.24.0", + "version": "1.0.0", "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", "exports": { diff --git a/packages/typescript-config/CHANGELOG.md b/packages/typescript-config/CHANGELOG.md new file mode 100644 index 0000000..0f4fb9b --- /dev/null +++ b/packages/typescript-config/CHANGELOG.md @@ -0,0 +1,9 @@ +# @eop/typescript-config + +## 1.0.0 + +### Major Changes + +- 8b5f27f: Separate package into subpackages and add support for Node.js 18, 20 and 22. + + Support for Node.js 16 has been dropped. diff --git a/packages/typescript-config/package.json b/packages/typescript-config/package.json index fbf1fdb..0467021 100644 --- a/packages/typescript-config/package.json +++ b/packages/typescript-config/package.json @@ -1,7 +1,7 @@ { "name": "@eop/typescript-config", "type": "module", - "version": "0.24.0", + "version": "1.0.0", "scripts": { "checkformat": "prettier . --check", "format": "prettier . --write"