Skip to content

Commit b758869

Browse files
committed
Update
1 parent ee5920e commit b758869

15 files changed

Lines changed: 35 additions & 542 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
# PNTool
1+
# Create PNStack
2+

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-pnstack",
3-
"version": "0.0.3-beta.3",
3+
"version": "0.0.4",
44
"type": "module",
55
"license": "MIT",
66
"author": "Nguyen Pham",
@@ -25,12 +25,12 @@
2525
},
2626
"repository": {
2727
"type": "git",
28-
"url": "git+https://github.com/pnstack/pntool.git"
28+
"url": "git+https://github.com/pnstack/create-pnstack.git"
2929
},
3030
"bugs": {
31-
"url": "https://github.com/pnstack/pntool/issues"
31+
"url": "https://github.com/pnstack/create-pnstack/issues"
3232
},
33-
"homepage": "https://github.com/pnstack/pntool",
33+
"homepage": "https://github.com/pnstack/create-pnstack",
3434
"devDependencies": {
3535
"@types/cross-spawn": "^6.0.2",
3636
"@types/minimist": "^1.2.2",

src/templates.ts

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,40 @@ export type FrameworkVariant = {
3131

3232
export const FRAMEWORKS: Framework[] = [
3333
{
34-
name: "vanilla",
35-
display: "Vanilla",
34+
name: "base",
35+
display: "base",
3636
color: yellow,
37-
type: "node",
3837
variants: [
3938
{
40-
name: "vanilla-ts",
41-
display: "TypeScript",
39+
name: "base-project",
40+
display: "Base Project",
4241
color: blue,
4342
},
43+
],
44+
},
45+
{
46+
name: "nestjs",
47+
display: "NestJS",
48+
color: cyan,
49+
variants: [
50+
{
51+
name: "nestjs-cli",
52+
display: "nestjs-cli ↗",
53+
color: magenta,
54+
customCommand: "npx @nestjs/cli TARGET_DIR",
55+
},
56+
],
57+
},
58+
{
59+
name: "nextjs",
60+
display: "NestJS",
61+
color: magenta,
62+
variants: [
4463
{
45-
name: "vanilla",
46-
display: "JavaScript",
47-
color: yellow,
64+
name: "create-next-app",
65+
display: "create-next-app ↗",
66+
color: magenta,
67+
customCommand: "npx create-next-app@latest TARGET_DIR",
4868
},
4969
],
5070
},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Base Project

templates/template-vanilla-ts/.gitignore

Lines changed: 0 additions & 24 deletions
This file was deleted.

templates/template-vanilla-ts/index.html

Lines changed: 0 additions & 13 deletions
This file was deleted.

templates/template-vanilla-ts/package.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)