diff --git a/packages/template-pkg-monorepo-node/template/component/.gitignore.ejs b/packages/template-pkg-monorepo-node/template/component/.gitignore.ejs index 3b4236c..7cf50d1 100644 --- a/packages/template-pkg-monorepo-node/template/component/.gitignore.ejs +++ b/packages/template-pkg-monorepo-node/template/component/.gitignore.ejs @@ -14,7 +14,6 @@ es2017/ # misc .idea/ -.happypack .DS_Store *.swp *.dia~ diff --git a/packages/template-pkg-monorepo-react/template/component/.gitignore.ejs b/packages/template-pkg-monorepo-react/template/component/.gitignore.ejs index 3b4236c..7cf50d1 100644 --- a/packages/template-pkg-monorepo-react/template/component/.gitignore.ejs +++ b/packages/template-pkg-monorepo-react/template/component/.gitignore.ejs @@ -14,7 +14,6 @@ es2017/ # misc .idea/ -.happypack .DS_Store *.swp *.dia~ diff --git a/packages/template-pkg-node/CHANGELOG.md b/packages/template-pkg-node/CHANGELOG.md index dc94816..eb3104f 100644 --- a/packages/template-pkg-node/CHANGELOG.md +++ b/packages/template-pkg-node/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.12 + +- [fix] loss of dependencies(react & react-dom) + ## 1.0.11 - [chore] upgrade `@swc/helpers` version to `^0.5.1` diff --git a/packages/template-pkg-node/package.json b/packages/template-pkg-node/package.json index 3e797cd..83e2ce5 100644 --- a/packages/template-pkg-node/package.json +++ b/packages/template-pkg-node/package.json @@ -1,6 +1,6 @@ { "name": "@ice/template-pkg-node", - "version": "1.0.11", + "version": "1.0.12", "files": [ "template" ], diff --git a/packages/template-pkg-node/template/component/.gitignore.ejs b/packages/template-pkg-node/template/component/.gitignore.ejs index 9ad2a45..37121da 100644 --- a/packages/template-pkg-node/template/component/.gitignore.ejs +++ b/packages/template-pkg-node/template/component/.gitignore.ejs @@ -4,6 +4,7 @@ node_modules/ # production +.docusaurus/ tmp/ cjs/ esm/ @@ -11,7 +12,6 @@ es2017/ # misc .idea/ -.happypack .DS_Store *.swp *.dia~ diff --git a/packages/template-pkg-node/template/component/package.json.ejs b/packages/template-pkg-node/template/component/package.json.ejs index c00440d..8eeb6b6 100644 --- a/packages/template-pkg-node/template/component/package.json.ejs +++ b/packages/template-pkg-node/template/component/package.json.ejs @@ -48,6 +48,8 @@ <% if (!locals.workspace) { _%> "@ice/pkg-plugin-docusaurus": "^1.0.0", <% } _%> + "react": "^18.2.0", + "react-dom": "^18.2.0", "eslint": "^8.0.0" }, "publishConfig": { diff --git a/packages/template-pkg-rax/template/component/.gitignore.ejs b/packages/template-pkg-rax/template/component/.gitignore.ejs index 3b4236c..7cf50d1 100644 --- a/packages/template-pkg-rax/template/component/.gitignore.ejs +++ b/packages/template-pkg-rax/template/component/.gitignore.ejs @@ -14,7 +14,6 @@ es2017/ # misc .idea/ -.happypack .DS_Store *.swp *.dia~ diff --git a/packages/template-pkg-react/template/component/.gitignore.ejs b/packages/template-pkg-react/template/component/.gitignore.ejs index 3b4236c..7cf50d1 100644 --- a/packages/template-pkg-react/template/component/.gitignore.ejs +++ b/packages/template-pkg-react/template/component/.gitignore.ejs @@ -14,7 +14,6 @@ es2017/ # misc .idea/ -.happypack .DS_Store *.swp *.dia~ diff --git a/packages/template-pkg-web/CHANGELOG.md b/packages/template-pkg-web/CHANGELOG.md index c901617..f94264b 100644 --- a/packages/template-pkg-web/CHANGELOG.md +++ b/packages/template-pkg-web/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.13 + +- [fix] loss of dependencies(react & react-dom) + ## 1.0.12 - [chore] upgrade `@swc/helpers` version to `^0.5.1` diff --git a/packages/template-pkg-web/package.json b/packages/template-pkg-web/package.json index e394654..6155602 100644 --- a/packages/template-pkg-web/package.json +++ b/packages/template-pkg-web/package.json @@ -1,6 +1,6 @@ { "name": "@ice/template-pkg-web", - "version": "1.0.12", + "version": "1.0.13", "files": [ "template" ], diff --git a/packages/template-pkg-web/template/component/.gitignore.ejs b/packages/template-pkg-web/template/component/.gitignore.ejs index b2649a5..c54a6ef 100644 --- a/packages/template-pkg-web/template/component/.gitignore.ejs +++ b/packages/template-pkg-web/template/component/.gitignore.ejs @@ -4,6 +4,7 @@ node_modules/ # production +.docusaurus/ dist/ tmp/ cjs/ @@ -12,7 +13,6 @@ es2017/ # misc .idea/ -.happypack .DS_Store *.swp *.dia~ diff --git a/packages/template-pkg-web/template/component/package.json.ejs b/packages/template-pkg-web/template/component/package.json.ejs index 2fcfeee..80b2164 100644 --- a/packages/template-pkg-web/template/component/package.json.ejs +++ b/packages/template-pkg-web/template/component/package.json.ejs @@ -51,6 +51,8 @@ <% if (!locals.workspace) { _%> "@ice/pkg-plugin-docusaurus": "^1.0.0", <% } _%> + "react": "^18.2.0", + "react-dom": "^18.2.0", "eslint": "^8.0.0", "stylelint": "^15.0.0" },