Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
npv2k1 committed Jul 6, 2023
1 parent ee5920e commit b758869
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 542 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# PNTool
# Create PNStack

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-pnstack",
"version": "0.0.3-beta.3",
"version": "0.0.4",
"type": "module",
"license": "MIT",
"author": "Nguyen Pham",
Expand All @@ -25,12 +25,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/pnstack/pntool.git"
"url": "git+https://github.com/pnstack/create-pnstack.git"
},
"bugs": {
"url": "https://github.com/pnstack/pntool/issues"
"url": "https://github.com/pnstack/create-pnstack/issues"
},
"homepage": "https://github.com/pnstack/pntool",
"homepage": "https://github.com/pnstack/create-pnstack",
"devDependencies": {
"@types/cross-spawn": "^6.0.2",
"@types/minimist": "^1.2.2",
Expand Down
36 changes: 28 additions & 8 deletions src/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,40 @@ export type FrameworkVariant = {

export const FRAMEWORKS: Framework[] = [
{
name: "vanilla",
display: "Vanilla",
name: "base",
display: "base",
color: yellow,
type: "node",
variants: [
{
name: "vanilla-ts",
display: "TypeScript",
name: "base-project",
display: "Base Project",
color: blue,
},
],
},
{
name: "nestjs",
display: "NestJS",
color: cyan,
variants: [
{
name: "nestjs-cli",
display: "nestjs-cli ↗",
color: magenta,
customCommand: "npx @nestjs/cli TARGET_DIR",
},
],
},
{
name: "nextjs",
display: "NestJS",
color: magenta,
variants: [
{
name: "vanilla",
display: "JavaScript",
color: yellow,
name: "create-next-app",
display: "create-next-app ↗",
color: magenta,
customCommand: "npx create-next-app@latest TARGET_DIR",
},
],
},
Expand Down
1 change: 1 addition & 0 deletions templates/template-base-project/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Base Project
24 changes: 0 additions & 24 deletions templates/template-vanilla-ts/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions templates/template-vanilla-ts/index.html

This file was deleted.

15 changes: 0 additions & 15 deletions templates/template-vanilla-ts/package.json

This file was deleted.

Loading

0 comments on commit b758869

Please sign in to comment.