ikramhussainsiyam-create-my-project 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
package/cli.js CHANGED
@@ -1,6 +1,4 @@
1
- #!/usr/bin/env node
2
-
3
- // TODO (for later): update in `package.json` deps from `react-toastify` to `sonner`.
1
+ #!/usr/bin/env node
4
2
 
5
3
  import { execSync } from "child_process";
6
4
  import fs from "fs-extra";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "ikramhussainsiyam-create-my-project",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "description": "Most used React/Next JS/TS settings and configs as a template.",
6
6
  "main": "cli.js",
7
7
  "bin": {
@@ -1,3 +1,13 @@
1
1
  {
2
- "extends": "next/core-web-vitals"
2
+ "extends": "next/core-web-vitals",
3
+ "rules": {
4
+ "react/jsx-no-target-blank": "off",
5
+ "no-unused-vars": [
6
+ "error",
7
+ { "vars": "all", "args": "after-used", "ignoreRestSiblings": true }
8
+ ],
9
+ "react/prop-types": "off",
10
+ "react/no-unescaped-entities": "off",
11
+ "react-refresh/only-export-components": "off"
12
+ }
3
13
  }
@@ -1,4 +1,4 @@
1
- This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
1
+ This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2
2
 
3
3
  ## Getting Started
4
4
 
@@ -18,7 +18,7 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the
18
18
 
19
19
  You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.
20
20
 
21
- This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
21
+ This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
22
22
 
23
23
  ## Learn More
24
24
 
@@ -27,10 +27,10 @@ To learn more about Next.js, take a look at the following resources:
27
27
  - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28
28
  - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29
29
 
30
- You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
30
+ You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
31
31
 
32
32
  ## Deploy on Vercel
33
33
 
34
34
  The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
35
35
 
36
- Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
36
+ Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
@@ -3,12 +3,21 @@
3
3
  # dependencies
4
4
  /node_modules
5
5
  /.pnp
6
- .pnp.js
7
- .yarn/install-state.gz
6
+ .pnp.*
7
+ .yarn/*
8
+ !.yarn/patches
9
+ !.yarn/plugins
10
+ !.yarn/releases
11
+ !.yarn/versions
8
12
 
9
13
  # testing
10
14
  /coverage
11
15
 
16
+ # lws assignments/prjoects
17
+ html_template
18
+ server
19
+ backend
20
+
12
21
  # next.js
13
22
  /.next/
14
23
  /out/
@@ -24,11 +33,9 @@
24
33
  npm-debug.log*
25
34
  yarn-debug.log*
26
35
  yarn-error.log*
27
- html_template
28
- server
29
36
 
30
- # local env files
31
- .env*.local
37
+ # env files (can opt-in for committing if needed)
38
+ .env*
32
39
 
33
40
  # vercel
34
41
  .vercel