Skip to content

Commit 892a7c7

Browse files
committed
fix(pretty-errors): replace youch-terminal
This fixes CI bundling issues
1 parent 1542039 commit 892a7c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+3995
-3830
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ common/gh-inputs/dist
9595
utils/**/dist
9696
utils/**/node_modules
9797

98+
# esbuild metadata (bundle analysis, not needed in repo)
99+
**/dist/meta.json
100+
98101
# Local agent notes
99102
AGENTS.md
100103
*/AGENTS.md

b2-workflow/dist/index.js

Lines changed: 78 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

b2-workflow/dist/index.js.map

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

b2-workflow/dist/licenses.txt

Lines changed: 0 additions & 261 deletions
Original file line numberDiff line numberDiff line change
@@ -81,193 +81,12 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
8181
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
8282
IN THE SOFTWARE.
8383

84-
ansi-regex
85-
MIT
86-
MIT License
87-
88-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
89-
90-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
91-
92-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
93-
94-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
95-
96-
97-
as-table
98-
MIT
99-
MIT License
100-
101-
Copyright (c) 2016 Vitaly Gordon (https://github.com/xpl)
102-
103-
Permission is hereby granted, free of charge, to any person obtaining a copy
104-
of this software and associated documentation files (the "Software"), to deal
105-
in the Software without restriction, including without limitation the rights
106-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
107-
copies of the Software, and to permit persons to whom the Software is
108-
furnished to do so, subject to the following conditions:
109-
110-
The above copyright notice and this permission notice shall be included in all
111-
copies or substantial portions of the Software.
112-
113-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
114-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
115-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
116-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
117-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
118-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
119-
SOFTWARE.
120-
121-
122-
cpp-actions-monorepo
123-
Boost Software License - Version 1.0 - August 17th, 2003
124-
125-
Permission is hereby granted, free of charge, to any person or organization
126-
obtaining a copy of the software and accompanying documentation covered by
127-
this license (the "Software") to use, reproduce, display, distribute,
128-
execute, and transmit the Software, and to prepare derivative works of the
129-
Software, and to permit third-parties to whom the Software is furnished to
130-
do so, all subject to the following:
131-
132-
The copyright notices in the Software and this entire statement, including
133-
the above license grant, this restriction and the following disclaimer,
134-
must be included in all copies of the Software, in whole or in part, and
135-
all derivative works of the Software, unless such copies or derivative
136-
works are solely in the form of machine-executable object code generated by
137-
a source language processor.
138-
139-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
140-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
141-
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
142-
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
143-
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
144-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
145-
DEALINGS IN THE SOFTWARE.
146-
147-
data-uri-to-buffer
148-
MIT
149-
150-
emoji-regex
151-
MIT
152-
Copyright Mathias Bynens <https://mathiasbynens.be/>
153-
154-
Permission is hereby granted, free of charge, to any person obtaining
155-
a copy of this software and associated documentation files (the
156-
"Software"), to deal in the Software without restriction, including
157-
without limitation the rights to use, copy, modify, merge, publish,
158-
distribute, sublicense, and/or sell copies of the Software, and to
159-
permit persons to whom the Software is furnished to do so, subject to
160-
the following conditions:
161-
162-
The above copyright notice and this permission notice shall be
163-
included in all copies or substantial portions of the Software.
164-
165-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
166-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
167-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
168-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
169-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
170-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
171-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
172-
173-
174-
get-source
175-
Unlicense
176-
MIT License
177-
178-
Copyright (c) 2016 Vitaly Gordon (https://github.com/xpl)
179-
180-
Permission is hereby granted, free of charge, to any person obtaining a copy
181-
of this software and associated documentation files (the "Software"), to deal
182-
in the Software without restriction, including without limitation the rights
183-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
184-
copies of the Software, and to permit persons to whom the Software is
185-
furnished to do so, subject to the following conditions:
186-
187-
The above copyright notice and this permission notice shall be included in all
188-
copies or substantial portions of the Software.
189-
190-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
191-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
192-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
193-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
194-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
195-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
196-
SOFTWARE.
197-
198-
19984
gh-inputs
20085
Boost Software License 1.0
20186

202-
is-fullwidth-code-point
203-
MIT
204-
MIT License
205-
206-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
207-
208-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
209-
210-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
211-
212-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
213-
214-
215-
kleur
216-
MIT
217-
The MIT License (MIT)
218-
219-
Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
220-
221-
Permission is hereby granted, free of charge, to any person obtaining a copy
222-
of this software and associated documentation files (the "Software"), to deal
223-
in the Software without restriction, including without limitation the rights
224-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
225-
copies of the Software, and to permit persons to whom the Software is
226-
furnished to do so, subject to the following conditions:
227-
228-
The above copyright notice and this permission notice shall be included in
229-
all copies or substantial portions of the Software.
230-
231-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
232-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
233-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
234-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
235-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
236-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
237-
THE SOFTWARE.
238-
239-
24087
pretty-errors
24188
Boost Software License 1.0
24289

243-
printable-characters
244-
Unlicense
245-
This is free and unencumbered software released into the public domain.
246-
247-
Anyone is free to copy, modify, publish, use, compile, sell, or
248-
distribute this software, either in source code form or as a compiled
249-
binary, for any purpose, commercial or non-commercial, and by any
250-
means.
251-
252-
In jurisdictions that recognize copyright laws, the author or authors
253-
of this software dedicate any and all copyright interest in the
254-
software to the public domain. We make this dedication for the benefit
255-
of the public at large and to the detriment of our heirs and
256-
successors. We intend this dedication to be an overt act of
257-
relinquishment in perpetuity of all present and future rights to this
258-
software under copyright law.
259-
260-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
261-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
262-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
263-
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
264-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
265-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
266-
OTHER DEALINGS IN THE SOFTWARE.
267-
268-
For more information, please refer to <http://unlicense.org>
269-
270-
27190
source-map
27291
BSD-3-Clause
27392

@@ -300,60 +119,6 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
300119
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
301120

302121

303-
stacktracey
304-
Unlicense
305-
This is free and unencumbered software released into the public domain.
306-
307-
Anyone is free to copy, modify, publish, use, compile, sell, or
308-
distribute this software, either in source code form or as a compiled
309-
binary, for any purpose, commercial or non-commercial, and by any
310-
means.
311-
312-
In jurisdictions that recognize copyright laws, the author or authors
313-
of this software dedicate any and all copyright interest in the
314-
software to the public domain. We make this dedication for the benefit
315-
of the public at large and to the detriment of our heirs and
316-
successors. We intend this dedication to be an overt act of
317-
relinquishment in perpetuity of all present and future rights to this
318-
software under copyright law.
319-
320-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
321-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
322-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
323-
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
324-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
325-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
326-
OTHER DEALINGS IN THE SOFTWARE.
327-
328-
For more information, please refer to <http://unlicense.org/>
329-
330-
331-
string-width
332-
MIT
333-
MIT License
334-
335-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
336-
337-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
338-
339-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
340-
341-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
342-
343-
344-
strip-ansi
345-
MIT
346-
MIT License
347-
348-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
349-
350-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
351-
352-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
353-
354-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
355-
356-
357122
trace-commands
358123
Boost Software License 1.0
359124

@@ -405,29 +170,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
405170
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
406171
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
407172
SOFTWARE.
408-
409-
410-
wordwrap
411-
MIT
412-
This software is released under the MIT license:
413-
414-
Permission is hereby granted, free of charge, to any person obtaining a copy of
415-
this software and associated documentation files (the "Software"), to deal in
416-
the Software without restriction, including without limitation the rights to
417-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
418-
the Software, and to permit persons to whom the Software is furnished to do so,
419-
subject to the following conditions:
420-
421-
The above copyright notice and this permission notice shall be included in all
422-
copies or substantial portions of the Software.
423-
424-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
425-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
426-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
427-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
428-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
429-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
430-
431-
432-
youch-terminal
433-
MIT

b2-workflow/dist/mappings.wasm

47.4 KB
Binary file not shown.

b2-workflow/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "lib/index.js",
66
"scripts": {
77
"build": "tsc -p .config/tsconfig.json",
8-
"prepare": "npm run build && ncc build lib/index.js -o dist --source-map --license licenses.txt --minify",
8+
"prepare": "npm run build && node ../utils/esbuild/dist/index.js .",
99
"typecheck": "tsc -p .config/tsconfig.json --noEmit",
1010
"test": "jest --config ../jest.config.js --selectProjects b2-workflow",
1111
"all": "npm run prepare && npm run test"
@@ -19,6 +19,10 @@
1919
"@actions/io": "^2.0.0",
2020
"trace-commands": "*",
2121
"gh-inputs": "*",
22-
"pretty-errors": "*"
22+
"pretty-errors": "*",
23+
"source-map-support": "^0.5.21"
24+
},
25+
"devDependencies": {
26+
"esbuild": "^0.27.1"
2327
}
2428
}

boost-clone/dist/index.js

Lines changed: 157 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

boost-clone/dist/index.js.map

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)