ikramhussainsiyam-create-my-project 1.2.1 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/cli.js +2 -2
- package/package.json +1 -1
- package/templates/NextJS/JavaScript/.eslintrc.json +3 -0
- package/templates/NextJS/JavaScript/README.md +36 -0
- package/templates/NextJS/JavaScript/gitignore-template +38 -0
- package/templates/NextJS/JavaScript/jsconfig.json +7 -0
- package/templates/NextJS/JavaScript/next.config.mjs +4 -0
- package/templates/NextJS/JavaScript/package-lock.json +5188 -0
- package/templates/NextJS/JavaScript/package.json +30 -0
- package/templates/NextJS/JavaScript/postcss.config.mjs +8 -0
- package/templates/NextJS/JavaScript/src/app/favicon.ico +0 -0
- package/templates/NextJS/JavaScript/src/app/globals.css +30 -0
- package/templates/NextJS/JavaScript/src/app/layout.jsx +26 -0
- package/templates/NextJS/JavaScript/src/app/page.jsx +3 -0
- package/templates/NextJS/JavaScript/src/components/Navlink.jsx +28 -0
- package/templates/NextJS/JavaScript/src/components/ToastContainer.jsx +84 -0
- package/templates/NextJS/JavaScript/src/components/ui/Alert.jsx +48 -0
- package/templates/NextJS/JavaScript/src/components/ui/Button.jsx +58 -0
- package/templates/NextJS/JavaScript/src/components/ui/Skeleton.jsx +14 -0
- package/templates/NextJS/JavaScript/src/lib/utils.js +24 -0
- package/templates/NextJS/JavaScript/tailwind.config.js +20 -0
- package/templates/ViteJS/JavaScript/README.md +3 -0
- package/templates/ViteJS/JavaScript/eslint.config.js +1 -4
- package/templates/ViteJS/JavaScript/gitignore-template +1 -0
- package/templates/ViteJS/JavaScript/src/index.css +13 -0
package/cli.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env node
|
1
|
+
#!/usr/bin/env node
|
2
2
|
|
3
3
|
// TODO (for later): update in `package.json` deps from `react-toastify` to `sonner`.
|
4
4
|
|
@@ -28,7 +28,7 @@ async function main() {
|
|
28
28
|
type: "list",
|
29
29
|
name: "language",
|
30
30
|
message: "Choose your language:",
|
31
|
-
choices: ["JavaScript"
|
31
|
+
choices: ["JavaScript"],
|
32
32
|
},
|
33
33
|
]);
|
34
34
|
|
package/package.json
CHANGED
@@ -0,0 +1,36 @@
|
|
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
|
+
|
3
|
+
## Getting Started
|
4
|
+
|
5
|
+
First, run the development server:
|
6
|
+
|
7
|
+
```bash
|
8
|
+
npm run dev
|
9
|
+
# or
|
10
|
+
yarn dev
|
11
|
+
# or
|
12
|
+
pnpm dev
|
13
|
+
# or
|
14
|
+
bun dev
|
15
|
+
```
|
16
|
+
|
17
|
+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
18
|
+
|
19
|
+
You can start editing the page by modifying `app/page.js`. The page auto-updates as you edit the file.
|
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.
|
22
|
+
|
23
|
+
## Learn More
|
24
|
+
|
25
|
+
To learn more about Next.js, take a look at the following resources:
|
26
|
+
|
27
|
+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
28
|
+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
29
|
+
|
30
|
+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
|
31
|
+
|
32
|
+
## Deploy on Vercel
|
33
|
+
|
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
|
+
|
36
|
+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
2
|
+
|
3
|
+
# dependencies
|
4
|
+
/node_modules
|
5
|
+
/.pnp
|
6
|
+
.pnp.js
|
7
|
+
.yarn/install-state.gz
|
8
|
+
|
9
|
+
# testing
|
10
|
+
/coverage
|
11
|
+
|
12
|
+
# next.js
|
13
|
+
/.next/
|
14
|
+
/out/
|
15
|
+
|
16
|
+
# production
|
17
|
+
/build
|
18
|
+
|
19
|
+
# misc
|
20
|
+
.DS_Store
|
21
|
+
*.pem
|
22
|
+
|
23
|
+
# debug
|
24
|
+
npm-debug.log*
|
25
|
+
yarn-debug.log*
|
26
|
+
yarn-error.log*
|
27
|
+
html_template
|
28
|
+
server
|
29
|
+
|
30
|
+
# local env files
|
31
|
+
.env*.local
|
32
|
+
|
33
|
+
# vercel
|
34
|
+
.vercel
|
35
|
+
|
36
|
+
# typescript
|
37
|
+
*.tsbuildinfo
|
38
|
+
next-env.d.ts
|