sandstone-cli 1.0.5 → 1.0.6
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/package.json +2 -2
- package/src/commands/create.ts +1 -1
package/lib/commands/create.js
CHANGED
|
@@ -26,7 +26,7 @@ export async function createCommand(_project, opts) {
|
|
|
26
26
|
default: false,
|
|
27
27
|
})).projectType) === true ? 'library' : 'pack';
|
|
28
28
|
const sv = (v) => new SemVer(v);
|
|
29
|
-
const versions = [[sv('0.13.6'), sv('0.5.4')], [sv('0.14.0-alpha.13'), sv('0.5.4')], [sv('1.0.0-alpha.
|
|
29
|
+
const versions = [[sv('0.13.6'), sv('0.5.4')], [sv('0.14.0-alpha.13'), sv('0.5.4')], [sv('1.0.0-alpha.3'), sv('1.0.6')]];
|
|
30
30
|
const stableIndex = 0;
|
|
31
31
|
const { version } = await inquirer.prompt({
|
|
32
32
|
name: 'version',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sandstone-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "The CLI for Sandstone - the minecraft pack creation library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./lib/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://github.com/sandstone-mc/sandstone-cli#readme",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@types/node": "^20.8.
|
|
44
|
+
"@types/node": "^20.8.7",
|
|
45
45
|
"adm-zip": "^0.5.10",
|
|
46
46
|
"chalk": "^5.3.0",
|
|
47
47
|
"chalk-template": "^1.1.0",
|
package/src/commands/create.ts
CHANGED
|
@@ -45,7 +45,7 @@ export async function createCommand(_project: string, opts: CreateOptions) {
|
|
|
45
45
|
|
|
46
46
|
const sv = (v: string) => new SemVer(v)
|
|
47
47
|
|
|
48
|
-
const versions = [[sv('0.13.6'), sv('0.5.4')], [sv('0.14.0-alpha.13'), sv('0.5.4')], [sv('1.0.0-alpha.
|
|
48
|
+
const versions = [[sv('0.13.6'), sv('0.5.4')], [sv('0.14.0-alpha.13'), sv('0.5.4')], [sv('1.0.0-alpha.3'), sv('1.0.6')]] as const
|
|
49
49
|
|
|
50
50
|
const stableIndex = 0
|
|
51
51
|
|