Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sspku-yqLiu committed Aug 27, 2020
1 parent f092158 commit 2f6e547
Show file tree
Hide file tree
Showing 9 changed files with 118 additions and 15 deletions.
6 changes: 5 additions & 1 deletion extensions/iceworks-app/src/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@
"extension.iceworksApp.showDepsQuickPick.quickPickItem.detail": "Install <%= label %>",
"extension.iceworksApp.openEntryFile.ErrorMessage": "Cannot find entry",
"extension.iceworksApp.extension.title": "Iceworks Settings",
"extension.iceworksApp.extension.emptyWorkplace": "Current workspace is empty, please open or create an application."
"extension.iceworksApp.extension.emptyWorkplace": "Current workspace is empty, please open or create an application.",
"extension.iceworksApp.views.pageViews.createPage": "Create Page",
"extension.iceworksApp.views.pageViews.createPageDetail": "Create page through page templates",
"extension.iceworksApp.views.pageViews.generatePage": "Generate Page",
"extension.iceworksApp.views.pageViews.generatePageDetail": "Generate page through assmebling component materials"
}
5 changes: 4 additions & 1 deletion extensions/iceworks-app/src/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@
"extension.iceworksApp.showDepsQuickPick.quickPickItem.detail": "安装 <%= label %>",
"extension.iceworksApp.openEntryFile.ErrorMessage": "没有找到入口",
"extension.iceworksApp.extension.title": "设置 - Iceworks",
"extension.iceworksApp.extension.emptyWorkplace": "当前工作区为空,请打开应用或新建应用。"
"extension.iceworksApp.views.pageViews.createPage": "创建页面",
"extension.iceworksApp.views.pageViews.createPageDetail": "通过配置模板的方式创建页面",
"extension.iceworksApp.views.pageViews.generatePage": "生成页面",
"extension.iceworksApp.views.pageViews.generatePageDetail": "通过区块组装的方式生成页面"
}
9 changes: 5 additions & 4 deletions extensions/iceworks-app/src/views/pagesView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as path from 'path';
import { checkPathExists, registerCommand } from '@iceworks/common-service';
import { pagesPath, projectPath } from '@iceworks/project-service';
import openEntryFile from '../openEntryFile';
import i18n from '../i18n';

