From 0118d79ee6562c2b57e67fb605dd0ed65030e84f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 8 Jun 2024 15:07:04 +0000 Subject: [PATCH 1/4] Enter pre-release mode --- .changeset/pre.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .changeset/pre.json diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 000000000..a597afe11 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,17 @@ +{ + "mode": "pre", + "tag": "beta", + "initialVersions": { + "admin-api": "1.3.0", + "admin-web": "1.3.0", + "api": "1.9.0", + "reg-scraper": "1.5.0", + "web": "1.10.0", + "web-e2e": "0.3.0", + "@cgr/codegen": "1.5.0", + "@cgr/course-utils": "1.3.0", + "@cgr/project-config": "1.3.0", + "@cgr/schema": "1.5.0" + }, + "changesets": [] +} From 90eecbefa8c02a122c8dbe4574d416b2a1c6709e Mon Sep 17 00:00:00 2001 From: Nutthapat Pongtanyavichai <59821765+leomotors@users.noreply.github.com> Date: Sun, 9 Jun 2024 09:07:39 +0700 Subject: [PATCH 2/4] fix: build and lint error --- .changeset/cold-fishes-greet.md | 8 ++++++++ apps/admin-api/package.json | 1 + apps/api/package.json | 1 + apps/reg-scraper/package.json | 1 + .../src/common/components/TopBar/index.tsx | 6 +++++- pnpm-lock.yaml | 19 +++++++++++++++++++ 6 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .changeset/cold-fishes-greet.md diff --git a/.changeset/cold-fishes-greet.md b/.changeset/cold-fishes-greet.md new file mode 100644 index 000000000..08c2ad37a --- /dev/null +++ b/.changeset/cold-fishes-greet.md @@ -0,0 +1,8 @@ +--- +"reg-scraper": patch +"admin-api": patch +"api": patch +"web": patch +--- + +fix: build and lint error diff --git a/apps/admin-api/package.json b/apps/admin-api/package.json index bd6848cc7..ee7e0c448 100644 --- a/apps/admin-api/package.json +++ b/apps/admin-api/package.json @@ -41,6 +41,7 @@ "@types/express": "^4.17.21", "@types/node": "^20.11.25", "eslint": "8.57.0", + "rimraf": "^5.0.7", "ts-morph": "^21.0.1", "typescript": "~5.4.2" } diff --git a/apps/api/package.json b/apps/api/package.json index 4aba50fbc..f49dc7417 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -17,6 +17,7 @@ "@types/node": "20.11.25", "@types/passport-jwt": "^4.0.1", "eslint": "8.57.0", + "rimraf": "^5.0.7", "ts-morph": "^21.0.1", "typescript": "~5.4.2" }, diff --git a/apps/reg-scraper/package.json b/apps/reg-scraper/package.json index 8fa712bed..e6c3d0b57 100644 --- a/apps/reg-scraper/package.json +++ b/apps/reg-scraper/package.json @@ -15,6 +15,7 @@ "@types/node": "20.11.25", "@types/tough-cookie": "4.0.5", "eslint": "8.57.0", + "rimraf": "^5.0.7", "typescript": "~5.4.2" }, "dependencies": { diff --git a/apps/web/src/common/components/TopBar/index.tsx b/apps/web/src/common/components/TopBar/index.tsx index c12d5ae97..ab9d412d4 100644 --- a/apps/web/src/common/components/TopBar/index.tsx +++ b/apps/web/src/common/components/TopBar/index.tsx @@ -1,7 +1,11 @@ import { useRouter } from 'next/router' import { AnnouncementBar } from './components/AnnouncementBar' -import { getAnnouncement1, getNotRegChulaWarning, term67Issue } from './components/AnnouncementBar/announcements' +import { + getAnnouncement1, + getNotRegChulaWarning, + term67Issue, +} from './components/AnnouncementBar/announcements' import { ConfigBar } from './components/ConfigBar' import { ConfigBarLayout } from './components/ConfigBar/styled' import { NavBar } from './components/NavBar' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f9331a556..bc7e21c92 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -117,6 +117,9 @@ importers: eslint: specifier: 8.57.0 version: 8.57.0 + rimraf: + specifier: ^5.0.7 + version: 5.0.7 ts-morph: specifier: ^21.0.1 version: 21.0.1 @@ -311,6 +314,9 @@ importers: eslint: specifier: 8.57.0 version: 8.57.0 + rimraf: + specifier: ^5.0.7 + version: 5.0.7 ts-morph: specifier: ^21.0.1 version: 21.0.1 @@ -405,6 +411,9 @@ importers: eslint: specifier: 8.57.0 version: 8.57.0 + rimraf: + specifier: ^5.0.7 + version: 5.0.7 typescript: specifier: ~5.4.2 version: 5.4.2 @@ -9878,6 +9887,7 @@ packages: /glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -13277,6 +13287,7 @@ packages: /rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true dependencies: glob: 7.2.3 @@ -13288,6 +13299,14 @@ packages: dependencies: glob: 9.3.5 + /rimraf@5.0.7: + resolution: {integrity: sha512-nV6YcJo5wbLW77m+8KjH8aB/7/rxQy9SZ0HY5shnwULfS+9nmTtVXAJET5NdZmCzA4fPI/Hm1wo/Po/4mopOdg==} + engines: {node: '>=14.18'} + hasBin: true + dependencies: + glob: 10.3.10 + dev: true + /rollup@4.12.1: resolution: {integrity: sha512-ggqQKvx/PsB0FaWXhIvVkSWh7a/PCLQAsMjBc+nA2M8Rv2/HG0X6zvixAB7KyZBRtifBUhy5k8voQX/mRnABPg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} From 62dbe3bc193bf7ff6b33b25a6aa8552566f76437 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 9 Jun 2024 09:08:49 +0700 Subject: [PATCH 3/4] Version Packages (beta) (#686) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 4 +++- apps/admin-api/CHANGELOG.md | 6 ++++++ apps/admin-api/package.json | 2 +- apps/api/CHANGELOG.md | 6 ++++++ apps/api/package.json | 2 +- apps/reg-scraper/CHANGELOG.md | 6 ++++++ apps/reg-scraper/package.json | 2 +- apps/web/CHANGELOG.md | 6 ++++++ apps/web/package.json | 2 +- 9 files changed, 31 insertions(+), 5 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index a597afe11..a7667315e 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -13,5 +13,7 @@ "@cgr/project-config": "1.3.0", "@cgr/schema": "1.5.0" }, - "changesets": [] + "changesets": [ + "cold-fishes-greet" + ] } diff --git a/apps/admin-api/CHANGELOG.md b/apps/admin-api/CHANGELOG.md index 28e412bac..42e52d31a 100644 --- a/apps/admin-api/CHANGELOG.md +++ b/apps/admin-api/CHANGELOG.md @@ -1,5 +1,11 @@ # admin-api +## 1.3.1-beta.0 + +### Patch Changes + +- 90eecbe: fix: build and lint error + ## 1.3.0 ### Minor Changes diff --git a/apps/admin-api/package.json b/apps/admin-api/package.json index ee7e0c448..0f0a63195 100644 --- a/apps/admin-api/package.json +++ b/apps/admin-api/package.json @@ -1,6 +1,6 @@ { "name": "admin-api", - "version": "1.3.0", + "version": "1.3.1-beta.0", "description": "", "author": "", "private": true, diff --git a/apps/api/CHANGELOG.md b/apps/api/CHANGELOG.md index 576977a32..7c001b441 100644 --- a/apps/api/CHANGELOG.md +++ b/apps/api/CHANGELOG.md @@ -1,5 +1,11 @@ # api +## 1.9.1-beta.0 + +### Patch Changes + +- 90eecbe: fix: build and lint error + ## 1.9.0 ### Minor Changes diff --git a/apps/api/package.json b/apps/api/package.json index f49dc7417..b892a8422 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -1,6 +1,6 @@ { "name": "api", - "version": "1.9.0", + "version": "1.9.1-beta.0", "private": true, "scripts": { "dev": "nest start --watch", diff --git a/apps/reg-scraper/CHANGELOG.md b/apps/reg-scraper/CHANGELOG.md index 209ce4cc7..1fa43fda3 100644 --- a/apps/reg-scraper/CHANGELOG.md +++ b/apps/reg-scraper/CHANGELOG.md @@ -1,5 +1,11 @@ # reg-scraper +## 1.5.1-beta.0 + +### Patch Changes + +- 90eecbe: fix: build and lint error + ## 1.5.0 ### Minor Changes diff --git a/apps/reg-scraper/package.json b/apps/reg-scraper/package.json index e6c3d0b57..c225eef13 100644 --- a/apps/reg-scraper/package.json +++ b/apps/reg-scraper/package.json @@ -1,6 +1,6 @@ { "name": "reg-scraper", - "version": "1.5.0", + "version": "1.5.1-beta.0", "private": true, "scripts": { "dev": "nest start --watch", diff --git a/apps/web/CHANGELOG.md b/apps/web/CHANGELOG.md index 953c90915..3548a953d 100644 --- a/apps/web/CHANGELOG.md +++ b/apps/web/CHANGELOG.md @@ -1,5 +1,11 @@ # web +## 1.10.1-beta.0 + +### Patch Changes + +- 90eecbe: fix: build and lint error + ## 1.10.0 ### Minor Changes diff --git a/apps/web/package.json b/apps/web/package.json index 6944ce0c0..48dea3c6f 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,6 +1,6 @@ { "name": "web", - "version": "1.10.0", + "version": "1.10.1-beta.0", "private": true, "scripts": { "dev": "next dev -p 4200", From 64d461e4efdce4043a7818dff0fb5aec71d11177 Mon Sep 17 00:00:00 2001 From: leomotors Date: Sun, 9 Jun 2024 02:30:26 +0000 Subject: [PATCH 4/4] Configure pre-release mode --- .changeset/pre.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index a7667315e..1349270df 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -1,5 +1,5 @@ { - "mode": "pre", + "mode": "exit", "tag": "beta", "initialVersions": { "admin-api": "1.3.0",