@opentapd/tplugin-cli 0.56.0 → 0.56.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/lint.js +47 -0
  2. package/package.json +2 -2
package/lib/lint.js CHANGED
@@ -98,6 +98,53 @@ const schema = Joi.object({
98
98
  handler: Joi.string().required(),
99
99
  events: Joi.array().items(Joi.string()),
100
100
  }),
101
+ scm: Joi.object({
102
+ support: Joi.object({
103
+ branch: Joi.boolean(),
104
+ mr: Joi.boolean(),
105
+ }),
106
+ name: Joi.string(),
107
+ desc: Joi.string(),
108
+ code: Joi.string(),
109
+ adapter: Joi.object({
110
+ _hooks_handler: Joi.object({
111
+ adapter: Joi.string(),
112
+ }),
113
+ branches: Joi.object({
114
+ get: Joi.string(),
115
+ post: Joi.string(),
116
+ }),
117
+ commit: Joi.object({
118
+ get: Joi.string(),
119
+ }),
120
+ commit_diff: Joi.object({
121
+ get: Joi.string(),
122
+ }),
123
+ commits: Joi.object({
124
+ get: Joi.string(),
125
+ }),
126
+ hook: Joi.object({
127
+ delete: Joi.string(),
128
+ put: Joi.string(),
129
+ }),
130
+ hooks: Joi.object({
131
+ get: Joi.string(),
132
+ post: Joi.string(),
133
+ }),
134
+ merge_requests: Joi.object({
135
+ get: Joi.string(),
136
+ }),
137
+ project: Joi.object({
138
+ get: Joi.string(),
139
+ }),
140
+ projects: Joi.object({
141
+ get: Joi.string(),
142
+ }),
143
+ query_commits: Joi.object({
144
+ get: Joi.string(),
145
+ }),
146
+ }),
147
+ }),
101
148
  },
102
149
  fields: Joi.array().items({
103
150
  code: Joi.string().required(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentapd/tplugin-cli",
3
- "version": "0.56.0",
3
+ "version": "0.56.1-alpha.0",
4
4
  "description": "tplugin-cli",
5
5
  "bin": {
6
6
  "tplugin-cli": "index.js"
@@ -79,5 +79,5 @@
79
79
  "node": ">=14.13.0"
80
80
  },
81
81
  "main": "index.js",
82
- "gitHead": "6ab4b431351f7c927dff13897a45f63ca488a0fd"
82
+ "gitHead": "6e0e3f99a6436f9551d430b363bb403e1791e8e1"
83
83
  }