export class PagesProvider implements vscode.TreeDataProvider<PageTreeItem> {
private workspaceRoot: string;
Expand Down Expand Up @@ -87,13 +88,13 @@ class PageTreeItem extends vscode.TreeItem {

const addPageQuickPickItems: any[] = [
{
label: '创建页面',
detail: '通过配置模板的方式创建页面',
label: i18n.format('extension.iceworksApp.views.pageViews.createPage'),
detail: i18n.format('extension.iceworksApp.views.pageViews.createPageDetail'),
command: 'iceworks-ui-builder.create-page',
},
{
label: '生成页面',
detail: '通过区块组装的方式生成页面',
label: i18n.format('extension.iceworksApp.views.pageViews.generatePage'),
detail: i18n.format('extension.iceworksApp.views.pageViews.generatePageDetail'),
command: 'iceworks-ui-builder.generate-page',
},
];
Expand Down
1 change: 0 additions & 1 deletion extensions/iceworks-ui-builder/web/src/callService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default async function callService(service: string, method: string, ...ar
if (typeof acquireVsCodeApi === 'function') {
return await originCallService.apply(null, arguments);
} else {
console.log(require(`../mocks/${service}/${method}`));
return require(`../mocks/${service}/${method}`);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,15 @@ export default ({ templateSchema, pageName, resetData, setCurrentStep, currentSt
) : (
<>
<h3>
ß
{formilySchema.current.title ||
intl.formatMessage({ id: 'web.iceworksUIBuilder.pageCreator.defaultTitle' })}
</h3>
<h3>
<p>
ß
{formilySchema.current.description ||
intl.formatMessage({ id: 'web.iceworksUIBuilder.pageCreator.defaultDescription' })}
</h3>
</p>
<SchemaForm
components={components}
schema={formilySchema.current}
Expand Down
3 changes: 2 additions & 1 deletion packages/block-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"junk": "^3.1.0",
"transform-ts-to-js": "^0.1.0",
"typescript": "^3.8.3",
"uppercamelcase": "^3.0.0"
"uppercamelcase": "^3.0.0",
"vscode": "^1.1.37"
},
"devDependencies": {
"@types/vscode": "^1.45.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"access": "public"
},
"license": "MIT",
"homepage": "https://unpkg.com/@iceworks/material-ui@0.1.9/build/index.html",
"homepage": "https://unpkg.com/@iceworks/material-ui@0.1.10/build/index.html",
"gitHead": "fc5b35f95ab4cc24898845916acf598c2f34d576"
}
3 changes: 2 additions & 1 deletion packages/template-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
"typings": "lib/index.d.ts",
"dependencies": {
"@iceworks/common-service": "^0.1.3",
"@iceworks/i18n": "^0.1.0",
"@iceworks/material-utils": "^0.1.3",
"@iceworks/project-service": "^0.1.4",
"@iceworks/i18n": "^0.1.0",
"ejs": "^3.1.5",
"fs-extra": "^9.0.0",
"fs-readdir-recursive": "^1.1.0",
"glob": "^7.1.4",
Expand Down
98 changes: 95 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5165,6 +5165,11 @@ combined-stream@^1.0.6, combined-stream@~1.0.6:
dependencies:
delayed-stream "~1.0.0"

commander@2.15.1:
version "2.15.1"
resolved "https://registry.npm.taobao.org/commander/download/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f"
integrity sha1-30boZ9D8Kuxmo0ZitAapzK//Ww8=

commander@2.17.x:
version "2.17.1"
resolved "https://registry.npm.taobao.org/commander/download/commander-2.17.1.tgz?cache=0&sync_timestamp=1595168214577&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcommander%2Fdownload%2Fcommander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf"
Expand Down Expand Up @@ -8108,6 +8113,18 @@ glob-to-regexp@^0.3.0:
resolved "https://registry.npm.taobao.org/glob-to-regexp/download/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab"
integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=

glob@7.1.2:
version "7.1.2"
resolved "https://registry.npm.taobao.org/glob/download/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
integrity sha1-wZyd+aAocC1nhhI4SmVSQExjbRU=
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@7.1.3:
version "7.1.3"
resolved "https://registry.npm.taobao.org/glob/download/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
Expand Down Expand Up @@ -8506,6 +8523,11 @@ hash.js@^1.0.0, hash.js@^1.0.3:
inherits "^2.0.3"
minimalistic-assert "^1.0.1"

he@1.1.1:
version "1.1.1"
resolved "https://registry.npm.taobao.org/he/download/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
integrity sha1-k0EP0hsAlzUVH4howvJx80J+I/0=

he@1.2.0, he@1.2.x:
version "1.2.0"
resolved "https://registry.npm.taobao.org/he/download/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
Expand Down Expand Up @@ -8719,7 +8741,7 @@ http-proxy-agent@^2.1.0:
agent-base "4"
debug "3.1.0"

http-proxy-agent@^4.0.0:
http-proxy-agent@^4.0.0, http-proxy-agent@^4.0.1:
version "4.0.1"
resolved "https://registry.npm.taobao.org/http-proxy-agent/download/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a"
integrity sha1-ioyO9/WTLM+VPClsqCkblap0qjo=
Expand Down Expand Up @@ -8761,7 +8783,7 @@ https-browserify@^1.0.0:
resolved "https://registry.npm.taobao.org/https-browserify/download/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=

https-proxy-agent@^2.2.3:
https-proxy-agent@^2.2.1, https-proxy-agent@^2.2.3:
version "2.2.4"
resolved "https://registry.npm.taobao.org/https-proxy-agent/download/https-proxy-agent-2.2.4.tgz#4ee7a737abd92678a293d9b34a1af4d0d08c787b"
integrity sha1-TuenN6vZJniik9mzShr00NCMeHs=
Expand All @@ -8785,6 +8807,14 @@ https-proxy-agent@^4.0.0:
agent-base "5"
debug "4"

https-proxy-agent@^5.0.0:
version "5.0.0"
resolved "https://registry.npm.taobao.org/https-proxy-agent/download/https-proxy-agent-5.0.0.tgz?cache=0&sync_timestamp=1581106656002&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhttps-proxy-agent%2Fdownload%2Fhttps-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2"
integrity sha1-4qkFQqu2inYuCghQ9sntrf2FBrI=
dependencies:
agent-base "6"
debug "4"

human-signals@^1.1.1:
version "1.1.1"
resolved "https://registry.npm.taobao.org/human-signals/download/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
Expand Down Expand Up @@ -11808,6 +11838,11 @@ minimist-options@^3.0.1:
arrify "^1.0.1"
is-plain-obj "^1.1.0"

minimist@0.0.8:
version "0.0.8"
resolved "https://registry.npm.taobao.org/minimist/download/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=

minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5:
version "1.2.5"
resolved "https://registry.npm.taobao.org/minimist/download/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
Expand Down Expand Up @@ -11892,13 +11927,37 @@ mkdirp@*, mkdirp@^1.0.4:
resolved "https://registry.npm.taobao.org/mkdirp/download/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha1-PrXtYmInVteaXw4qIh3+utdcL34=

mkdirp@0.5.1:
version "0.5.1"
resolved "https://registry.npm.taobao.org/mkdirp/download/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
dependencies:
minimist "0.0.8"

mkdirp@0.5.5, mkdirp@0.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.3, mkdirp@^0.5.5, mkdirp@~0.5.1:
version "0.5.5"
resolved "https://registry.npm.taobao.org/mkdirp/download/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
integrity sha1-2Rzv1i0UNsoPQWIOJRKI1CAJne8=
dependencies:
minimist "^1.2.5"

mocha@^5.2.0:
version "5.2.0"
resolved "https://registry.npm.taobao.org/mocha/download/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6"
integrity sha1-bYrlCPWRZ/lA8rWzxKYSrlDJCuY=
dependencies:
browser-stdout "1.3.1"
commander "2.15.1"
debug "3.1.0"
diff "3.5.0"
escape-string-regexp "1.0.5"
glob "7.1.2"
growl "1.10.5"
he "1.1.1"
minimatch "3.0.4"
mkdirp "0.5.1"
supports-color "5.4.0"

mocha@^7.2.0:
version "7.2.0"
resolved "https://registry.npm.taobao.org/mocha/download/mocha-7.2.0.tgz#01cc227b00d875ab1eed03a75106689cfed5a604"
Expand Down Expand Up @@ -13172,6 +13231,11 @@ path-to-regexp@^1.7.0:
dependencies:
isarray "0.0.1"

path-to-regexp@^6.1.0:
version "6.1.0"
resolved "https://registry.npm.taobao.org/path-to-regexp/download/path-to-regexp-6.1.0.tgz#0b18f88b7a0ce0bfae6a25990c909ab86f512427"
integrity sha1-Cxj4i3oM4L+uaiWZDJCauG9RJCc=

path-type@^1.0.0:
version "1.1.0"
resolved "https://registry.npm.taobao.org/path-type/download/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441"
Expand Down Expand Up @@ -15560,7 +15624,7 @@ source-map-resolve@^0.5.0:
source-map-url "^0.4.0"
urix "^0.1.0"

source-map-support@^0.5.17, source-map-support@^0.5.6, source-map-support@~0.5.12:
source-map-support@^0.5.0, source-map-support@^0.5.17, source-map-support@^0.5.6, source-map-support@~0.5.12:
version "0.5.19"
resolved "https://registry.npm.taobao.org/source-map-support/download/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
integrity sha1-qYti+G3K9PZzmWSMCFKRq56P7WE=
Expand Down Expand Up @@ -16292,6 +16356,13 @@ sugarss@^2.0.0:
dependencies:
postcss "^7.0.2"

supports-color@5.4.0:
version "5.4.0"
resolved "https://registry.npm.taobao.org/supports-color/download/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54"
integrity sha1-HGszdALCE3YF7+GfEP7DkPb6q1Q=
dependencies:
has-flag "^3.0.0"

supports-color@6.0.0:
version "6.0.0"
resolved "https://registry.npm.taobao.org/supports-color/download/supports-color-6.0.0.tgz#76cfe742cf1f41bb9b1c29ad03068c05b4c0e40a"
Expand Down Expand Up @@ -17606,6 +17677,27 @@ vm-browserify@^1.0.1:
resolved "https://registry.npm.taobao.org/vm-browserify/download/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0"
integrity sha1-eGQcSIuObKkadfUR56OzKobl3aA=

vscode-test@^0.4.1:
version "0.4.3"
resolved "https://registry.npm.taobao.org/vscode-test/download/vscode-test-0.4.3.tgz#461ebf25fc4bc93d77d982aed556658a2e2b90b8"
integrity sha1-Rh6/JfxLyT132YKu1VZlii4rkLg=
dependencies:
http-proxy-agent "^2.1.0"
https-proxy-agent "^2.2.1"

vscode@^1.1.37:
version "1.1.37"
resolved "https://registry.npm.taobao.org/vscode/download/vscode-1.1.37.tgz#c2a770bee4bb3fff765e2b72c7bcc813b8a6bb0a"
integrity sha1-wqdwvuS7P/92Xityx7zIE7imuwo=
dependencies:
glob "^7.1.2"
http-proxy-agent "^4.0.1"
https-proxy-agent "^5.0.0"
mocha "^5.2.0"
semver "^5.4.1"
source-map-support "^0.5.0"
vscode-test "^0.4.1"

w3c-hr-time@^1.0.1:
version "1.0.2"
resolved "https://registry.npm.taobao.org/w3c-hr-time/download/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"
Expand Down

0 comments on commit 2f6e547

Please sign in to comment.