create-riebeckite 0.0.5 → 0.0.7
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/README.md +3 -1
- package/README_ja.md +1 -1
- package/bin/create-riebeckite.mjs +4 -4
- package/dist/src/index.js +2 -5
- package/package.json +2 -2
package/README.md
CHANGED
package/README_ja.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { runCreateRiebeckite } from "../dist/src/index.js";
|
|
3
|
-
|
|
4
|
-
await runCreateRiebeckite(process.argv.slice(2));
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { runCreateRiebeckite } from "../dist/src/index.js";
|
|
3
|
+
|
|
4
|
+
await runCreateRiebeckite(process.argv.slice(2));
|
package/dist/src/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import {
|
|
4
|
+
formatScaffoldNextSteps,
|
|
4
5
|
isScaffoldPresetName,
|
|
5
6
|
SCAFFOLD_PRESET_NAMES,
|
|
6
7
|
ScaffoldSiteError,
|
|
@@ -30,11 +31,7 @@ async function runCreateRiebeckite(arguments_) {
|
|
|
30
31
|
const relative = path.relative(process.cwd(), result.targetDirectory) || ".";
|
|
31
32
|
console.log(`Created a ${options.preset} Riebeckite site in ${relative}`);
|
|
32
33
|
console.log("");
|
|
33
|
-
console.log(
|
|
34
|
-
if (relative !== ".") console.log(` cd ${relative}`);
|
|
35
|
-
console.log(" npm install");
|
|
36
|
-
console.log(" npx riebeckite check");
|
|
37
|
-
console.log(" npx riebeckite build");
|
|
34
|
+
console.log(formatScaffoldNextSteps(relative));
|
|
38
35
|
} catch (error) {
|
|
39
36
|
if (error instanceof ScaffoldSiteError) {
|
|
40
37
|
console.error(error.message);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-riebeckite",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/src/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@riebeckite/honox": "0.0.
|
|
30
|
+
"@riebeckite/honox": "0.0.7"
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|