@undp/create-app 0.8.0 → 0.9.0

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,7 +15,7 @@ export function generatePackageJson(config) {
15
15
  const typeScriptVer = `^${getLatestVersion("typescript")}`;
16
16
  const zustandVer = `^${getLatestVersion("zustand")}`;
17
17
  const tailwindcssVer = `^${getLatestVersion("tailwindcss")}`;
18
- const twAnimateCssVer = `^${getLatestVersion("tw-animate-css")}`;
18
+ const twAnimateCssVer = `^${getLatestVersion("tailwindcss-animate")}`;
19
19
  const dependenciesTemp =
20
20
  config.libraries.includes("peer") &&
21
21
  config.libraries.includes("@undp/data-viz")
@@ -35,14 +35,12 @@ export function generatePackageJson(config) {
35
35
  "react-dom": "^19.2.3",
36
36
  "react-globe.gl": "^2.37.0",
37
37
  three: "^0.182.0",
38
- "tw-animate-css": twAnimateCssVer,
39
38
  zustand: zustandVer,
40
39
  }
41
40
  : {
42
41
  "@undp/design-system-react": designSystemVer,
43
42
  react: "^19.2.3",
44
43
  "react-dom": "^19.2.3",
45
- "tw-animate-css": twAnimateCssVer,
46
44
  zustand: zustandVer,
47
45
  };
48
46
 
@@ -86,7 +84,7 @@ export function generatePackageJson(config) {
86
84
  );
87
85
  const devDependencies = config.framework.includes("vite")
88
86
  ? {
89
- "@biomejs/biome": "^2.4.12",
87
+ "@biomejs/biome": "^2.5.15",
90
88
  "@tailwindcss/postcss": "^4.1.17",
91
89
  "@tailwindcss/vite": "^4.3.0",
92
90
  "@types/node": "^24.10.0",
@@ -98,13 +96,16 @@ export function generatePackageJson(config) {
98
96
  "postcss-nested": "^7.0.2",
99
97
  rimraf: "^6.1.0",
100
98
  "rollup-plugin-visualizer": "^6.0.5",
99
+ "tailwind-animate": "^0.2.10",
100
+ "tailwind-merge": "^3.4.0",
101
101
  tailwindcss: tailwindcssVer,
102
+ "tailwindcss-animate": twAnimateCssVer,
102
103
  typescript: typeScriptVer,
103
104
  vite: "^8.0.13",
104
105
  "vite-plugin-static-copy": "^4.1.0",
105
106
  }
106
107
  : {
107
- "@biomejs/biome": "^2.4.12",
108
+ "@biomejs/biome": "^2.5.15",
108
109
  "@tailwindcss/postcss": "^4.1.17",
109
110
  "@types/node": "^24.10.0",
110
111
  "@types/react": "^19.2.7",
@@ -113,7 +114,10 @@ export function generatePackageJson(config) {
113
114
  "postcss-nested": "^7.0.2",
114
115
  rimraf: "^6.1.0",
115
116
  "rollup-plugin-visualizer": "^6.0.5",
117
+ "tailwind-animate": "^0.2.10",
118
+ "tailwind-merge": "^3.4.0",
116
119
  tailwindcss: tailwindcssVer,
120
+ "tailwindcss-animate": twAnimateCssVer,
117
121
  typescript: typeScriptVer,
118
122
  };
119
123
  const sortedDevDependencies = Object.fromEntries(
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -19,7 +19,7 @@
19
19
  "linter": {
20
20
  "enabled": true,
21
21
  "rules": {
22
- "recommended": true,
22
+ "preset": "recommended",
23
23
  "suspicious": {
24
24
  "noExplicitAny": "warn",
25
25
  "noUnassignedVariables": "warn",
@@ -66,5 +66,10 @@
66
66
  "organizeImports": "on"
67
67
  }
68
68
  }
69
+ },
70
+ "css": {
71
+ "parser": {
72
+ "tailwindDirectives": true
73
+ }
69
74
  }
70
75
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -19,7 +19,7 @@
19
19
  "linter": {
20
20
  "enabled": true,
21
21
  "rules": {
22
- "recommended": true,
22
+ "preset": "recommended",
23
23
  "suspicious": {
24
24
  "noExplicitAny": "warn",
25
25
  "noUnassignedVariables": "warn",
@@ -66,5 +66,10 @@
66
66
  "organizeImports": "on"
67
67
  }
68
68
  }
69
+ },
70
+ "css": {
71
+ "parser": {
72
+ "tailwindDirectives": true
73
+ }
69
74
  }
70
75
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -19,7 +19,7 @@
19
19
  "linter": {
20
20
  "enabled": true,
21
21
  "rules": {
22
- "recommended": true,
22
+ "preset": "recommended",
23
23
  "suspicious": {
24
24
  "noExplicitAny": "warn",
25
25
  "noUnassignedVariables": "warn",
@@ -66,5 +66,10 @@
66
66
  "organizeImports": "on"
67
67
  }
68
68
  }
69
+ },
70
+ "css": {
71
+ "parser": {
72
+ "tailwindDirectives": true
73
+ }
69
74
  }
70
75
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -19,7 +19,7 @@
19
19
  "linter": {
20
20
  "enabled": true,
21
21
  "rules": {
22
- "recommended": true,
22
+ "preset": "recommended",
23
23
  "suspicious": {
24
24
  "noExplicitAny": "warn",
25
25
  "noUnassignedVariables": "warn",
@@ -66,5 +66,10 @@
66
66
  "organizeImports": "on"
67
67
  }
68
68
  }
69
+ },
70
+ "css": {
71
+ "parser": {
72
+ "tailwindDirectives": true
73
+ }
69
74
  }
70
75
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -19,7 +19,7 @@
19
19
  "linter": {
20
20
  "enabled": true,
21
21
  "rules": {
22
- "recommended": true,
22
+ "preset": "recommended",
23
23
  "suspicious": {
24
24
  "noExplicitAny": "warn",
25
25
  "noUnassignedVariables": "warn",
@@ -66,5 +66,10 @@
66
66
  "organizeImports": "on"
67
67
  }
68
68
  }
69
+ },
70
+ "css": {
71
+ "parser": {
72
+ "tailwindDirectives": true
73
+ }
69
74
  }
70
75
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -19,7 +19,7 @@
19
19
  "linter": {
20
20
  "enabled": true,
21
21
  "rules": {
22
- "recommended": true,
22
+ "preset": "recommended",
23
23
  "suspicious": {
24
24
  "noExplicitAny": "warn",
25
25
  "noUnassignedVariables": "warn",
@@ -66,5 +66,10 @@
66
66
  "organizeImports": "on"
67
67
  }
68
68
  }
69
+ },
70
+ "css": {
71
+ "parser": {
72
+ "tailwindDirectives": true
73
+ }
69
74
  }
70
75
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -19,7 +19,7 @@
19
19
  "linter": {
20
20
  "enabled": true,
21
21
  "rules": {
22
- "recommended": true,
22
+ "preset": "recommended",
23
23
  "suspicious": {
24
24
  "noExplicitAny": "warn",
25
25
  "noUnassignedVariables": "warn",
@@ -66,5 +66,10 @@
66
66
  "organizeImports": "on"
67
67
  }
68
68
  }
69
+ },
70
+ "css": {
71
+ "parser": {
72
+ "tailwindDirectives": true
73
+ }
69
74
  }
70
75
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -19,7 +19,7 @@
19
19
  "linter": {
20
20
  "enabled": true,
21
21
  "rules": {
22
- "recommended": true,
22
+ "preset": "recommended",
23
23
  "suspicious": {
24
24
  "noExplicitAny": "warn",
25
25
  "noUnassignedVariables": "warn",
@@ -66,5 +66,10 @@
66
66
  "organizeImports": "on"
67
67
  }
68
68
  }
69
+ },
70
+ "css": {
71
+ "parser": {
72
+ "tailwindDirectives": true
73
+ }
69
74
  }
70
75
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -19,7 +19,7 @@
19
19
  "linter": {
20
20
  "enabled": true,
21
21
  "rules": {
22
- "recommended": true,
22
+ "preset": "recommended",
23
23
  "suspicious": {
24
24
  "noExplicitAny": "warn",
25
25
  "noUnassignedVariables": "warn",
@@ -66,5 +66,10 @@
66
66
  "organizeImports": "on"
67
67
  }
68
68
  }
69
+ },
70
+ "css": {
71
+ "parser": {
72
+ "tailwindDirectives": true
73
+ }
69
74
  }
70
75
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.4.8/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -19,7 +19,7 @@
19
19
  "linter": {
20
20
  "enabled": true,
21
21
  "rules": {
22
- "recommended": true,
22
+ "preset": "recommended",
23
23
  "suspicious": {
24
24
  "noExplicitAny": "warn",
25
25
  "noUnassignedVariables": "warn",
@@ -66,5 +66,10 @@
66
66
  "organizeImports": "on"
67
67
  }
68
68
  }
69
+ },
70
+ "css": {
71
+ "parser": {
72
+ "tailwindDirectives": true
73
+ }
69
74
  }
70
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/create-app",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "UNDP's project scaffolding tool",
5
5
  "bin": {
6
6
  "create-undp-app": "./bin/index.js"