hytopia 0.9.2 → 0.9.4
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/bin/scripts.js +17 -1
- package/docs/server.blocktypeoptions.lightlevel.md +1 -1
- package/docs/server.blocktypeoptions.md +1 -1
- package/package.json +1 -1
- package/server.api.json +1 -1
- package/server.d.ts +1 -1
- package/server.js +2 -2
package/bin/scripts.js
CHANGED
@@ -150,7 +150,23 @@ function installProjectDependencies() {
|
|
150
150
|
Deno.removeSync('main_test.ts');
|
151
151
|
|
152
152
|
// create deno.json with nodeModulesDir set to auto
|
153
|
-
Deno.writeTextFile('deno.json', JSON.stringify({
|
153
|
+
Deno.writeTextFile('deno.json', JSON.stringify({
|
154
|
+
nodeModulesDir: "auto",
|
155
|
+
}, null, 2));
|
156
|
+
|
157
|
+
// create tsconfig.json, used by validation bundler
|
158
|
+
Deno.writeTextFile('tsconfig.json', JSON.stringify({
|
159
|
+
compilerOptions: {
|
160
|
+
lib: ["ESNext"],
|
161
|
+
target: "ESNext",
|
162
|
+
module: "Preserve",
|
163
|
+
moduleResolution: "bundler",
|
164
|
+
types: ["deno.ns"],
|
165
|
+
verbatimModuleSyntax: true,
|
166
|
+
strict: true,
|
167
|
+
skipLibCheck: true
|
168
|
+
}
|
169
|
+
}, null, 2))
|
154
170
|
|
155
171
|
// create package.json
|
156
172
|
Deno.writeTextFile('package.json', JSON.stringify({
|
package/package.json
CHANGED
package/server.api.json
CHANGED
@@ -5543,7 +5543,7 @@
|
|
5543
5543
|
{
|
5544
5544
|
"kind": "PropertySignature",
|
5545
5545
|
"canonicalReference": "server!BlockTypeOptions#lightLevel:member",
|
5546
|
-
"docComment": "/**\n * The light emission level.\n */\n",
|
5546
|
+
"docComment": "/**\n * The light emission level, between 0 and 15.\n */\n",
|
5547
5547
|
"excerptTokens": [
|
5548
5548
|
{
|
5549
5549
|
"kind": "Content",
|
package/server.d.ts
CHANGED
@@ -662,7 +662,7 @@ export declare interface BlockTypeOptions {
|
|
662
662
|
halfExtents?: Vector3Like;
|
663
663
|
/** Whether the block type is a liquid. */
|
664
664
|
isLiquid?: boolean;
|
665
|
-
/** The light emission level. */
|
665
|
+
/** The light emission level, between 0 and 15. */
|
666
666
|
lightLevel?: number;
|
667
667
|
/** The name of the block type. */
|
668
668
|
name: string;
|