swico 1.5.0-beta.6 → 1.5.0-beta.7

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": "1.5.0-beta.6",
3
+ "version": "1.5.0-beta.7",
4
4
  "description": "Simple, efficient, and practical front-end framework",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -30,7 +30,12 @@
30
30
  "author": "scw",
31
31
  "license": "ISC",
32
32
  "dependencies": {
33
- "qs": "6.14.0",
33
+ "qs": "6.13.0",
34
+ "react": "~18.2.0",
35
+ "react-dom": "~18.2.0",
36
+ "react-router-dom": "6.23.0",
37
+ "vue": "~3.4.14",
38
+ "vue-router": "^4.2.5",
34
39
  "@babel/types": "7.23.9",
35
40
  "@commitlint/cli": "18.5.0",
36
41
  "@commitlint/config-conventional": "18.5.0",
@@ -75,6 +75,8 @@ export default function ({ projectPath, entryPath, env, customConfig }: GlobalDa
75
75
  extensions: string[];
76
76
  alias: {
77
77
  '@': string;
78
+ react: string;
79
+ 'react-dom': string;
78
80
  qs: string;
79
81
  };
80
82
  };
@@ -293,7 +293,7 @@ function default_1(_a) {
293
293
  },
294
294
  resolve: {
295
295
  extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'],
296
- alias: __assign({ '@': path_1.default.join(projectPath, '/src'), qs: path_1.default.dirname(require.resolve('qs')) }, getCustomAliasConfig())
296
+ alias: __assign({ '@': path_1.default.join(projectPath, '/src'), react: path_1.default.dirname(require.resolve('react')), 'react-dom': path_1.default.dirname(require.resolve('react-dom')), qs: path_1.default.dirname(require.resolve('qs')) }, getCustomAliasConfig())
297
297
  },
298
298
  externals: customConfig.base.externals,
299
299
  plugins: __spreadArray(__spreadArray(__spreadArray([], basicPlugins, true), [