@@ -26,6 +26,105 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2626SOFTWARE.
2727`
2828
29+ const cc0LicenseText = `
30+ CC0 1.0 Universal
31+ Statement of Purpose
32+ The laws of most jurisdictions throughout the world automatically confer
33+ exclusive Copyright and Related Rights (defined below) upon the creator and
34+ subsequent owner(s) (each and all, an "owner") of an original work of
35+ authorship and/or a database (each, a "Work").
36+ Certain owners wish to permanently relinquish those rights to a Work for the
37+ purpose of contributing to a commons of creative, cultural and scientific
38+ works ("Commons") that the public can reliably and without fear of later
39+ claims of infringement build upon, modify, incorporate in other works, reuse
40+ and redistribute as freely as possible in any form whatsoever and for any
41+ purposes, including without limitation commercial purposes. These owners may
42+ contribute to the Commons to promote the ideal of a free culture and the
43+ further production of creative, cultural and scientific works, or to gain
44+ reputation or greater distribution for their Work in part through the use and
45+ efforts of others.
46+ For these and/or other purposes and motivations, and without any expectation
47+ of additional consideration or compensation, the person associating CC0 with a
48+ Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
49+ and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
50+ and publicly distribute the Work under its terms, with knowledge of his or her
51+ Copyright and Related Rights in the Work and the meaning and intended legal
52+ effect of CC0 on those rights.
53+ 1. Copyright and Related Rights. A Work made available under CC0 may be
54+ protected by copyright and related or neighboring rights ("Copyright and
55+ Related Rights"). Copyright and Related Rights include, but are not limited
56+ to, the following:
57+ i. the right to reproduce, adapt, distribute, perform, display, communicate,
58+ and translate a Work;
59+ ii. moral rights retained by the original author(s) and/or performer(s);
60+ iii. publicity and privacy rights pertaining to a person's image or likeness
61+ depicted in a Work;
62+ iv. rights protecting against unfair competition in regards to a Work,
63+ subject to the limitations in paragraph 4(a), below;
64+ v. rights protecting the extraction, dissemination, use and reuse of data in
65+ a Work;
66+ vi. database rights (such as those arising under Directive 96/9/EC of the
67+ European Parliament and of the Council of 11 March 1996 on the legal
68+ protection of databases, and under any national implementation thereof,
69+ including any amended or successor version of such directive); and
70+ vii. other similar, equivalent or corresponding rights throughout the world
71+ based on applicable law or treaty, and any national implementations thereof.
72+ 2. Waiver. To the greatest extent permitted by, but not in contravention of,
73+ applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
74+ unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
75+ and Related Rights and associated claims and causes of action, whether now
76+ known or unknown (including existing as well as future claims and causes of
77+ action), in the Work (i) in all territories worldwide, (ii) for the maximum
78+ duration provided by applicable law or treaty (including future time
79+ extensions), (iii) in any current or future medium and for any number of
80+ copies, and (iv) for any purpose whatsoever, including without limitation
81+ commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
82+ the Waiver for the benefit of each member of the public at large and to the
83+ detriment of Affirmer's heirs and successors, fully intending that such Waiver
84+ shall not be subject to revocation, rescission, cancellation, termination, or
85+ any other legal or equitable action to disrupt the quiet enjoyment of the Work
86+ by the public as contemplated by Affirmer's express Statement of Purpose.
87+ 3. Public License Fallback. Should any part of the Waiver for any reason be
88+ judged legally invalid or ineffective under applicable law, then the Waiver
89+ shall be preserved to the maximum extent permitted taking into account
90+ Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
91+ is so judged Affirmer hereby grants to each affected person a royalty-free,
92+ non transferable, non sublicensable, non exclusive, irrevocable and
93+ unconditional license to exercise Affirmer's Copyright and Related Rights in
94+ the Work (i) in all territories worldwide, (ii) for the maximum duration
95+ provided by applicable law or treaty (including future time extensions), (iii)
96+ in any current or future medium and for any number of copies, and (iv) for any
97+ purpose whatsoever, including without limitation commercial, advertising or
98+ promotional purposes (the "License"). The License shall be deemed effective as
99+ of the date CC0 was applied by Affirmer to the Work. Should any part of the
100+ License for any reason be judged legally invalid or ineffective under
101+ applicable law, such partial invalidity or ineffectiveness shall not
102+ invalidate the remainder of the License, and in such case Affirmer hereby
103+ affirms that he or she will not (i) exercise any of his or her remaining
104+ Copyright and Related Rights in the Work or (ii) assert any associated claims
105+ and causes of action with respect to the Work, in either case contrary to
106+ Affirmer's express Statement of Purpose.
107+ 4. Limitations and Disclaimers.
108+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
109+ surrendered, licensed or otherwise affected by this document.
110+ b. Affirmer offers the Work as-is and makes no representations or warranties
111+ of any kind concerning the Work, express, implied, statutory or otherwise,
112+ including without limitation warranties of title, merchantability, fitness
113+ for a particular purpose, non infringement, or the absence of latent or
114+ other defects, accuracy, or the present or absence of errors, whether or not
115+ discoverable, all to the greatest extent permissible under applicable law.
116+ c. Affirmer disclaims responsibility for clearing rights of other persons
117+ that may apply to the Work or any use thereof, including without limitation
118+ any person's Copyright and Related Rights in the Work. Further, Affirmer
119+ disclaims responsibility for obtaining any necessary consents, permissions
120+ or other rights required for any use of the Work.
121+ d. Affirmer understands and acknowledges that Creative Commons is not a
122+ party to this document and has no duty or obligation with respect to this
123+ CC0 or use of the Work.
124+ For more information, please see
125+ <http://creativecommons.org/publicdomain/zero/1.0/>
126+ ` . trim ( )
127+
29128await esbuild . build ( {
30129 bundle : true ,
31130 entryPoints : [ 'index.ts' ] ,
@@ -94,6 +193,7 @@ await esbuild.build({
94193 `# create-vue core license\n\n` +
95194 `create-vue is released under the MIT license:\n\n` +
96195 CORE_LICENSE +
196+ `\n${ cc0LicenseText } \n` +
97197 `\n## Licenses of bundled dependencies\n\n` +
98198 `The published create-vue artifact additionally contains code with the following licenses:\n` +
99199 [ ...new Set ( dependencies . map ( ( dependency ) => dependency . packageJson . license ) ) ] . join (
0 commit comments