Skip to content

Commit

Permalink
feat: 初步完成模板
Browse files Browse the repository at this point in the history
  • Loading branch information
dogodo-cc committed Sep 30, 2024
1 parent 4763c97 commit 0642219
Show file tree
Hide file tree
Showing 72 changed files with 25 additions and 12 deletions.
34 changes: 24 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/create-cocos-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ Currently supported template presets include:
- `vanilla`
- `vue`
- `vue-ts`
- `react`
- `react-ts`

You can use `.` for the project name to scaffold in the current directory.
2 changes: 1 addition & 1 deletion packages/create-cocos-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"bugs": {
"url": "https://github.com/cocos-creator/cocos-fe/issues"
},
"homepage": "https://github.com/cocos-creator/cocos-fe#readme",
"homepage": "https://github.com/cocos-creator/fe-team/tree/main/packages/create-cocos-plugin",
"devDependencies": {
"@types/cross-spawn": "^6.0.6",
"@types/minimist": "^1.2.5",
Expand Down
Empty file modified packages/create-cocos-plugin/templates/react-ts/README.md
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/react-ts/_gitignore
100644 → 100755
Empty file.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/react-ts/i18n/en.js
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/react-ts/i18n/zh.js
100644 → 100755
Empty file.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/react-ts/package.json
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/react-ts/tsconfig.json
100644 → 100755
Empty file.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/react-ts/vite.config.ts
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vanilla/_gitignore
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vanilla/i18n/en.js
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vanilla/i18n/zh.js
100644 → 100755
Empty file.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vanilla/package.json
100644 → 100755
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vanilla/src/counter.js
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vanilla/src/panel.js
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vanilla/src/style.css
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vanilla/vite.config.js
100644 → 100755
Empty file.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue-ts/README.md
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue-ts/_gitignore
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue-ts/i18n/en.js
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue-ts/i18n/zh.js
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue-ts/package-lock.json
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue-ts/package.json
100644 → 100755
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue-ts/src/vite-env.d.ts
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue-ts/tsconfig.app.json
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue-ts/tsconfig.json
100644 → 100755
Empty file.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue-ts/vite.config.ts
100644 → 100755
Empty file.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/README.md
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/_gitignore
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/i18n/en.js
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/i18n/zh.js
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/package-lock.json
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/package.json
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/src/browser/index.js
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/src/panels/App.vue
100644 → 100755
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/src/panels/panel.js
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/src/panels/style.css
100644 → 100755
Empty file.
Empty file modified packages/create-cocos-plugin/templates/vue/vite.config.js
100644 → 100755
Empty file.

0 comments on commit 0642219

Please sign in to comment.