ikramhussainsiyam-create-my-project 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +63 -0
  3. package/cli.js +59 -0
  4. package/package.json +31 -0
  5. package/templates/ViteJS/JavaScript/README.md +8 -0
  6. package/templates/ViteJS/JavaScript/eslint.config.js +44 -0
  7. package/templates/ViteJS/JavaScript/index.html +13 -0
  8. package/templates/ViteJS/JavaScript/package-lock.json +5648 -0
  9. package/templates/ViteJS/JavaScript/package.json +33 -0
  10. package/templates/ViteJS/JavaScript/postcss.config.js +6 -0
  11. package/templates/ViteJS/JavaScript/public/vite.svg +1 -0
  12. package/templates/ViteJS/JavaScript/src/App.jsx +3 -0
  13. package/templates/ViteJS/JavaScript/src/components/Button.jsx +5 -0
  14. package/templates/ViteJS/JavaScript/src/index.css +25 -0
  15. package/templates/ViteJS/JavaScript/src/main.jsx +10 -0
  16. package/templates/ViteJS/JavaScript/tailwind.config.js +13 -0
  17. package/templates/ViteJS/JavaScript/vite.config.js +7 -0
  18. package/templates/ViteJS/TypeScript/README.md +50 -0
  19. package/templates/ViteJS/TypeScript/eslint.config.js +35 -0
  20. package/templates/ViteJS/TypeScript/index.html +13 -0
  21. package/templates/ViteJS/TypeScript/package-lock.json +4254 -0
  22. package/templates/ViteJS/TypeScript/package.json +33 -0
  23. package/templates/ViteJS/TypeScript/postcss.config.js +6 -0
  24. package/templates/ViteJS/TypeScript/public/vite.svg +1 -0
  25. package/templates/ViteJS/TypeScript/src/App.tsx +5 -0
  26. package/templates/ViteJS/TypeScript/src/components/Button.tsx +3 -0
  27. package/templates/ViteJS/TypeScript/src/index.css +25 -0
  28. package/templates/ViteJS/TypeScript/src/main.tsx +10 -0
  29. package/templates/ViteJS/TypeScript/src/vite-env.d.ts +1 -0
  30. package/templates/ViteJS/TypeScript/tailwind.config.js +13 -0
  31. package/templates/ViteJS/TypeScript/tsconfig.app.json +25 -0
  32. package/templates/ViteJS/TypeScript/tsconfig.json +7 -0
  33. package/templates/ViteJS/TypeScript/tsconfig.node.json +23 -0
  34. package/templates/ViteJS/TypeScript/vite.config.ts +7 -0
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "typescript",
3
+ "private": true,
4
+ "version": "0.0.0",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "tsc -b && vite build",
9
+ "lint": "eslint .",
10
+ "preview": "vite preview"
11
+ },
12
+ "dependencies": {
13
+ "react": "^18.3.1",
14
+ "react-dom": "^18.3.1",
15
+ "use-immer": "^0.10.0"
16
+ },
17
+ "devDependencies": {
18
+ "@eslint/js": "^9.13.0",
19
+ "@types/react": "^18.3.11",
20
+ "@types/react-dom": "^18.3.1",
21
+ "@vitejs/plugin-react": "^4.3.3",
22
+ "autoprefixer": "^10.4.20",
23
+ "eslint": "^9.13.0",
24
+ "eslint-plugin-react-hooks": "^5.0.0",
25
+ "eslint-plugin-react-refresh": "^0.4.13",
26
+ "globals": "^15.11.0",
27
+ "postcss": "^8.4.47",
28
+ "tailwindcss": "^3.4.14",
29
+ "typescript": "~5.6.2",
30
+ "typescript-eslint": "^8.10.0",
31
+ "vite": "^5.4.9"
32
+ }
33
+ }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ plugins: {
3
+ tailwindcss: {},
4
+ autoprefixer: {},
5
+ },
6
+ }
@@ -0,0 +1 @@
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>
@@ -0,0 +1,5 @@
1
+ export default function App() {
2
+ return (
3
+ <div>App</div>
4
+ )
5
+ }
@@ -0,0 +1,3 @@
1
+ export default function Button() {
2
+ return <div>Button</div>;
3
+ }
@@ -0,0 +1,25 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ body {
7
+ @apply font-recursive_sans bg-white h-[200vh];
8
+ }
9
+
10
+ /* scroll bar styling */
11
+ ::-webkit-scrollbar {
12
+ width: 12px;
13
+ height: 12px;
14
+ }
15
+ ::-webkit-scrollbar-thumb {
16
+ background: #e2e2e2;
17
+ border-radius: 10px;
18
+ }
19
+ }
20
+
21
+ @layer components {
22
+ .btn {
23
+ @apply px-2 py-1 border rounded hover:bg-zinc-100 active:bg-white active:scale-95;
24
+ }
25
+ }
@@ -0,0 +1,10 @@
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
+ )
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
@@ -0,0 +1,13 @@
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
+ };
@@ -0,0 +1,25 @@
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
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "files": [],
3
+ "references": [
4
+ { "path": "./tsconfig.app.json" },
5
+ { "path": "./tsconfig.node.json" }
6
+ ]
7
+ }
@@ -0,0 +1,23 @@
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
+ }
@@ -0,0 +1,7 @@
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
+ })