neo-cmp-cli 1.8.9 → 1.8.10
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.
|
@@ -43,7 +43,7 @@ function requireDefault_config () {
|
|
|
43
43
|
allowList: [], // ignoreNodeModules为true时生效
|
|
44
44
|
externals: {}, // 从输出的 bundle 中排除依赖
|
|
45
45
|
projectDir: ['src'],
|
|
46
|
-
template: resolveByDirname('
|
|
46
|
+
template: resolveByDirname('../../template/initData/defaultTemplate.html'), // 默认使用neo-widget提供的页面模板(会启动页面设计器)
|
|
47
47
|
sassResources: [],
|
|
48
48
|
babelPlugins: [
|
|
49
49
|
['import', { libraryName: 'antd', style: 'css' }] // 配置 antd 的样式按需引入
|
|
@@ -18,7 +18,7 @@ function requireNeoConfigInit () {
|
|
|
18
18
|
const createDefaultConfig = function (_configProjectName) {
|
|
19
19
|
const configProjectName = _configProjectName || 'neo.config.js';
|
|
20
20
|
createFile(
|
|
21
|
-
path.resolve(__dirname,
|
|
21
|
+
path.resolve(__dirname, `../../template/initData/${configProjectName}`),
|
|
22
22
|
path.resolve(process.cwd(), `./${configProjectName}`)
|
|
23
23
|
);
|
|
24
24
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { execSync } = require('child_process');
|
|
2
2
|
|
|
3
3
|
// 所有需要废弃的版本
|
|
4
|
-
const versionsToDeprecate = ["1.8.6", "1.8.7", "1.8.8"];
|
|
4
|
+
const versionsToDeprecate = ["1.8.6", "1.8.7", "1.8.8", "1.8.9"];
|
|
5
5
|
|
|
6
6
|
const packageName = 'neo-cmp-cli';
|
|
7
7
|
const deprecateMessage = '此版本为开发中版本(存在 bug),请升级到最新版本。';
|