bangonit 0.5.7 → 0.5.9
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.
- package/README.md +22 -0
- package/app/webapp/.next/standalone/app/webapp/.next/BUILD_ID +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/app-path-routes-manifest.json +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/build-manifest.json +2 -2
- package/app/webapp/.next/standalone/app/webapp/.next/prerender-manifest.json +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app/_not-found.html +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app/_not-found.rsc +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app/api/chat/route.js +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app/api/chat/route.js.nft.json +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app/api/screenshot/route.js +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app/api/screenshot/route.js.nft.json +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app/app.html +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app/app.rsc +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app/index.html +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app/index.rsc +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/app-paths-manifest.json +2 -2
- package/app/webapp/.next/standalone/app/webapp/.next/server/chunks/151.js +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/chunks/{124.js → 373.js} +15 -15
- package/app/webapp/.next/standalone/app/webapp/.next/server/pages/404.html +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/pages/500.html +1 -1
- package/app/webapp/.next/standalone/app/webapp/.next/server/server-reference-manifest.json +1 -1
- package/app/webapp/.next/standalone/node_modules/@img/colour/color.cjs +1596 -0
- package/app/webapp/.next/standalone/node_modules/@img/colour/index.cjs +1 -0
- package/app/webapp/.next/standalone/node_modules/@img/colour/package.json +58 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +1 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 +0 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/package.json +42 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/versions.json +30 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +1 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +42 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +30 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-linux-x64/LICENSE +191 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-linux-x64/package.json +46 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/LICENSE +191 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
- package/app/webapp/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +46 -0
- package/app/webapp/.next/standalone/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/app/webapp/.next/standalone/node_modules/detect-libc/lib/elf.js +39 -0
- package/app/webapp/.next/standalone/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/app/webapp/.next/standalone/node_modules/detect-libc/lib/process.js +24 -0
- package/app/webapp/.next/standalone/node_modules/detect-libc/package.json +44 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/channel.js +177 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/colour.js +195 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/composite.js +212 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/constructor.js +499 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/index.js +16 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/input.js +809 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/is.js +143 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/libvips.js +207 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/operation.js +1016 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/output.js +1666 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/resize.js +595 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/sharp.js +121 -0
- package/app/webapp/.next/standalone/node_modules/sharp/lib/utility.js +291 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/classes/comparator.js +143 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/classes/range.js +557 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/classes/semver.js +333 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/cmp.js +54 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/coerce.js +62 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/compare.js +7 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/eq.js +5 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/gt.js +5 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/gte.js +5 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/lt.js +5 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/lte.js +5 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/neq.js +5 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/parse.js +18 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/functions/satisfies.js +12 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/internal/constants.js +37 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/internal/debug.js +11 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/internal/identifiers.js +29 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/internal/lrucache.js +42 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/internal/parse-options.js +17 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/internal/re.js +223 -0
- package/app/webapp/.next/standalone/node_modules/sharp/node_modules/semver/package.json +78 -0
- package/app/webapp/.next/standalone/node_modules/sharp/package.json +202 -0
- package/app/webapp/.next/standalone/package.json +12 -8
- package/bin/boi.js +22 -0
- package/package.json +12 -8
- package/bin/app/desktopapp/src/shared/args.js +0 -22
- package/bin/src/cli/bangonit.js +0 -1035
- /package/app/webapp/.next/standalone/app/webapp/.next/static/{Ovp2DYnS7hdkdiH-qvRCj → ZoXPKe-6bpxSAS83EaRH6}/_buildManifest.js +0 -0
- /package/app/webapp/.next/standalone/app/webapp/.next/static/{Ovp2DYnS7hdkdiH-qvRCj → ZoXPKe-6bpxSAS83EaRH6}/_ssgManifest.js +0 -0
- /package/app/webapp/.next/static/{Ovp2DYnS7hdkdiH-qvRCj → ZoXPKe-6bpxSAS83EaRH6}/_buildManifest.js +0 -0
- /package/app/webapp/.next/static/{Ovp2DYnS7hdkdiH-qvRCj → ZoXPKe-6bpxSAS83EaRH6}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const {
|
|
4
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
5
|
+
MAX_SAFE_BUILD_LENGTH,
|
|
6
|
+
MAX_LENGTH,
|
|
7
|
+
} = require('./constants')
|
|
8
|
+
const debug = require('./debug')
|
|
9
|
+
exports = module.exports = {}
|
|
10
|
+
|
|
11
|
+
// The actual regexps go on exports.re
|
|
12
|
+
const re = exports.re = []
|
|
13
|
+
const safeRe = exports.safeRe = []
|
|
14
|
+
const src = exports.src = []
|
|
15
|
+
const safeSrc = exports.safeSrc = []
|
|
16
|
+
const t = exports.t = {}
|
|
17
|
+
let R = 0
|
|
18
|
+
|
|
19
|
+
const LETTERDASHNUMBER = '[a-zA-Z0-9-]'
|
|
20
|
+
|
|
21
|
+
// Replace some greedy regex tokens to prevent regex dos issues. These regex are
|
|
22
|
+
// used internally via the safeRe object since all inputs in this library get
|
|
23
|
+
// normalized first to trim and collapse all extra whitespace. The original
|
|
24
|
+
// regexes are exported for userland consumption and lower level usage. A
|
|
25
|
+
// future breaking change could export the safer regex only with a note that
|
|
26
|
+
// all input should have extra whitespace removed.
|
|
27
|
+
const safeRegexReplacements = [
|
|
28
|
+
['\\s', 1],
|
|
29
|
+
['\\d', MAX_LENGTH],
|
|
30
|
+
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
const makeSafeRegex = (value) => {
|
|
34
|
+
for (const [token, max] of safeRegexReplacements) {
|
|
35
|
+
value = value
|
|
36
|
+
.split(`${token}*`).join(`${token}{0,${max}}`)
|
|
37
|
+
.split(`${token}+`).join(`${token}{1,${max}}`)
|
|
38
|
+
}
|
|
39
|
+
return value
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const createToken = (name, value, isGlobal) => {
|
|
43
|
+
const safe = makeSafeRegex(value)
|
|
44
|
+
const index = R++
|
|
45
|
+
debug(name, index, value)
|
|
46
|
+
t[name] = index
|
|
47
|
+
src[index] = value
|
|
48
|
+
safeSrc[index] = safe
|
|
49
|
+
re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
|
|
50
|
+
safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// The following Regular Expressions can be used for tokenizing,
|
|
54
|
+
// validating, and parsing SemVer version strings.
|
|
55
|
+
|
|
56
|
+
// ## Numeric Identifier
|
|
57
|
+
// A single `0`, or a non-zero digit followed by zero or more digits.
|
|
58
|
+
|
|
59
|
+
createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*')
|
|
60
|
+
createToken('NUMERICIDENTIFIERLOOSE', '\\d+')
|
|
61
|
+
|
|
62
|
+
// ## Non-numeric Identifier
|
|
63
|
+
// Zero or more digits, followed by a letter or hyphen, and then zero or
|
|
64
|
+
// more letters, digits, or hyphens.
|
|
65
|
+
|
|
66
|
+
createToken('NONNUMERICIDENTIFIER', `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)
|
|
67
|
+
|
|
68
|
+
// ## Main Version
|
|
69
|
+
// Three dot-separated numeric identifiers.
|
|
70
|
+
|
|
71
|
+
createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.` +
|
|
72
|
+
`(${src[t.NUMERICIDENTIFIER]})\\.` +
|
|
73
|
+
`(${src[t.NUMERICIDENTIFIER]})`)
|
|
74
|
+
|
|
75
|
+
createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
|
|
76
|
+
`(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
|
|
77
|
+
`(${src[t.NUMERICIDENTIFIERLOOSE]})`)
|
|
78
|
+
|
|
79
|
+
// ## Pre-release Version Identifier
|
|
80
|
+
// A numeric identifier, or a non-numeric identifier.
|
|
81
|
+
// Non-numeric identifiers include numeric identifiers but can be longer.
|
|
82
|
+
// Therefore non-numeric identifiers must go first.
|
|
83
|
+
|
|
84
|
+
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
|
|
85
|
+
}|${src[t.NUMERICIDENTIFIER]})`)
|
|
86
|
+
|
|
87
|
+
createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]
|
|
88
|
+
}|${src[t.NUMERICIDENTIFIERLOOSE]})`)
|
|
89
|
+
|
|
90
|
+
// ## Pre-release Version
|
|
91
|
+
// Hyphen, followed by one or more dot-separated pre-release version
|
|
92
|
+
// identifiers.
|
|
93
|
+
|
|
94
|
+
createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]
|
|
95
|
+
}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`)
|
|
96
|
+
|
|
97
|
+
createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]
|
|
98
|
+
}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)
|
|
99
|
+
|
|
100
|
+
// ## Build Metadata Identifier
|
|
101
|
+
// Any combination of digits, letters, or hyphens.
|
|
102
|
+
|
|
103
|
+
createToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)
|
|
104
|
+
|
|
105
|
+
// ## Build Metadata
|
|
106
|
+
// Plus sign, followed by one or more period-separated build metadata
|
|
107
|
+
// identifiers.
|
|
108
|
+
|
|
109
|
+
createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER]
|
|
110
|
+
}(?:\\.${src[t.BUILDIDENTIFIER]})*))`)
|
|
111
|
+
|
|
112
|
+
// ## Full Version String
|
|
113
|
+
// A main version, followed optionally by a pre-release version and
|
|
114
|
+
// build metadata.
|
|
115
|
+
|
|
116
|
+
// Note that the only major, minor, patch, and pre-release sections of
|
|
117
|
+
// the version string are capturing groups. The build metadata is not a
|
|
118
|
+
// capturing group, because it should not ever be used in version
|
|
119
|
+
// comparison.
|
|
120
|
+
|
|
121
|
+
createToken('FULLPLAIN', `v?${src[t.MAINVERSION]
|
|
122
|
+
}${src[t.PRERELEASE]}?${
|
|
123
|
+
src[t.BUILD]}?`)
|
|
124
|
+
|
|
125
|
+
createToken('FULL', `^${src[t.FULLPLAIN]}$`)
|
|
126
|
+
|
|
127
|
+
// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.
|
|
128
|
+
// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty
|
|
129
|
+
// common in the npm registry.
|
|
130
|
+
createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE]
|
|
131
|
+
}${src[t.PRERELEASELOOSE]}?${
|
|
132
|
+
src[t.BUILD]}?`)
|
|
133
|
+
|
|
134
|
+
createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)
|
|
135
|
+
|
|
136
|
+
createToken('GTLT', '((?:<|>)?=?)')
|
|
137
|
+
|
|
138
|
+
// Something like "2.*" or "1.2.x".
|
|
139
|
+
// Note that "x.x" is a valid xRange identifer, meaning "any version"
|
|
140
|
+
// Only the first item is strictly required.
|
|
141
|
+
createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`)
|
|
142
|
+
createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`)
|
|
143
|
+
|
|
144
|
+
createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})` +
|
|
145
|
+
`(?:\\.(${src[t.XRANGEIDENTIFIER]})` +
|
|
146
|
+
`(?:\\.(${src[t.XRANGEIDENTIFIER]})` +
|
|
147
|
+
`(?:${src[t.PRERELEASE]})?${
|
|
148
|
+
src[t.BUILD]}?` +
|
|
149
|
+
`)?)?`)
|
|
150
|
+
|
|
151
|
+
createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +
|
|
152
|
+
`(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +
|
|
153
|
+
`(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +
|
|
154
|
+
`(?:${src[t.PRERELEASELOOSE]})?${
|
|
155
|
+
src[t.BUILD]}?` +
|
|
156
|
+
`)?)?`)
|
|
157
|
+
|
|
158
|
+
createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`)
|
|
159
|
+
createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`)
|
|
160
|
+
|
|
161
|
+
// Coercion.
|
|
162
|
+
// Extract anything that could conceivably be a part of a valid semver
|
|
163
|
+
createToken('COERCEPLAIN', `${'(^|[^\\d])' +
|
|
164
|
+
'(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
|
|
165
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
|
|
166
|
+
`(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)
|
|
167
|
+
createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`)
|
|
168
|
+
createToken('COERCEFULL', src[t.COERCEPLAIN] +
|
|
169
|
+
`(?:${src[t.PRERELEASE]})?` +
|
|
170
|
+
`(?:${src[t.BUILD]})?` +
|
|
171
|
+
`(?:$|[^\\d])`)
|
|
172
|
+
createToken('COERCERTL', src[t.COERCE], true)
|
|
173
|
+
createToken('COERCERTLFULL', src[t.COERCEFULL], true)
|
|
174
|
+
|
|
175
|
+
// Tilde ranges.
|
|
176
|
+
// Meaning is "reasonably at or greater than"
|
|
177
|
+
createToken('LONETILDE', '(?:~>?)')
|
|
178
|
+
|
|
179
|
+
createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true)
|
|
180
|
+
exports.tildeTrimReplace = '$1~'
|
|
181
|
+
|
|
182
|
+
createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)
|
|
183
|
+
createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)
|
|
184
|
+
|
|
185
|
+
// Caret ranges.
|
|
186
|
+
// Meaning is "at least and backwards compatible with"
|
|
187
|
+
createToken('LONECARET', '(?:\\^)')
|
|
188
|
+
|
|
189
|
+
createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true)
|
|
190
|
+
exports.caretTrimReplace = '$1^'
|
|
191
|
+
|
|
192
|
+
createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)
|
|
193
|
+
createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)
|
|
194
|
+
|
|
195
|
+
// A simple gt/lt/eq thing, or just "" to indicate "any version"
|
|
196
|
+
createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`)
|
|
197
|
+
createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`)
|
|
198
|
+
|
|
199
|
+
// An expression to strip any whitespace between the gtlt and the thing
|
|
200
|
+
// it modifies, so that `> 1.2.3` ==> `>1.2.3`
|
|
201
|
+
createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]
|
|
202
|
+
}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)
|
|
203
|
+
exports.comparatorTrimReplace = '$1$2$3'
|
|
204
|
+
|
|
205
|
+
// Something like `1.2.3 - 1.2.4`
|
|
206
|
+
// Note that these all use the loose form, because they'll be
|
|
207
|
+
// checked against either the strict or loose comparator form
|
|
208
|
+
// later.
|
|
209
|
+
createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})` +
|
|
210
|
+
`\\s+-\\s+` +
|
|
211
|
+
`(${src[t.XRANGEPLAIN]})` +
|
|
212
|
+
`\\s*$`)
|
|
213
|
+
|
|
214
|
+
createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` +
|
|
215
|
+
`\\s+-\\s+` +
|
|
216
|
+
`(${src[t.XRANGEPLAINLOOSE]})` +
|
|
217
|
+
`\\s*$`)
|
|
218
|
+
|
|
219
|
+
// Star ranges basically just allow anything at all.
|
|
220
|
+
createToken('STAR', '(<|>)?=?\\s*\\*')
|
|
221
|
+
// >=0.0.0 is like a star
|
|
222
|
+
createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$')
|
|
223
|
+
createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$')
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "semver",
|
|
3
|
+
"version": "7.7.4",
|
|
4
|
+
"description": "The semantic version parser used by npm.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "tap",
|
|
8
|
+
"snap": "tap",
|
|
9
|
+
"lint": "npm run eslint",
|
|
10
|
+
"postlint": "template-oss-check",
|
|
11
|
+
"lintfix": "npm run eslint -- --fix",
|
|
12
|
+
"posttest": "npm run lint",
|
|
13
|
+
"template-oss-apply": "template-oss-apply --force",
|
|
14
|
+
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@npmcli/eslint-config": "^6.0.0",
|
|
18
|
+
"@npmcli/template-oss": "4.29.0",
|
|
19
|
+
"benchmark": "^2.1.4",
|
|
20
|
+
"tap": "^16.0.0"
|
|
21
|
+
},
|
|
22
|
+
"license": "ISC",
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git+https://github.com/npm/node-semver.git"
|
|
26
|
+
},
|
|
27
|
+
"bin": {
|
|
28
|
+
"semver": "bin/semver.js"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"bin/",
|
|
32
|
+
"lib/",
|
|
33
|
+
"classes/",
|
|
34
|
+
"functions/",
|
|
35
|
+
"internal/",
|
|
36
|
+
"ranges/",
|
|
37
|
+
"index.js",
|
|
38
|
+
"preload.js",
|
|
39
|
+
"range.bnf"
|
|
40
|
+
],
|
|
41
|
+
"tap": {
|
|
42
|
+
"timeout": 30,
|
|
43
|
+
"coverage-map": "map.js",
|
|
44
|
+
"nyc-arg": [
|
|
45
|
+
"--exclude",
|
|
46
|
+
"tap-snapshots/**"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=10"
|
|
51
|
+
},
|
|
52
|
+
"author": "GitHub Inc.",
|
|
53
|
+
"templateOSS": {
|
|
54
|
+
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
55
|
+
"version": "4.29.0",
|
|
56
|
+
"engines": ">=10",
|
|
57
|
+
"distPaths": [
|
|
58
|
+
"classes/",
|
|
59
|
+
"functions/",
|
|
60
|
+
"internal/",
|
|
61
|
+
"ranges/",
|
|
62
|
+
"index.js",
|
|
63
|
+
"preload.js",
|
|
64
|
+
"range.bnf"
|
|
65
|
+
],
|
|
66
|
+
"allowPaths": [
|
|
67
|
+
"/classes/",
|
|
68
|
+
"/functions/",
|
|
69
|
+
"/internal/",
|
|
70
|
+
"/ranges/",
|
|
71
|
+
"/index.js",
|
|
72
|
+
"/preload.js",
|
|
73
|
+
"/range.bnf",
|
|
74
|
+
"/benchmarks"
|
|
75
|
+
],
|
|
76
|
+
"publish": "true"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sharp",
|
|
3
|
+
"description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
|
|
4
|
+
"version": "0.34.5",
|
|
5
|
+
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
|
+
"homepage": "https://sharp.pixelplumbing.com",
|
|
7
|
+
"contributors": [
|
|
8
|
+
"Pierre Inglebert <pierre.inglebert@gmail.com>",
|
|
9
|
+
"Jonathan Ong <jonathanrichardong@gmail.com>",
|
|
10
|
+
"Chanon Sajjamanochai <chanon.s@gmail.com>",
|
|
11
|
+
"Juliano Julio <julianojulio@gmail.com>",
|
|
12
|
+
"Daniel Gasienica <daniel@gasienica.ch>",
|
|
13
|
+
"Julian Walker <julian@fiftythree.com>",
|
|
14
|
+
"Amit Pitaru <pitaru.amit@gmail.com>",
|
|
15
|
+
"Brandon Aaron <hello.brandon@aaron.sh>",
|
|
16
|
+
"Andreas Lind <andreas@one.com>",
|
|
17
|
+
"Maurus Cuelenaere <mcuelenaere@gmail.com>",
|
|
18
|
+
"Linus Unnebäck <linus@folkdatorn.se>",
|
|
19
|
+
"Victor Mateevitsi <mvictoras@gmail.com>",
|
|
20
|
+
"Alaric Holloway <alaric.holloway@gmail.com>",
|
|
21
|
+
"Bernhard K. Weisshuhn <bkw@codingforce.com>",
|
|
22
|
+
"Chris Riley <criley@primedia.com>",
|
|
23
|
+
"David Carley <dacarley@gmail.com>",
|
|
24
|
+
"John Tobin <john@limelightmobileinc.com>",
|
|
25
|
+
"Kenton Gray <kentongray@gmail.com>",
|
|
26
|
+
"Felix Bünemann <Felix.Buenemann@gmail.com>",
|
|
27
|
+
"Samy Al Zahrani <samyalzahrany@gmail.com>",
|
|
28
|
+
"Chintan Thakkar <lemnisk8@gmail.com>",
|
|
29
|
+
"F. Orlando Galashan <frulo@gmx.de>",
|
|
30
|
+
"Kleis Auke Wolthuizen <info@kleisauke.nl>",
|
|
31
|
+
"Matt Hirsch <mhirsch@media.mit.edu>",
|
|
32
|
+
"Matthias Thoemmes <thoemmes@gmail.com>",
|
|
33
|
+
"Patrick Paskaris <patrick@paskaris.gr>",
|
|
34
|
+
"Jérémy Lal <kapouer@melix.org>",
|
|
35
|
+
"Rahul Nanwani <r.nanwani@gmail.com>",
|
|
36
|
+
"Alice Monday <alice0meta@gmail.com>",
|
|
37
|
+
"Kristo Jorgenson <kristo.jorgenson@gmail.com>",
|
|
38
|
+
"YvesBos <yves_bos@outlook.com>",
|
|
39
|
+
"Guy Maliar <guy@tailorbrands.com>",
|
|
40
|
+
"Nicolas Coden <nicolas@ncoden.fr>",
|
|
41
|
+
"Matt Parrish <matt.r.parrish@gmail.com>",
|
|
42
|
+
"Marcel Bretschneider <marcel.bretschneider@gmail.com>",
|
|
43
|
+
"Matthew McEachen <matthew+github@mceachen.org>",
|
|
44
|
+
"Jarda Kotěšovec <jarda.kotesovec@gmail.com>",
|
|
45
|
+
"Kenric D'Souza <kenric.dsouza@gmail.com>",
|
|
46
|
+
"Oleh Aleinyk <oleg.aleynik@gmail.com>",
|
|
47
|
+
"Marcel Bretschneider <marcel.bretschneider@gmail.com>",
|
|
48
|
+
"Andrea Bianco <andrea.bianco@unibas.ch>",
|
|
49
|
+
"Rik Heywood <rik@rik.org>",
|
|
50
|
+
"Thomas Parisot <hi@oncletom.io>",
|
|
51
|
+
"Nathan Graves <nathanrgraves+github@gmail.com>",
|
|
52
|
+
"Tom Lokhorst <tom@lokhorst.eu>",
|
|
53
|
+
"Espen Hovlandsdal <espen@hovlandsdal.com>",
|
|
54
|
+
"Sylvain Dumont <sylvain.dumont35@gmail.com>",
|
|
55
|
+
"Alun Davies <alun.owain.davies@googlemail.com>",
|
|
56
|
+
"Aidan Hoolachan <ajhoolachan21@gmail.com>",
|
|
57
|
+
"Axel Eirola <axel.eirola@iki.fi>",
|
|
58
|
+
"Freezy <freezy@xbmc.org>",
|
|
59
|
+
"Daiz <taneli.vatanen@gmail.com>",
|
|
60
|
+
"Julian Aubourg <j@ubourg.net>",
|
|
61
|
+
"Keith Belovay <keith@picthrive.com>",
|
|
62
|
+
"Michael B. Klein <mbklein@gmail.com>",
|
|
63
|
+
"Jordan Prudhomme <jordan@raboland.fr>",
|
|
64
|
+
"Ilya Ovdin <iovdin@gmail.com>",
|
|
65
|
+
"Andargor <andargor@yahoo.com>",
|
|
66
|
+
"Paul Neave <paul.neave@gmail.com>",
|
|
67
|
+
"Brendan Kennedy <brenwken@gmail.com>",
|
|
68
|
+
"Brychan Bennett-Odlum <git@brychan.io>",
|
|
69
|
+
"Edward Silverton <e.silverton@gmail.com>",
|
|
70
|
+
"Roman Malieiev <aromaleev@gmail.com>",
|
|
71
|
+
"Tomas Szabo <tomas.szabo@deftomat.com>",
|
|
72
|
+
"Robert O'Rourke <robert@o-rourke.org>",
|
|
73
|
+
"Guillermo Alfonso Varela Chouciño <guillevch@gmail.com>",
|
|
74
|
+
"Christian Flintrup <chr@gigahost.dk>",
|
|
75
|
+
"Manan Jadhav <manan@motionden.com>",
|
|
76
|
+
"Leon Radley <leon@radley.se>",
|
|
77
|
+
"alza54 <alza54@thiocod.in>",
|
|
78
|
+
"Jacob Smith <jacob@frende.me>",
|
|
79
|
+
"Michael Nutt <michael@nutt.im>",
|
|
80
|
+
"Brad Parham <baparham@gmail.com>",
|
|
81
|
+
"Taneli Vatanen <taneli.vatanen@gmail.com>",
|
|
82
|
+
"Joris Dugué <zaruike10@gmail.com>",
|
|
83
|
+
"Chris Banks <christopher.bradley.banks@gmail.com>",
|
|
84
|
+
"Ompal Singh <ompal.hitm09@gmail.com>",
|
|
85
|
+
"Brodan <christopher.hranj@gmail.com>",
|
|
86
|
+
"Ankur Parihar <ankur.github@gmail.com>",
|
|
87
|
+
"Brahim Ait elhaj <brahima@gmail.com>",
|
|
88
|
+
"Mart Jansink <m.jansink@gmail.com>",
|
|
89
|
+
"Lachlan Newman <lachnewman007@gmail.com>",
|
|
90
|
+
"Dennis Beatty <dennis@dcbeatty.com>",
|
|
91
|
+
"Ingvar Stepanyan <me@rreverser.com>",
|
|
92
|
+
"Don Denton <don@happycollision.com>"
|
|
93
|
+
],
|
|
94
|
+
"scripts": {
|
|
95
|
+
"build": "node install/build.js",
|
|
96
|
+
"install": "node install/check.js || npm run build",
|
|
97
|
+
"clean": "rm -rf src/build/ .nyc_output/ coverage/ test/fixtures/output.*",
|
|
98
|
+
"test": "npm run lint && npm run test-unit",
|
|
99
|
+
"lint": "npm run lint-cpp && npm run lint-js && npm run lint-types",
|
|
100
|
+
"lint-cpp": "cpplint --quiet src/*.h src/*.cc",
|
|
101
|
+
"lint-js": "biome lint",
|
|
102
|
+
"lint-types": "tsd --files ./test/types/sharp.test-d.ts",
|
|
103
|
+
"test-leak": "./test/leak/leak.sh",
|
|
104
|
+
"test-unit": "node --experimental-test-coverage test/unit.mjs",
|
|
105
|
+
"package-from-local-build": "node npm/from-local-build.js",
|
|
106
|
+
"package-release-notes": "node npm/release-notes.js",
|
|
107
|
+
"docs-build": "node docs/build.mjs",
|
|
108
|
+
"docs-serve": "cd docs && npm start",
|
|
109
|
+
"docs-publish": "cd docs && npm run build && npx firebase-tools deploy --project pixelplumbing --only hosting:pixelplumbing-sharp"
|
|
110
|
+
},
|
|
111
|
+
"type": "commonjs",
|
|
112
|
+
"main": "lib/index.js",
|
|
113
|
+
"types": "lib/index.d.ts",
|
|
114
|
+
"files": [
|
|
115
|
+
"install",
|
|
116
|
+
"lib",
|
|
117
|
+
"src/*.{cc,h,gyp}"
|
|
118
|
+
],
|
|
119
|
+
"repository": {
|
|
120
|
+
"type": "git",
|
|
121
|
+
"url": "git://github.com/lovell/sharp.git"
|
|
122
|
+
},
|
|
123
|
+
"keywords": [
|
|
124
|
+
"jpeg",
|
|
125
|
+
"png",
|
|
126
|
+
"webp",
|
|
127
|
+
"avif",
|
|
128
|
+
"tiff",
|
|
129
|
+
"gif",
|
|
130
|
+
"svg",
|
|
131
|
+
"jp2",
|
|
132
|
+
"dzi",
|
|
133
|
+
"image",
|
|
134
|
+
"resize",
|
|
135
|
+
"thumbnail",
|
|
136
|
+
"crop",
|
|
137
|
+
"embed",
|
|
138
|
+
"libvips",
|
|
139
|
+
"vips"
|
|
140
|
+
],
|
|
141
|
+
"dependencies": {
|
|
142
|
+
"@img/colour": "^1.0.0",
|
|
143
|
+
"detect-libc": "^2.1.2",
|
|
144
|
+
"semver": "^7.7.3"
|
|
145
|
+
},
|
|
146
|
+
"optionalDependencies": {
|
|
147
|
+
"@img/sharp-darwin-arm64": "0.34.5",
|
|
148
|
+
"@img/sharp-darwin-x64": "0.34.5",
|
|
149
|
+
"@img/sharp-libvips-darwin-arm64": "1.2.4",
|
|
150
|
+
"@img/sharp-libvips-darwin-x64": "1.2.4",
|
|
151
|
+
"@img/sharp-libvips-linux-arm": "1.2.4",
|
|
152
|
+
"@img/sharp-libvips-linux-arm64": "1.2.4",
|
|
153
|
+
"@img/sharp-libvips-linux-ppc64": "1.2.4",
|
|
154
|
+
"@img/sharp-libvips-linux-riscv64": "1.2.4",
|
|
155
|
+
"@img/sharp-libvips-linux-s390x": "1.2.4",
|
|
156
|
+
"@img/sharp-libvips-linux-x64": "1.2.4",
|
|
157
|
+
"@img/sharp-libvips-linuxmusl-arm64": "1.2.4",
|
|
158
|
+
"@img/sharp-libvips-linuxmusl-x64": "1.2.4",
|
|
159
|
+
"@img/sharp-linux-arm": "0.34.5",
|
|
160
|
+
"@img/sharp-linux-arm64": "0.34.5",
|
|
161
|
+
"@img/sharp-linux-ppc64": "0.34.5",
|
|
162
|
+
"@img/sharp-linux-riscv64": "0.34.5",
|
|
163
|
+
"@img/sharp-linux-s390x": "0.34.5",
|
|
164
|
+
"@img/sharp-linux-x64": "0.34.5",
|
|
165
|
+
"@img/sharp-linuxmusl-arm64": "0.34.5",
|
|
166
|
+
"@img/sharp-linuxmusl-x64": "0.34.5",
|
|
167
|
+
"@img/sharp-wasm32": "0.34.5",
|
|
168
|
+
"@img/sharp-win32-arm64": "0.34.5",
|
|
169
|
+
"@img/sharp-win32-ia32": "0.34.5",
|
|
170
|
+
"@img/sharp-win32-x64": "0.34.5"
|
|
171
|
+
},
|
|
172
|
+
"devDependencies": {
|
|
173
|
+
"@biomejs/biome": "^2.3.4",
|
|
174
|
+
"@cpplint/cli": "^0.1.0",
|
|
175
|
+
"@emnapi/runtime": "^1.7.0",
|
|
176
|
+
"@img/sharp-libvips-dev": "1.2.4",
|
|
177
|
+
"@img/sharp-libvips-dev-wasm32": "1.2.4",
|
|
178
|
+
"@img/sharp-libvips-win32-arm64": "1.2.4",
|
|
179
|
+
"@img/sharp-libvips-win32-ia32": "1.2.4",
|
|
180
|
+
"@img/sharp-libvips-win32-x64": "1.2.4",
|
|
181
|
+
"@types/node": "*",
|
|
182
|
+
"emnapi": "^1.7.0",
|
|
183
|
+
"exif-reader": "^2.0.2",
|
|
184
|
+
"extract-zip": "^2.0.1",
|
|
185
|
+
"icc": "^3.0.0",
|
|
186
|
+
"jsdoc-to-markdown": "^9.1.3",
|
|
187
|
+
"node-addon-api": "^8.5.0",
|
|
188
|
+
"node-gyp": "^11.5.0",
|
|
189
|
+
"tar-fs": "^3.1.1",
|
|
190
|
+
"tsd": "^0.33.0"
|
|
191
|
+
},
|
|
192
|
+
"license": "Apache-2.0",
|
|
193
|
+
"engines": {
|
|
194
|
+
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
195
|
+
},
|
|
196
|
+
"config": {
|
|
197
|
+
"libvips": ">=8.17.3"
|
|
198
|
+
},
|
|
199
|
+
"funding": {
|
|
200
|
+
"url": "https://opencollective.com/libvips"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bangonit",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "AI-powered E2E testing tool",
|
|
5
6
|
"bin": {
|
|
6
|
-
"bangonit": "bin/
|
|
7
|
-
"bang-on-it": "bin/
|
|
8
|
-
"boi": "bin/
|
|
7
|
+
"bangonit": "bin/boi.js",
|
|
8
|
+
"bang-on-it": "bin/boi.js",
|
|
9
|
+
"boi": "bin/boi.js"
|
|
9
10
|
},
|
|
10
11
|
"scripts": {
|
|
11
12
|
"prepublishOnly": "npm run build",
|
|
12
|
-
"build": "concurrently npm:build:
|
|
13
|
-
"build:
|
|
14
|
-
"build:webapp": "cd app/webapp && npm run build && cp -r .next/static .next/standalone/app/webapp/.next/static",
|
|
13
|
+
"build": "concurrently npm:build:webapp npm:build:electron npm:build:replay",
|
|
14
|
+
"build:webapp": "cd app/webapp && rm -rf .next && npm run build && cp -r .next/static .next/standalone/app/webapp/.next/static",
|
|
15
15
|
"build:electron": "cd app/desktopapp && npx tsc",
|
|
16
16
|
"build:replay": "cd app/replay && npx vite build",
|
|
17
|
-
"test": "node --test test/*.test.ts",
|
|
17
|
+
"test": "node --test --test-concurrency=1 test/*.test.ts",
|
|
18
18
|
"format": "prettier --write .",
|
|
19
19
|
"format:check": "prettier --check .",
|
|
20
20
|
"lint": "eslint .",
|
|
@@ -58,11 +58,15 @@
|
|
|
58
58
|
"node": ">=18"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
+
"@anthropic-ai/sdk": "^0.80.0",
|
|
61
62
|
"@iarna/toml": "^2.2.5",
|
|
63
|
+
"@opencode-ai/sdk": "^1.3.0",
|
|
62
64
|
"dotenv": "^17.3.1",
|
|
63
65
|
"electron": "^40.8.0",
|
|
64
66
|
"is-ci": "^4.1.0",
|
|
65
67
|
"minio": "^8.0.7",
|
|
68
|
+
"opencode-ai": "^1.3.0",
|
|
69
|
+
"tsx": "^4.21.0",
|
|
66
70
|
"yargs": "^18.0.0",
|
|
67
71
|
"zod": "^3.25.0"
|
|
68
72
|
},
|
package/bin/boi.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { spawnSync } from "node:child_process";
|
|
3
|
+
import { fileURLToPath } from "node:url";
|
|
4
|
+
import { dirname, join } from "node:path";
|
|
5
|
+
import { createRequire } from "node:module";
|
|
6
|
+
|
|
7
|
+
const __dirname = dirname(fileURLToPath(import.meta.url));
|
|
8
|
+
const require = createRequire(import.meta.url);
|
|
9
|
+
const tsxPath = require.resolve("tsx");
|
|
10
|
+
const entry = join(__dirname, "..", "src", "cli", "bangonit.ts");
|
|
11
|
+
const binDir = join(__dirname, "..", "node_modules", ".bin");
|
|
12
|
+
|
|
13
|
+
const result = spawnSync(
|
|
14
|
+
process.execPath,
|
|
15
|
+
["--import", tsxPath, entry, ...process.argv.slice(2)],
|
|
16
|
+
{
|
|
17
|
+
stdio: "inherit",
|
|
18
|
+
env: { ...process.env, PATH: `${binDir}:${process.env.PATH}` },
|
|
19
|
+
},
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
process.exit(result.status ?? 1);
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bangonit",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "AI-powered E2E testing tool",
|
|
5
6
|
"bin": {
|
|
6
|
-
"bangonit": "bin/
|
|
7
|
-
"bang-on-it": "bin/
|
|
8
|
-
"boi": "bin/
|
|
7
|
+
"bangonit": "bin/boi.js",
|
|
8
|
+
"bang-on-it": "bin/boi.js",
|
|
9
|
+
"boi": "bin/boi.js"
|
|
9
10
|
},
|
|
10
11
|
"scripts": {
|
|
11
12
|
"prepublishOnly": "npm run build",
|
|
12
|
-
"build": "concurrently npm:build:
|
|
13
|
-
"build:
|
|
14
|
-
"build:webapp": "cd app/webapp && npm run build && cp -r .next/static .next/standalone/app/webapp/.next/static",
|
|
13
|
+
"build": "concurrently npm:build:webapp npm:build:electron npm:build:replay",
|
|
14
|
+
"build:webapp": "cd app/webapp && rm -rf .next && npm run build && cp -r .next/static .next/standalone/app/webapp/.next/static",
|
|
15
15
|
"build:electron": "cd app/desktopapp && npx tsc",
|
|
16
16
|
"build:replay": "cd app/replay && npx vite build",
|
|
17
|
-
"test": "node --test test/*.test.ts",
|
|
17
|
+
"test": "node --test --test-concurrency=1 test/*.test.ts",
|
|
18
18
|
"format": "prettier --write .",
|
|
19
19
|
"format:check": "prettier --check .",
|
|
20
20
|
"lint": "eslint .",
|
|
@@ -58,11 +58,15 @@
|
|
|
58
58
|
"node": ">=18"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
+
"@anthropic-ai/sdk": "^0.80.0",
|
|
61
62
|
"@iarna/toml": "^2.2.5",
|
|
63
|
+
"@opencode-ai/sdk": "^1.3.0",
|
|
62
64
|
"dotenv": "^17.3.1",
|
|
63
65
|
"electron": "^40.8.0",
|
|
64
66
|
"is-ci": "^4.1.0",
|
|
65
67
|
"minio": "^8.0.7",
|
|
68
|
+
"opencode-ai": "^1.3.0",
|
|
69
|
+
"tsx": "^4.21.0",
|
|
66
70
|
"yargs": "^18.0.0",
|
|
67
71
|
"zod": "^3.25.0"
|
|
68
72
|
},
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ELECTRON_ARGS_ENV = exports.electronArgsSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.electronArgsSchema = zod_1.z.object({
|
|
6
|
-
testPlanFiles: zod_1.z.array(zod_1.z.string()),
|
|
7
|
-
headless: zod_1.z.boolean(),
|
|
8
|
-
exit: zod_1.z.boolean(),
|
|
9
|
-
keepOpen: zod_1.z.boolean(),
|
|
10
|
-
json: zod_1.z.boolean(),
|
|
11
|
-
console: zod_1.z.boolean(),
|
|
12
|
-
record: zod_1.z.boolean(),
|
|
13
|
-
retries: zod_1.z.number(),
|
|
14
|
-
output: zod_1.z.string().nullable(),
|
|
15
|
-
plan: zod_1.z.string().nullable(),
|
|
16
|
-
prompt: zod_1.z.string().nullable(),
|
|
17
|
-
concurrency: zod_1.z.number(),
|
|
18
|
-
timeout: zod_1.z.number(),
|
|
19
|
-
cwd: zod_1.z.string(),
|
|
20
|
-
recordingsDir: zod_1.z.string().nullable(),
|
|
21
|
-
});
|
|
22
|
-
exports.ELECTRON_ARGS_ENV = "BANGONIT_ARGS";
|