create-three-blocks-starter 0.0.9 → 0.0.11

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 (4) hide show
  1. package/LICENSE +307 -0
  2. package/README.md +2 -2
  3. package/bin/index.js +864 -183
  4. package/package.json +1 -1
package/LICENSE ADDED
@@ -0,0 +1,307 @@
1
+ Three.js Blocks Software License Agreement
2
+ Version 2.0 — Effective January 2026
3
+
4
+ Proprietary Software — All Rights Reserved
5
+ Copyright (c) 2026 three-blocks
6
+
7
+ Full License Terms: https://threejs-blocks.com/license
8
+
9
+ ================================================================================
10
+
11
+ LICENSE NOTICE
12
+
13
+ This software and all associated packages, including but not limited to:
14
+ - @three-blocks/core
15
+ - @three-blocks/pro
16
+ - @three-blocks/starter
17
+ - create-three-blocks-starter
18
+ - All related tools, examples, and documentation code
19
+
20
+ are licensed exclusively to active, paid subscribers of the Three.js Blocks
21
+ project. Without a valid and current subscription, you are NOT permitted to
22
+ use this software.
23
+
24
+ ================================================================================
25
+
26
+ PERMITTED USAGE (Active Subscribers Only)
27
+
28
+ Subject to maintaining an active, paid subscription, you are granted a
29
+ non-exclusive, non-transferable, non-sublicensable license to:
30
+
31
+ + Use the software in personal and commercial projects via the public API
32
+ + Deploy applications incorporating the software to production environments
33
+ + Integrate the software into your applications as a functional component
34
+ + Access updates, bug fixes, and new features during active subscription
35
+
36
+ ================================================================================
37
+
38
+ RESTRICTIONS
39
+
40
+ You may NOT:
41
+
42
+ - Reverse engineer, decompile, disassemble, or attempt to derive the source
43
+ code, underlying algorithms, or techniques employed in this software
44
+ - Study, analyze, inspect, or learn from the implementation details, code
45
+ structure, or internal workings of this software
46
+ - Modify, adapt, translate, or create derivative works
47
+ - Copy, share, distribute, publish, or resell any part of the software
48
+ - Sublicense or transfer rights to any third party
49
+ - Remove, alter, or obscure this license header or any copyright notices
50
+ - Use this software after your subscription has expired or been terminated
51
+
52
+ ================================================================================
53
+
54
+ SUBLICENSING AND REDISTRIBUTION PROHIBITION
55
+
56
+ This license is strictly non-transferable and non-sublicensable. You may NOT:
57
+
58
+ - Sublicense, relicense, or transfer any rights granted herein to any third
59
+ party under any circumstances
60
+ - Create any SDK, library, framework, plugin, extension, or middleware that
61
+ redistributes, bundles, or incorporates this software for use by third
62
+ parties
63
+ - Bundle this software into products, applications, or services where
64
+ end-users do not hold their own valid subscription to Three.js Blocks
65
+ - Offer this software as part of any hosted service, software-as-a-service
66
+ (SaaS), platform-as-a-service (PaaS), or similar cloud-based offering
67
+ where third parties access the software's functionality
68
+ - Create wrapper libraries, abstraction layers, or integration packages that
69
+ obscure, circumvent, or eliminate the subscription requirement from
70
+ downstream users
71
+ - Include this software in any product, template, boilerplate, starter kit,
72
+ code generator, or scaffolding tool intended for distribution to third
73
+ parties
74
+ - Provide access to this software through any API, service endpoint, or
75
+ programmatic interface that enables third-party usage
76
+ - License, sell, rent, lease, or otherwise commercially exploit access to
77
+ this software to any third party
78
+
79
+ THIRD-PARTY INTEGRATION REQUIREMENT:
80
+ If you develop any software, SDK, library, framework, application, or service
81
+ that incorporates, depends upon, or integrates with this software, each
82
+ end-user of your software must independently hold their own valid, active
83
+ subscription to Three.js Blocks. You may not use your subscription to provide,
84
+ enable, or facilitate access to this software to any third party. Any attempt
85
+ to circumvent this requirement through technical or contractual means is
86
+ expressly prohibited and constitutes a material breach of this license.
87
+
88
+ ================================================================================
89
+
90
+ AI, MACHINE LEARNING, AND AUTOMATED ANALYSIS PROHIBITION
91
+
92
+ The use of this software, source code, compiled code, documentation, outputs,
93
+ or any data generated by this software for artificial intelligence, machine
94
+ learning, or automated analysis purposes is strictly prohibited. You may NOT:
95
+
96
+ - Use this code, in whole or in part, to train, fine-tune, pre-train, or
97
+ develop any artificial intelligence models, machine learning systems,
98
+ neural networks, or large language models (LLMs)
99
+ - Use this code for reinforcement learning from human feedback (RLHF),
100
+ constitutional AI training, or any similar AI alignment or training
101
+ methodology
102
+ - Create embeddings, vector representations, semantic indices, or any other
103
+ mathematical or computational representations of this code
104
+ - Store this code in vector databases, retrieval systems, knowledge bases,
105
+ or any storage mechanism intended for AI/ML retrieval-augmented generation
106
+ (RAG) or similar AI-assisted retrieval
107
+ - Generate synthetic data, pseudocode, paraphrased code, or derivative
108
+ representations from this codebase for any purpose
109
+ - Use automated tools, scripts, or AI systems to extract patterns,
110
+ algorithms, architectural knowledge, or implementation techniques from
111
+ this software
112
+ - Input this code into AI coding assistants, code completion tools, or
113
+ any AI-powered development environment for the purpose of analysis,
114
+ learning, pattern extraction, or code generation
115
+ - Use this code as context, examples, few-shot prompts, or reference
116
+ material for AI code generation, code completion, or code suggestion
117
+ - Feed this code into any automated transformation tool, transpiler, or
118
+ code converter that uses AI/ML techniques
119
+ - Use any output, behavior, or data generated by this software to train
120
+ or improve any AI/ML system
121
+
122
+ This prohibition applies to all AI/ML systems including but not limited to:
123
+ large language models (LLMs), code completion tools (e.g., GitHub Copilot,
124
+ Amazon CodeWhisperer, and similar tools), code generation systems, neural
125
+ networks, transformer models, diffusion models, and any future AI technologies
126
+ regardless of their architecture or methodology.
127
+
128
+ This prohibition is perpetual and survives any termination or expiration of
129
+ this license agreement.
130
+
131
+ ================================================================================
132
+
133
+ SUBSCRIPTION REQUIREMENT
134
+
135
+ This license is valid only while you maintain an active, paid subscription to
136
+ the Three.js Blocks service. Upon expiration or termination of your
137
+ subscription:
138
+
139
+ 1. Your license to use this software immediately and automatically terminates
140
+ 2. You must immediately cease all use of the software
141
+ 3. You must remove the software from all projects, systems, and deployments
142
+ 4. You must not deploy, distribute, or make available any applications
143
+ containing this software
144
+ 5. You must delete all copies of this software in your possession or control
145
+
146
+ Failure to comply with these requirements constitutes copyright infringement
147
+ and breach of contract, and may result in legal action.
148
+
149
+ ================================================================================
150
+
151
+ PACKAGE-SPECIFIC NOTES
152
+
153
+ @three-blocks/core:
154
+ - Core library with proprietary algorithms and implementations
155
+ - Protected by code obfuscation and this license
156
+ - Subscription required
157
+
158
+ @three-blocks/pro:
159
+ - Advanced physics engine with proprietary implementations
160
+ - Worker-based architecture with SharedArrayBuffer
161
+ - Protected by code obfuscation and this license
162
+ - Subscription required
163
+
164
+ @three-blocks/starter:
165
+ - Starter template for building Three.js applications
166
+ - Includes licensed code and dependencies on @three-blocks/core
167
+ - Subscription required
168
+
169
+ create-three-blocks-starter:
170
+ - Scaffolding tool for creating new projects
171
+ - Publicly available for convenience but proprietary
172
+ - Creates projects that require subscription
173
+
174
+ ================================================================================
175
+
176
+ ENFORCEMENT
177
+
178
+ Unauthorized use, reproduction, distribution, reverse engineering, sublicensing,
179
+ or violation of the AI/ML prohibition is strictly prohibited and may result in:
180
+
181
+ * Immediate termination of your license and subscription without refund
182
+ * Legal action for copyright infringement
183
+ * Legal action for breach of contract
184
+ * Claims for damages, including actual damages, lost profits, and statutory
185
+ damages where available
186
+ * Recovery of attorneys' fees and costs of enforcement
187
+ * Injunctive relief to prevent further unauthorized use
188
+ * Civil liability under applicable copyright, trade secret, and contract law
189
+ * Criminal penalties under applicable law, including but not limited to the
190
+ Computer Fraud and Abuse Act (CFAA) and equivalent international statutes
191
+
192
+ We employ various technical and legal measures to detect unauthorized use,
193
+ including but not limited to code fingerprinting, license validation, usage
194
+ analytics, and regular compliance audits. We reserve the right to pursue all
195
+ available legal remedies against violators.
196
+
197
+ ================================================================================
198
+
199
+ INDEMNIFICATION
200
+
201
+ You agree to indemnify, defend, and hold harmless three-blocks, its affiliates,
202
+ officers, directors, employees, and agents from and against any and all claims,
203
+ damages, obligations, losses, liabilities, costs, and expenses (including
204
+ reasonable attorneys' fees) arising from: (a) your use of the software;
205
+ (b) your violation of any term of this license; (c) your violation of any
206
+ third-party right, including any intellectual property or privacy right; or
207
+ (d) any claim that your use of the software caused damage to a third party.
208
+
209
+ ================================================================================
210
+
211
+ ACCEPTANCE OF TERMS
212
+
213
+ By downloading, installing, copying, accessing, or otherwise using this
214
+ software, you acknowledge that you have read, understood, and agree to be
215
+ bound by the complete terms of this license agreement.
216
+
217
+ If you do not agree to these terms, you are not authorized to use, access,
218
+ download, install, or copy this software.
219
+
220
+ If you are accepting these terms on behalf of an organization, you represent
221
+ and warrant that you have the authority to bind that organization to these
222
+ terms.
223
+
224
+ ================================================================================
225
+
226
+ DISCLAIMER OF WARRANTY
227
+
228
+ THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
229
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
230
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NONINFRINGEMENT.
231
+
232
+ THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU.
233
+ SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
234
+ SERVICING, REPAIR, OR CORRECTION.
235
+
236
+ ================================================================================
237
+
238
+ LIMITATION OF LIABILITY
239
+
240
+ IN NO EVENT SHALL THREE-BLOCKS, ITS AFFILIATES, LICENSORS, OR SUPPLIERS BE
241
+ LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, PUNITIVE, OR
242
+ EXEMPLARY DAMAGES, INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS OF PROFITS,
243
+ GOODWILL, USE, DATA, OR OTHER INTANGIBLE LOSSES, ARISING OUT OF OR IN
244
+ CONNECTION WITH THIS LICENSE OR THE USE OR INABILITY TO USE THE SOFTWARE,
245
+ EVEN IF THREE-BLOCKS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
246
+
247
+ IN NO EVENT SHALL THREE-BLOCKS'S TOTAL CUMULATIVE LIABILITY TO YOU FOR ALL
248
+ CLAIMS ARISING OUT OF OR RELATED TO THIS LICENSE OR THE SOFTWARE EXCEED THE
249
+ AMOUNTS PAID BY YOU TO THREE-BLOCKS FOR THE SOFTWARE DURING THE TWELVE (12)
250
+ MONTHS IMMEDIATELY PRECEDING THE EVENT GIVING RISE TO LIABILITY.
251
+
252
+ SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
253
+ CONSEQUENTIAL DAMAGES, SO THE ABOVE LIMITATIONS MAY NOT APPLY TO YOU.
254
+
255
+ ================================================================================
256
+
257
+ SEVERABILITY
258
+
259
+ If any provision of this license is held to be unenforceable or invalid, that
260
+ provision shall be enforced to the maximum extent possible, and the other
261
+ provisions shall remain in full force and effect.
262
+
263
+ ================================================================================
264
+
265
+ WAIVER
266
+
267
+ The failure of three-blocks to enforce any right or provision of this license
268
+ shall not constitute a waiver of such right or provision. No waiver of any
269
+ term of this license shall be deemed a further or continuing waiver of such
270
+ term or any other term.
271
+
272
+ ================================================================================
273
+
274
+ ENTIRE AGREEMENT
275
+
276
+ This license constitutes the entire agreement between you and three-blocks
277
+ regarding the software and supersedes all prior agreements, understandings,
278
+ and communications, whether written or oral, regarding the subject matter
279
+ hereof.
280
+
281
+ ================================================================================
282
+
283
+ CONTACT AND COMPLIANCE
284
+
285
+ For licensing inquiries, subscription management, and compliance questions:
286
+
287
+ Web: https://threejs-blocks.com/license
288
+ Email: support@threejs-blocks.com
289
+
290
+ For license violations or to report unauthorized use:
291
+ Email: legal@threejs-blocks.com
292
+
293
+ ================================================================================
294
+
295
+ GOVERNING LAW AND JURISDICTION
296
+
297
+ This license shall be governed by and construed in accordance with the laws
298
+ of Japan, without regard to its conflict of law provisions. Any dispute arising
299
+ out of or relating to this license or the software shall be subject to the
300
+ exclusive jurisdiction of the courts located in Tokyo, Japan, and you hereby
301
+ consent to the personal jurisdiction of such courts.
302
+
303
+ ================================================================================
304
+
305
+ Last Updated: January 2026
306
+ Version: 2.0
307
+
package/README.md CHANGED
@@ -8,7 +8,7 @@ Authenticate to the private registry first (one time per project):
8
8
 
9
9
  ```bash
10
10
  # Using pnpm (recommended - no warnings)
11
- pnpm dlx three-blocks-login@latest@latest --mode project --scope @three-blocks --channel stable
11
+ npx -y three-blocks-login@latest@latest --mode project --scope @three-blocks --channel stable
12
12
 
13
13
  # Using npx (may show harmless npm config warnings)
14
14
  npx -y three-blocks-login@latest --mode project --scope @three-blocks --channel stable
@@ -75,6 +75,6 @@ pnpm --filter create-three-blocks-starter run dev:sync
75
75
  ## Publish
76
76
 
77
77
  ```bash
78
- pnpm dlx three-blocks-login@latest --mode project --scope @three-blocks
78
+ npx -y three-blocks-login@latest --mode project --scope @three-blocks
79
79
  pnpm --filter create-three-blocks-starter publish --access restricted
80
80
  ```