Skip to content

Commit cd1ed8c

Browse files
committed
[vue2] publish 2.3.2
1 parent e8e795e commit cd1ed8c

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ Example:
8585
8686
<script>
8787
import Terminal from "vue-web-terminal"
88-
import 'vue-web-terminal/lib/theme/dark.css'
8988
9089
export default {
9190
name: 'App',
@@ -101,7 +100,7 @@ Example:
101100
success({
102101
type: 'normal',
103102
class: clazz,
104-
tag: '成功',
103+
tag: 'success',
105104
content: command
106105
})
107106
}

README_ZH.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
> 一句话描述:
4040
>
41-
> 它并不具备执行某个具体命令的能力,这个能力需要开发者自己去实现,它负责的事情是在网页上以终端界面的形式从用户那拿到想要执行的命令,然后交给开发者去实现,执行完之后再交给它展示给用户
41+
> 它并不具备执行某个具体命令的能力,这个能力需要开发者自己去实现,它负责的事情是在网页上以终端界面的形式从用户那拿到想要执行的命令,然后交给开发者去执行,之后再交给它展示给用户
4242
4343
# 在线体验
4444

@@ -83,7 +83,6 @@ const app = createApp(App).use(Terminal)
8383
8484
<script>
8585
import Terminal from "vue-web-terminal"
86-
import 'vue-web-terminal/lib/theme/dark.css'
8786
8887
export default {
8988
name: 'App',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-web-terminal",
3-
"version": "2.3.1",
3+
"version": "2.3.2",
44
"description": "A beautiful web-side command line window plugin (native simulation). 一个漂亮的网页命令行插件(原生模拟)",
55
"license": "Apache-2.0",
66
"private": false,

publish.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
ENCODING = "gbk" if platform.system().lower() == 'windows' else 'utf-8'
1010

1111
def execute(command, with_result = False,encoding = ENCODING):
12-
print(f"calling: {command}")
12+
print(f"[calling]: {command}")
1313
if with_result:
1414
p = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, encoding=encoding)
1515
stdout,stderr = p.communicate()
@@ -28,8 +28,8 @@ def execute(command, with_result = False,encoding = ENCODING):
2828
if not node_version.startswith(f'v{NODE_VERSION}'):
2929
raise Exception(f'Node version must be {NODE_VERSION}')
3030
try:
31-
execute(f'pnpm install')
32-
execute(f'pnpm run build')
31+
execute(f'yarn install')
32+
execute(f'yarn build')
3333
execute(f'npm config set registry {NPM_REPOSITORY}')
3434
execute(f'npm publish')
3535
finally:

0 commit comments

Comments
 (0)