├── packages └── create-kowind │ ├── template-vue-ts-kowind-v2 │ ├── .prettierrc.json │ ├── src │ │ ├── index.css │ │ ├── main.ts │ │ ├── env.d.ts │ │ ├── App.vue │ │ ├── components │ │ │ └── HelloWorld.vue │ │ └── assets │ │ │ └── logo.svg │ ├── postcss.config.js │ ├── public │ │ └── favicon.ico │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── vite.config.ts │ ├── tailwind.config.js │ ├── index.html │ ├── .eslintrc.js │ ├── tsconfig.json │ ├── package.json │ ├── .gitignore │ └── README.md │ ├── template-vanilla-kowind-v2 │ ├── src │ │ ├── main.js │ │ ├── index.css │ │ └── assets │ │ │ └── logo.svg │ ├── .eslintignore │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── postcss.config.js │ ├── .prettierrc.json │ ├── tailwind.config.js │ ├── package.json │ ├── .eslintrc.json │ ├── index.html │ ├── .gitignore │ └── README.md │ ├── template-vue-kowind-v2 │ ├── .eslintignore │ ├── src │ │ ├── index.css │ │ ├── main.js │ │ ├── App.vue │ │ ├── components │ │ │ └── HelloWorld.vue │ │ └── assets │ │ │ └── logo.svg │ ├── postcss.config.js │ ├── public │ │ └── favicon.ico │ ├── .prettierrc.json │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── vite.config.js │ ├── tailwind.config.js │ ├── index.html │ ├── package.json │ ├── .eslintrc.json │ ├── .gitignore │ └── README.md │ ├── template-react-kowind-v2 │ ├── .eslintignore │ ├── src │ │ ├── index.css │ │ ├── main.jsx │ │ ├── App.jsx │ │ └── Assets │ │ │ └── img │ │ │ └── logo.svg │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── postcss.config.js │ ├── .prettierrc.json │ ├── vite.config.js │ ├── tailwind.config.js │ ├── index.html │ ├── package.json │ ├── .eslintrc.json │ ├── .gitignore │ ├── README.md │ └── kowind.svg │ ├── template-react-ts-kowind-v2 │ ├── .eslintignore │ ├── src │ │ ├── vite-env.d.ts │ │ ├── index.css │ │ ├── main.tsx │ │ ├── App.tsx │ │ └── Assets │ │ │ └── img │ │ │ └── logo.svg │ ├── .vscode │ │ ├── extensions.json │ │ └── settings.json │ ├── postcss.config.js │ ├── .prettierrc.json │ ├── vite.config.ts │ ├── tailwind.config.js │ ├── index.html │ ├── tsconfig.json │ ├── package.json │ ├── .eslintrc.json │ ├── .gitignore │ ├── README.md │ └── kowind.svg │ ├── sync-repos.js │ ├── package.json │ ├── gitignore │ ├── .gitignore │ ├── README.md │ ├── index.js │ └── logo.svg ├── .github └── FUNDING.yml ├── package.json ├── README.md └── logo.svg /packages/create-kowind/template-vue-ts-kowind-v2/.prettierrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/src/main.js: -------------------------------------------------------------------------------- 1 | import './index.css' -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: kayooliveira 4 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | bin 4 | .env 5 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | bin 4 | .env 5 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | bin 4 | .env 5 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | /*.js 4 | bin 5 | .env -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/src/index.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["esbenp.prettier-vscode", "bradlc.vscode-tailwindcss"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["esbenp.prettier-vscode", "bradlc.vscode-tailwindcss"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["esbenp.prettier-vscode", "bradlc.vscode-tailwindcss"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kayooliveira/kowind/HEAD/packages/create-kowind/template-vue-kowind-v2/public/favicon.ico -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue' 2 | import App from './App.vue' 3 | import './index.css' 4 | 5 | createApp(App).mount('#app') 6 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kayooliveira/kowind/HEAD/packages/create-kowind/template-vue-ts-kowind-v2/public/favicon.ico -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/src/main.ts: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue' 2 | import App from './App.vue' 3 | import './index.css' 4 | 5 | createApp(App).mount('#app') 6 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false, 3 | "singleQuote": true, 4 | "arrowParens": "avoid", 5 | "trailingComma": "none", 6 | "endOfLine": "auto" 7 | } -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false, 3 | "singleQuote": true, 4 | "arrowParens": "avoid", 5 | "trailingComma": "none", 6 | "endOfLine": "auto" 7 | } -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "johnsoncodehk.volar", 4 | "esbenp.prettier-vscode", 5 | "bradlc.vscode-tailwindcss" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false, 3 | "singleQuote": true, 4 | "arrowParens": "avoid", 5 | "trailingComma": "none", 6 | "endOfLine": "auto" 7 | } -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "semi": false, 3 | "singleQuote": true, 4 | "arrowParens": "avoid", 5 | "trailingComma": "none", 6 | "endOfLine": "auto" 7 | } -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "johnsoncodehk.volar", 4 | "esbenp.prettier-vscode", 5 | "bradlc.vscode-tailwindcss" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/vite.config.js: -------------------------------------------------------------------------------- 1 | import vue from '@vitejs/plugin-vue' 2 | import { defineConfig } from 'vite' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [vue()] 7 | }) 8 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import vue from '@vitejs/plugin-vue' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [vue()] 7 | }) 8 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/vite.config.js: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()] 7 | }) 8 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "kowind", 3 | "version": "2.0.0", 4 | "description": "Install and Setting Tailwindcss, Prettier and ESLint automatically for Vite", 5 | "author": "kayooliveira", 6 | "license": "MIT", 7 | "icon": "./logo.svg" 8 | } 9 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite' 2 | import react from '@vitejs/plugin-react' 3 | 4 | // https://vitejs.dev/config/ 5 | export default defineConfig({ 6 | plugins: [react()] 7 | }) 8 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/src/main.jsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import ReactDOM from "react-dom"; 3 | import "./index.css"; 4 | import { App } from "./App"; 5 | 6 | ReactDOM.render( 7 | 8 | 9 | , 10 | document.getElementById("root") 11 | ); 12 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/src/main.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import ReactDOM from "react-dom"; 3 | import "./index.css"; 4 | import { App } from "./App"; 5 | 6 | ReactDOM.render( 7 | 8 | 9 | , 10 | document.getElementById("root") 11 | ); 12 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | declare module '*.vue' { 4 | import { DefineComponent } from 'vue' 5 | // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types 6 | const component: DefineComponent<{}, {}, any> 7 | export default component 8 | } 9 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.defaultFormatter": "esbenp.prettier-vscode", 3 | "editor.formatOnPaste": true, 4 | "editor.formatOnSave": true, 5 | "editor.formatOnSaveMode": "file", 6 | "tailwindCSS.includeLanguages": { 7 | "plaintext": "html" 8 | }, 9 | "editor.quickSuggestions": { 10 | "strings": true 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.defaultFormatter": "esbenp.prettier-vscode", 3 | "editor.formatOnPaste": true, 4 | "editor.formatOnSave": true, 5 | "editor.formatOnSaveMode": "file", 6 | "tailwindCSS.includeLanguages": { 7 | "plaintext": "html" 8 | }, 9 | "editor.quickSuggestions": { 10 | "strings": true 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.defaultFormatter": "esbenp.prettier-vscode", 3 | "editor.formatOnPaste": true, 4 | "editor.formatOnSave": true, 5 | "editor.formatOnSaveMode": "file", 6 | "tailwindCSS.includeLanguages": { 7 | "plaintext": "html" 8 | }, 9 | "editor.quickSuggestions": { 10 | "strings": true 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.defaultFormatter": "esbenp.prettier-vscode", 3 | "editor.formatOnPaste": true, 4 | "editor.formatOnSave": true, 5 | "editor.formatOnSaveMode": "file", 6 | "tailwindCSS.includeLanguages": { 7 | "plaintext": "html" 8 | }, 9 | "editor.quickSuggestions": { 10 | "strings": true 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.defaultFormatter": "esbenp.prettier-vscode", 3 | "editor.formatOnPaste": true, 4 | "editor.formatOnSave": true, 5 | "editor.formatOnSaveMode": "file", 6 | "tailwindCSS.includeLanguages": { 7 | "plaintext": "html" 8 | }, 9 | "editor.quickSuggestions": { 10 | "strings": true 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: ['index.html','./src/**/*.{js,jsx,html}'], 3 | theme: { 4 | extend: { 5 | colors: { 6 | "kowind": { // Kowind colors 7 | primary: "#F970D2", 8 | secondary: "#F6969C", 9 | light: "#EBBDCD" 10 | }, 11 | } 12 | }, 13 | }, 14 | plugins: [], 15 | } 16 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: ['index.html','./src/**/*.{js,jsx,ts,tsx,vue,html}'], 3 | theme: { 4 | extend: { 5 | colors: { 6 | "kowind": { // Kowind colors 7 | primary: "#F970D2", 8 | secondary: "#F6969C", 9 | light: "#EBBDCD" 10 | }, 11 | } 12 | }, 13 | }, 14 | plugins: [], 15 | } 16 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: ['index.html', './src/**/*.{js,jsx,ts,tsx,vue,html}'], 3 | theme: { 4 | extend: { 5 | colors: { 6 | kowind: { 7 | // Kowind colors 8 | primary: '#F970D2', 9 | secondary: '#F6969C', 10 | light: '#EBBDCD' 11 | } 12 | } 13 | } 14 | }, 15 | plugins: [] 16 | } 17 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: ['index.html', './src/**/*.{js,jsx,ts,tsx,vue,html}'], 3 | theme: { 4 | extend: { 5 | colors: { 6 | kowind: { 7 | // Kowind colors 8 | primary: '#F970D2', 9 | secondary: '#F6969C', 10 | light: '#EBBDCD' 11 | } 12 | } 13 | } 14 | }, 15 | plugins: [] 16 | } 17 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Vite App 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Kowind APP 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | env: { 3 | browser: true, 4 | es2021: true 5 | }, 6 | extends: [ 7 | 'plugin:vue/essential', 8 | 'standard' 9 | ], 10 | parserOptions: { 11 | ecmaVersion: 'latest', 12 | parser: '@typescript-eslint/parser', 13 | sourceType: 'module' 14 | }, 15 | plugins: [ 16 | 'vue', 17 | '@typescript-eslint' 18 | ], 19 | rules: { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/tailwind.config.js: -------------------------------------------------------------------------------- 1 | // const colors = require('tailwindcss/colors') 2 | 3 | module.exports = { 4 | content: ['index.html','./src/**/*.{js,html}'], 5 | theme: { 6 | extend: { 7 | colors: { 8 | "kowind": { // Kowind colors 9 | primary: "#F970D2", 10 | secondary: "#F6969C", 11 | light: "#EBBDCD" 12 | }, 13 | } 14 | }, 15 | }, 16 | plugins: [], 17 | } 18 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Kowind APP 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Kowind APP 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "esnext", 4 | "useDefineForClassFields": true, 5 | "module": "esnext", 6 | "moduleResolution": "node", 7 | "strict": true, 8 | "jsx": "preserve", 9 | "sourceMap": true, 10 | "resolveJsonModule": true, 11 | "esModuleInterop": true, 12 | "lib": ["esnext", "dom"] 13 | }, 14 | "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] 15 | } 16 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ESNext", 4 | "useDefineForClassFields": true, 5 | "lib": ["DOM", "DOM.Iterable", "ESNext"], 6 | "allowJs": false, 7 | "skipLibCheck": false, 8 | "esModuleInterop": false, 9 | "allowSyntheticDefaultImports": true, 10 | "strict": true, 11 | "forceConsistentCasingInFileNames": true, 12 | "module": "ESNext", 13 | "moduleResolution": "Node", 14 | "resolveJsonModule": true, 15 | "isolatedModules": true, 16 | "noEmit": true, 17 | "jsx": "react-jsx" 18 | }, 19 | "include": ["./src"] 20 | } 21 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name":"template-vanilla-kowind", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "dev": "cross-env TAILWIND_MODE=watch vite", 6 | "build": "cross-env TAILWIND_MODE=build vite build", 7 | "serve": "vite preview" 8 | }, 9 | "devDependencies": { 10 | "cross-env": "^7.0.3", 11 | "eslint": "^8.0.1", 12 | "eslint-config-prettier": "^8.5.0", 13 | "eslint-config-standard": "^17.0.0", 14 | "eslint-plugin-import": "^2.25.2", 15 | "eslint-plugin-import-helpers": "^1.2.1", 16 | "eslint-plugin-n": "^15.0.0", 17 | "eslint-plugin-prettier": "^4.0.0", 18 | "eslint-plugin-promise": "^6.0.0", 19 | "prettier": "^2.5.1", 20 | "prettier-plugin-tailwindcss": "^0.1.5", 21 | "vitawind": "^2.2.4", 22 | "vite": "^2.4.4" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /packages/create-kowind/sync-repos.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | import { execSync } from "child_process"; 3 | import fs from "fs"; 4 | 5 | const from = "kayooliveira"; 6 | 7 | const repos = [ 8 | "template-react-kowind-v2", 9 | "template-react-ts-kowind-v2", 10 | "template-vanilla-kowind-v2", 11 | "template-vue-kowind-v2", 12 | "template-vue-ts-kowind-v2", 13 | ] 14 | 15 | 16 | repos.forEach((repo) => { 17 | if (fs.existsSync(repo)) { 18 | fs.rmSync(repo, { recursive: true, force: true }); 19 | console.log(`removed repo '${repo}'`); 20 | } 21 | console.log(`sync repo '${repo}' ...`); 22 | 23 | const clearGit = `cd ${repo}\nrm -rf .git`; 24 | 25 | execSync( 26 | [ 27 | `git clone https://github.com/${from}/${repo}.git`, 28 | clearGit, 29 | ] 30 | .filter((e) => e) 31 | .join("\n") 32 | ); 33 | }); 34 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "template-vue-kowind", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "dev": "vite", 6 | "build": "vite build", 7 | "preview": "vite preview" 8 | }, 9 | "dependencies": { 10 | "vue": "^3.2.25" 11 | }, 12 | "devDependencies": { 13 | "@vitejs/plugin-vue": "^2.0.0", 14 | "eslint": "^8.0.1", 15 | "eslint-config-prettier": "^8.5.0", 16 | "eslint-config-standard": "^17.0.0", 17 | "eslint-plugin-import": "^2.25.2", 18 | "eslint-plugin-import-helpers": "^1.2.1", 19 | "eslint-plugin-n": "^15.0.0", 20 | "eslint-plugin-prettier": "^4.0.0", 21 | "eslint-plugin-promise": "^6.0.0", 22 | "eslint-plugin-vue": "^9.1.0", 23 | "prettier": "^2.5.1", 24 | "prettier-plugin-tailwindcss": "^0.1.5", 25 | "vitawind": "^2.2.4", 26 | "vite": "^2.7.2" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "template-react-kowind", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "dev": "vite", 6 | "build": "vite build", 7 | "preview": "vite preview" 8 | }, 9 | "dependencies": { 10 | "react": "^17.0.2", 11 | "react-dom": "^17.0.2" 12 | }, 13 | "devDependencies": { 14 | "@vitejs/plugin-react": "^1.0.7", 15 | "eslint": "^8.0.1", 16 | "eslint-config-prettier": "^8.5.0", 17 | "eslint-config-standard": "^17.0.0", 18 | "eslint-plugin-import": "^2.25.2", 19 | "eslint-plugin-import-helpers": "^1.2.1", 20 | "eslint-plugin-n": "^15.0.0", 21 | "eslint-plugin-prettier": "^4.0.0", 22 | "eslint-plugin-promise": "^6.0.0", 23 | "eslint-plugin-react": "^7.30.0", 24 | "prettier": "^2.5.1", 25 | "prettier-plugin-tailwindcss": "^0.1.5", 26 | "vitawind":"^2.0.0", 27 | "vite": "^2.7.2" 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "template-vue-ts-kowind", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "dev": "vite", 6 | "build": "vue-tsc --noEmit && vite build", 7 | "preview": "vite preview" 8 | }, 9 | "dependencies": { 10 | "vue": "^3.2.25" 11 | }, 12 | "devDependencies": { 13 | "@typescript-eslint/eslint-plugin": "^5.27.0", 14 | "@typescript-eslint/parser": "^5.27.0", 15 | "@vitejs/plugin-vue": "^2.0.0", 16 | "eslint": "^8.0.1", 17 | "eslint-config-prettier": "^8.5.0", 18 | "eslint-config-standard": "^17.0.0", 19 | "eslint-plugin-import": "^2.25.2", 20 | "eslint-plugin-import-helpers": "^1.2.1", 21 | "eslint-plugin-n": "^15.0.0", 22 | "eslint-plugin-prettier": "^4.0.0", 23 | "eslint-plugin-promise": "^6.0.0", 24 | "eslint-plugin-vue": "^9.1.0", 25 | "prettier": "^2.5.1", 26 | "prettier-plugin-tailwindcss": "^0.1.5", 27 | "typescript": "^4.4.4", 28 | "vitawind": "^2.2.4", 29 | "vite": "^2.7.2", 30 | "vue-tsc": "^0.29.8" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "template-react-ts-kowind", 3 | "version": "0.0.0", 4 | "scripts": { 5 | "dev": "vite", 6 | "build": "tsc && vite build", 7 | "preview": "vite preview" 8 | }, 9 | "dependencies": { 10 | "react": "^17.0.2", 11 | "react-dom": "^17.0.2", 12 | "vitawind": "^2.0.0" 13 | }, 14 | "devDependencies": { 15 | "@types/react": "^17.0.33", 16 | "@types/react-dom": "^17.0.10", 17 | "@typescript-eslint/eslint-plugin": "^5.27.0", 18 | "@typescript-eslint/parser": "^5.27.0", 19 | "@vitejs/plugin-react": "^1.0.7", 20 | "eslint": "^8.16.0", 21 | "eslint-config-prettier": "^8.5.0", 22 | "eslint-config-standard": "^17.0.0", 23 | "eslint-plugin-import": "^2.26.0", 24 | "eslint-plugin-import-helpers": "^1.2.1", 25 | "eslint-plugin-n": "^15.0.0", 26 | "eslint-plugin-prettier": "^4.0.0", 27 | "eslint-plugin-promise": "^6.0.0", 28 | "eslint-plugin-react": "^7.30.0", 29 | "prettier": "^2.5.1", 30 | "prettier-plugin-tailwindcss": "^0.1.5", 31 | "typescript": "^4.4.4", 32 | "vite": "^2.7.2" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "es2021": true 5 | }, 6 | "extends": [ 7 | "plugin:vue/essential", 8 | "prettier", 9 | "standard", 10 | "plugin:import/warnings", 11 | "plugin:import/errors" 12 | ], 13 | "parserOptions": { 14 | "ecmaVersion": "latest", 15 | "sourceType": "module" 16 | }, 17 | "plugins": [ 18 | "vue", 19 | "eslint-plugin-import-helpers", 20 | "prettier" 21 | ], 22 | 23 | "rules": { 24 | "prettier/prettier": "error", 25 | "space-before-function-paren": "off", 26 | "camelcase": "warn", 27 | "no-use-before-define": "off", 28 | "import-helpers/order-imports": [ 29 | "warn", 30 | { 31 | "newlinesBetween": "always", 32 | "groups": [ 33 | "module", 34 | "/^@shared/", 35 | ["parent", "sibling", "index"] 36 | ], 37 | "alphabetize": { "order": "asc", "ignoreCase": true } 38 | } 39 | ], 40 | "import/prefer-default-export": "off" 41 | 42 | }, 43 | "settings": { 44 | "import/resolver": { 45 | "node": { 46 | "extensions": [ 47 | ".js", 48 | ".vue" 49 | ] 50 | } 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /packages/create-kowind/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "create-kowind", 3 | "version": "3.0.1", 4 | "icon": "./logo.svg", 5 | "description": "Scaffolding for your tailwindcss v3 project", 6 | "main": "index.js", 7 | "type": "module", 8 | "bin": { 9 | "create-kowind": "index.js", 10 | "cka": "index.js" 11 | }, 12 | "files": [ 13 | "index.js", 14 | "gitignore", 15 | "template-*" 16 | ], 17 | "engines": { 18 | "node": ">=12.13.0" 19 | }, 20 | "scripts": { 21 | "test": "echo \"Error: no test specified\" && exit 1", 22 | "sync": "node sync-repos --clear_git" 23 | }, 24 | "repository": { 25 | "type": "git", 26 | "url": "git+https://github.com/kowindjs/kowind.git/tree/master", 27 | "directory": "packages/create-kowind" 28 | }, 29 | "homepage": "https://kowind.kayooliveira.com", 30 | "keywords": [ 31 | "create kowind", 32 | "create-kowind", 33 | "vitawind", 34 | "kowind", 35 | "vite", 36 | "vitejs", 37 | "vite plugin", 38 | "vitejs plugin", 39 | "vite-plugin", 40 | "tailwind", 41 | "tailwindcss", 42 | "vue-cli", 43 | "cra", 44 | "create react app", 45 | "create-react-app" 46 | ], 47 | "author": "kayooliveira", 48 | "license": "MIT", 49 | "dependencies": { 50 | "kolorist": "^1.5.1", 51 | "minimist": "^1.2.6", 52 | "prompts": "^2.4.2" 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "es2021": true 5 | }, 6 | "extends": [ 7 | "standard", 8 | "prettier", 9 | "plugin:import/warnings", 10 | "plugin:import/errors" 11 | ], 12 | "parserOptions": { 13 | "ecmaFeatures": { 14 | "jsx": true 15 | }, 16 | "ecmaVersion": "latest", 17 | "sourceType": "module" 18 | }, 19 | "plugins": [ 20 | "eslint-plugin-import-helpers", 21 | "prettier" 22 | ], 23 | "rules": { 24 | "prettier/prettier":"error", 25 | "space-before-function-paren":"off", 26 | "camelcase":"warn", 27 | "no-use-before-define":"off", 28 | "import-helpers/order-imports": [ 29 | "warn", 30 | { 31 | "newlinesBetween": "always", 32 | "groups": [ 33 | "module", 34 | "/^@shared/", 35 | ["parent", "sibling", "index"] 36 | ], 37 | "alphabetize": { "order": "asc", "ignoreCase": true } 38 | } 39 | ], 40 | "import/prefer-default-export": "off" 41 | 42 | }, 43 | "settings": { 44 | "import/resolver": { 45 | "node": { 46 | "extensions": [ 47 | ".js", 48 | ] 49 | } 50 | } 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "es2021": true 5 | }, 6 | "extends": [ 7 | "plugin:react/recommended", 8 | "standard", 9 | "prettier", 10 | "plugin:import/warnings", 11 | "plugin:import/errors" 12 | ], 13 | "parserOptions": { 14 | "ecmaFeatures": { 15 | "jsx": true 16 | }, 17 | "ecmaVersion": "latest", 18 | "sourceType": "module" 19 | }, 20 | "plugins": [ 21 | "react", 22 | "eslint-plugin-import-helpers", 23 | "prettier" 24 | ], 25 | "rules": { 26 | "prettier/prettier":"error", 27 | "space-before-function-paren":"off", 28 | "camelcase":"warn", 29 | "no-use-before-define":"off", 30 | "import-helpers/order-imports": [ 31 | "warn", 32 | { 33 | "newlinesBetween": "always", 34 | "groups": [ 35 | "module", 36 | "/^@shared/", 37 | ["parent", "sibling", "index"] 38 | ], 39 | "alphabetize": { "order": "asc", "ignoreCase": true } 40 | } 41 | ], 42 | "import/prefer-default-export": "off" 43 | 44 | }, 45 | "settings": { 46 | "react": { 47 | "version": "detect" 48 | }, 49 | "import/resolver": { 50 | "node": { 51 | "extensions": [ 52 | ".js", 53 | ".jsx" 54 | ] 55 | } 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Vite App 8 | 9 | 10 |
11 |
12 |
13 | 18 | kowind logo 19 | 20 |

