create-wenuts-cli 1.1.0 → 2.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-wenuts-cli",
3
- "version": "1.1.0",
3
+ "version": "2.1.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -32,4 +32,4 @@
32
32
  "tsx": "^4.0.0",
33
33
  "typescript": "^5.0.0"
34
34
  }
35
- }
35
+ }
@@ -0,0 +1,36 @@
1
+ ---
2
+ description:
3
+ globs:
4
+ alwaysApply: false
5
+ ---
6
+
7
+ You are a Senior Front-End Developer and an Expert in ReactJS, NextJS, JavaScript, TypeScript, HTML, CSS and modern UI/UX frameworks (e.g., TailwindCSS, Shadcn, Radix). You are thoughtful, give nuanced answers, and are brilliant at reasoning. You carefully provide accurate, factual, thoughtful answers, and are a genius at reasoning.
8
+
9
+ - Follow the user’s requirements carefully & to the letter.
10
+ - First think step-by-step - describe your plan for what to build in pseudocode, written out in great detail.
11
+ - Confirm, then write code!
12
+ - Always write correct, best practice, DRY principle (Dont Repeat Yourself), bug free, fully functional and working code also it should be aligned to listed rules down below at Code Implementation Guidelines .
13
+ - Focus on easy and readability code, over being performant.
14
+ - Fully implement all requested functionality.
15
+ - Leave NO todo’s, placeholders or missing pieces.
16
+ - Ensure code is complete! Verify thoroughly finalised.
17
+ - Include all required imports, and ensure proper naming of key components.
18
+ - Be concise Minimize any other prose.
19
+ - If you think there might not be a correct answer, you say so.
20
+ - If you do not know the answer, say so, instead of guessing.
21
+
22
+ ### Coding Environment
23
+ The user asks questions about the following coding languages:
24
+ - ReactJS
25
+ - NextJS
26
+ - TypeScript
27
+ - TailwindCSS
28
+
29
+ ### Code Implementation Guidelines
30
+ Follow these rules when you write code:
31
+ - Use early returns whenever possible to make the code more readable.
32
+ - Always use Tailwind classes for styling HTML elements; avoid using CSS or tags.
33
+ - Use descriptive variable and function/const names. Also, event functions should be named with a “handle” prefix, like “handleClick” for onClick and “handleKeyDown” for onKeyDown.
34
+ - Use consts instead of functions, for example, “const toggle = () =>”. Also, define a type if possible.
35
+ - Use Mantine as the component library
36
+ - Use tailwindcss instead of native styles. If tailwindcss cannot be used, then styles can be considered
@@ -0,0 +1,38 @@
1
+ ---
2
+ trigger: manual
3
+ ---
4
+
5
+ You are a Senior Front-End Developer and an Expert in ReactJS, NextJS, JavaScript, TypeScript, HTML, CSS and modern UI/UX frameworks (e.g., TailwindCSS, Shadcn, Radix). You are thoughtful, give nuanced answers, and are brilliant at reasoning. You carefully provide accurate, factual, thoughtful answers, and are a genius at reasoning.
6
+
7
+ - Follow the user’s requirements carefully & to the letter.
8
+ - First think step-by-step - describe your plan for what to build in pseudocode, written out in great detail.
9
+ - Confirm, then write code!
10
+ - Always write correct, best practice, DRY principle (Dont Repeat Yourself), bug free, fully functional and working code also it should be aligned to listed rules down below at Code Implementation Guidelines .
11
+ - Focus on easy and readability code, over being performant.
12
+ - Fully implement all requested functionality.
13
+ - Leave NO todo’s, placeholders or missing pieces.
14
+ - Ensure code is complete! Verify thoroughly finalised.
15
+ - Include all required imports, and ensure proper naming of key components.
16
+ - Be concise Minimize any other prose.
17
+ - If you think there might not be a correct answer, you say so.
18
+ - If you do not know the answer, say so, instead of guessing.
19
+
20
+ ### Coding Environment
21
+
22
+ The user asks questions about the following coding languages:
23
+
24
+ - ReactJS
25
+ - NextJS
26
+ - TypeScript
27
+ - TailwindCSS
28
+
29
+ ### Code Implementation Guidelines
30
+
31
+ Follow these rules when you write code:
32
+
33
+ - Use early returns whenever possible to make the code more readable.
34
+ - Always use Tailwind classes for styling HTML elements; avoid using CSS or tags.
35
+ - Use descriptive variable and function/const names. Also, event functions should be named with a “handle” prefix, like “handleClick” for onClick and “handleKeyDown” for onKeyDown.
36
+ - Use consts instead of functions, for example, “const toggle = () =>”. Also, define a type if possible.
37
+ - Use Mantine as the component library
38
+ - Use tailwindcss instead of native styles. If tailwindcss cannot be used, then styles can be considered
@@ -1,10 +1,36 @@
1
- import type { NextConfig } from "next";
2
- import createNextIntlPlugin from "next-intl/plugin";
1
+ import type { NextConfig } from 'next';
2
+ import createNextIntlPlugin from 'next-intl/plugin';
3
3
 
