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 CHANGED
@@ -29,7 +29,7 @@
29
29
  "@types/fs-extra": "^11.0.2",
30
30
  "@types/react": "^19.2.10",
31
31
  "@types/semver": "^7.5.3",
32
- "sandstone": "^1.0.0-beta.1",
32
+ "sandstone": "1.0.0-beta.1",
33
33
  "typescript": "^5.2.2",
34
34
  },
35
35
  },
package/lib/create.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
  export {};
package/lib/create.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
  import { Argument, Command } from 'commander';
3
3
  import figlet from 'figlet';
4
4
  import { createCommand } from './commands/index.js';
package/lib/index.d.ts CHANGED
@@ -1 +1,2 @@
1
+ #!/usr/bin/env bun
1
2
  export {};
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.1')
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: ['-v, --verbose', 'Log all resulting resources: functions, advancements...'],
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sandstone-cli",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "The CLI for Sandstone - the minecraft pack creation library.",
5
5
  "type": "module",
6
6
  "exports": "./lib/index.js",
package/src/create.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
  import { Argument, Command } from 'commander'
3
3
  import figlet from 'figlet'
4
4
  import { createCommand } from './commands/index.js'
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.1')
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: ['-v, --verbose', 'Log all resulting resources: functions, advancements...'],
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.'],