From 4763c974c5fca79bc379826157aa372f0d9be290 Mon Sep 17 00:00:00 2001 From: alan <741484865@qq.com> Date: Mon, 30 Sep 2024 11:38:01 +0800 Subject: [PATCH] feat: update --- packages/create-cocos-plugin/package.json | 2 +- packages/create-cocos-plugin/src/templates.ts | 26 +- .../templates/react-ts/i18n/en.js | 3 + .../templates/react-ts/i18n/zh.js | 3 + .../templates/react-ts/index.html | 13 - .../templates/react-ts/package-lock.json | 3087 +++++++++++++++++ .../templates/react-ts/package.json | 83 +- .../templates/react-ts/src/App.tsx | 35 - .../templates/react-ts/src/browser/index.ts | 15 + .../templates/react-ts/src/main.tsx | 10 - .../react-ts/src/{ => panels}/App.css | 0 .../templates/react-ts/src/panels/App.tsx | 35 + .../react-ts/src/panels/assets/cocos.png | Bin 0 -> 39013 bytes .../src/{ => panels}/assets/react.svg | 0 .../{public => src/panels/assets}/vite.svg | 0 .../react-ts/src/{ => panels}/index.css | 0 .../templates/react-ts/src/panels/panel.tsx | 29 + .../templates/react-ts/tsconfig.app.json | 41 +- .../templates/react-ts/vite.config.ts | 52 +- .../templates/react/README.md | 8 - .../templates/react/_gitignore | 24 - .../templates/react/eslint.config.js | 38 - .../templates/react/index.html | 13 - .../templates/react/package.json | 28 - .../templates/react/src/App.css | 42 - .../templates/react/src/App.jsx | 35 - .../templates/react/src/assets/react.svg | 1 - .../templates/react/src/index.css | 68 - .../templates/react/src/main.jsx | 10 - .../templates/react/vite.config.js | 7 - .../templates/vanilla/i18n/en.js | 3 + .../templates/vanilla/i18n/zh.js | 3 + .../templates/vanilla/index.html | 13 - .../templates/vanilla/main.js | 24 - .../templates/vanilla/package-lock.json | 837 +++++ .../templates/vanilla/package.json | 53 +- .../templates/vanilla/public/vite.svg | 1 - .../templates/vanilla/src/assets/cocos.png | Bin 0 -> 39013 bytes .../vanilla/{ => src/assets}/javascript.svg | 0 .../public => vanilla/src/assets}/vite.svg | 0 .../templates/vanilla/src/browser/index.js | 15 + .../templates/vanilla/{ => src}/counter.js | 0 .../templates/vanilla/src/panel.js | 40 + .../templates/vanilla/{ => src}/style.css | 0 .../templates/vanilla/vite.config.js | 45 + .../templates/vue-ts/src/panels/App.vue | 5 +- .../vue-ts/src/panels/assets/cocos.png | Bin 0 -> 39013 bytes .../src/panels/components/HelloWorld.vue | 2 +- .../templates/vue-ts/vite.config.ts | 2 +- .../templates/vue/src/panels/App.vue | 5 +- .../templates/vue/src/panels/assets/cocos.png | Bin 0 -> 39013 bytes .../vue/src/panels/components/HelloWorld.vue | 2 +- .../templates/vue/vite.config.js | 2 +- 53 files changed, 4305 insertions(+), 455 deletions(-) create mode 100644 packages/create-cocos-plugin/templates/react-ts/i18n/en.js create mode 100644 packages/create-cocos-plugin/templates/react-ts/i18n/zh.js delete mode 100644 packages/create-cocos-plugin/templates/react-ts/index.html create mode 100644 packages/create-cocos-plugin/templates/react-ts/package-lock.json delete mode 100644 packages/create-cocos-plugin/templates/react-ts/src/App.tsx create mode 100644 packages/create-cocos-plugin/templates/react-ts/src/browser/index.ts delete mode 100644 packages/create-cocos-plugin/templates/react-ts/src/main.tsx rename packages/create-cocos-plugin/templates/react-ts/src/{ => panels}/App.css (100%) create mode 100644 packages/create-cocos-plugin/templates/react-ts/src/panels/App.tsx create mode 100644 packages/create-cocos-plugin/templates/react-ts/src/panels/assets/cocos.png rename packages/create-cocos-plugin/templates/react-ts/src/{ => panels}/assets/react.svg (100%) rename packages/create-cocos-plugin/templates/react-ts/{public => src/panels/assets}/vite.svg (100%) rename packages/create-cocos-plugin/templates/react-ts/src/{ => panels}/index.css (100%) create mode 100644 packages/create-cocos-plugin/templates/react-ts/src/panels/panel.tsx delete mode 100644 packages/create-cocos-plugin/templates/react/README.md delete mode 100644 packages/create-cocos-plugin/templates/react/_gitignore delete mode 100644 packages/create-cocos-plugin/templates/react/eslint.config.js delete mode 100644 packages/create-cocos-plugin/templates/react/index.html delete mode 100644 packages/create-cocos-plugin/templates/react/package.json delete mode 100644 packages/create-cocos-plugin/templates/react/src/App.css delete mode 100644 packages/create-cocos-plugin/templates/react/src/App.jsx delete mode 100644 packages/create-cocos-plugin/templates/react/src/assets/react.svg delete mode 100644 packages/create-cocos-plugin/templates/react/src/index.css delete mode 100644 packages/create-cocos-plugin/templates/react/src/main.jsx delete mode 100644 packages/create-cocos-plugin/templates/react/vite.config.js create mode 100644 packages/create-cocos-plugin/templates/vanilla/i18n/en.js create mode 100644 packages/create-cocos-plugin/templates/vanilla/i18n/zh.js delete mode 100644 packages/create-cocos-plugin/templates/vanilla/index.html delete mode 100644 packages/create-cocos-plugin/templates/vanilla/main.js create mode 100644 packages/create-cocos-plugin/templates/vanilla/package-lock.json delete mode 100644 packages/create-cocos-plugin/templates/vanilla/public/vite.svg create mode 100644 packages/create-cocos-plugin/templates/vanilla/src/assets/cocos.png rename packages/create-cocos-plugin/templates/vanilla/{ => src/assets}/javascript.svg (100%) rename packages/create-cocos-plugin/templates/{react/public => vanilla/src/assets}/vite.svg (100%) create mode 100644 packages/create-cocos-plugin/templates/vanilla/src/browser/index.js rename packages/create-cocos-plugin/templates/vanilla/{ => src}/counter.js (100%) create mode 100644 packages/create-cocos-plugin/templates/vanilla/src/panel.js rename packages/create-cocos-plugin/templates/vanilla/{ => src}/style.css (100%) create mode 100644 packages/create-cocos-plugin/templates/vanilla/vite.config.js create mode 100644 packages/create-cocos-plugin/templates/vue-ts/src/panels/assets/cocos.png create mode 100644 packages/create-cocos-plugin/templates/vue/src/panels/assets/cocos.png diff --git a/packages/create-cocos-plugin/package.json b/packages/create-cocos-plugin/package.json index 7cb4de8..66f0f7e 100644 --- a/packages/create-cocos-plugin/package.json +++ b/packages/create-cocos-plugin/package.json @@ -1,6 +1,6 @@ { "name": "create-cocos-plugin", - "version": "1.0.2", + "version": "1.0.3", "type": "module", "license": "MIT", "author": "cocos fe-team", diff --git a/packages/create-cocos-plugin/src/templates.ts b/packages/create-cocos-plugin/src/templates.ts index 82c69c1..d740197 100644 --- a/packages/create-cocos-plugin/src/templates.ts +++ b/packages/create-cocos-plugin/src/templates.ts @@ -38,21 +38,21 @@ export const FRAMEWORKS: Framework[] = [ ], }, { - name: 'react', + name: 'react-ts', display: 'React', color: cyan, - variants: [ - { - name: 'react-ts', - display: 'TypeScript', - color: blue, - }, - { - name: 'react', - display: 'JavaScript', - color: yellow, - }, - ], + // variants: [ + // { + // name: 'react-ts', + // display: 'TypeScript', + // color: blue, + // }, + // { + // name: 'react', + // display: 'JavaScript', + // color: yellow, + // }, + // ], }, ]; diff --git a/packages/create-cocos-plugin/templates/react-ts/i18n/en.js b/packages/create-cocos-plugin/templates/react-ts/i18n/en.js new file mode 100644 index 0000000..a311b3c --- /dev/null +++ b/packages/create-cocos-plugin/templates/react-ts/i18n/en.js @@ -0,0 +1,3 @@ +module.exports = { + title: 'creator 插件: react + ts', +}; diff --git a/packages/create-cocos-plugin/templates/react-ts/i18n/zh.js b/packages/create-cocos-plugin/templates/react-ts/i18n/zh.js new file mode 100644 index 0000000..3c21c6a --- /dev/null +++ b/packages/create-cocos-plugin/templates/react-ts/i18n/zh.js @@ -0,0 +1,3 @@ +module.exports = { + title: 'creator plugin: react + ts', +}; diff --git a/packages/create-cocos-plugin/templates/react-ts/index.html b/packages/create-cocos-plugin/templates/react-ts/index.html deleted file mode 100644 index e4b78ea..0000000 --- a/packages/create-cocos-plugin/templates/react-ts/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - -
- - - -
- Edit src/App.tsx
and save to test HMR
-
- Click on the Vite and React logos to learn more -
- > - ) -} - -export default App diff --git a/packages/create-cocos-plugin/templates/react-ts/src/browser/index.ts b/packages/create-cocos-plugin/templates/react-ts/src/browser/index.ts new file mode 100644 index 0000000..fa7bfaa --- /dev/null +++ b/packages/create-cocos-plugin/templates/react-ts/src/browser/index.ts @@ -0,0 +1,15 @@ +import { name } from '../../package.json' with {type: 'json'}; + +export const methods = { + async open() { + Editor.Panel.open(name); + }, +}; + +export async function load() { + console.log('load'); +} + +export function unload() { + console.log('unload'); +} diff --git a/packages/create-cocos-plugin/templates/react-ts/src/main.tsx b/packages/create-cocos-plugin/templates/react-ts/src/main.tsx deleted file mode 100644 index 6f4ac9b..0000000 --- a/packages/create-cocos-plugin/templates/react-ts/src/main.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { StrictMode } from 'react' -import { createRoot } from 'react-dom/client' -import App from './App.tsx' -import './index.css' - -createRoot(document.getElementById('root')!).render( -
+ Edit src/App.tsx
and save to test auto build
+
Click on the Vite and React logos to learn more
+ > + ); +} + +export default App; diff --git a/packages/create-cocos-plugin/templates/react-ts/src/panels/assets/cocos.png b/packages/create-cocos-plugin/templates/react-ts/src/panels/assets/cocos.png new file mode 100644 index 0000000000000000000000000000000000000000..dc4af327ee82227703c2a5126f3c23029d23e491 GIT binary patch literal 39013 zcmX_nby!qgv^U*2Lx<=D9ZE_G3=Bhe3ZitWgeVlN4v?t2;Ru`$P*#Kn@N- z4%~w#L#>Z&N9I!poXmM@{&E4BjjJFMRnc)v-An9OQ;?%{$35_XQ&;->9Ur_DVnS_H ztn?0fm)-GYI8o84+36)rwk>}j=a+?ZGtE&E>zDV2#)l~xvc z)J_>W3F<(-IVVTr2gw)wv_lfG!^uqZf5q?0p8q_YlLa&Zx| G1|{eAJ|it6c3a7OT)CYN zhSSAUjsP|y0&Enx9y9QsA^D`U$^(fd`yZy)0MpRzb*+gsXY;AYFcj&x3Fwjoe48{6 zK`ToSdwh qpIbkdzALDV(&tUU0c_j8uvJrhuhHM2F_$muWh~-a` zjgtT5VJtWYKmSALjrchwrJ)>;Jg&945O4Eteu&sZVBSh7Vwq?_&(GUws4HOF=dR+e zjl&eV-GuNQ1MV_NtmZ-nCbU#8SjKL2^lF{-aK)q{S|k{+$J|=UKSy-m^7V}j&}5+~ z4UyPq_Z#ZdjGomDPgX|)TeRLa=PjRAx;B?`AC_?V!))q10IP+zt!q`tUP_%E9^@?W z8ajY4Qe=ESi?3ahN77%)iP<{(8-`8Jr RbK _}^c}DVm`8?Iu1Bp|ez#^qv7ax~o*92RPf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 diff --git a/packages/create-cocos-plugin/templates/react-ts/src/assets/react.svg b/packages/create-cocos-plugin/templates/react-ts/src/panels/assets/react.svg similarity index 100% rename from packages/create-cocos-plugin/templates/react-ts/src/assets/react.svg rename to packages/create-cocos-plugin/templates/react-ts/src/panels/assets/react.svg diff --git a/packages/create-cocos-plugin/templates/react-ts/public/vite.svg b/packages/create-cocos-plugin/templates/react-ts/src/panels/assets/vite.svg similarity index 100% rename from packages/create-cocos-plugin/templates/react-ts/public/vite.svg rename to packages/create-cocos-plugin/templates/react-ts/src/panels/assets/vite.svg diff --git a/packages/create-cocos-plugin/templates/react-ts/src/index.css b/packages/create-cocos-plugin/templates/react-ts/src/panels/index.css similarity index 100% rename from packages/create-cocos-plugin/templates/react-ts/src/index.css rename to packages/create-cocos-plugin/templates/react-ts/src/panels/index.css diff --git a/packages/create-cocos-plugin/templates/react-ts/src/panels/panel.tsx b/packages/create-cocos-plugin/templates/react-ts/src/panels/panel.tsx new file mode 100644 index 0000000..1afc6fd --- /dev/null +++ b/packages/create-cocos-plugin/templates/react-ts/src/panels/panel.tsx @@ -0,0 +1,29 @@ +import { StrictMode } from 'react'; +import { createRoot } from 'react-dom/client'; +import App from './App.tsx'; +import './index.css'; + +const weakMap = new WeakMap(); + +export default Editor.Panel.define({ + template: '', // 只留一个 div 用于 react 的挂载 + $: { + root: '#root', + }, + ready() { + if (!this.$.root) return; + + const app = createRoot(this.$.root); + app.render( + + + ); + + weakMap.set(this, app); + }, + close() { + const app = weakMap.get(this); + app?.unmount?.(); + }, +}); diff --git a/packages/create-cocos-plugin/templates/react-ts/tsconfig.app.json b/packages/create-cocos-plugin/templates/react-ts/tsconfig.app.json index f0a2350..d496d24 100644 --- a/packages/create-cocos-plugin/templates/react-ts/tsconfig.app.json +++ b/packages/create-cocos-plugin/templates/react-ts/tsconfig.app.json @@ -1,24 +1,25 @@ { - "compilerOptions": { - "target": "ES2020", - "useDefineForClassFields": true, - "lib": ["ES2020", "DOM", "DOM.Iterable"], - "module": "ESNext", - "skipLibCheck": true, + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + "types": ["@cocos/creator-types/engine", "@cocos/creator-types/editor"], - /* Bundler mode */ - "moduleResolution": "bundler", - "allowImportingTsExtensions": true, - "isolatedModules": true, - "moduleDetection": "force", - "noEmit": true, - "jsx": "react-jsx", + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + "jsx": "react-jsx", - /* Linting */ - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true - }, - "include": ["src"] + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src"] } diff --git a/packages/create-cocos-plugin/templates/react-ts/vite.config.ts b/packages/create-cocos-plugin/templates/react-ts/vite.config.ts index 5a33944..4dcb5ff 100644 --- a/packages/create-cocos-plugin/templates/react-ts/vite.config.ts +++ b/packages/create-cocos-plugin/templates/react-ts/vite.config.ts @@ -1,7 +1,47 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import { defineConfig } from 'vite'; +import { nodeExternals } from 'rollup-plugin-node-externals'; +import react from '@vitejs/plugin-react'; +import { cocosPanelConfig, cocosPanelCss } from '@cocos-fe/vite-plugin-cocos-panel'; -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [react()], -}) +export default defineConfig(({ mode }) => { + /** + * 注意事项: + * vite 在构建 lib 模式的时候,是没有 dev 服务的,dev 主要用于 web 应用 + * 所以在 package.json 的 scripts 里 dev 和 build 都是执行 vite build + * 只是在 dev 的脚本里,手动指定了 "--mode development" https://cn.vitejs.dev/guide/env-and-mode.html + * 然后在 development 模式下,我们配置 watch 的配置 + */ + const isDev = mode === 'development'; + + return { + build: { + lib: { + entry: { + browser: './src/browser/index.ts', + panel: './src/panels/panel.tsx', + }, + formats: ['cjs'], + fileName: (format, entryName) => `${entryName}.${format}`, + }, + watch: isDev + ? { + include: ['./src/**/*.tsx', './src/**/*.ts', './src/**/*.css'], + } + : null, + target: 'modules', + minify: false, + }, + plugins: [ + react(), + nodeExternals({ + builtins: true, // 排除 node 的内置模块 + deps: false, // 将依赖打入 dist,发布的时候可以删除 node_modules + devDeps: true, + peerDeps: true, + optDeps: true, + }), + cocosPanelConfig(), + cocosPanelCss(), + ], + }; +}); diff --git a/packages/create-cocos-plugin/templates/react/README.md b/packages/create-cocos-plugin/templates/react/README.md deleted file mode 100644 index f768e33..0000000 --- a/packages/create-cocos-plugin/templates/react/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# React + Vite - -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. - -Currently, two official plugins are available: - -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh diff --git a/packages/create-cocos-plugin/templates/react/_gitignore b/packages/create-cocos-plugin/templates/react/_gitignore deleted file mode 100644 index a547bf3..0000000 --- a/packages/create-cocos-plugin/templates/react/_gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* - -node_modules -dist -dist-ssr -*.local - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -.DS_Store -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/packages/create-cocos-plugin/templates/react/eslint.config.js b/packages/create-cocos-plugin/templates/react/eslint.config.js deleted file mode 100644 index 238d2e4..0000000 --- a/packages/create-cocos-plugin/templates/react/eslint.config.js +++ /dev/null @@ -1,38 +0,0 @@ -import js from '@eslint/js' -import globals from 'globals' -import react from 'eslint-plugin-react' -import reactHooks from 'eslint-plugin-react-hooks' -import reactRefresh from 'eslint-plugin-react-refresh' - -export default [ - { ignores: ['dist'] }, - { - files: ['**/*.{js,jsx}'], - languageOptions: { - ecmaVersion: 2020, - globals: globals.browser, - parserOptions: { - ecmaVersion: 'latest', - ecmaFeatures: { jsx: true }, - sourceType: 'module', - }, - }, - settings: { react: { version: '18.3' } }, - plugins: { - react, - 'react-hooks': reactHooks, - 'react-refresh': reactRefresh, - }, - rules: { - ...js.configs.recommended.rules, - ...react.configs.recommended.rules, - ...react.configs['jsx-runtime'].rules, - ...reactHooks.configs.recommended.rules, - 'react/jsx-no-target-blank': 'off', - 'react-refresh/only-export-components': [ - 'warn', - { allowConstantExport: true }, - ], - }, - }, -] diff --git a/packages/create-cocos-plugin/templates/react/index.html b/packages/create-cocos-plugin/templates/react/index.html deleted file mode 100644 index 0c589ec..0000000 --- a/packages/create-cocos-plugin/templates/react/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - -+ Vite + React - - - - - - diff --git a/packages/create-cocos-plugin/templates/react/package.json b/packages/create-cocos-plugin/templates/react/package.json deleted file mode 100644 index 97fdb00..0000000 --- a/packages/create-cocos-plugin/templates/react/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "vite-react-starter", - "private": true, - "version": "0.0.0", - "type": "module", - "scripts": { - "dev": "vite", - "build": "vite build", - "lint": "eslint .", - "preview": "vite preview" - }, - "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" - }, - "devDependencies": { - "@eslint/js": "^9.9.0", - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", - "@vitejs/plugin-react": "^4.3.1", - "eslint": "^9.9.0", - "eslint-plugin-react": "^7.35.0", - "eslint-plugin-react-hooks": "^5.1.0-rc.0", - "eslint-plugin-react-refresh": "^0.4.9", - "globals": "^15.9.0", - "vite": "^5.4.1" - } -} diff --git a/packages/create-cocos-plugin/templates/react/src/App.css b/packages/create-cocos-plugin/templates/react/src/App.css deleted file mode 100644 index b9d355d..0000000 --- a/packages/create-cocos-plugin/templates/react/src/App.css +++ /dev/null @@ -1,42 +0,0 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); -} - -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} diff --git a/packages/create-cocos-plugin/templates/react/src/App.jsx b/packages/create-cocos-plugin/templates/react/src/App.jsx deleted file mode 100644 index b8b8473..0000000 --- a/packages/create-cocos-plugin/templates/react/src/App.jsx +++ /dev/null @@ -1,35 +0,0 @@ -import { useState } from 'react' -import reactLogo from './assets/react.svg' -import viteLogo from '/vite.svg' -import './App.css' - -function App() { - const [count, setCount] = useState(0) - - return ( - <> - -Vite + React
-- --- Edit
-src/App.jsx
and save to test HMR -- Click on the Vite and React logos to learn more -
- > - ) -} - -export default App diff --git a/packages/create-cocos-plugin/templates/react/src/assets/react.svg b/packages/create-cocos-plugin/templates/react/src/assets/react.svg deleted file mode 100644 index 6c87de9..0000000 --- a/packages/create-cocos-plugin/templates/react/src/assets/react.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/create-cocos-plugin/templates/react/src/index.css b/packages/create-cocos-plugin/templates/react/src/index.css deleted file mode 100644 index 6119ad9..0000000 --- a/packages/create-cocos-plugin/templates/react/src/index.css +++ /dev/null @@ -1,68 +0,0 @@ -:root { - font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} diff --git a/packages/create-cocos-plugin/templates/react/src/main.jsx b/packages/create-cocos-plugin/templates/react/src/main.jsx deleted file mode 100644 index 89f91e5..0000000 --- a/packages/create-cocos-plugin/templates/react/src/main.jsx +++ /dev/null @@ -1,10 +0,0 @@ -import { StrictMode } from 'react' -import { createRoot } from 'react-dom/client' -import App from './App.jsx' -import './index.css' - -createRoot(document.getElementById('root')).render( -- , -) diff --git a/packages/create-cocos-plugin/templates/react/vite.config.js b/packages/create-cocos-plugin/templates/react/vite.config.js deleted file mode 100644 index 5a33944..0000000 --- a/packages/create-cocos-plugin/templates/react/vite.config.js +++ /dev/null @@ -1,7 +0,0 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [react()], -}) diff --git a/packages/create-cocos-plugin/templates/vanilla/i18n/en.js b/packages/create-cocos-plugin/templates/vanilla/i18n/en.js new file mode 100644 index 0000000..2b86595 --- /dev/null +++ b/packages/create-cocos-plugin/templates/vanilla/i18n/en.js @@ -0,0 +1,3 @@ +module.exports = { + title: 'creator 插件: vanilla', +}; diff --git a/packages/create-cocos-plugin/templates/vanilla/i18n/zh.js b/packages/create-cocos-plugin/templates/vanilla/i18n/zh.js new file mode 100644 index 0000000..01b4fc8 --- /dev/null +++ b/packages/create-cocos-plugin/templates/vanilla/i18n/zh.js @@ -0,0 +1,3 @@ +module.exports = { + title: 'creator plugin: 原生开发', +}; diff --git a/packages/create-cocos-plugin/templates/vanilla/index.html b/packages/create-cocos-plugin/templates/vanilla/index.html deleted file mode 100644 index 3d08438..0000000 --- a/packages/create-cocos-plugin/templates/vanilla/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - -- Vite App - - - - - - diff --git a/packages/create-cocos-plugin/templates/vanilla/main.js b/packages/create-cocos-plugin/templates/vanilla/main.js deleted file mode 100644 index b400b4e..0000000 --- a/packages/create-cocos-plugin/templates/vanilla/main.js +++ /dev/null @@ -1,24 +0,0 @@ -import './style.css' -import javascriptLogo from './javascript.svg' -import viteLogo from '/vite.svg' -import { setupCounter } from './counter.js' - -document.querySelector('#app').innerHTML = ` - -` - -setupCounter(document.querySelector('#counter')) diff --git a/packages/create-cocos-plugin/templates/vanilla/package-lock.json b/packages/create-cocos-plugin/templates/vanilla/package-lock.json new file mode 100644 index 0000000..2f6ed4e --- /dev/null +++ b/packages/create-cocos-plugin/templates/vanilla/package-lock.json @@ -0,0 +1,837 @@ +{ + "name": "cocos-plugin-vanilla", + "version": "0.0.1", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "cocos-plugin-vanilla", + "version": "0.0.1", + "devDependencies": { + "@cocos-fe/vite-plugin-cocos-panel": "^0.0.1-beta.1", + "rollup-plugin-node-externals": "^7.1.3", + "vite": "^5.4.1" + } + }, + "node_modules/@cocos-fe/vite-plugin-cocos-panel": { + "version": "0.0.1-beta.1", + "resolved": "https://registry.npmmirror.com/@cocos-fe/vite-plugin-cocos-panel/-/vite-plugin-cocos-panel-0.0.1-beta.1.tgz", + "integrity": "sha512-vkpYmyUmlWXG4FxiSx399GUfTnirCC6DHeg6XtelZWKM6SavjiKM7GZQVU/Ff/3ivH4riGFZJuaXxfP0lNpQbA==", + "dev": true, + "peerDependencies": { + "vite": "^5.0.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.22.5.tgz", + "integrity": "sha512-SU5cvamg0Eyu/F+kLeMXS7GoahL+OoizlclVFX3l5Ql6yNlywJJ0OuqTzUx0v+aHhPHEB/56CT06GQrRrGNYww==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.22.5.tgz", + "integrity": "sha512-S4pit5BP6E5R5C8S6tgU/drvgjtYW76FBuG6+ibG3tMvlD1h9LHVF9KmlmaUBQ8Obou7hEyS+0w+IR/VtxwNMQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.22.5.tgz", + "integrity": "sha512-250ZGg4ipTL0TGvLlfACkIxS9+KLtIbn7BCZjsZj88zSg2Lvu3Xdw6dhAhfe/FjjXPVNCtcSp+WZjVsD3a/Zlw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.22.5.tgz", + "integrity": "sha512-D8brJEFg5D+QxFcW6jYANu+Rr9SlKtTenmsX5hOSzNYVrK5oLAEMTUgKWYJP+wdKyCdeSwnapLsn+OVRFycuQg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.22.5.tgz", + "integrity": "sha512-PNqXYmdNFyWNg0ma5LdY8wP+eQfdvyaBAojAXgO7/gs0Q/6TQJVXAXe8gwW9URjbS0YAammur0fynYGiWsKlXw==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.22.5.tgz", + "integrity": "sha512-kSSCZOKz3HqlrEuwKd9TYv7vxPYD77vHSUvM2y0YaTGnFc8AdI5TTQRrM1yIp3tXCKrSL9A7JLoILjtad5t8pQ==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.22.5.tgz", + "integrity": "sha512-oTXQeJHRbOnwRnRffb6bmqmUugz0glXaPyspp4gbQOPVApdpRrY/j7KP3lr7M8kTfQTyrBUzFjj5EuHAhqH4/w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.22.5.tgz", + "integrity": "sha512-qnOTIIs6tIGFKCHdhYitgC2XQ2X25InIbZFor5wh+mALH84qnFHvc+vmWUpyX97B0hNvwNUL4B+MB8vJvH65Fw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.22.5.tgz", + "integrity": "sha512-TMYu+DUdNlgBXING13rHSfUc3Ky5nLPbWs4bFnT+R6Vu3OvXkTkixvvBKk8uO4MT5Ab6lC3U7x8S8El2q5o56w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.22.5.tgz", + "integrity": "sha512-PTQq1Kz22ZRvuhr3uURH+U/Q/a0pbxJoICGSprNLAoBEkyD3Sh9qP5I0Asn0y0wejXQBbsVMRZRxlbGFD9OK4A==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.22.5.tgz", + "integrity": "sha512-bR5nCojtpuMss6TDEmf/jnBnzlo+6n1UhgwqUvRoe4VIotC7FG1IKkyJbwsT7JDsF2jxR+NTnuOwiGv0hLyDoQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.22.5.tgz", + "integrity": "sha512-N0jPPhHjGShcB9/XXZQWuWBKZQnC1F36Ce3sDqWpujsGjDz/CQtOL9LgTrJ+rJC8MJeesMWrMWVLKKNR/tMOCA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.22.5.tgz", + "integrity": "sha512-uBa2e28ohzNNwjr6Uxm4XyaA1M/8aTgfF2T7UIlElLaeXkgpmIJ2EitVNQxjO9xLLLy60YqAgKn/AqSpCUkE9g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.22.5.tgz", + "integrity": "sha512-RXT8S1HP8AFN/Kr3tg4fuYrNxZ/pZf1HemC5Tsddc6HzgGnJm0+Lh5rAHJkDuW3StI0ynNXukidROMXYl6ew8w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.22.5.tgz", + "integrity": "sha512-ElTYOh50InL8kzyUD6XsnPit7jYCKrphmddKAe1/Ytt74apOxDq5YEcbsiKs0fR3vff3jEneMM+3I7jbqaMyBg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.22.5.tgz", + "integrity": "sha512-+lvL/4mQxSV8MukpkKyyvfwhH266COcWlXE/1qxwN08ajovta3459zrjLghYMgDerlzNwLAcFpvU+WWE5y6nAQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true + }, + "node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/picocolors": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.1.0.tgz", + "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "dev": true + }, + "node_modules/postcss": { + "version": "8.4.47", + "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.47.tgz", + "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.1.0", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/rollup": { + "version": "4.22.5", + "resolved": "https://registry.npmmirror.com/rollup/-/rollup-4.22.5.tgz", + "integrity": "sha512-WoinX7GeQOFMGznEcWA1WrTQCd/tpEbMkc3nuMs9BT0CPjMdSjPMTVClwWd4pgSQwJdP65SK9mTCNvItlr5o7w==", + "dev": true, + "dependencies": { + "@types/estree": "1.0.6" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.22.5", + "@rollup/rollup-android-arm64": "4.22.5", + "@rollup/rollup-darwin-arm64": "4.22.5", + "@rollup/rollup-darwin-x64": "4.22.5", + "@rollup/rollup-linux-arm-gnueabihf": "4.22.5", + "@rollup/rollup-linux-arm-musleabihf": "4.22.5", + "@rollup/rollup-linux-arm64-gnu": "4.22.5", + "@rollup/rollup-linux-arm64-musl": "4.22.5", + "@rollup/rollup-linux-powerpc64le-gnu": "4.22.5", + "@rollup/rollup-linux-riscv64-gnu": "4.22.5", + "@rollup/rollup-linux-s390x-gnu": "4.22.5", + "@rollup/rollup-linux-x64-gnu": "4.22.5", + "@rollup/rollup-linux-x64-musl": "4.22.5", + "@rollup/rollup-win32-arm64-msvc": "4.22.5", + "@rollup/rollup-win32-ia32-msvc": "4.22.5", + "@rollup/rollup-win32-x64-msvc": "4.22.5", + "fsevents": "~2.3.2" + } + }, + "node_modules/rollup-plugin-node-externals": { + "version": "7.1.3", + "resolved": "https://registry.npmmirror.com/rollup-plugin-node-externals/-/rollup-plugin-node-externals-7.1.3.tgz", + "integrity": "sha512-RM+7tJAejAoRsCf93TptTSdqUhRA8S78DleihMiu54Kac+uLkd9VIegLPhGnaW3ehZTXh56+R301mFH6j2A7vw==", + "dev": true, + "funding": [ + { + "type": "patreon", + "url": "https://patreon.com/Septh" + }, + { + "type": "paypal", + "url": "https://paypal.me/septh07" + } + ], + "engines": { + "node": ">= 21 || ^20.6.0 || ^18.19.0" + }, + "peerDependencies": { + "rollup": "^3.0.0 || ^4.0.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/vite": { + "version": "5.4.8", + "resolved": "https://registry.npmmirror.com/vite/-/vite-5.4.8.tgz", + "integrity": "sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==", + "dev": true, + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + } + } +} diff --git a/packages/create-cocos-plugin/templates/vanilla/package.json b/packages/create-cocos-plugin/templates/vanilla/package.json index f9a53f9..e5c862e 100644 --- a/packages/create-cocos-plugin/templates/vanilla/package.json +++ b/packages/create-cocos-plugin/templates/vanilla/package.json @@ -1,14 +1,43 @@ { - "name": "vite-starter", - "private": true, - "version": "0.0.0", - "type": "module", - "scripts": { - "dev": "vite", - "build": "vite build", - "preview": "vite preview" - }, - "devDependencies": { - "vite": "^5.4.1" - } + "name": "cocos-plugin-vanilla", + "private": true, + "version": "0.0.1", + "type": "module", + "main": "./dist/browser.cjs", + "scripts": { + "dev": "npm run build -- --mode development", + "build": "vite build" + }, + "devDependencies": { + "@cocos-fe/vite-plugin-cocos-panel": "^0.0.1-beta.1", + "rollup-plugin-node-externals": "^7.1.3", + "vite": "^5.4.1" + }, + "contributions": { + "menu": [ + { + "path": "i18n:menu.panel", + "label": "i18n:cocos-plugin-vanilla.title", + "message": "open" + } + ], + "messages": { + "open": { + "methods": [ + "open" + ] + } + } + }, + "panels": { + "default": { + "main": "./dist/panel.cjs", + "size": { + "min-width": 400, + "min-height": 300, + "width": 600, + "height": 500 + } + } + } } diff --git a/packages/create-cocos-plugin/templates/vanilla/public/vite.svg b/packages/create-cocos-plugin/templates/vanilla/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/packages/create-cocos-plugin/templates/vanilla/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/create-cocos-plugin/templates/vanilla/src/assets/cocos.png b/packages/create-cocos-plugin/templates/vanilla/src/assets/cocos.png new file mode 100644 index 0000000000000000000000000000000000000000..dc4af327ee82227703c2a5126f3c23029d23e491 GIT binary patch literal 39013 zcmX_nby!qgv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