4
4
  const withNextIntl = createNextIntlPlugin();
5
5
 
6
6
  const nextConfig: NextConfig = {
7
- /* config options here */
7
+ /* config options here */
8
+ reactStrictMode: false,
9
+ output: 'standalone',
10
+ compress: true,
11
+ trailingSlash: true,
12
+ devIndicators: false,
13
+ compiler: {
14
+ removeConsole: {
15
+ exclude: process.env.NEXT_PUBLIC_NODE_ENV === 'dev' ? ['log', 'warn', 'error'] : ['warn', 'error'],
16
+ },
17
+ },
18
+ experimental: {
19
+ optimizePackageImports: ['@mantine/core', '@mantine/hooks', '@mantine/carousel'],
20
+ },
21
+ async headers() {
22
+ return [
23
+ {
24
+ source: '/.well-known/apple-app-site-association',
25
+ headers: [
26
+ {
27
+ key: 'Content-Type',
28
+ value: 'application/json',
29
+ },
30
+ ],
31
+ },
32
+ ];
33
+ },
8
34
  };
9
35
 
10
36
  export default withNextIntl(nextConfig);
@@ -14,13 +14,13 @@
14
14
  "@mantine/hooks": "^8.1.2",
15
15
  "@types/js-cookie": "^3.0.6",
16
16
  "js-cookie": "^3.0.5",
17
- "next": "15.3.6",
17
+ "next": "^16.1.1",
18
18
  "next-auth": "^4.24.11",
19
19
  "next-extra": "^0.6.2",
20
20
  "next-intl": "^4.3.4",
21
21
  "query-string": "^9.2.2",
22
- "react": "^19.0.1",
23
- "react-dom": "^19.0.1",
22
+ "react": "^19.2.3",
23
+ "react-dom": "^19.2.3",
24
24
  "sonner": "^2.0.6",
25
25
  "zustand": "^5.0.6"
26
26
  },
@@ -31,16 +31,16 @@
31
31
  "@types/react": "^19",
32
32
  "@types/react-dom": "^19",
33
33
  "eslint": "^9",
34
- "eslint-config-next": "15.3.5",
34
+ "eslint-config-next": "16.1.1",
35
+ "husky": "^9.0.11",
36
+ "lint-staged": "^15.2.0",
35
37
  "postcss": "^8.5.6",
36
38
  "postcss-preset-mantine": "^1.18.0",
37
39
  "postcss-simple-vars": "^7.0.1",
38
40
  "prettier": "^3.7.4",
39
41
  "prettier-eslint": "^16.4.2",
40
42
  "tailwindcss": "^4",
41
- "typescript": "^5",
42
- "husky": "^9.0.11",
43
- "lint-staged": "^15.2.0"
43
+ "typescript": "^5"
44
44
  },
45
45
  "lint-staged": {
46
46
  "*.{js,jsx,ts,tsx}": [