Coder Social home page Coder Social logo

erkelost / create-vite-app Goto Github PK

View Code? Open in Web Editor NEW
216.0 216.0 27.0 3.72 MB

🍰🍰 VIte-CLI resolve Vite create starter template No need to configure vite scaffolding templates quickly build vite4.x development templates highly customized Vue3.x React 18 Vite5.x

Home Page: https://vite-cli.netlify.app/

JavaScript 5.75% Shell 0.06% TypeScript 52.75% EJS 7.28% Vue 32.63% CSS 1.33% SCSS 0.08% HTML 0.13%
command command-line-tool turborepo vite-starter vite-starter-template vite4 vue3

create-vite-app's Introduction

Rust & Go & Node & Web development ✨ Day By Day Through By Through ⏱️

create-vite-app's People

Contributors

a145789 avatar baixjian avatar denver-ning avatar erkelost avatar niccraver avatar renovate[bot] avatar zhuchentong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

create-vite-app's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency commander to v10.0.1
  • chore(deps): update dependency ejs to v3.1.10
  • chore(deps): update dependency eslint-config-relaxed-ts to v2.0.34
  • chore(deps): update dependency rimraf to v5.0.7
  • chore(deps): update dependency ts-node to v10.9.2
  • chore(deps): update dependency tsc-alias to v1.8.9
  • chore(deps): update commitlint monorepo to v17.8.1 (@commitlint/config-conventional, commitlint)
  • chore(deps): update dependency @farmfe/cli to ^0.7.0
  • chore(deps): update dependency @farmfe/core to ^0.16.0
  • chore(deps): update dependency @types/node to v18.19.33
  • chore(deps): update dependency bumpp to v9.4.1
  • chore(deps): update dependency chalk to v5.3.0
  • chore(deps): update dependency chokidar to v3.6.0
  • chore(deps): update dependency eslint to v8.57.0
  • chore(deps): update dependency fs-extra to v11.2.0 (fs-extra, @types/fs-extra)
  • chore(deps): update dependency lint-staged to v13.3.0
  • chore(deps): update dependency tsconfig-paths to v4.2.0
  • chore(deps): update dependency tsup to v6.7.0
  • chore(deps): update dependency typescript to v5.4.5
  • chore(deps): update dependency zx to v7.2.3
  • chore(deps): update pnpm to v8.15.8
  • chore(deps): update typescript-eslint monorepo to v5.62.0 (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • fix(deps): update dependency vue to v3.4.27
  • chore(deps): update codecov/codecov-action action to v4
  • chore(deps): update dependency @farmfe/cli to v1
  • chore(deps): update dependency @farmfe/core to v1
  • chore(deps): update dependency @types/node to v20
  • chore(deps): update dependency commander to v12
  • chore(deps): update dependency eslint to v9
  • chore(deps): update dependency esno to v4
  • chore(deps): update dependency husky to v9
  • chore(deps): update dependency lint-staged to v15
  • chore(deps): update dependency ora to v8
  • chore(deps): update dependency tsup to v8
  • chore(deps): update dependency vite to v5
  • chore(deps): update dependency zx to v8
  • chore(deps): update pnpm to v9
  • chore(deps): update pnpm/action-setup action to v4
  • fix(deps): update dependency prettier to v3
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yaml
  • actions/checkout v3
  • pnpm/action-setup v2.4.0
  • actions/setup-node v3
  • codecov/codecov-action v3
.github/workflows/issues-inactive.yaml
  • actions/stale v8
npm
docs/package.json
  • vue ^3.2.37
  • vite 4.3.9
  • vitepress 1.0.0-rc.31
package.json
  • @commitlint/config-conventional ^17.3.0
  • @farmfe/cli ^0.5.2
  • @farmfe/core ^0.14.0
  • @types/fs-extra ^11.0.0
  • @typescript-eslint/eslint-plugin ^5.46.0
  • @typescript-eslint/parser ^5.46.0
  • bumpp ^9.0.0
  • chalk ^5.1.2
  • chokidar ^3.5.3
  • commitizen ^4.2.6
  • commitlint ^17.3.0
  • commitlint-config-cz ^0.13.3
  • cz-conventional-changelog ^3.3.0
  • cz-customizable ^6.9.2
  • esbuild ^0.18.0
  • eslint ^8.29.0
  • eslint-config-relaxed-ts ^2.0.2
  • esno ^0.16.3
  • husky ^8.0.2
  • lint-staged ^13.1.0
  • pnpm 8.12.0
  • rimraf ^5.0.0
  • ts-node-dev ^2.0.0
  • tsup ^6.5.0
  • typescript ^5.0.0
  • zx ^7.1.1
  • npm >=7.0.0
  • node >=14.0.0
  • pnpm 8.12.0
vite-cli/package.json
  • prettier 2.8.8
  • @types/node ^18.11.9
  • chalk ^5.1.2
  • commander ^10.0.0
  • debug ^4.3.4
  • ejs ^3.1.8
  • esbuild ^0.18.0
  • esbuild-plugin-alias ^0.2.1
  • esbuild-plugin-path-alias ^1.0.6
  • esbuild-ts-paths ^1.1.3
  • fs-extra ^11.0.0
  • gradient-string ^2.0.2
  • ora ^7.0.0
  • prompts ^2.4.2
  • ts-node ^10.9.1
  • tsc-alias ^1.7.1
  • tsconfig-paths ^4.1.0
vite-cli/template/next/package.json
vite-cli/template/nuxt/package.json
vite-cli/template/react/package.json
  • react ^18.2.0
  • react-dom ^18.2.0
  • @types/react ^18.0.26
  • @types/react-dom ^18.0.9
  • @vitejs/plugin-react ^4.0.0
  • typescript ^5.0.0
  • vite ^4.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

npx 执行后 报 Error: ENOENT: no such file or directory, scandir

Steps to reproduce

QQ图片20230619131043
如图所示

What is expected?

可以正常生成项目

What is actually happening?

执行完 全部步骤后 报 Error: ENOENT: no such file or directory, scandir

System Info

windows11
node:v16.14.0
pnpm:8.6.2
npm:9.6.4

Any additional comments?

No response

npx create-vite-template@latest 报错

Steps to reproduce

npx create-vite-template@latest

What is expected?

创建成功

What is actually happening?


🍰 Welcome Use Vite To Create Template! v0.3.6


√ Project Name ? ... project-name
√ Choose your framework » Vue
√ Which package manager do you want to use ? » Pnpm
√ Add Vue Router for Single Page Application development? ... No / Yes
√ Add Pinia for state management? ... No / Yes
√ Add ESLint for code quality? ... No / Yes
√ Add Prettier for code formatting? ... No / Yes
√ choose UI frameWork » Ant Design Vue
√ Add theming && layout to your project?  This item overrides some of the default configuration ... No / Yes
√ Custorm Your Plugins » @vitejs/plugin-vue-jsx, unplugin-vue-components, unplugin-auto-import, unplugin-icons, Unocss
           ▶ copy templatenode:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Promise
    at writeFile (node:fs:2155:5)
    at R (C:\Users\Administrator\AppData\Local\npm-cache\_npx\28263570ba0ab32c\node_modules\create-vite-template\outfile.cjs:23:1145)
    at Object.n [as writeFile] (C:\Users\Administrator\AppData\Local\npm-cache\_npx\28263570ba0ab32c\node_modules\create-vite-template\outfile.cjs:23:1104)
    at C:\Users\Administrator\AppData\Local\npm-cache\_npx\28263570ba0ab32c\node_modules\create-vite-template\outfile.cjs:28:1551
    at C:\Users\Administrator\AppData\Local\npm-cache\_npx\28263570ba0ab32c\node_modules\create-vite-template\outfile.cjs:22:1381 {
  code: 'ERR_INVALID_ARG_TYPE'
}
NativeCommandExitException: Program "npx.cmd" ended with non-zero exit code: 1.

System Info

node v16.20.0

Any additional comments?

No response

help

请问一下 有本地调试cli的教程嘛

Unable to create react project using scaffolding

Steps to reproduce

使用npx create-vite-template@latest命令后Ok to proceed? (y) y 出现创建一个项目,输入项目名称,Choose your framework时选中react提示This option is disabled

What is expected?

能够正常创建使用react技术栈的项目

What is actually happening?

选中react是无法继续后面的步骤

System Info

macOs 12.5

Any additional comments?

image

[vite] Internal server error: Failed to resolve entry for package "@relaxed/utils". The package may have incorrect main/module/exports specified in its package.json.

Steps to reproduce

1.use

  npx create-vite-template@latest

2.pnpm i
3.then i got this error

What is expected?

i wanna the project is able to run

What is actually happening?

it's occur an error said:
[vite] Internal server error: Failed to resolve entry for package "@relaxed/utils". The package may have incorrect main/module/exports specified in its package.json.
package.json is like this

{
  "name": "vite-template",
  "private": true,
  "version": "1.0.0",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "preview": "vite preview",
    "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
    "prettier": "prettier --write ./**/*.{html,vue,ts,js,json,md}",
    "type-check": "vue-tsc --noEmit"
  },
  "dependencies": {
    "@erkelost/colorpicker": "^1.0.8",
    "@relaxed/layout": "^2.0.17",
    "@relaxed/utils": "^2.0.17",
    "@vueuse/core": "9.13.0",
    "@vueuse/head": "1.1.23",
    "colord": "^2.9.2",
    "css-color-function": "^1.3.3",
    "element-plus": "^2.3.0",
    "pinia": "^2.0.33",
    "pinia-plugin-persistedstate": "^3.1.0",
    "vue": "^3.2.47",
    "vue-router": "^4.1.6"
  },
  "devDependencies": {
    "@iconify-json/carbon": "^1.1.16",
    "@iconify-json/ic": "^1.1.13",
    "@pureadmin/theme": "^2.0.0",
    "@types/node": "^18.15.3",
    "@typescript-eslint/eslint-plugin": "^5.44.0",
    "@typescript-eslint/parser": "^5.44.0",
    "@vitejs/plugin-legacy": "^4.0.2",
    "@vitejs/plugin-vue": "^4.0.0",
    "@vitejs/plugin-vue-jsx": "^3.0.1",
    "eslint": "^8.36.0",
    "eslint-config-prettier": "^8.7.0",
    "eslint-plugin-prettier": "^4.2.1",
    "prettier": "^2.8.4",
    "rollup-plugin-visualizer": "^5.9.0",
    "sass": "^1.59.3",
    "typescript": "^5.0.2",
    "unocss": "^0.50.6",
    "unplugin-auto-import": "^0.15.1",
    "unplugin-icons": "^0.15.3",
    "unplugin-vue-components": "^0.24.1",
    "vite": "^4.2.0",
    "vite-plugin-html": "^3.2.0",
    "vite-plugin-inspect": "^0.7.17",
    "vite-plugin-pwa": "^0.14.4",
    "vue-tsc": "^1.2.0"
  }
}

is there a problem with this package called @relaxed/utils'

System Info

windows 11
vite/4.3.9 
win32-x64 
node-v16.15.1

Any additional comments?

No response

How to create JS version of Vite app

Hello
This create-vite-app scaffolding template is very nice, but I want to create a JS version of the app instead of a TS version, so I don't see any options, thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.