@asynx/create-asynx-next-app 1.0.6 → 1.0.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.
@@ -6,7 +6,7 @@
6
6
  "create-asynx-next-app": "index.js"
7
7
  },
8
8
  "dependencies": {
9
- "@asynx/create-asynx-next-app": "^0.1.0"
9
+ "@asynx/create-asynx-next-app": "^1.0.7"
10
10
  },
11
11
  "license": "MIT"
12
12
  }
@@ -0,0 +1,52 @@
1
+ lockfileVersion: '9.0'
2
+
3
+ settings:
4
+ autoInstallPeers: true
5
+ excludeLinksFromLockfile: false
6
+
7
+ importers:
8
+
9
+ .:
10
+ dependencies:
11
+ '@asynx/create-asynx-next-app':
12
+ specifier: ^1.0.7
13
+ version: 1.0.7
14
+
15
+ packages:
16
+
17
+ '@asynx/create-asynx-next-app@1.0.7':
18
+ resolution: {integrity: sha512-o4O5GKQloV3iknDR32Jw9nfRAEMvYi0jfPWVF3Gq3ijRR4XdaZAQGQewlNOru8/XPPQwYvZ9JeRz0+vaMHckxQ==}
19
+ engines: {node: '>=18'}
20
+ hasBin: true
21
+
22
+ kleur@3.0.3:
23
+ resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
24
+ engines: {node: '>=6'}
25
+
26
+ picocolors@1.1.1:
27
+ resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
28
+
29
+ prompts@2.4.2:
30
+ resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}
31
+ engines: {node: '>= 6'}
32
+
33
+ sisteransi@1.0.5:
34
+ resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
35
+
36
+ snapshots:
37
+
38
+ '@asynx/create-asynx-next-app@1.0.7':
39
+ dependencies:
40
+ picocolors: 1.1.1
41
+ prompts: 2.4.2
42
+
43
+ kleur@3.0.3: {}
44
+
45
+ picocolors@1.1.1: {}
46
+
47
+ prompts@2.4.2:
48
+ dependencies:
49
+ kleur: 3.0.3
50
+ sisteransi: 1.0.5
51
+
52
+ sisteransi@1.0.5: {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asynx/create-asynx-next-app",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Opinionated Next.js App Router scaffolder by Asynx Devs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -0,0 +1,3 @@
1
+ declare module '*.css';
2
+ declare module '*.scss';
3
+ declare module '*.sass';
@@ -0,0 +1,7 @@
1
+ import type { NextConfig } from 'next';
2
+
3
+ const nextConfig: NextConfig = {
4
+ /* config options here */
5
+ };
6
+
7
+ export default nextConfig;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES2020",
3
+ "target": "ES2017",
4
4
  "lib": ["dom", "dom.iterable", "esnext"],
5
5
  "allowJs": true,
6
6
  "skipLibCheck": true,
@@ -11,7 +11,7 @@
11
11
  "moduleResolution": "bundler",
12
12
  "resolveJsonModule": true,
13
13
  "isolatedModules": true,
14
- "jsx": "preserve",
14
+ "jsx": "react-jsx",
15
15
  "incremental": true,
16
16
  "plugins": [
17
17
  {
@@ -19,11 +19,16 @@
19
19
  }
20
20
  ],
21
21
  "paths": {
22
- "@/*": ["./src/*"],
23
- "@/features/*": ["./src/features/*"],
24
- "@/lib/*": ["./src/lib/*"]
22
+ "@/*": ["./*"]
25
23
  }
26
24
  },
27
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
25
+ "include": [
26
+ "next-env.d.ts",
27
+ "**/*.ts",
28
+ "**/*.tsx",
29
+ ".next/types/**/*.ts",
30
+ ".next/dev/types/**/*.ts",
31
+ "**/*.mts"
32
+ ],
28
33
  "exclude": ["node_modules"]
29
34
  }
@@ -0,0 +1,3 @@
1
+ declare module '*.css';
2
+ declare module '*.scss';
3
+ declare module '*.sass';
@@ -0,0 +1,7 @@
1
+ import type { NextConfig } from 'next';
2
+
3
+ const nextConfig: NextConfig = {
4
+ /* config options here */
5
+ };
6
+
7
+ export default nextConfig;
@@ -1,5 +1,4 @@
1
1
  @import 'tailwindcss';
2
- @import 'tw-animate-css';
3
2
 
4
3
  @custom-variant dark (&:is(.dark *));
5
4
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES2020",
3
+ "target": "ES2017",
4
4
  "lib": ["dom", "dom.iterable", "esnext"],
5
5
  "allowJs": true,
6
6
  "skipLibCheck": true,
@@ -11,7 +11,7 @@
11
11
  "moduleResolution": "bundler",
12
12
  "resolveJsonModule": true,
