@asynx/create-asynx-next-app 1.0.6 → 1.0.7

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": "@asynx/create-asynx-next-app",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Opinionated Next.js App Router scaffolder by Asynx Devs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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,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,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,7 @@
1
+ import type { NextConfig } from 'next';
2
+
3
+ const nextConfig: NextConfig = {
4
+ /* config options here */
5
+ };
6
+
7
+ export default nextConfig;
@@ -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;