Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
dogodo-cc committed Sep 30, 2024
1 parent 77165c1 commit 4763c97
Show file tree
Hide file tree
Showing 53 changed files with 4,305 additions and 455 deletions.
2 changes: 1 addition & 1 deletion packages/create-cocos-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-cocos-plugin",
"version": "1.0.2",
"version": "1.0.3",
"type": "module",
"license": "MIT",
"author": "cocos fe-team",
Expand Down
26 changes: 13 additions & 13 deletions packages/create-cocos-plugin/src/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
// },
// ],
},
];

Expand Down
3 changes: 3 additions & 0 deletions packages/create-cocos-plugin/templates/react-ts/i18n/en.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
title: 'creator 插件: react + ts',
};
3 changes: 3 additions & 0 deletions packages/create-cocos-plugin/templates/react-ts/i18n/zh.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
title: 'creator plugin: react + ts',
};
13 changes: 0 additions & 13 deletions packages/create-cocos-plugin/templates/react-ts/index.html

This file was deleted.

Loading

0 comments on commit 4763c97

Please sign in to comment.