From 43dbef8500c33132e8da915197a3c1eeb6d797d1 Mon Sep 17 00:00:00 2001 From: ClarkXia Date: Wed, 18 Dec 2019 15:38:42 +0800 Subject: [PATCH] feat: support basic component @ali/deep (#78) (#79) * feat: support basic component @ali/deep (#78) * chore: changelog --- .gitignore | 1 + packages/ice-plugin-component/CHANGELOG.md | 4 ++++ .../lib/compile/fusion/componentStyleGenerator.js | 2 ++ packages/ice-plugin-component/package.json | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index dbe70c6..58351ac 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ build .vscode/ .tmp/ npmrc +.idea diff --git a/packages/ice-plugin-component/CHANGELOG.md b/packages/ice-plugin-component/CHANGELOG.md index de91111..521290c 100644 --- a/packages/ice-plugin-component/CHANGELOG.md +++ b/packages/ice-plugin-component/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.1.9 + + - [feat] support basic component @ali/deep for style generate + ## 0.1.7 - [feat] support option watch for compile library when source files changed diff --git a/packages/ice-plugin-component/lib/compile/fusion/componentStyleGenerator.js b/packages/ice-plugin-component/lib/compile/fusion/componentStyleGenerator.js index ade0bae..885bf48 100644 --- a/packages/ice-plugin-component/lib/compile/fusion/componentStyleGenerator.js +++ b/packages/ice-plugin-component/lib/compile/fusion/componentStyleGenerator.js @@ -47,6 +47,8 @@ module.exports = class ComponentStyleGenerator { /@alifd\/.*/, /^@alifd\/next\/lib\/([^/]+)/, /@ali\/ice-.*/, + /@ali\/deep-.*/, + /@ali\/deep\/lib\/([^/]+)/, ]; const isInteranlLibrary = internalLibrary.some((library) => { return library.test(dep); diff --git a/packages/ice-plugin-component/package.json b/packages/ice-plugin-component/package.json index 0781245..11621d5 100644 --- a/packages/ice-plugin-component/package.json +++ b/packages/ice-plugin-component/package.json @@ -1,6 +1,6 @@ { "name": "ice-plugin-component", - "version": "0.1.8", + "version": "0.1.9", "description": "ice plugin for develop component", "main": "lib/index.js", "scripts": {