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 +1 -3
- package/package.json +1 -1
- package/templates/NextJS/JavaScript/.eslintrc.json +11 -1
- package/templates/NextJS/JavaScript/README.md +4 -4
- package/templates/NextJS/JavaScript/gitignore-template +13 -6
- package/templates/NextJS/JavaScript/package-lock.json +704 -162
- package/templates/NextJS/JavaScript/package.json +5 -5
- package/templates/NextJS/JavaScript/public/lws.svg +10 -0
- package/templates/NextJS/JavaScript/src/app/layout.jsx +2 -2
- package/templates/NextJS/JavaScript/src/app/page.jsx +1 -1
- package/templates/NextJS/JavaScript/src/components/Navlink.jsx +15 -12
- package/templates/NextJS/JavaScript/src/lib/toast.js +19 -0
- package/templates/NextJS/JavaScript/src/lib/utils.js +0 -14
- package/templates/NextJS/JavaScript/tailwind.config.js +4 -5
package/cli.js
CHANGED
package/package.json
CHANGED
@@ -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
|
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/
|
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
|
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/
|
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
|
7
|
-
.yarn
|
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
|
-
#
|
31
|
-
.env
|
37
|
+
# env files (can opt-in for committing if needed)
|
38
|
+
.env*
|
32
39
|
|
33
40
|
# vercel
|
34
41
|
.vercel
|