提交 23e59e85f95f2fcedade526dbcaa8c4a6aea80d1
提交者
chencheng (云谦)
1 个父辈
dfcac789
feat: add blockConfig.specVersion (#24)
正在显示
27 个修改的文件
包含
133 行增加
和
52 行删除
| @@ -21,5 +21,8 @@ | @@ -21,5 +21,8 @@ | ||
| 21 | "umi-plugin-react": "^1.3.0-beta.1", | 21 | "umi-plugin-react": "^1.3.0-beta.1", |
| 22 | "umi-plugin-block-dev": "^1.0.0" | 22 | "umi-plugin-block-dev": "^1.0.0" |
| 23 | }, | 23 | }, |
| 24 | - "license": "ISC" | ||
| 25 | -} | 24 | + "license": "ISC", |
| 25 | + "blockConfig": { | ||
| 26 | + "specVersion": "0.1" | ||
| 27 | + } | ||
| 28 | +} |
| @@ -21,5 +21,8 @@ | @@ -21,5 +21,8 @@ | ||
| 21 | "umi-plugin-block-dev": "^1.0.0", | 21 | "umi-plugin-block-dev": "^1.0.0", |
| 22 | "umi-plugin-react": "^1.3.0-beta.1" | 22 | "umi-plugin-react": "^1.3.0-beta.1" |
| 23 | }, | 23 | }, |
| 24 | - "license": "ISC" | ||
| 25 | -} | 24 | + "license": "ISC", |
| 25 | + "blockConfig": { | ||
| 26 | + "specVersion": "0.1" | ||
| 27 | + } | ||
| 28 | +} |
| @@ -23,5 +23,8 @@ | @@ -23,5 +23,8 @@ | ||
| 23 | "umi-plugin-react": "^1.3.0-beta.1", | 23 | "umi-plugin-react": "^1.3.0-beta.1", |
| 24 | "umi-plugin-block-dev": "^1.0.0" | 24 | "umi-plugin-block-dev": "^1.0.0" |
| 25 | }, | 25 | }, |
| 26 | - "license": "ISC" | ||
| 27 | -} | 26 | + "license": "ISC", |
| 27 | + "blockConfig": { | ||
| 28 | + "specVersion": "0.1" | ||
| 29 | + } | ||
| 30 | +} |
| @@ -24,5 +24,8 @@ | @@ -24,5 +24,8 @@ | ||
| 24 | "umi-plugin-react": "^1.3.0-beta.1", | 24 | "umi-plugin-react": "^1.3.0-beta.1", |
| 25 | "umi-plugin-block-dev": "^1.0.0" | 25 | "umi-plugin-block-dev": "^1.0.0" |
| 26 | }, | 26 | }, |
| 27 | - "license": "ISC" | ||
| 28 | -} | 27 | + "license": "ISC", |
| 28 | + "blockConfig": { | ||
| 29 | + "specVersion": "0.1" | ||
| 30 | + } | ||
| 31 | +} |
| @@ -24,5 +24,8 @@ | @@ -24,5 +24,8 @@ | ||
| 24 | "umi-plugin-react": "^1.3.0-beta.1", | 24 | "umi-plugin-react": "^1.3.0-beta.1", |
| 25 | "umi-plugin-block-dev": "^1.1.0" | 25 | "umi-plugin-block-dev": "^1.1.0" |
| 26 | }, | 26 | }, |
| 27 | - "license": "ISC" | ||
| 28 | -} | 27 | + "license": "ISC", |
| 28 | + "blockConfig": { | ||
| 29 | + "specVersion": "0.1" | ||
| 30 | + } | ||
| 31 | +} |
| @@ -22,5 +22,8 @@ | @@ -22,5 +22,8 @@ | ||
| 22 | "umi-plugin-react": "^1.3.0-beta.1", | 22 | "umi-plugin-react": "^1.3.0-beta.1", |
| 23 | "umi-plugin-block-dev": "^1.0.0" | 23 | "umi-plugin-block-dev": "^1.0.0" |
| 24 | }, | 24 | }, |
| 25 | - "license": "ISC" | ||
| 26 | -} | 25 | + "license": "ISC", |
| 26 | + "blockConfig": { | ||
| 27 | + "specVersion": "0.1" | ||
| 28 | + } | ||
| 29 | +} |
| @@ -25,5 +25,8 @@ | @@ -25,5 +25,8 @@ | ||
| 25 | "umi-plugin-react": "^1.3.0-beta.1", | 25 | "umi-plugin-react": "^1.3.0-beta.1", |
| 26 | "umi-plugin-block-dev": "^1.0.0" | 26 | "umi-plugin-block-dev": "^1.0.0" |
| 27 | }, | 27 | }, |
| 28 | - "license": "ISC" | ||
| 29 | -} | 28 | + "license": "ISC", |
| 29 | + "blockConfig": { | ||
| 30 | + "specVersion": "0.1" | ||
| 31 | + } | ||
| 32 | +} |
| @@ -22,5 +22,8 @@ | @@ -22,5 +22,8 @@ | ||
| 22 | "umi-plugin-react": "^1.3.0-beta.1", | 22 | "umi-plugin-react": "^1.3.0-beta.1", |
| 23 | "umi-plugin-block-dev": "^1.0.0" | 23 | "umi-plugin-block-dev": "^1.0.0" |
| 24 | }, | 24 | }, |
| 25 | - "license": "ISC" | ||
| 26 | -} | 25 | + "license": "ISC", |
| 26 | + "blockConfig": { | ||
| 27 | + "specVersion": "0.1" | ||
| 28 | + } | ||
| 29 | +} |
| @@ -22,5 +22,8 @@ | @@ -22,5 +22,8 @@ | ||
| 22 | "umi-plugin-react": "^1.3.0-beta.1", | 22 | "umi-plugin-react": "^1.3.0-beta.1", |
| 23 | "umi-plugin-block-dev": "^1.0.0" | 23 | "umi-plugin-block-dev": "^1.0.0" |
| 24 | }, | 24 | }, |
| 25 | - "license": "ISC" | ||
| 26 | -} | 25 | + "license": "ISC", |
| 26 | + "blockConfig": { | ||
| 27 | + "specVersion": "0.1" | ||
| 28 | + } | ||
| 29 | +} |
| @@ -21,5 +21,8 @@ | @@ -21,5 +21,8 @@ | ||
| 21 | "umi-plugin-react": "^1.3.0-beta.1", | 21 | "umi-plugin-react": "^1.3.0-beta.1", |
| 22 | "umi-plugin-block-dev": "^1.0.0" | 22 | "umi-plugin-block-dev": "^1.0.0" |
| 23 | }, | 23 | }, |
| 24 | - "license": "ISC" | ||
| 25 | -} | 24 | + "license": "ISC", |
| 25 | + "blockConfig": { | ||
| 26 | + "specVersion": "0.1" | ||
| 27 | + } | ||
| 28 | +} |
| @@ -21,5 +21,8 @@ | @@ -21,5 +21,8 @@ | ||
| 21 | "umi-plugin-react": "^1.3.0-beta.1", | 21 | "umi-plugin-react": "^1.3.0-beta.1", |
| 22 | "umi-plugin-block-dev": "^1.0.0" | 22 | "umi-plugin-block-dev": "^1.0.0" |
| 23 | }, | 23 | }, |
| 24 | - "license": "ISC" | ||
| 25 | -} | 24 | + "license": "ISC", |
| 25 | + "blockConfig": { | ||
| 26 | + "specVersion": "0.1" | ||
| 27 | + } | ||
| 28 | +} |
| @@ -21,5 +21,8 @@ | @@ -21,5 +21,8 @@ | ||
| 21 | "umi-plugin-react": "^1.3.0-beta.1", | 21 | "umi-plugin-react": "^1.3.0-beta.1", |
| 22 | "umi-plugin-block-dev": "^1.0.0" | 22 | "umi-plugin-block-dev": "^1.0.0" |
| 23 | }, | 23 | }, |
| 24 | - "license": "ISC" | ||
| 25 | -} | 24 | + "license": "ISC", |
| 25 | + "blockConfig": { | ||
| 26 | + "specVersion": "0.1" | ||
| 27 | + } | ||
| 28 | +} |
| @@ -24,5 +24,8 @@ | @@ -24,5 +24,8 @@ | ||
| 24 | "umi-plugin-react": "^1.3.0-beta.1", | 24 | "umi-plugin-react": "^1.3.0-beta.1", |
| 25 | "umi-plugin-block-dev": "^1.0.0" | 25 | "umi-plugin-block-dev": "^1.0.0" |
| 26 | }, | 26 | }, |
| 27 | - "license": "ISC" | ||
| 28 | -} | 27 | + "license": "ISC", |
| 28 | + "blockConfig": { | ||
| 29 | + "specVersion": "0.1" | ||
| 30 | + } | ||
| 31 | +} |
| @@ -20,5 +20,8 @@ | @@ -20,5 +20,8 @@ | ||
| 20 | "umi-plugin-react": "^1.3.0-beta.1", | 20 | "umi-plugin-react": "^1.3.0-beta.1", |
| 21 | "umi-plugin-block-dev": "^1.0.0" | 21 | "umi-plugin-block-dev": "^1.0.0" |
| 22 | }, | 22 | }, |
| 23 | - "license": "ISC" | ||
| 24 | -} | 23 | + "license": "ISC", |
| 24 | + "blockConfig": { | ||
| 25 | + "specVersion": "0.1" | ||
| 26 | + } | ||
| 27 | +} |
| @@ -20,5 +20,8 @@ | @@ -20,5 +20,8 @@ | ||
| 20 | "umi-plugin-react": "^1.3.0-beta.1", | 20 | "umi-plugin-react": "^1.3.0-beta.1", |
| 21 | "umi-plugin-block-dev": "^1.0.0" | 21 | "umi-plugin-block-dev": "^1.0.0" |
| 22 | }, | 22 | }, |
| 23 | - "license": "ISC" | ||
| 24 | -} | 23 | + "license": "ISC", |
| 24 | + "blockConfig": { | ||
| 25 | + "specVersion": "0.1" | ||
| 26 | + } | ||
| 27 | +} |
| @@ -27,5 +27,8 @@ | @@ -27,5 +27,8 @@ | ||
| 27 | "umi-plugin-react": "^1.3.0-beta.1", | 27 | "umi-plugin-react": "^1.3.0-beta.1", |
| 28 | "umi-plugin-block-dev": "^1.0.0" | 28 | "umi-plugin-block-dev": "^1.0.0" |
| 29 | }, | 29 | }, |
| 30 | - "license": "ISC" | ||
| 31 | -} | 30 | + "license": "ISC", |
| 31 | + "blockConfig": { | ||
| 32 | + "specVersion": "0.1" | ||
| 33 | + } | ||
| 34 | +} |
| @@ -24,5 +24,8 @@ | @@ -24,5 +24,8 @@ | ||
| 24 | "umi-plugin-react": "^1.3.0-beta.1", | 24 | "umi-plugin-react": "^1.3.0-beta.1", |
| 25 | "umi-plugin-block-dev": "^1.0.0" | 25 | "umi-plugin-block-dev": "^1.0.0" |
| 26 | }, | 26 | }, |
| 27 | - "license": "ISC" | ||
| 28 | -} | 27 | + "license": "ISC", |
| 28 | + "blockConfig": { | ||
| 29 | + "specVersion": "0.1" | ||
| 30 | + } | ||
| 31 | +} |
| @@ -24,5 +24,8 @@ | @@ -24,5 +24,8 @@ | ||
| 24 | "umi-plugin-react": "^1.3.0-beta.1", | 24 | "umi-plugin-react": "^1.3.0-beta.1", |
| 25 | "umi-plugin-block-dev": "^1.0.0" | 25 | "umi-plugin-block-dev": "^1.0.0" |
| 26 | }, | 26 | }, |
| 27 | - "license": "ISC" | ||
| 28 | -} | 27 | + "license": "ISC", |
| 28 | + "blockConfig": { | ||
| 29 | + "specVersion": "0.1" | ||
| 30 | + } | ||
| 31 | +} |
| @@ -23,5 +23,8 @@ | @@ -23,5 +23,8 @@ | ||
| 23 | "umi-plugin-react": "^1.3.0-beta.1", | 23 | "umi-plugin-react": "^1.3.0-beta.1", |
| 24 | "umi-plugin-block-dev": "^1.0.0" | 24 | "umi-plugin-block-dev": "^1.0.0" |
| 25 | }, | 25 | }, |
| 26 | - "license": "ISC" | ||
| 27 | -} | 26 | + "license": "ISC", |
| 27 | + "blockConfig": { | ||
| 28 | + "specVersion": "0.1" | ||
| 29 | + } | ||
| 30 | +} |
| @@ -23,5 +23,8 @@ | @@ -23,5 +23,8 @@ | ||
| 23 | "umi-plugin-react": "^1.3.0-beta.1", | 23 | "umi-plugin-react": "^1.3.0-beta.1", |
| 24 | "umi-plugin-block-dev": "^1.0.0" | 24 | "umi-plugin-block-dev": "^1.0.0" |
| 25 | }, | 25 | }, |
| 26 | - "license": "ISC" | ||
| 27 | -} | 26 | + "license": "ISC", |
| 27 | + "blockConfig": { | ||
| 28 | + "specVersion": "0.1" | ||
| 29 | + } | ||
| 30 | +} |
| @@ -24,5 +24,8 @@ | @@ -24,5 +24,8 @@ | ||
| 24 | "umi-plugin-block-dev": "^1.0.0", | 24 | "umi-plugin-block-dev": "^1.0.0", |
| 25 | "umi-plugin-react": "^1.3.0-beta.1" | 25 | "umi-plugin-react": "^1.3.0-beta.1" |
| 26 | }, | 26 | }, |
| 27 | - "license": "MIT" | ||
| 28 | -} | 27 | + "license": "MIT", |
| 28 | + "blockConfig": { | ||
| 29 | + "specVersion": "0.1" | ||
| 30 | + } | ||
| 31 | +} |
| @@ -25,5 +25,8 @@ | @@ -25,5 +25,8 @@ | ||
| 25 | "umi-plugin-react": "^1.3.0-beta.1", | 25 | "umi-plugin-react": "^1.3.0-beta.1", |
| 26 | "umi-plugin-block-dev": "^1.0.0" | 26 | "umi-plugin-block-dev": "^1.0.0" |
| 27 | }, | 27 | }, |
| 28 | - "license": "MIT" | ||
| 29 | -} | 28 | + "license": "MIT", |
| 29 | + "blockConfig": { | ||
| 30 | + "specVersion": "0.1" | ||
| 31 | + } | ||
| 32 | +} |
| @@ -20,5 +20,8 @@ | @@ -20,5 +20,8 @@ | ||
| 20 | "umi-plugin-react": "^1.3.0-beta.1", | 20 | "umi-plugin-react": "^1.3.0-beta.1", |
| 21 | "umi-plugin-block-dev": "^1.0.0" | 21 | "umi-plugin-block-dev": "^1.0.0" |
| 22 | }, | 22 | }, |
| 23 | - "license": "MIT" | ||
| 24 | -} | 23 | + "license": "MIT", |
| 24 | + "blockConfig": { | ||
| 25 | + "specVersion": "0.1" | ||
| 26 | + } | ||
| 27 | +} |
| @@ -24,5 +24,8 @@ | @@ -24,5 +24,8 @@ | ||
| 24 | "umi-plugin-block-dev": "^1.0.0", | 24 | "umi-plugin-block-dev": "^1.0.0", |
| 25 | "umi-plugin-react": "^1.3.0-beta.1" | 25 | "umi-plugin-react": "^1.3.0-beta.1" |
| 26 | }, | 26 | }, |
| 27 | - "license": "MIT" | ||
| 28 | -} | 27 | + "license": "MIT", |
| 28 | + "blockConfig": { | ||
| 29 | + "specVersion": "0.1" | ||
| 30 | + } | ||
| 31 | +} |
| @@ -3,5 +3,8 @@ | @@ -3,5 +3,8 @@ | ||
| 3 | "description": "A blank block for quick start a umi page develop.", | 3 | "description": "A blank block for quick start a umi page develop.", |
| 4 | "dependencies": { | 4 | "dependencies": { |
| 5 | "umi-request": "^1.0.0" | 5 | "umi-request": "^1.0.0" |
| 6 | + }, | ||
| 7 | + "blockConfig": { | ||
| 8 | + "specVersion": "0.1" | ||
| 6 | } | 9 | } |
| 7 | -} | 10 | +} |
请
注册
或
登录
后发表评论