sandstone-cli 2.0.3 → 2.0.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/lib/commands/create.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/commands/create.ts +1 -1
- package/src/index.ts +1 -1
package/lib/commands/create.js
CHANGED
|
@@ -24,7 +24,7 @@ export async function createCommand(_project, opts) {
|
|
|
24
24
|
default: false,
|
|
25
25
|
})) === true ? 'library' : 'pack';
|
|
26
26
|
const sv = (v) => new SemVer(v);
|
|
27
|
-
const versions = [[sv('1.0.0-beta.1'), sv('2.0.
|
|
27
|
+
const versions = [[sv('1.0.0-beta.1'), sv('2.0.4')]];
|
|
28
28
|
const version = await select({
|
|
29
29
|
message: 'Which version of Sandstone do you want to use? These are the only supported versions for new projects.',
|
|
30
30
|
choices: versions.map((v) => {
|
package/lib/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { BuildDeclares } from './shared.js';
|
|
|
6
6
|
const commander = new Command();
|
|
7
7
|
console.log(figlet.textSync('Sandstone'));
|
|
8
8
|
const CLI = commander
|
|
9
|
-
.version('2.0.
|
|
9
|
+
.version('2.0.4', '-v, --version')
|
|
10
10
|
.description('The CLI for Sandstone - the minecraft pack creation library.');
|
|
11
11
|
const build = CLI
|
|
12
12
|
.command('build')
|
package/package.json
CHANGED
package/src/commands/create.ts
CHANGED
|
@@ -42,7 +42,7 @@ export async function createCommand(_project: string, opts: CreateOptions) {
|
|
|
42
42
|
|
|
43
43
|
const sv = (v: string) => new SemVer(v)
|
|
44
44
|
|
|
45
|
-
const versions = [[sv('1.0.0-beta.1'), sv('2.0.
|
|
45
|
+
const versions = [[sv('1.0.0-beta.1'), sv('2.0.4')]] as const
|
|
46
46
|
|
|
47
47
|
const version = await select({
|
|
48
48
|
message: 'Which version of Sandstone do you want to use? These are the only supported versions for new projects.',
|
package/src/index.ts
CHANGED
|
@@ -9,7 +9,7 @@ const commander = new Command()
|
|
|
9
9
|
console.log(figlet.textSync('Sandstone'));
|
|
10
10
|
|
|
11
11
|
const CLI = commander
|
|
12
|
-
.version('2.0.
|
|
12
|
+
.version('2.0.4', '-v, --version')
|
|
13
13
|
.description('The CLI for Sandstone - the minecraft pack creation library.')
|
|
14
14
|
|
|
15
15
|
const build = CLI
|