ikramhussainsiyam-create-my-project 1.0.1 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/cli.js +17 -4
  2. package/package.json +1 -1
  3. package/templates/NextJS/JavaScript/.eslintrc.json +3 -0
  4. package/templates/NextJS/JavaScript/README.md +36 -0
  5. package/templates/NextJS/JavaScript/gitignore-template +38 -0
  6. package/templates/NextJS/JavaScript/jsconfig.json +7 -0
  7. package/templates/NextJS/JavaScript/next.config.mjs +4 -0
  8. package/templates/{ViteJS/TypeScript → NextJS/JavaScript}/package-lock.json +3099 -2165
  9. package/templates/NextJS/JavaScript/package.json +30 -0
  10. package/templates/NextJS/JavaScript/postcss.config.mjs +8 -0
  11. package/templates/NextJS/JavaScript/src/app/favicon.ico +0 -0
  12. package/templates/{ViteJS/TypeScript/src/index.css → NextJS/JavaScript/src/app/globals.css} +7 -2
  13. package/templates/NextJS/JavaScript/src/app/layout.jsx +26 -0
  14. package/templates/NextJS/JavaScript/src/app/page.jsx +3 -0
  15. package/templates/NextJS/JavaScript/src/components/Navlink.jsx +28 -0
  16. package/templates/NextJS/JavaScript/src/components/ToastContainer.jsx +84 -0
  17. package/templates/NextJS/JavaScript/src/components/ui/Alert.jsx +48 -0
  18. package/templates/NextJS/JavaScript/src/components/ui/Button.jsx +58 -0
  19. package/templates/NextJS/JavaScript/src/components/ui/Skeleton.jsx +14 -0
  20. package/templates/NextJS/JavaScript/src/lib/utils.js +24 -0
  21. package/templates/NextJS/JavaScript/tailwind.config.js +20 -0
  22. package/templates/ViteJS/JavaScript/README.md +3 -0
  23. package/templates/ViteJS/JavaScript/eslint.config.js +1 -4
  24. package/templates/ViteJS/JavaScript/gitignore-template +1 -0
  25. package/templates/ViteJS/JavaScript/package.json +7 -2
  26. package/templates/ViteJS/JavaScript/src/index.css +15 -1
  27. package/templates/ViteJS/JavaScript/src/lib/utils.js +10 -0
  28. package/templates/ViteJS/JavaScript/tailwind.config.js +8 -3
  29. package/templates/ViteJS/JavaScript/src/components/Button.jsx +0 -5
  30. package/templates/ViteJS/TypeScript/README.md +0 -50
  31. package/templates/ViteJS/TypeScript/eslint.config.js +0 -35
  32. package/templates/ViteJS/TypeScript/gitignore-template +0 -24
  33. package/templates/ViteJS/TypeScript/index.html +0 -13
  34. package/templates/ViteJS/TypeScript/package.json +0 -33
  35. package/templates/ViteJS/TypeScript/postcss.config.js +0 -6
  36. package/templates/ViteJS/TypeScript/public/vite.svg +0 -1
  37. package/templates/ViteJS/TypeScript/src/App.tsx +0 -5
  38. package/templates/ViteJS/TypeScript/src/components/Button.tsx +0 -3
  39. package/templates/ViteJS/TypeScript/src/main.tsx +0 -10
  40. package/templates/ViteJS/TypeScript/src/vite-env.d.ts +0 -1
  41. package/templates/ViteJS/TypeScript/tailwind.config.js +0 -13
  42. package/templates/ViteJS/TypeScript/tsconfig.app.json +0 -25
  43. package/templates/ViteJS/TypeScript/tsconfig.json +0 -7
  44. package/templates/ViteJS/TypeScript/tsconfig.node.json +0 -23
  45. package/templates/ViteJS/TypeScript/vite.config.ts +0 -7
@@ -1,6 +0,0 @@
1
- export default {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- }
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
@@ -1,5 +0,0 @@
1
- export default function App() {
2
- return (
3
- <div>App</div>
4
- )
5
- }
@@ -1,3 +0,0 @@
1
- export default function Button() {
2
- return <div>Button</div>;
3
- }
@@ -1,10 +0,0 @@
1
- import { StrictMode } from 'react'
2
- import { createRoot } from 'react-dom/client'
3
- import './index.css'
4
- import App from './App.tsx'
5
-
6
- createRoot(document.getElementById('root')!).render(
7
- <StrictMode>
8
- <App />
9
- </StrictMode>,
10
- )
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />
@@ -1,13 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- export default {
3
- content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
4
- theme: {
5
- extend: {
6
- fontFamily: {
7
- inter: ["Inter", "Sans serif"],
8
- recursive_sans: ["Recursive Sans Casual", "Monospace"],
9
- },
10
- },
11
- },
12
- plugins: [],
13
- };
@@ -1,25 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "useDefineForClassFields": true,
5
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
6
- "module": "ESNext",
7
- "skipLibCheck": true,
8
-
9
- /* Bundler mode */
10
- "moduleResolution": "Bundler",
11
- "allowImportingTsExtensions": true,
12
- "isolatedModules": true,
13
- "moduleDetection": "force",
14
- "noEmit": true,
15
- "jsx": "react-jsx",
16
-
17
- /* Linting */
18
- "strict": true,
19
- "noUnusedLocals": true,
20
- "noUnusedParameters": true,
21
- "noFallthroughCasesInSwitch": true,
22
- "noUncheckedSideEffectImports": true
23
- },
24
- "include": ["src"]
25
- }
@@ -1,7 +0,0 @@
1
- {
2
- "files": [],
3
- "references": [
4
- { "path": "./tsconfig.app.json" },
5
- { "path": "./tsconfig.node.json" }
6
- ]
7
- }
@@ -1,23 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2022",
4
- "lib": ["ES2023"],
5
- "module": "ESNext",
6
- "skipLibCheck": true,
7
-
8
- /* Bundler mode */
9
- "moduleResolution": "Bundler",
10
- "allowImportingTsExtensions": true,
11
- "isolatedModules": true,
12
- "moduleDetection": "force",
13
- "noEmit": true,
14
-
15
- /* Linting */
16
- "strict": true,
17
- "noUnusedLocals": true,
18
- "noUnusedParameters": true,
19
- "noFallthroughCasesInSwitch": true,
20
- "noUncheckedSideEffectImports": true
21
- },
22
- "include": ["vite.config.ts"]
23
- }
@@ -1,7 +0,0 @@
1
- import { defineConfig } from 'vite'
2
- import react from '@vitejs/plugin-react'
3
-
4
- // https://vite.dev/config/
5
- export default defineConfig({
6
- plugins: [react()],
7
- })