swico 2.5.0-beta.5 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swico",
3
- "version": "2.5.0-beta.5",
3
+ "version": "2.5.0",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -235,7 +235,7 @@ const initTemplateConfig = (routerConfig, templateType, env) => {
235
235
  return new Promise((resolve, reject) => __awaiter(void 0, void 0, void 0, function* () {
236
236
  const copyTargetPath = path_1.default.resolve(projectPath, `./.swico${envPath}`);
237
237
  yield (0, tools_1.copyDirFiles)(path_1.default.resolve(__dirname, `../project-path/.swico-${templateType}/$env`), copyTargetPath, (fileName) => !fileName.endsWith('.d.ts') && !['hooks.js'].includes(fileName));
238
- yield (0, tools_1.copyDirFiles)(path_1.default.resolve(__dirname, `../project-path/.swico-${templateType}`), path_1.default.resolve(projectPath, './.swico'), (fileName) => ['hooks.js', 'Link.js', 'loading.js'].includes(fileName));
238
+ yield (0, tools_1.copyDirFiles)(path_1.default.resolve(__dirname, `../project-path/.swico-${templateType}`), path_1.default.resolve(projectPath, './.swico'), (fileName) => ['hooks.js', 'Link.js', 'loading.js', 'Container.js'].includes(fileName));
239
239
  const entryFilePath = path_1.default.resolve(projectPath, './.swico/index.js');
240
240
  yield fs_extra_1.default.copyFile(path_1.default.resolve(__dirname, `../index.${templateType}.js`), entryFilePath);
241
241
  yield formatRouterConfig(routerConfig, templateType, env);