13
13
  "isolatedModules": true,
14
- "jsx": "preserve",
14
+ "jsx": "react-jsx",
15
15
  "incremental": true,
16
16
  "plugins": [
17
17
  {
@@ -19,9 +19,16 @@
19
19
  }
20
20
  ],
21
21
  "paths": {
22
- "@/*": ["./src/*"]
22
+ "@/*": ["./*"]
23
23
  }
24
24
  },
25
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
25
+ "include": [
26
+ "next-env.d.ts",
27
+ "**/*.ts",
28
+ "**/*.tsx",
29
+ ".next/types/**/*.ts",
30
+ ".next/dev/types/**/*.ts",
31
+ "**/*.mts"
32
+ ],
26
33
  "exclude": ["node_modules"]
27
34
  }
@@ -0,0 +1,18 @@
1
+ import { defineConfig, globalIgnores } from 'eslint/config';
2
+ import nextVitals from 'eslint-config-next/core-web-vitals';
3
+ import nextTs from 'eslint-config-next/typescript';
4
+
5
+ const eslintConfig = defineConfig([
6
+ ...nextVitals,
7
+ ...nextTs,
8
+ // Override default ignores of eslint-config-next.
9
+ globalIgnores([
10
+ // Default ignores of eslint-config-next:
11
+ '.next/**',
12
+ 'out/**',
13
+ 'build/**',
14
+ 'next-env.d.ts',
15
+ ]),
16
+ ]);
17
+
18
+ export default eslintConfig;
@@ -0,0 +1,3 @@
1
+ declare module '*.css';
2
+ declare module '*.scss';
3
+ declare module '*.sass';
@@ -0,0 +1,7 @@
1
+ import type { NextConfig } from 'next';
2
+
3
+ const nextConfig: NextConfig = {
4
+ /* config options here */
5
+ };
6
+
7
+ export default nextConfig;
@@ -5,20 +5,21 @@
5
5
  "dev": "next dev",
6
6
  "build": "next build",
7
7
  "start": "next start",
8
- "lint": "next lint"
8
+ "lint": "eslint"
9
9
  },
10
10
  "dependencies": {
11
- "next": "latest",
12
- "react": "latest",
13
- "react-dom": "latest"
11
+ "next": "16.1.1",
12
+ "react": "19.2.3",
13
+ "react-dom": "19.2.3"
14
14
  },
15
15
  "devDependencies": {
16
- "tailwindcss": "^4.0.0",
17
- "postcss": "^8.4.0",
18
- "autoprefixer": "^10.4.0",
19
- "@types/node": "^20.0.0",
20
- "typescript": "^5.0.0",
21
- "@types/react": "^18.0.0",
22
- "@types/react-dom": "^18.0.0"
16
+ "@tailwindcss/postcss": "^4",
17
+ "@types/node": "^20",
18
+ "@types/react": "^19",
19
+ "@types/react-dom": "^19",
20
+ "eslint": "^9",
21
+ "eslint-config-next": "16.1.1",
22
+ "tailwindcss": "^4",
23
+ "typescript": "^5"
23
24
  }
24
25
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES2022",
3
+ "target": "ES2017",
4
4
  "lib": ["dom", "dom.iterable", "esnext"],
5
- "allowJs": false,
5
+ "allowJs": true,
6
6
  "skipLibCheck": true,
7
7
  "strict": true,
8
8
  "noEmit": true,
@@ -13,14 +13,22 @@
13
13
  "isolatedModules": true,
14
14
  "jsx": "react-jsx",
15
15
  "incremental": true,
16
- "plugins": [{ "name": "next" }]
16
+ "plugins": [
17
+ {
18
+ "name": "next"
19
+ }
20
+ ],
21
+ "paths": {
22
+ "@/*": ["./*"]
23
+ }
17
24
  },
18
25
  "include": [
19
26
  "next-env.d.ts",
20
27
  "**/*.ts",
21
28
  "**/*.tsx",
22
29
  ".next/types/**/*.ts",
23
- ".next/dev/types/**/*.ts"
30
+ ".next/dev/types/**/*.ts",
31
+ "**/*.mts"
24
32
  ],
25
33
  "exclude": ["node_modules"]
26
34
  }
@@ -1,14 +0,0 @@
1
- /** @type {import('next').NextConfig} */
2
- const nextConfig = {
3
- reactStrictMode: true,
4
- // Recommended for production SaaS apps
5
- poweredByHeader: false,
6
- typescript: {
7
- ignoreBuildErrors: true,
8
- },
9
- images: {
10
- unoptimized: true,
11
- },
12
- };
13
-
14
- export default nextConfig;
@@ -1,4 +0,0 @@
1
- /// <reference types="next" />
2
- /// <reference types="next/image-types/global" />
3
-
4
- export {};