-
Notifications
You must be signed in to change notification settings - Fork 7
/
registry-packages.ts
146 lines (137 loc) · 3.68 KB
/
registry-packages.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
import { PackageInfo } from './scripts/types'
/*
If you would like to publish your own wenyan packages,
Please append your package infomation to the following array
and then make a PR for your changes.
Name:
The `name` should be in Chinese, you can add pinyin or English `aliases` to your packages
REPO:
For the `repo` field, you can set by following format:
GitHub - `owner/name` or `github:owner/name`
GitLab - `gitlab:owner/name`
Bitbucket - `bitbucket:owner/name`
If you would like specify the branch
`owner/name#my-branch`
EXAMPLES:
You can provide `examples` to your packages, it can be viewed by the Online IDE and wyg homepage.
examples: ['例一', '範例/三人行'],
This will refer to `例一.wy` and `範例/三人行.wy` from the root for your repo.
DEPENDENCIES:
If your packages have dependencies to other packages, you well need to set `dependencies`
dependencies: {
腳本秘術: '*',
},
Package versioning system is not implemented yet, please leave the value to '*' for now.
*/
export const packages: PackageInfo[] = [
{
name: '子曰',
repo: 'antfu/ziyue-wy',
description: 'Cowsay for wenyan-lang',
author: {
name: 'antfu',
url: 'https://github.com/antfu',
},
aliases: ['ziyue'],
examples: ['例一'],
},
{
name: '简体秘术',
repo: 'github:lymslive/wyg-packages#jiantihua',
description: 'Use simplified Chinese keywords and punctuation for wenyan-lang',
author: {
name: 'lymslive',
url: 'https://github.com/lymslive/wyg-packages',
},
aliases: ['jiantihua'],
},
{
name: '刻漏',
repo: 'akira-cn/kelou-wy',
description: 'JavaScript timers for wenyan-lang',
author: {
name: 'akira-cn',
url: 'https://github.com/akira-cn',
},
aliases: ['kelou'],
},
{
name: '柯裡化法',
repo: 'akira-cn/currying-wy',
description: 'Currying for wenyan-lang',
author: {
name: 'akira-cn',
url: 'https://github.com/akira-cn',
},
aliases: ['currying'],
},
{
name: '腳本秘術',
repo: 'akira-cn/script-wy',
description: 'Embed scripts into wenyan-lang',
author: {
name: 'akira-cn',
url: 'https://github.com/akira-cn',
},
aliases: ['script'],
},
{
name: '交互秘術',
repo: 'GLanguage/jiaohu-wy',
description: 'IO for wenyan-lang',
author: {
name: 'GLanguage',
url: 'https://github.com/GLanguage',
},
aliases: ['jiaohu'],
},
{
name: '質問',
repo: 'alainsaas/prompt-wy',
description: 'Prompt for wenyan-lang',
author: {
name: 'alainsaas',
url: 'https://github.com/alainsaas',
},
aliases: ['prompt'],
dependencies: {
腳本秘術: '*',
},
},
{
name: '解析整數',
repo: 'alainsaas/zh_parseint-wy',
description: 'parseInt equivalent for wenyan-lang, working with both Chinese and European numerals',
author: {
name: 'alainsaas',
url: 'https://github.com/alainsaas',
},
aliases: ['zh_parseint'],
dependencies: {
腳本秘術: '*',
},
},
{
name: '符經',
repo: 'GLanguage/fujing-wy',
description: 'Escape special characters in wenyan string',
author: {
name: 'GLanguage',
url: 'https://github.com/GLanguage',
},
aliases: ['fujing'],
},
{
name: '連加連乘',
repo: 'XingZiLong/continuous-operation',
description: 'Do continuous addition and mutiplication easily.',
author: {
name: 'XingZiLong',
url: 'https://github.com/XingZiLong',
},
aliases: ['continuous-operation'],
dependencies: {
腳本秘術: '*',
},
},
]