KOWIND APP

21 |
22 |
23 | 24 | Thanks for using 25 | 31 | kowind! 32 | 33 | 34 |
35 | Edit  36 | src/main.js 37 |  and save to reload. 38 |
39 |
40 |
41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/src/App.jsx: -------------------------------------------------------------------------------- 1 | import React, { useState } from 'react' 2 | 3 | import logo from './Assets/img/logo.svg' 4 | export function App() { 5 | const [count, setCount] = useState(0) 6 | return ( 7 |
8 |
9 |
10 | 15 | kowind logo 16 | 17 |

KOWIND APP

18 |
19 |
20 | 21 | Thanks for using{' '} 22 | 28 | kowind! 29 | 30 | 31 |
32 | Edit  33 | src/App.jsx 34 |  and save to reload. 35 |
36 |
37 | 43 | 44 | click on button to increase count 45 | 46 |
47 |
48 |
49 | ) 50 | } 51 | 52 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/src/App.tsx: -------------------------------------------------------------------------------- 1 | import React, { useState } from 'react' 2 | 3 | import logo from './Assets/img/logo.svg' 4 | export function App() { 5 | const [count, setCount] = useState(0) 6 | return ( 7 |
8 |
9 |
10 | 15 | kowind logo 16 | 17 |

KOWIND APP

18 |
19 |
20 | 21 | Thanks for using{' '} 22 | 28 | kowind! 29 | 30 | 31 |
32 | Edit  33 | src/App.tsx 34 |  and save to reload. 35 |
36 |
37 | 43 | 44 | click on button to increase count 45 | 46 |
47 |
48 |
49 | ) 50 | } 51 | 52 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/src/components/HelloWorld.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/src/components/HelloWorld.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "es2021": true 5 | }, 6 | "extends": [ 7 | "plugin:react/recommended", 8 | "standard", 9 | "prettier", 10 | "plugin:@typescript-eslint/recommended", 11 | "plugin:import/warnings", 12 | "plugin:import/errors" 13 | ], 14 | "parser": "@typescript-eslint/parser", 15 | "parserOptions": { 16 | "ecmaFeatures": { 17 | "jsx": true 18 | }, 19 | "ecmaVersion": "latest", 20 | "sourceType": "module" 21 | }, 22 | "plugins": [ 23 | "react", 24 | "@typescript-eslint", 25 | "eslint-plugin-import-helpers", 26 | "prettier" 27 | ], 28 | "rules": { 29 | "prettier/prettier":"error", 30 | "space-before-function-paren":"off", 31 | "camelcase":"warn", 32 | "react/prop-types":"off", 33 | "no-use-before-define":"off", 34 | "@typescript-eslint/no-explicit-any":"off", 35 | "@typescript-eslint/no-unused-vars": [ 36 | "error", 37 | { 38 | "argsIgnorePattern": "_" 39 | } 40 | ], 41 | "import-helpers/order-imports": [ 42 | "warn", 43 | { // example configuration 44 | "newlinesBetween": "always", 45 | "groups": [ 46 | "module", 47 | "/^@shared/", 48 | ["parent", "sibling", "index"] 49 | ], 50 | "alphabetize": { "order": "asc", "ignoreCase": true } 51 | } 52 | ], 53 | "import/prefer-default-export": "off" 54 | 55 | }, 56 | "settings": { 57 | "react": { 58 | "version": "detect" 59 | }, 60 | "import/resolver": { 61 | "node": { 62 | "extensions": [ 63 | ".js", 64 | ".jsx", 65 | ".ts", 66 | ".tsx" 67 | ] 68 | }, 69 | "typescript": { 70 | "project": "./tsconfig.json" 71 | } 72 | } 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /packages/create-kowind/gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | .pnpm-debug.log* 9 | 10 | # Diagnostic reports (https://nodejs.org/api/report.html) 11 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 12 | 13 | # Runtime data 14 | pids 15 | *.pid 16 | *.seed 17 | *.pid.lock 18 | 19 | # Directory for instrumented libs generated by jscoverage/JSCover 20 | lib-cov 21 | 22 | # Coverage directory used by tools like istanbul 23 | coverage 24 | *.lcov 25 | 26 | # nyc test coverage 27 | .nyc_output 28 | 29 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 30 | .grunt 31 | 32 | # Bower dependency directory (https://bower.io/) 33 | bower_components 34 | 35 | # node-waf configuration 36 | .lock-wscript 37 | 38 | # Compiled binary addons (https://nodejs.org/api/addons.html) 39 | build/Release 40 | 41 | # Dependency directories 42 | node_modules/ 43 | jspm_packages/ 44 | 45 | # Snowpack dependency directory (https://snowpack.dev/) 46 | web_modules/ 47 | 48 | # TypeScript cache 49 | *.tsbuildinfo 50 | 51 | # Optional npm cache directory 52 | .npm 53 | 54 | # Optional eslint cache 55 | .eslintcache 56 | 57 | # Microbundle cache 58 | .rpt2_cache/ 59 | .rts2_cache_cjs/ 60 | .rts2_cache_es/ 61 | .rts2_cache_umd/ 62 | 63 | # Optional REPL history 64 | .node_repl_history 65 | 66 | # Output of 'npm pack' 67 | *.tgz 68 | 69 | # Yarn Integrity file 70 | .yarn-integrity 71 | 72 | # dotenv environment variables file 73 | .env 74 | .env.test 75 | .env.production 76 | 77 | # parcel-bundler cache (https://parceljs.org/) 78 | .cache 79 | .parcel-cache 80 | 81 | # Next.js build output 82 | .next 83 | out 84 | 85 | # Nuxt.js build / generate output 86 | .nuxt 87 | dist 88 | 89 | # Gatsby files 90 | .cache/ 91 | # Comment in the public line in if your project uses Gatsby and not Next.js 92 | # https://nextjs.org/blog/next-9-1#public-directory-support 93 | # public 94 | 95 | # vuepress build output 96 | .vuepress/dist 97 | 98 | # Serverless directories 99 | .serverless/ 100 | 101 | # FuseBox cache 102 | .fusebox/ 103 | 104 | # DynamoDB Local files 105 | .dynamodb/ 106 | 107 | # TernJS port file 108 | .tern-port 109 | 110 | # Stores VSCode versions used for testing VSCode extensions 111 | .vscode-test 112 | 113 | # yarn v2 114 | .yarn/cache 115 | .yarn/unplugged 116 | .yarn/build-state.yml 117 | .yarn/install-state.gz 118 | .pnp.* -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | .pnpm-debug.log* 9 | 10 | # Diagnostic reports (https://nodejs.org/api/report.html) 11 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 12 | 13 | # Runtime data 14 | pids 15 | *.pid 16 | *.seed 17 | *.pid.lock 18 | 19 | # Directory for instrumented libs generated by jscoverage/JSCover 20 | lib-cov 21 | 22 | # Coverage directory used by tools like istanbul 23 | coverage 24 | *.lcov 25 | 26 | # nyc test coverage 27 | .nyc_output 28 | 29 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 30 | .grunt 31 | 32 | # Bower dependency directory (https://bower.io/) 33 | bower_components 34 | 35 | # node-waf configuration 36 | .lock-wscript 37 | 38 | # Compiled binary addons (https://nodejs.org/api/addons.html) 39 | build/Release 40 | 41 | # Dependency directories 42 | node_modules/ 43 | jspm_packages/ 44 | 45 | # Snowpack dependency directory (https://snowpack.dev/) 46 | web_modules/ 47 | 48 | # TypeScript cache 49 | *.tsbuildinfo 50 | 51 | # Optional npm cache directory 52 | .npm 53 | 54 | # Optional eslint cache 55 | .eslintcache 56 | 57 | # Microbundle cache 58 | .rpt2_cache/ 59 | .rts2_cache_cjs/ 60 | .rts2_cache_es/ 61 | .rts2_cache_umd/ 62 | 63 | # Optional REPL history 64 | .node_repl_history 65 | 66 | # Output of 'npm pack' 67 | *.tgz 68 | 69 | # Yarn Integrity file 70 | .yarn-integrity 71 | 72 | # dotenv environment variables file 73 | .env 74 | .env.test 75 | .env.production 76 | 77 | # parcel-bundler cache (https://parceljs.org/) 78 | .cache 79 | .parcel-cache 80 | 81 | # Next.js build output 82 | .next 83 | out 84 | 85 | # Nuxt.js build / generate output 86 | .nuxt 87 | dist 88 | 89 | # Gatsby files 90 | .cache/ 91 | # Comment in the public line in if your project uses Gatsby and not Next.js 92 | # https://nextjs.org/blog/next-9-1#public-directory-support 93 | # public 94 | 95 | # vuepress build output 96 | .vuepress/dist 97 | 98 | # Serverless directories 99 | .serverless/ 100 | 101 | # FuseBox cache 102 | .fusebox/ 103 | 104 | # DynamoDB Local files 105 | .dynamodb/ 106 | 107 | # TernJS port file 108 | .tern-port 109 | 110 | # Stores VSCode versions used for testing VSCode extensions 111 | .vscode-test 112 | 113 | # yarn v2 114 | .yarn/cache 115 | .yarn/unplugged 116 | .yarn/build-state.yml 117 | .yarn/install-state.gz 118 | .pnp.* 119 | yarn.lock -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | .pnpm-debug.log* 9 | 10 | # Diagnostic reports (https://nodejs.org/api/report.html) 11 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 12 | 13 | # Runtime data 14 | pids 15 | *.pid 16 | *.seed 17 | *.pid.lock 18 | 19 | # Directory for instrumented libs generated by jscoverage/JSCover 20 | lib-cov 21 | 22 | # Coverage directory used by tools like istanbul 23 | coverage 24 | *.lcov 25 | 26 | # nyc test coverage 27 | .nyc_output 28 | 29 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 30 | .grunt 31 | 32 | # Bower dependency directory (https://bower.io/) 33 | bower_components 34 | 35 | # node-waf configuration 36 | .lock-wscript 37 | 38 | # Compiled binary addons (https://nodejs.org/api/addons.html) 39 | build/Release 40 | 41 | # Dependency directories 42 | node_modules/ 43 | jspm_packages/ 44 | 45 | # Snowpack dependency directory (https://snowpack.dev/) 46 | web_modules/ 47 | 48 | # TypeScript cache 49 | *.tsbuildinfo 50 | 51 | # Optional npm cache directory 52 | .npm 53 | 54 | # Optional eslint cache 55 | .eslintcache 56 | 57 | # Microbundle cache 58 | .rpt2_cache/ 59 | .rts2_cache_cjs/ 60 | .rts2_cache_es/ 61 | .rts2_cache_umd/ 62 | 63 | # Optional REPL history 64 | .node_repl_history 65 | 66 | # Output of 'npm pack' 67 | *.tgz 68 | 69 | # Yarn Integrity file 70 | .yarn-integrity 71 | 72 | # dotenv environment variables file 73 | .env 74 | .env.test 75 | .env.production 76 | 77 | # parcel-bundler cache (https://parceljs.org/) 78 | .cache 79 | .parcel-cache 80 | 81 | # Next.js build output 82 | .next 83 | out 84 | 85 | # Nuxt.js build / generate output 86 | .nuxt 87 | dist 88 | 89 | # Gatsby files 90 | .cache/ 91 | # Comment in the public line in if your project uses Gatsby and not Next.js 92 | # https://nextjs.org/blog/next-9-1#public-directory-support 93 | # public 94 | 95 | # vuepress build output 96 | .vuepress/dist 97 | 98 | # Serverless directories 99 | .serverless/ 100 | 101 | # FuseBox cache 102 | .fusebox/ 103 | 104 | # DynamoDB Local files 105 | .dynamodb/ 106 | 107 | # TernJS port file 108 | .tern-port 109 | 110 | # Stores VSCode versions used for testing VSCode extensions 111 | .vscode-test 112 | 113 | # yarn v2 114 | .yarn/cache 115 | .yarn/unplugged 116 | .yarn/build-state.yml 117 | .yarn/install-state.gz 118 | .pnp.* 119 | yarn.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | kowind logo 4 | 5 |

6 |
7 |

8 | 9 | version 10 | npm-download 11 | 12 | 13 |

14 |
15 | 16 | #

:bird: ***KOWIND*** v3 :bird: 17 | 18 | > #### Vite helper based on [vitawind](https://github.com/huibizhang/vitawind) 19 | 20 | - 🧰 Easy To Install 21 | - ⚡️ Automatically open Tailwind JIT Mode 22 | - ⚙ One-Command Setting 23 | - :rocket: Automatically configures ESLint and some plugins for it. 24 | 25 |
26 | 27 | > #### Eslint plugins: 28 | > - eslint-config-prettier 29 | > - eslint-config-standard 30 | > - eslint-plugin-import 31 | > - eslint-plugin-import-helpers 32 | > - eslint-plugin-n 33 | > - eslint-plugin-prettier 34 | > - eslint-plugin-promise 35 | > - eslint-plugin-react 36 | 37 |
38 | 39 | 40 | ## :computer: Why Kowind? :computer: 41 | 42 | Kowind is a Vite helper that helps you to quickly start a Vite project. 43 | 44 | Based on [vitawind](https://github.com/huibizhang/vitawind), [kowind](https://github.com/kayooliveira/kowind) brings ESLint plugin and some other plugins to it that help you to format your code quickly and efficiently. 45 | 46 | 47 | ## :book: What is Vite? :book: 48 | 49 | Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. 50 | 51 |
52 | 53 | ## :speech_balloon: How to use Kowind? :speech_balloon: 54 | 55 | > Just run the following commands in your terminal. 56 | ``` 57 | $ yarn create kowind --template 58 | #or 59 | $ npm init kowind --template 60 | 61 | $ cd 62 | ``` 63 | 64 | Kowind install all the dependencies automatically for you. 65 | 66 | Just run `yarn dev` or `npm run dev` to start the project. 67 | 68 | The project will be available at **`http://localhost:3000`**. 69 | 70 | 71 | I hope you enjoy using Kowind! 72 | 73 | Feel free to ask questions or report bugs on [Github](https://github.com/kayooliveira/kowind). 74 | ## License 75 | MIT 76 | 77 | ####

made with :two_hearts: by [Kayo Oliveira](https://github.com/kayooliveira) -------------------------------------------------------------------------------- /packages/create-kowind/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | .pnpm-debug.log* 9 | teste/* 10 | 11 | # Diagnostic reports (https://nodejs.org/api/report.html) 12 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 13 | 14 | # Runtime data 15 | pids 16 | *.pid 17 | *.seed 18 | *.pid.lock 19 | 20 | # Directory for instrumented libs generated by jscoverage/JSCover 21 | lib-cov 22 | 23 | # Coverage directory used by tools like istanbul 24 | coverage 25 | *.lcov 26 | 27 | # nyc test coverage 28 | .nyc_output 29 | 30 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 31 | .grunt 32 | 33 | # Bower dependency directory (https://bower.io/) 34 | bower_components 35 | 36 | # node-waf configuration 37 | .lock-wscript 38 | 39 | # Compiled binary addons (https://nodejs.org/api/addons.html) 40 | build/Release 41 | 42 | # Dependency directories 43 | node_modules/ 44 | jspm_packages/ 45 | 46 | # Snowpack dependency directory (https://snowpack.dev/) 47 | web_modules/ 48 | 49 | # TypeScript cache 50 | *.tsbuildinfo 51 | 52 | # Optional npm cache directory 53 | .npm 54 | 55 | # Optional eslint cache 56 | .eslintcache 57 | 58 | # Microbundle cache 59 | .rpt2_cache/ 60 | .rts2_cache_cjs/ 61 | .rts2_cache_es/ 62 | .rts2_cache_umd/ 63 | 64 | # Optional REPL history 65 | .node_repl_history 66 | 67 | # Output of 'npm pack' 68 | *.tgz 69 | 70 | # Yarn Integrity file 71 | .yarn-integrity 72 | 73 | # dotenv environment variables file 74 | .env 75 | .env.test 76 | .env.production 77 | 78 | # parcel-bundler cache (https://parceljs.org/) 79 | .cache 80 | .parcel-cache 81 | 82 | # Next.js build output 83 | .next 84 | out 85 | 86 | # Nuxt.js build / generate output 87 | .nuxt 88 | dist 89 | 90 | # Gatsby files 91 | .cache/ 92 | # Comment in the public line in if your project uses Gatsby and not Next.js 93 | # https://nextjs.org/blog/next-9-1#public-directory-support 94 | # public 95 | 96 | # vuepress build output 97 | .vuepress/dist 98 | 99 | # Serverless directories 100 | .serverless/ 101 | 102 | # FuseBox cache 103 | .fusebox/ 104 | 105 | # DynamoDB Local files 106 | .dynamodb/ 107 | 108 | # TernJS port file 109 | .tern-port 110 | 111 | # Stores VSCode versions used for testing VSCode extensions 112 | .vscode-test 113 | 114 | # yarn v2 115 | .yarn/cache 116 | .yarn/unplugged 117 | .yarn/build-state.yml 118 | .yarn/install-state.gz 119 | .pnp.* 120 | yarn.lock 121 | 122 | package-lock.json -------------------------------------------------------------------------------- /packages/create-kowind/README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | kowind logo 4 | 5 |

6 |
7 |

8 | 9 | version 10 | npm-download 11 | 12 | 13 |

14 |
15 | 16 | #

:bird: KOWind :bird: 17 | 18 | > #### Vite helper based on [vitawind](https://github.com/huibizhang/vitawind) 19 | 20 | - 🧰 Easy To Install 21 | - ⚡️ Automatically open Tailwind JIT Mode 22 | - ⚙ One-Command Setting 23 | - :rocket: Automatically configures ESLint and some plugins for it. 24 | 25 |
26 | 27 | > #### Eslint plugins: 28 | > - eslint-config-prettier 29 | > - eslint-config-standard 30 | > - eslint-plugin-import 31 | > - eslint-plugin-import-helpers 32 | > - eslint-plugin-n 33 | > - eslint-plugin-prettier 34 | > - eslint-plugin-promise 35 | > - eslint-plugin-react 36 | 37 |
38 | 39 | 40 | ## :computer: Why Kowind? :computer: 41 | 42 | Kowind is a Vite helper that helps you to quickly start a Vite project. 43 | 44 | Based on [vitawind](https://github.com/huibizhang/vitawind), [kowind](https://github.com/kayooliveira/kowind) brings ESLint plugin and some other plugins to it that help you to format your code quickly and efficiently. 45 | 46 | 47 | ## :book: What is Vite? :book: 48 | 49 | Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. 50 | 51 |
52 | 53 | ## :speech_balloon: How to use Kowind? :speech_balloon: 54 | 55 | > Just run the following commands in your terminal. 56 | ``` 57 | $ yarn create kowind --template 58 | #or 59 | $ npm init kowind --template 60 | 61 | $ cd 62 | ``` 63 | 64 | Kowind install all the dependencies automatically for you. 65 | 66 | Just run `yarn dev` or `npm run dev` to start the project. 67 | 68 | The project will be available at **`http://localhost:3000`**. 69 | 70 | 71 | I hope you enjoy using Kowind! 72 | 73 | Feel free to ask questions or report bugs on [Github](https://github.com/kayooliveira/kowind). 74 | ## License 75 | MIT 76 | 77 | ####

made with :two_hearts: by [Kayo Oliveira](https://github.com/kayooliveira) -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn.lock 7 | package-lock.json 8 | yarn-error.log* 9 | lerna-debug.log* 10 | .pnpm-debug.log* 11 | 12 | # Diagnostic reports (https://nodejs.org/api/report.html) 13 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 14 | 15 | # Runtime data 16 | pids 17 | *.pid 18 | *.seed 19 | *.pid.lock 20 | 21 | # Directory for instrumented libs generated by jscoverage/JSCover 22 | lib-cov 23 | 24 | # Coverage directory used by tools like istanbul 25 | coverage 26 | *.lcov 27 | 28 | # nyc test coverage 29 | .nyc_output 30 | 31 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 32 | .grunt 33 | 34 | # Bower dependency directory (https://bower.io/) 35 | bower_components 36 | 37 | # node-waf configuration 38 | .lock-wscript 39 | 40 | # Compiled binary addons (https://nodejs.org/api/addons.html) 41 | build/Release 42 | 43 | # Dependency directories 44 | node_modules/ 45 | jspm_packages/ 46 | 47 | # Snowpack dependency directory (https://snowpack.dev/) 48 | web_modules/ 49 | 50 | # TypeScript cache 51 | *.tsbuildinfo 52 | 53 | # Optional npm cache directory 54 | .npm 55 | 56 | # Optional eslint cache 57 | .eslintcache 58 | 59 | # Microbundle cache 60 | .rpt2_cache/ 61 | .rts2_cache_cjs/ 62 | .rts2_cache_es/ 63 | .rts2_cache_umd/ 64 | 65 | # Optional REPL history 66 | .node_repl_history 67 | 68 | # Output of 'npm pack' 69 | *.tgz 70 | 71 | # Yarn Integrity file 72 | .yarn-integrity 73 | 74 | # dotenv environment variables file 75 | .env 76 | .env.test 77 | .env.production 78 | 79 | # parcel-bundler cache (https://parceljs.org/) 80 | .cache 81 | .parcel-cache 82 | 83 | # Next.js build output 84 | .next 85 | out 86 | 87 | # Nuxt.js build / generate output 88 | .nuxt 89 | dist 90 | 91 | # Gatsby files 92 | .cache/ 93 | # Comment in the public line in if your project uses Gatsby and not Next.js 94 | # https://nextjs.org/blog/next-9-1#public-directory-support 95 | # public 96 | 97 | # vuepress build output 98 | .vuepress/dist 99 | 100 | # Serverless directories 101 | .serverless/ 102 | 103 | # FuseBox cache 104 | .fusebox/ 105 | 106 | # DynamoDB Local files 107 | .dynamodb/ 108 | 109 | # TernJS port file 110 | .tern-port 111 | 112 | # Stores VSCode versions used for testing VSCode extensions 113 | .vscode-test 114 | 115 | # yarn v2 116 | .yarn/cache 117 | .yarn/unplugged 118 | .yarn/build-state.yml 119 | .yarn/install-state.gz 120 | .pnp.* 121 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn.lock 7 | package-lock.json 8 | yarn-error.log* 9 | lerna-debug.log* 10 | .pnpm-debug.log* 11 | 12 | # Diagnostic reports (https://nodejs.org/api/report.html) 13 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 14 | 15 | # Runtime data 16 | pids 17 | *.pid 18 | *.seed 19 | *.pid.lock 20 | 21 | # Directory for instrumented libs generated by jscoverage/JSCover 22 | lib-cov 23 | 24 | # Coverage directory used by tools like istanbul 25 | coverage 26 | *.lcov 27 | 28 | # nyc test coverage 29 | .nyc_output 30 | 31 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 32 | .grunt 33 | 34 | # Bower dependency directory (https://bower.io/) 35 | bower_components 36 | 37 | # node-waf configuration 38 | .lock-wscript 39 | 40 | # Compiled binary addons (https://nodejs.org/api/addons.html) 41 | build/Release 42 | 43 | # Dependency directories 44 | node_modules/ 45 | jspm_packages/ 46 | 47 | # Snowpack dependency directory (https://snowpack.dev/) 48 | web_modules/ 49 | 50 | # TypeScript cache 51 | *.tsbuildinfo 52 | 53 | # Optional npm cache directory 54 | .npm 55 | 56 | # Optional eslint cache 57 | .eslintcache 58 | 59 | # Microbundle cache 60 | .rpt2_cache/ 61 | .rts2_cache_cjs/ 62 | .rts2_cache_es/ 63 | .rts2_cache_umd/ 64 | 65 | # Optional REPL history 66 | .node_repl_history 67 | 68 | # Output of 'npm pack' 69 | *.tgz 70 | 71 | # Yarn Integrity file 72 | .yarn-integrity 73 | 74 | # dotenv environment variables file 75 | .env 76 | .env.test 77 | .env.production 78 | 79 | # parcel-bundler cache (https://parceljs.org/) 80 | .cache 81 | .parcel-cache 82 | 83 | # Next.js build output 84 | .next 85 | out 86 | 87 | # Nuxt.js build / generate output 88 | .nuxt 89 | dist 90 | 91 | # Gatsby files 92 | .cache/ 93 | # Comment in the public line in if your project uses Gatsby and not Next.js 94 | # https://nextjs.org/blog/next-9-1#public-directory-support 95 | # public 96 | 97 | # vuepress build output 98 | .vuepress/dist 99 | 100 | # Serverless directories 101 | .serverless/ 102 | 103 | # FuseBox cache 104 | .fusebox/ 105 | 106 | # DynamoDB Local files 107 | .dynamodb/ 108 | 109 | # TernJS port file 110 | .tern-port 111 | 112 | # Stores VSCode versions used for testing VSCode extensions 113 | .vscode-test 114 | 115 | # yarn v2 116 | .yarn/cache 117 | .yarn/unplugged 118 | .yarn/build-state.yml 119 | .yarn/install-state.gz 120 | .pnp.* -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | package-lock.json 8 | yarn.lock 9 | lerna-debug.log* 10 | .pnpm-debug.log* 11 | 12 | # Diagnostic reports (https://nodejs.org/api/report.html) 13 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 14 | 15 | # Runtime data 16 | pids 17 | *.pid 18 | *.seed 19 | *.pid.lock 20 | 21 | # Directory for instrumented libs generated by jscoverage/JSCover 22 | lib-cov 23 | 24 | # Coverage directory used by tools like istanbul 25 | coverage 26 | *.lcov 27 | 28 | # nyc test coverage 29 | .nyc_output 30 | 31 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 32 | .grunt 33 | 34 | # Bower dependency directory (https://bower.io/) 35 | bower_components 36 | 37 | # node-waf configuration 38 | .lock-wscript 39 | 40 | # Compiled binary addons (https://nodejs.org/api/addons.html) 41 | build/Release 42 | 43 | # Dependency directories 44 | node_modules/ 45 | jspm_packages/ 46 | 47 | # Snowpack dependency directory (https://snowpack.dev/) 48 | web_modules/ 49 | 50 | # TypeScript cache 51 | *.tsbuildinfo 52 | 53 | # Optional npm cache directory 54 | .npm 55 | 56 | # Optional eslint cache 57 | .eslintcache 58 | 59 | # Microbundle cache 60 | .rpt2_cache/ 61 | .rts2_cache_cjs/ 62 | .rts2_cache_es/ 63 | .rts2_cache_umd/ 64 | 65 | # Optional REPL history 66 | .node_repl_history 67 | 68 | # Output of 'npm pack' 69 | *.tgz 70 | 71 | # Yarn Integrity file 72 | .yarn-integrity 73 | 74 | # dotenv environment variables file 75 | .env 76 | .env.test 77 | .env.production 78 | 79 | # parcel-bundler cache (https://parceljs.org/) 80 | .cache 81 | .parcel-cache 82 | 83 | # Next.js build output 84 | .next 85 | out 86 | 87 | # Nuxt.js build / generate output 88 | .nuxt 89 | dist 90 | 91 | # Gatsby files 92 | .cache/ 93 | # Comment in the public line in if your project uses Gatsby and not Next.js 94 | # https://nextjs.org/blog/next-9-1#public-directory-support 95 | # public 96 | 97 | # vuepress build output 98 | .vuepress/dist 99 | 100 | # Serverless directories 101 | .serverless/ 102 | 103 | # FuseBox cache 104 | .fusebox/ 105 | 106 | # DynamoDB Local files 107 | .dynamodb/ 108 | 109 | # TernJS port file 110 | .tern-port 111 | 112 | # Stores VSCode versions used for testing VSCode extensions 113 | .vscode-test 114 | 115 | # yarn v2 116 | .yarn/cache 117 | .yarn/unplugged 118 | .yarn/build-state.yml 119 | .yarn/install-state.gz 120 | .pnp.* 121 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | kowind logo 4 | 5 |

6 |
7 |

8 | 9 | version 10 | npm-download 11 | 12 | 13 |

14 |
15 | 16 | #

:bird: KOWind :bird: 17 | 18 | > #### Vite helper based on [vitawind](https://github.com/huibizhang/vitawind) 19 | 20 | - 🧰 Easy To Install 21 | - ⚡️ Automatically open Tailwind JIT Mode 22 | - ⚙ One-Command Setting 23 | - :rocket: Automatically configures ESLint and some plugins for it. 24 | 25 |
26 | 27 | > #### Eslint plugins: 28 | > - eslint-config-prettier 29 | > - eslint-config-standard 30 | > - eslint-plugin-import 31 | > - eslint-plugin-import-helpers 32 | > - eslint-plugin-n 33 | > - eslint-plugin-prettier 34 | > - eslint-plugin-promise 35 | > - eslint-plugin-react 36 | 37 |
38 | 39 | 40 | ## :computer: Why Kowind? :computer: 41 | 42 | Kowind is a Vite helper that helps you to quickly start a Vite project. 43 | 44 | Based on [vitawind](https://github.com/huibizhang/vitawind), [kowind](https://github.com/kayooliveira/kowind) brings ESLint plugin and some other plugins to it that help you to format your code quickly and efficiently. 45 | 46 | 47 | ## :book: What is Vite? :book: 48 | 49 | Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. 50 | 51 |
52 | 53 | ## :speech_balloon: How to use Kowind? :speech_balloon: 54 | 55 | > Just run the following commands in your terminal. 56 | ``` 57 | $ yarn create kowind --template 58 | #or 59 | $ npm init kowind --template 60 | 61 | $ cd 62 | ``` 63 | 64 | Kowind install all the dependencies automatically for you. 65 | 66 | Just run `yarn dev` or `npm run dev` to start the project. 67 | 68 | The project will be available at **`http://localhost:3000`**. 69 | 70 | 71 | I hope you enjoy using Kowind! 72 | 73 | Feel free to ask questions or report bugs on [Github](https://github.com/kayooliveira/kowind). 74 | ## License 75 | MIT 76 | 77 | ####

made with :two_hearts: by [Kayo Oliveira](https://github.com/kayooliveira) -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | kowind logo 4 | 5 |

6 |
7 |

8 | 9 | version 10 | npm-download 11 | 12 | 13 |

14 |
15 | 16 | #

:bird: KOWind :bird: 17 | 18 | > #### Vite helper based on [vitawind](https://github.com/huibizhang/vitawind) 19 | 20 | - 🧰 Easy To Install 21 | - ⚡️ Automatically open Tailwind JIT Mode 22 | - ⚙ One-Command Setting 23 | - :rocket: Automatically configures ESLint and some plugins for it. 24 | 25 |
26 | 27 | > #### Eslint plugins: 28 | > - eslint-config-prettier 29 | > - eslint-config-standard 30 | > - eslint-plugin-import 31 | > - eslint-plugin-import-helpers 32 | > - eslint-plugin-n 33 | > - eslint-plugin-prettier 34 | > - eslint-plugin-promise 35 | > - eslint-plugin-react 36 | 37 |
38 | 39 | 40 | ## :computer: Why Kowind? :computer: 41 | 42 | Kowind is a Vite helper that helps you to quickly start a Vite project. 43 | 44 | Based on [vitawind](https://github.com/huibizhang/vitawind), [kowind](https://github.com/kayooliveira/kowind) brings ESLint plugin and some other plugins to it that help you to format your code quickly and efficiently. 45 | 46 | 47 | ## :book: What is Vite? :book: 48 | 49 | Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. 50 | 51 |
52 | 53 | ## :speech_balloon: How to use Kowind? :speech_balloon: 54 | 55 | > Just run the following commands in your terminal. 56 | ``` 57 | $ yarn create kowind --template 58 | #or 59 | $ npm init kowind --template 60 | 61 | $ cd 62 | ``` 63 | 64 | Kowind install all the dependencies automatically for you. 65 | 66 | Just run `yarn dev` or `npm run dev` to start the project. 67 | 68 | The project will be available at **`http://localhost:3000`**. 69 | 70 | 71 | I hope you enjoy using Kowind! 72 | 73 | Feel free to ask questions or report bugs on [Github](https://github.com/kayooliveira/kowind). 74 | ## License 75 | MIT 76 | 77 | ####

made with :two_hearts: by [Kayo Oliveira](https://github.com/kayooliveira) -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | kowind logo 4 | 5 |

6 |
7 |

8 | 9 | version 10 | npm-download 11 | 12 | 13 |

14 |
15 | 16 | #

:bird: ***KOWIND*** v3 :bird: 17 | 18 | > #### Vite helper based on [vitawind](https://github.com/huibizhang/vitawind) 19 | 20 | - 🧰 Easy To Install 21 | - ⚡️ Automatically open Tailwind JIT Mode 22 | - ⚙ One-Command Setting 23 | - :rocket: Automatically configures ESLint and some plugins for it. 24 | 25 |
26 | 27 | > #### Eslint plugins: 28 | > - eslint-config-prettier 29 | > - eslint-config-standard 30 | > - eslint-plugin-import 31 | > - eslint-plugin-import-helpers 32 | > - eslint-plugin-n 33 | > - eslint-plugin-prettier 34 | > - eslint-plugin-promise 35 | > - eslint-plugin-react 36 | 37 |
38 | 39 | 40 | ## :computer: Why Kowind? :computer: 41 | 42 | Kowind is a Vite helper that helps you to quickly start a Vite project. 43 | 44 | Based on [vitawind](https://github.com/huibizhang/vitawind), [kowind](https://github.com/kayooliveira/kowind) brings ESLint plugin and some other plugins to it that help you to format your code quickly and efficiently. 45 | 46 | 47 | ## :book: What is Vite? :book: 48 | 49 | Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. 50 | 51 |
52 | 53 | ## :speech_balloon: How to use Kowind? :speech_balloon: 54 | 55 | > Just run the following commands in your terminal. 56 | ``` 57 | $ yarn create kowind --template 58 | #or 59 | $ npm init kowind --template 60 | 61 | $ cd 62 | ``` 63 | 64 | Kowind install all the dependencies automatically for you. 65 | 66 | Just run `yarn dev` or `npm run dev` to start the project. 67 | 68 | The project will be available at **`http://localhost:3000`**. 69 | 70 | 71 | I hope you enjoy using Kowind! 72 | 73 | Feel free to ask questions or report bugs on [Github](https://github.com/kayooliveira/kowind). 74 | ## License 75 | MIT 76 | 77 | ####

made with :two_hearts: by [Kayo Oliveira](https://github.com/kayooliveira) -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | kowind logo 4 | 5 |

6 |
7 |

8 | 9 | version 10 | npm-download 11 | 12 | 13 |

14 |
15 | 16 | #

:bird: ***KOWIND*** v3 :bird: 17 | 18 | > #### Vite helper based on [vitawind](https://github.com/huibizhang/vitawind) 19 | 20 | - 🧰 Easy To Install 21 | - ⚡️ Automatically open Tailwind JIT Mode 22 | - ⚙ One-Command Setting 23 | - :rocket: Automatically configures ESLint and some plugins for it. 24 | 25 |
26 | 27 | > #### Eslint plugins: 28 | > - eslint-config-prettier 29 | > - eslint-config-standard 30 | > - eslint-plugin-import 31 | > - eslint-plugin-import-helpers 32 | > - eslint-plugin-n 33 | > - eslint-plugin-prettier 34 | > - eslint-plugin-promise 35 | > - eslint-plugin-react 36 | 37 |
38 | 39 | 40 | ## :computer: Why Kowind? :computer: 41 | 42 | Kowind is a Vite helper that helps you to quickly start a Vite project. 43 | 44 | Based on [vitawind](https://github.com/huibizhang/vitawind), [kowind](https://github.com/kayooliveira/kowind) brings ESLint plugin and some other plugins to it that help you to format your code quickly and efficiently. 45 | 46 | 47 | ## :book: What is Vite? :book: 48 | 49 | Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. 50 | 51 |
52 | 53 | ## :speech_balloon: How to use Kowind? :speech_balloon: 54 | 55 | > Just run the following commands in your terminal. 56 | ``` 57 | $ yarn create kowind --template 58 | #or 59 | $ npm init kowind --template 60 | 61 | $ cd 62 | ``` 63 | 64 | Kowind install all the dependencies automatically for you. 65 | 66 | Just run `yarn dev` or `npm run dev` to start the project. 67 | 68 | The project will be available at **`http://localhost:3000`**. 69 | 70 | 71 | I hope you enjoy using Kowind! 72 | 73 | Feel free to ask questions or report bugs on [Github](https://github.com/kayooliveira/kowind). 74 | ## License 75 | MIT 76 | 77 | ####

made with :two_hearts: by [Kayo Oliveira](https://github.com/kayooliveira) -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/README.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | kowind logo 4 | 5 |

6 |
7 |

8 | 9 | version 10 | npm-download 11 | 12 | 13 |

14 |
15 | 16 | #

:bird: ***KOWIND*** v3 :bird: 17 | 18 | > #### Vite helper based on [vitawind](https://github.com/huibizhang/vitawind) 19 | 20 | - 🧰 Easy To Install 21 | - ⚡️ Automatically open Tailwind JIT Mode 22 | - ⚙ One-Command Setting 23 | - :rocket: Automatically configures ESLint and some plugins for it. 24 | 25 |
26 | 27 | > #### Eslint plugins: 28 | > - eslint-config-prettier 29 | > - eslint-config-standard 30 | > - eslint-plugin-import 31 | > - eslint-plugin-import-helpers 32 | > - eslint-plugin-n 33 | > - eslint-plugin-prettier 34 | > - eslint-plugin-promise 35 | > - eslint-plugin-react 36 | 37 |
38 | 39 | 40 | ## :computer: Why Kowind? :computer: 41 | 42 | Kowind is a Vite helper that helps you to quickly start a Vite project. 43 | 44 | Based on [vitawind](https://github.com/huibizhang/vitawind), [kowind](https://github.com/kayooliveira/kowind) brings ESLint plugin and some other plugins to it that help you to format your code quickly and efficiently. 45 | 46 | 47 | ## :book: What is Vite? :book: 48 | 49 | Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. 50 | 51 |
52 | 53 | ## :speech_balloon: How to use Kowind? :speech_balloon: 54 | 55 | > Just run the following commands in your terminal. 56 | ``` 57 | $ yarn create kowind --template 58 | #or 59 | $ npm init kowind --template 60 | 61 | $ cd 62 | ``` 63 | 64 | Kowind install all the dependencies automatically for you. 65 | 66 | Just run `yarn dev` or `npm run dev` to start the project. 67 | 68 | The project will be available at **`http://localhost:3000`**. 69 | 70 | 71 | I hope you enjoy using Kowind! 72 | 73 | Feel free to ask questions or report bugs on [Github](https://github.com/kayooliveira/kowind). 74 | ## License 75 | MIT 76 | 77 | ####

made with :two_hearts: by [Kayo Oliveira](https://github.com/kayooliveira) -------------------------------------------------------------------------------- /packages/create-kowind/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | // @ts-nocheck 4 | import fs from 'fs' 5 | import path from 'path' 6 | import { fileURLToPath } from 'url' 7 | import minimist from 'minimist' 8 | import prompts from 'prompts' 9 | import { 10 | blue, 11 | cyan, 12 | green, 13 | lightRed, 14 | magenta, 15 | red, 16 | reset, 17 | yellow 18 | } from 'kolorist' 19 | 20 | // Avoids autoconversion to number of the project name by defining that the args 21 | // non associated with an option ( _ ) needs to be parsed as a string. See #4606 22 | const argv = minimist(process.argv.slice(2), { string: ['_'] }) 23 | const cwd = process.cwd() 24 | 25 | const FRAMEWORKS = [ 26 | { 27 | name: 'react', 28 | color: cyan, 29 | variants: [ 30 | { 31 | name: 'react', 32 | display: 'JavaScript', 33 | color: yellow 34 | }, 35 | { 36 | name: 'react-ts', 37 | display: 'TypeScript', 38 | color: blue 39 | } 40 | ] 41 | }, 42 | { 43 | name: 'vue', 44 | color: magenta, 45 | variants: [ 46 | { 47 | name: 'vue', 48 | display: 'JavaScript', 49 | color: yellow 50 | }, 51 | { 52 | name: 'vue-ts', 53 | display: 'TypeScript', 54 | color: blue 55 | } 56 | ] 57 | }, 58 | { 59 | name: 'vanilla', 60 | color: green, 61 | variants: [ 62 | { 63 | name: 'vanilla', 64 | display: 'JavaScript', 65 | color: yellow 66 | }, 67 | ] 68 | } 69 | ] 70 | 71 | const TEMPLATES = FRAMEWORKS.map( 72 | (f) => (f.variants && f.variants.map((v) => v.name)) || [f.name] 73 | ).reduce((a, b) => a.concat(b), []) 74 | 75 | const renameFiles = { 76 | _gitignore: '.gitignore' 77 | } 78 | 79 | async function init() { 80 | let targetDir = argv._[0] 81 | let template = argv.template || argv.t 82 | 83 | const defaultProjectName = !targetDir 84 | ? 'kowind-project' 85 | : targetDir.trim().replace(/\/+$/g, '') 86 | 87 | let result = {} 88 | 89 | try { 90 | result = await prompts( 91 | [ 92 | { 93 | type: targetDir ? null : 'text', 94 | name: 'projectName', 95 | message: reset('Project name:'), 96 | initial: defaultProjectName, 97 | onState: (state) => 98 | (targetDir = 99 | state.value.trim().replace(/\/+$/g, '') || defaultProjectName) 100 | }, 101 | { 102 | type: () => 103 | !fs.existsSync(targetDir) || isEmpty(targetDir) ? null : 'confirm', 104 | name: 'overwrite', 105 | message: () => 106 | (targetDir === '.' 107 | ? 'Current directory' 108 | : `Target directory "${targetDir}"`) + 109 | ` is not empty. Remove existing files and continue?` 110 | }, 111 | { 112 | type: (_, { overwrite } = {}) => { 113 | if (overwrite === false) { 114 | throw new Error(red('✖') + ' Operation cancelled') 115 | } 116 | return null 117 | }, 118 | name: 'overwriteChecker' 119 | }, 120 | { 121 | type: () => (isValidPackageName(targetDir) ? null : 'text'), 122 | name: 'packageName', 123 | message: reset('Package name:'), 124 | initial: () => toValidPackageName(targetDir), 125 | validate: (dir) => 126 | isValidPackageName(dir) || 'Invalid package.json name' 127 | }, 128 | { 129 | type: template && TEMPLATES.includes(template) ? null : 'select', 130 | name: 'framework', 131 | message: 132 | typeof template === 'string' && !TEMPLATES.includes(template) 133 | ? reset( 134 | `"${template}" isn't a valid template. Please choose from below: ` 135 | ) 136 | : reset('Select a framework:'), 137 | initial: 0, 138 | choices: FRAMEWORKS.map((framework) => { 139 | const frameworkColor = framework.color 140 | return { 141 | title: frameworkColor(framework.name), 142 | value: framework 143 | } 144 | }) 145 | }, 146 | { 147 | type: (framework) => 148 | framework && framework.variants ? 'select' : null, 149 | name: 'variant', 150 | message: reset('Select a variant:'), 151 | // @ts-ignore 152 | choices: (framework) => 153 | framework.variants.map((variant) => { 154 | const variantColor = variant.color 155 | return { 156 | title: variantColor(variant.name), 157 | value: variant.name 158 | } 159 | }) 160 | } 161 | ], 162 | { 163 | onCancel: () => { 164 | throw new Error(red('✖') + ' Operation cancelled') 165 | } 166 | } 167 | ) 168 | } catch (cancelled) { 169 | console.log(cancelled.message) 170 | return 171 | } 172 | 173 | // user choice associated with prompts 174 | const { framework, overwrite, packageName, variant } = result 175 | 176 | const root = path.join(cwd, targetDir) 177 | 178 | if (overwrite) { 179 | emptyDir(root) 180 | } else if (!fs.existsSync(root)) { 181 | fs.mkdirSync(root, { recursive: true }) 182 | } 183 | 184 | // determine template 185 | template = variant || framework || template 186 | 187 | console.log(`\nScaffolding project in ${root}...`) 188 | 189 | const templateDir = path.resolve( 190 | fileURLToPath(import.meta.url), 191 | '..', 192 | `template-${template}-kowind-v2` 193 | ) 194 | 195 | const write = (file, content) => { 196 | const targetPath = renameFiles[file] 197 | ? path.join(root, renameFiles[file]) 198 | : path.join(root, file) 199 | if (content) { 200 | fs.writeFileSync(targetPath, content) 201 | } else { 202 | copy(path.join(templateDir, file), targetPath) 203 | } 204 | } 205 | 206 | const files = fs.readdirSync(templateDir) 207 | for (const file of files.filter((f) => f !== 'package.json')) { 208 | write(file) 209 | } 210 | 211 | const pkg = JSON.parse( 212 | fs.readFileSync(path.join(templateDir, `package.json`), 'utf-8') 213 | ) 214 | 215 | pkg.name = packageName || targetDir 216 | 217 | write('package.json', JSON.stringify(pkg, null, 2)) 218 | 219 | const pkgInfo = pkgFromUserAgent(process.env.npm_config_user_agent) 220 | const pkgManager = pkgInfo ? pkgInfo.name : 'npm' 221 | 222 | console.log(`\nDone. Now run:\n`) 223 | if (root !== cwd) { 224 | console.log(` cd ${path.relative(cwd, root)}`) 225 | } 226 | switch (pkgManager) { 227 | case 'yarn': 228 | console.log(' yarn') 229 | console.log(' yarn dev') 230 | break 231 | default: 232 | console.log(` ${pkgManager} install`) 233 | console.log(` ${pkgManager} run dev`) 234 | break 235 | } 236 | console.log() 237 | } 238 | 239 | function copy(src, dest) { 240 | const stat = fs.statSync(src) 241 | if (stat.isDirectory()) { 242 | copyDir(src, dest) 243 | } else { 244 | fs.copyFileSync(src, dest) 245 | } 246 | } 247 | 248 | /** 249 | * @param {string} projectName 250 | */ 251 | function isValidPackageName(projectName) { 252 | return /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test( 253 | projectName 254 | ) 255 | } 256 | 257 | /** 258 | * @param {string} projectName 259 | */ 260 | function toValidPackageName(projectName) { 261 | return projectName 262 | .trim() 263 | .toLowerCase() 264 | .replace(/\s+/g, '-') 265 | .replace(/^[._]/, '') 266 | .replace(/[^a-z0-9-~]+/g, '-') 267 | } 268 | 269 | /** 270 | * @param {string} srcDir 271 | * @param {string} destDir 272 | */ 273 | function copyDir(srcDir, destDir) { 274 | fs.mkdirSync(destDir, { recursive: true }) 275 | for (const file of fs.readdirSync(srcDir)) { 276 | const srcFile = path.resolve(srcDir, file) 277 | const destFile = path.resolve(destDir, file) 278 | copy(srcFile, destFile) 279 | } 280 | } 281 | 282 | /** 283 | * @param {string} path 284 | */ 285 | function isEmpty(path) { 286 | const files = fs.readdirSync(path) 287 | return files.length === 0 || (files.length === 1 && files[0] === '.git') 288 | } 289 | 290 | /** 291 | * @param {string} dir 292 | */ 293 | function emptyDir(dir) { 294 | if (!fs.existsSync(dir)) { 295 | return 296 | } 297 | for (const file of fs.readdirSync(dir)) { 298 | fs.rmSync(path.resolve(dir, file), { recursive: true, force: true }) 299 | } 300 | } 301 | 302 | /** 303 | * @param {string | undefined} userAgent process.env.npm_config_user_agent 304 | * @returns object | undefined 305 | */ 306 | function pkgFromUserAgent(userAgent) { 307 | if (!userAgent) return undefined 308 | const pkgSpec = userAgent.split(' ')[0] 309 | const pkgSpecArr = pkgSpec.split('/') 310 | return { 311 | name: pkgSpecArr[0], 312 | version: pkgSpecArr[1] 313 | } 314 | } 315 | 316 | init().catch((e) => { 317 | console.error(e) 318 | }) -------------------------------------------------------------------------------- /logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/create-kowind/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-kowind-v2/src/assets/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vue-ts-kowind-v2/src/assets/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/src/Assets/img/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/create-kowind/template-vanilla-kowind-v2/src/assets/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/src/Assets/img/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-kowind-v2/kowind.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/create-kowind/template-react-ts-kowind-v2/kowind.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | --------------------------------------------------------------------------------