Skip to content

Commit 3688860

Browse files
committed
🎨 重整结构, 不再向下兼容.
1 parent 288b48c commit 3688860

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+58
-37
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@micro-app/core",
3-
"version": "0.2.2",
3+
"version": "0.3.0",
4+
"private": true,
45
"description": "[Core] Pluggable micro application framework.",
56
"main": "src/index.js",
67
"scripts": {
@@ -17,9 +18,7 @@
1718
"url": "https://github.com/MicrosApp/MicroApp-Core/issues"
1819
},
1920
"files": [
20-
"libs",
2121
"src",
22-
"plugins",
2322
"micro-app.config.js"
2423
],
2524
"keywords": [

libs/Config/base/BaseConfig.js renamed to src/core/Config/base/BaseConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { getPadLength } = require('@micro-app/shared-utils');
99

1010
const Symbols = require('../../Constants/symbols');
1111
const CONSTANTS = require('../../Constants');
12-
const logger = require('../../../src/utils/logger');
12+
const logger = require('../../../utils/logger');
1313

1414
// 默认配置
1515
// const DEFAULT_CONFIG = require('../../Constants/default');

libs/Config/base/BaseConfig.test.js renamed to src/core/Config/base/BaseConfig.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* global expect */
44

55
const BaseConfig = require('./BaseConfig');
6-
const loadFile = require('../../../src/utils/loadFile');
6+
const loadFile = require('../../../utils/loadFile');
77

88
const testConfig = {
99
shared: {
File renamed without changes.

libs/Config/index.test.js renamed to src/core/Config/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* global expect */
44

55
const MicroAppConfig = require('./index');
6-
const loadFile = require('../../src/utils/loadFile');
6+
const loadFile = require('../../utils/loadFile');
77

88
describe('MicroAppConfig', () => {
99

File renamed without changes.
File renamed without changes.
File renamed without changes.

libs/Constants/index.js renamed to src/core/Constants/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const pkg = require('../../package.json');
3+
const pkg = require('../../../package.json');
44

55
module.exports = {
66
NAME: 'Micro App',
File renamed without changes.

0 commit comments

Comments
 (0)