Skip to content

Commit

Permalink
chore(release): cut 12.0.0-alpha.1 [skip release]
Browse files Browse the repository at this point in the history
# [12.0.0-alpha.1](v11.2.2...v12.0.0-alpha.1) (2024-06-06)

### Features

* replace CRA with Vite [LIBS-598] ([#847](#847)) ([3dd0e59](3dd0e59))

### BREAKING CHANGES

* Supported Node versions are 18.x or 20+

* ci: upgrade Node version

* fix: always add PWA_ENABLED to app env for better static analysis

* chore: pause precache manifest injection

* fix: building SW without CRA

* chore: comment update

* fix: group moment locales in their own dir

* refactor: clean up precache injection

* fix: locale utils and handling moment in jest

* fix: compile correctly after merging changes

* chore: comment in compile.js

* chore: some clean-up

* chore: comments

* fix: use port 3000 for the dev server

* fix: improve moment locale chunk naming

* chore: remove CRA

* fix: use mjs build of Vite

* fix: bump cli-style for CRA fix

* feat: use interactive dev server output from Vite

* fix: make dev server port configurable

* chore: remove old index.html

* fix: env tweaks
  • Loading branch information
dhis2-bot committed Jun 6, 2024
1 parent 3dd0e59 commit c01de62
Show file tree
Hide file tree
Showing 9 changed files with 2,521 additions and 2,256 deletions.
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
# [12.0.0-alpha.1](https://github.com/dhis2/app-platform/compare/v11.2.2...v12.0.0-alpha.1) (2024-06-06)


### Features

* replace CRA with Vite [LIBS-598] ([#847](https://github.com/dhis2/app-platform/issues/847)) ([3dd0e59](https://github.com/dhis2/app-platform/commit/3dd0e5938dda443751cb1a5627226a6ecf13377c))


### BREAKING CHANGES

* Supported Node versions are 18.x or 20+

* ci: upgrade Node version

* fix: always add PWA_ENABLED to app env for better static analysis

* chore: pause precache manifest injection

* fix: building SW without CRA

* chore: comment update

* fix: group moment locales in their own dir

* refactor: clean up precache injection

* fix: locale utils and handling moment in jest

* fix: compile correctly after merging changes

* chore: comment in compile.js

* chore: some clean-up

* chore: comments

* fix: use port 3000 for the dev server

* fix: improve moment locale chunk naming

* chore: remove CRA

* fix: use mjs build of Vite

* fix: bump cli-style for CRA fix

* feat: use interactive dev server output from Vite

* fix: make dev server port configurable

* chore: remove old index.html

* fix: env tweaks

## [11.2.2](https://github.com/dhis2/app-platform/compare/v11.2.1...v11.2.2) (2024-05-06)


Expand Down
6 changes: 3 additions & 3 deletions adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/app-adapter",
"version": "11.2.2",
"version": "12.0.0-alpha.1",
"repository": {
"type": "git",
"url": "https://github.com/amcgee/dhis2-app-platform",
Expand All @@ -21,11 +21,11 @@
"build"
],
"dependencies": {
"@dhis2/pwa": "11.2.2",
"@dhis2/pwa": "12.0.0-alpha.1",
"moment": "^2.24.0"
},
"devDependencies": {
"@dhis2/cli-app-scripts": "11.2.2",
"@dhis2/cli-app-scripts": "12.0.0-alpha.1",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^8.0.1",
"enzyme": "^3.11.0",
Expand Down
4 changes: 2 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/cli-app-scripts",
"version": "11.2.2",
"version": "12.0.0-alpha.1",
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
Expand Down Expand Up @@ -28,7 +28,7 @@
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.6.0",
"@dhis2/app-shell": "11.2.2",
"@dhis2/app-shell": "12.0.0-alpha.1",
"@dhis2/cli-helpers-engine": "^3.2.2",
"@jest/core": "^27.0.6",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
Expand Down
2 changes: 1 addition & 1 deletion examples/pwa-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pwa-app",
"version": "11.2.2",
"version": "12.0.0-alpha.1",
"description": "",
"license": "BSD-3-Clause",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-app",
"version": "11.2.2",
"version": "12.0.0-alpha.1",
"repository": "https://github.com/amcgee/dhis2-app-platform",
"author": "Austin McGee <austin@dhis2.org>",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "11.2.2",
"version": "12.0.0-alpha.1",
"private": true,
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions pwa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/pwa",
"version": "11.2.2",
"version": "12.0.0-alpha.1",
"description": "",
"license": "BSD-3-Clause",
"publishConfig": {
Expand All @@ -13,7 +13,7 @@
"deploy": "d2-app-scripts deploy"
},
"devDependencies": {
"@dhis2/cli-app-scripts": "11.2.2"
"@dhis2/cli-app-scripts": "12.0.0-alpha.1"
},
"dependencies": {
"idb": "^6.0.0",
Expand Down
6 changes: 3 additions & 3 deletions shell/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/app-shell",
"version": "11.2.2",
"version": "12.0.0-alpha.1",
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
Expand All @@ -15,10 +15,10 @@
"access": "public"
},
"dependencies": {
"@dhis2/app-adapter": "11.2.2",
"@dhis2/app-adapter": "12.0.0-alpha.1",
"@dhis2/app-runtime": "^3.10.4",
"@dhis2/d2-i18n": "^1.1.1",
"@dhis2/pwa": "11.2.2",
"@dhis2/pwa": "12.0.0-alpha.1",
"@dhis2/ui": "^9.4.4",
"@vitejs/plugin-react": "^4.2.1",
"classnames": "^2.2.6",
Expand Down
Loading

0 comments on commit c01de62

Please sign in to comment.