Skip to content

Commit 847ef00

Browse files
committed
chore: Remove duplicate copies of the MIT licence text
To reduce the size of the downloaded plugin, and make the names of the used projects easier to spot.
1 parent 0487e72 commit 847ef00

File tree

2 files changed

+1
-162
lines changed

2 files changed

+1
-162
lines changed

esbuild.config.mjs

Lines changed: 0 additions & 161 deletions
Original file line numberDiff line numberDiff line change
@@ -109,49 +109,13 @@ Licence chrono-node (included library):
109109
The MIT License
110110
111111
Copyright (c) 2014, Wanasit Tanakitrungruang
112-
113-
Permission is hereby granted, free of charge, to any person obtaining a copy
114-
of this software and associated documentation files (the "Software"), to deal
115-
in the Software without restriction, including without limitation the rights
116-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
117-
copies of the Software, and to permit persons to whom the Software is
118-
furnished to do so, subject to the following conditions:
119-
120-
The above copyright notice and this permission notice shall be included in
121-
all copies or substantial portions of the Software.
122-
123-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
124-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
125-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
126-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
127-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
128-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
129-
THE SOFTWARE.
130112
*/
131113
132114
/*
133115
Licence flatpickr (included library):
134116
The MIT License (MIT)
135117
136118
Copyright (c) 2017 Gregory Petrosyan
137-
138-
Permission is hereby granted, free of charge, to any person obtaining a copy
139-
of this software and associated documentation files (the "Software"), to deal
140-
in the Software without restriction, including without limitation the rights
141-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
142-
copies of the Software, and to permit persons to whom the Software is
143-
furnished to do so, subject to the following conditions:
144-
145-
The above copyright notice and this permission notice shall be included in all
146-
copies or substantial portions of the Software.
147-
148-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
149-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
150-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
151-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
152-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
153-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
154-
SOFTWARE.
155119
*/
156120
157121
/*
@@ -160,24 +124,6 @@ Licence @floating-ui/dom (included library):
160124
MIT License
161125
162126
Copyright (c) 2021 Floating UI contributors
163-
164-
Permission is hereby granted, free of charge, to any person obtaining a copy
165-
of this software and associated documentation files (the "Software"), to deal
166-
in the Software without restriction, including without limitation the rights
167-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
168-
copies of the Software, and to permit persons to whom the Software is
169-
furnished to do so, subject to the following conditions:
170-
171-
The above copyright notice and this permission notice shall be included in all
172-
copies or substantial portions of the Software.
173-
174-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
175-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
176-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
177-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
178-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
179-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
180-
SOFTWARE.
181127
*/
182128
183129
/*
@@ -186,24 +132,6 @@ Licence boon-js (included library):
186132
The MIT License (MIT)
187133
188134
Copyright (c) 2020-present Jake Chorley
189-
190-
Permission is hereby granted, free of charge, to any person obtaining a copy
191-
of this software and associated documentation files (the "Software"), to deal
192-
in the Software without restriction, including without limitation the rights
193-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
194-
copies of the Software, and to permit persons to whom the Software is
195-
furnished to do so, subject to the following conditions:
196-
197-
The above copyright notice and this permission notice shall be included in all
198-
copies or substantial portions of the Software.
199-
200-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
201-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
202-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
203-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
204-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
205-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
206-
SOFTWARE.
207135
*/
208136
209137
/*
@@ -212,23 +140,6 @@ Licence eventemitter2 (included library):
212140
The MIT License (MIT)
213141
214142
Copyright (c) 2016 Paolo Fragomeni <http://www.github.com/0x00a> and Contributors
215-
216-
Permission is hereby granted, free of charge, to any person obtaining a copy
217-
of this software and associated documentation files (the 'Software'), to deal
218-
in the Software without restriction, including without limitation the rights
219-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
220-
copies of the Software, and to permit persons to whom the Software is furnished
221-
to do so, subject to the following conditions:
222-
223-
The above copyright notice and this permission notice shall be included in all
224-
copies or substantial portions of the Software.
225-
226-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
227-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
228-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
229-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
230-
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
231-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
232143
*/
233144
234145
/*
@@ -237,24 +148,6 @@ Licence i18next (included library):
237148
The MIT License (MIT)
238149
239150
Copyright (c) 2025 i18next
240-
241-
Permission is hereby granted, free of charge, to any person obtaining a copy
242-
of this software and associated documentation files (the "Software"), to deal
243-
in the Software without restriction, including without limitation the rights
244-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
245-
copies of the Software, and to permit persons to whom the Software is
246-
furnished to do so, subject to the following conditions:
247-
248-
The above copyright notice and this permission notice shall be included in all
249-
copies or substantial portions of the Software.
250-
251-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
252-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
253-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
254-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
255-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
256-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
257-
SOFTWARE.
258151
*/
259152
260153
/*
@@ -263,24 +156,6 @@ Licence i18next-browser-languagedetector (included library):
263156
The MIT License (MIT)
264157
265158
Copyright (c) 2024 i18next
266-
267-
Permission is hereby granted, free of charge, to any person obtaining a copy
268-
of this software and associated documentation files (the "Software"), to deal
269-
in the Software without restriction, including without limitation the rights
270-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
271-
copies of the Software, and to permit persons to whom the Software is
272-
furnished to do so, subject to the following conditions:
273-
274-
The above copyright notice and this permission notice shall be included in all
275-
copies or substantial portions of the Software.
276-
277-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
278-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
279-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
280-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
281-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
282-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
283-
SOFTWARE.
284159
*/
285160
286161
/*
@@ -291,24 +166,6 @@ The MIT License
291166
Copyright (c) 2009 Chris Wanstrath (Ruby)
292167
Copyright (c) 2010-2014 Jan Lehnardt (JavaScript)
293168
Copyright (c) 2010-2015 The mustache.js community
294-
295-
Permission is hereby granted, free of charge, to any person obtaining a copy
296-
of this software and associated documentation files (the "Software"), to deal
297-
in the Software without restriction, including without limitation the rights
298-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
299-
copies of the Software, and to permit persons to whom the Software is
300-
furnished to do so, subject to the following conditions:
301-
302-
The above copyright notice and this permission notice shall be included in all
303-
copies or substantial portions of the Software.
304-
305-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
306-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
307-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
308-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
309-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
310-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
311-
SOFTWARE.
312169
*/
313170
314171
/*
@@ -317,24 +174,6 @@ Licence mustache-validator (included library):
317174
MIT License
318175
319176
Copyright (c) 2022 Elias Mangoro
320-
321-
Permission is hereby granted, free of charge, to any person obtaining a copy
322-
of this software and associated documentation files (the "Software"), to deal
323-
in the Software without restriction, including without limitation the rights
324-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
325-
copies of the Software, and to permit persons to whom the Software is
326-
furnished to do so, subject to the following conditions:
327-
328-
The above copyright notice and this permission notice shall be included in all
329-
copies or substantial portions of the Software.
330-
331-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
332-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
333-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
334-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
335-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
336-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
337-
SOFTWARE.
338177
*/
339178
`;
340179

tests/Integration/ESBuildConfig.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ describe('Check esbuild.config.mjs', () => {
5757
// 4. View its LICENSE file.
5858
// 5. Copy the contents of the LICENSE file.
5959
// 6. Create a new comment block inside the banner variable in esbuild.config.mjs
60-
// 7. Paste in a new block, including the library name and the full licence text.
60+
// 7. Paste in a new block, including the library name and - if it's not a standard license - the full license text.
6161
});
6262
});

0 commit comments

Comments
 (0)