rebar-js 1.0.5 → 1.1.0
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/bin/project.js +0 -0
- package/dist/index.js +6 -2
- package/package.json +59 -59
package/bin/project.js
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -1280,10 +1280,14 @@ var mapper = {
|
|
|
1280
1280
|
};
|
|
1281
1281
|
|
|
1282
1282
|
// src/index.ts
|
|
1283
|
+
import cfonts from "cfonts";
|
|
1283
1284
|
var program = new Command();
|
|
1284
|
-
program.name("Rebar").description("Interactive CLI for scaffolding JavaScript and TypeScript projects across multiple frameworks.").version("1.0
|
|
1285
|
+
program.name("Rebar").description("Interactive CLI for scaffolding JavaScript and TypeScript projects across multiple frameworks.").version("1.1.0");
|
|
1285
1286
|
program.command("init").description("choose a template to start").action(async () => {
|
|
1286
|
-
|
|
1287
|
+
cfonts.say("REBAR", {
|
|
1288
|
+
font: "block",
|
|
1289
|
+
colors: ["cyan"]
|
|
1290
|
+
});
|
|
1287
1291
|
info(`Let's scaffold your project! Answer a few questions to get started.
|
|
1288
1292
|
`);
|
|
1289
1293
|
const manager = await choosePackageManager();
|
package/package.json
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "rebar-js",
|
|
3
|
-
"version": "1.0
|
|
4
|
-
"description": "Interactive CLI for scaffolding JavaScript and TypeScript projects across multiple frameworks.",
|
|
5
|
-
"bin": {
|
|
6
|
-
"rebar-js": "./bin/project.js"
|
|
7
|
-
},
|
|
8
|
-
"files": [
|
|
9
|
-
"bin/",
|
|
10
|
-
"dist/"
|
|
11
|
-
],
|
|
12
|
-
"engines": {
|
|
13
|
-
"node": ">=20"
|
|
14
|
-
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "git+https://github.com/prncexe/rebar.git"
|
|
18
|
-
},
|
|
19
|
-
"bugs": {
|
|
20
|
-
"url": "https://github.com/prncexe/rebar/issues"
|
|
21
|
-
},
|
|
22
|
-
"homepage": "https://github.com/prncexe/rebar#readme",
|
|
23
|
-
"keywords": [
|
|
24
|
-
"scaffold",
|
|
25
|
-
"cli",
|
|
26
|
-
"nextjs",
|
|
27
|
-
"vite",
|
|
28
|
-
"express",
|
|
29
|
-
"expo",
|
|
30
|
-
"electron",
|
|
31
|
-
"typescript"
|
|
32
|
-
],
|
|
33
|
-
"author": "prncexe",
|
|
34
|
-
"license": "ISC",
|
|
35
|
-
"type": "module",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "rebar-js",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Interactive CLI for scaffolding JavaScript and TypeScript projects across multiple frameworks.",
|
|
5
|
+
"bin": {
|
|
6
|
+
"rebar-js": "./bin/project.js"
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"bin/",
|
|
10
|
+
"dist/"
|
|
11
|
+
],
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=20"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/prncexe/rebar.git"
|
|
18
|
+
},
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/prncexe/rebar/issues"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/prncexe/rebar#readme",
|
|
23
|
+
"keywords": [
|
|
24
|
+
"scaffold",
|
|
25
|
+
"cli",
|
|
26
|
+
"nextjs",
|
|
27
|
+
"vite",
|
|
28
|
+
"express",
|
|
29
|
+
"expo",
|
|
30
|
+
"electron",
|
|
31
|
+
"typescript"
|
|
32
|
+
],
|
|
33
|
+
"author": "prncexe",
|
|
34
|
+
"license": "ISC",
|
|
35
|
+
"type": "module",
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@inquirer/prompts": "^8.4.2",
|
|
38
|
+
"cfonts": "^3.3.1",
|
|
39
|
+
"commander": "^14.0.3"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@eslint/js": "^10.0.1",
|
|
43
|
+
"@types/node": "^25.6.2",
|
|
44
|
+
"eslint": "^10.3.0",
|
|
45
|
+
"globals": "^17.6.0",
|
|
46
|
+
"jiti": "^2.7.0",
|
|
47
|
+
"tsup": "^8.5.1",
|
|
48
|
+
"tsx": "^4.21.0",
|
|
49
|
+
"typescript": "^5.9.3",
|
|
50
|
+
"typescript-eslint": "^8.59.2"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"build": "tsup src/index.ts --format esm --out-dir dist --clean",
|
|
54
|
+
"typecheck": "tsc --noEmit",
|
|
55
|
+
"lint": "eslint .",
|
|
56
|
+
"lint:fix": "eslint . --fix",
|
|
57
|
+
"dev": "tsx src/index.ts"
|
|
58
|
+
}
|
|
59
|
+
}
|