sandstone-cli 2.0.1 → 2.0.2
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/bun.lock +1 -1
- package/lib/create.d.ts +1 -1
- package/lib/create.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/shared.js +1 -1
- package/package.json +1 -1
- package/src/create.ts +1 -1
- package/src/index.ts +2 -1
- package/src/shared.ts +1 -1
package/bun.lock
CHANGED
package/lib/create.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
2
|
export {};
|
package/lib/create.js
CHANGED
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
1
2
|
import { Argument, Command } from 'commander';
|
|
2
3
|
import figlet from 'figlet';
|
|
3
4
|
import { buildCommand, createCommand, watchCommand, installNativeCommand, installVanillaCommand, uninstallVanillaCommand, refreshCommand } from './commands/index.js';
|
|
@@ -5,7 +6,7 @@ import { BuildDeclares } from './shared.js';
|
|
|
5
6
|
const commander = new Command();
|
|
6
7
|
console.log(figlet.textSync('Sandstone'));
|
|
7
8
|
const CLI = commander
|
|
8
|
-
.version('2.0.
|
|
9
|
+
.version('2.0.2', '-v, --version')
|
|
9
10
|
.description('The CLI for Sandstone - the minecraft pack creation library.');
|
|
10
11
|
const build = CLI
|
|
11
12
|
.command('build')
|
package/lib/shared.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const BuildDeclares = {
|
|
2
2
|
// Flags
|
|
3
3
|
dry: ['-d, --dry', 'Do not save the pack. Mostly useful with `verbose`.'],
|
|
4
|
-
verbose: ['-
|
|
4
|
+
verbose: ['-f, --verbose', 'Fully log all resulting resources: functions, advancements...'],
|
|
5
5
|
root: ['-r, --root', 'Save the pack & resource pack in the .minecraft/datapacks & .minecraft/resource_packs folders. Override the value specified in the configuration file.'],
|
|
6
6
|
fullTrace: ['-t, --full-trace', 'Show the full stack trace on errors.'],
|
|
7
7
|
strictErrors: ['-s, --strict-errors', 'Stop pack compilation on type errors.'],
|
package/package.json
CHANGED
package/src/create.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
1
2
|
import { Argument, Command } from 'commander'
|
|
2
3
|
import figlet from 'figlet'
|
|
3
4
|
import { buildCommand, createCommand, watchCommand, installNativeCommand, installVanillaCommand, uninstallVanillaCommand, refreshCommand } from './commands/index.js'
|
|
@@ -8,7 +9,7 @@ const commander = new Command()
|
|
|
8
9
|
console.log(figlet.textSync('Sandstone'));
|
|
9
10
|
|
|
10
11
|
const CLI = commander
|
|
11
|
-
.version('2.0.
|
|
12
|
+
.version('2.0.2', '-v, --version')
|
|
12
13
|
.description('The CLI for Sandstone - the minecraft pack creation library.')
|
|
13
14
|
|
|
14
15
|
const build = CLI
|
package/src/shared.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const BuildDeclares = {
|
|
2
2
|
// Flags
|
|
3
3
|
dry: ['-d, --dry', 'Do not save the pack. Mostly useful with `verbose`.'],
|
|
4
|
-
verbose: ['-
|
|
4
|
+
verbose: ['-f, --verbose', 'Fully log all resulting resources: functions, advancements...'],
|
|
5
5
|
root: ['-r, --root', 'Save the pack & resource pack in the .minecraft/datapacks & .minecraft/resource_packs folders. Override the value specified in the configuration file.'],
|
|
6
6
|
fullTrace: ['-t, --full-trace', 'Show the full stack trace on errors.'],
|
|
7
7
|
strictErrors: ['-s, --strict-errors', 'Stop pack compilation on type errors.'],
|