@undp/create-app 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,8 +15,8 @@ export function generatePackageJson(config) {
15
15
  const zustandVer = `^${getLatestVersion('zustand')}`
16
16
  const dependencies = config.libraries.includes('peer') && config.libraries.includes('@undp/data-viz') ? {
17
17
  "@undp/design-system-react": designSystemVer,
18
- "react": "^19.2.1",
19
- "react-dom": "^19.2.1",
18
+ "react": "^19.2.3",
19
+ "react-dom": "^19.2.3",
20
20
  "@dnd-kit/core": "^6.3.1",
21
21
  "@dnd-kit/modifiers": "^9.0.0",
22
22
  "ajv": "^8.17.1",
@@ -32,27 +32,27 @@ export function generatePackageJson(config) {
32
32
  "zustand": zustandVer
33
33
  } : {
34
34
  "@undp/design-system-react": designSystemVer,
35
- "react": "^19.2.1",
36
- "react-dom": "^19.2.1",
35
+ "react": "^19.2.3",
36
+ "react-dom": "^19.2.3",
37
37
  "zustand": zustandVer
38
38
  };
39
39
 
40
40
  switch (config.framework) {
41
41
  case 'vite-router':
42
- dependencies['@tanstack/react-router'] = '^1.135.0';
42
+ dependencies['@tanstack/react-router'] = '^1.141.1';
43
43
  break;
44
44
  case 'next-basic':
45
- dependencies['next'] = '16.0.7';
45
+ dependencies['next'] = '16.0.10';
46
46
  break;
47
47
  case 'next-auth':
48
48
  dependencies['better-auth'] = '^1.3.34';
49
- dependencies['next'] = '16.0.7';
49
+ dependencies['next'] = '16.0.10';
50
50
  break;
51
51
  default:
52
52
  break;
53
53
  }
54
54
  if (config.query) {
55
- dependencies['@tanstack/react-query'] = '^5.90.7';
55
+ dependencies['@tanstack/react-query'] = '^5.90.12';
56
56
  }
57
57
  if (config.libraries.includes('@undp/data-viz')) {
58
58
  const dataVizVer = `^${getLatestVersion('@undp/data-viz')}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/create-app",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "UNDP's project scaffolding tool",
5
5
  "bin": {
6
6
  "create-undp-app": "./bin/index.js"