-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: rename app-name property to web-name
- Loading branch information
Showing
17 changed files
with
65 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ async function main() { | |
{ | ||
anchor: args.anchor, | ||
anchorName: args.anchorName, | ||
appName: args.appName, | ||
commit: { | ||
name: 'Solana Developers', | ||
email: '[email protected]', | ||
|
@@ -32,6 +31,7 @@ async function main() { | |
nxCloud: false, | ||
packageManager: args.packageManager, | ||
ui: args.ui, | ||
webName: args.webName, | ||
}, | ||
async () => { | ||
s.stop('Workspace created.') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,14 @@ exports[`get-args expected args should get args with minimal parameters 1`] = ` | |
"anchor": "counter", | ||
"anchorBuild": false, | ||
"anchorName": "anchor", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "npm", | ||
"pnpm": false, | ||
"preset": "next", | ||
"ui": "tailwind", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; | ||
|
@@ -22,14 +22,14 @@ exports[`get-args expected args should get args with minimal parameters and pack | |
"anchor": "counter", | ||
"anchorBuild": false, | ||
"anchorName": "anchor", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "npm", | ||
"pnpm": false, | ||
"preset": "next", | ||
"ui": "tailwind", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; | ||
|
@@ -39,14 +39,14 @@ exports[`get-args expected args should get args with minimal parameters and pack | |
"anchor": "counter", | ||
"anchorBuild": false, | ||
"anchorName": "anchor", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "pnpm", | ||
"pnpm": false, | ||
"preset": "next", | ||
"ui": "tailwind", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; | ||
|
@@ -56,14 +56,14 @@ exports[`get-args expected args should get args with minimal parameters and pack | |
"anchor": "counter", | ||
"anchorBuild": false, | ||
"anchorName": "anchor", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "yarn", | ||
"pnpm": false, | ||
"preset": "next", | ||
"ui": "tailwind", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; | ||
|
@@ -73,14 +73,14 @@ exports[`get-args expected args should get args with preset: --preset next --ui | |
"anchor": "counter", | ||
"anchorBuild": false, | ||
"anchorName": "anchor", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "npm", | ||
"pnpm": false, | ||
"preset": "next", | ||
"ui": "tailwind", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; | ||
|
@@ -90,14 +90,14 @@ exports[`get-args expected args should get args with preset: --preset react --an | |
"anchor": "counter", | ||
"anchorBuild": false, | ||
"anchorName": "program", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "npm", | ||
"pnpm": false, | ||
"preset": "react", | ||
"ui": "tailwind", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; | ||
|
@@ -107,14 +107,14 @@ exports[`get-args expected args should get args with preset: --preset react --an | |
"anchor": "none", | ||
"anchorBuild": false, | ||
"anchorName": "program", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "pnpm", | ||
"pnpm": true, | ||
"preset": "react", | ||
"ui": "none", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; | ||
|
@@ -124,14 +124,14 @@ exports[`get-args expected args should get args with preset: --preset react --an | |
"anchor": "none", | ||
"anchorBuild": false, | ||
"anchorName": "program", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "yarn", | ||
"pnpm": false, | ||
"preset": "react", | ||
"ui": "none", | ||
"webName": "web", | ||
"yarn": true, | ||
} | ||
`; | ||
|
@@ -141,14 +141,14 @@ exports[`get-args expected args should get args with preset: --preset react --an | |
"anchor": "none", | ||
"anchorBuild": false, | ||
"anchorName": "anchor", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "npm", | ||
"pnpm": false, | ||
"preset": "react", | ||
"ui": "none", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; | ||
|
@@ -158,14 +158,14 @@ exports[`get-args expected args should get args with preset: --preset react --ui | |
"anchor": "counter", | ||
"anchorBuild": false, | ||
"anchorName": "anchor", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "npm", | ||
"pnpm": false, | ||
"preset": "react", | ||
"ui": "tailwind", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; | ||
|
@@ -175,14 +175,14 @@ exports[`get-args expected args should get args with preset: --preset=react --an | |
"anchor": "counter", | ||
"anchorBuild": true, | ||
"anchorName": "program", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "npm", | ||
"pnpm": false, | ||
"preset": "react", | ||
"ui": "tailwind", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; | ||
|
@@ -192,14 +192,14 @@ exports[`get-args expected args should get args with preset: --preset=react --an | |
"anchor": "counter", | ||
"anchorBuild": false, | ||
"anchorName": "program", | ||
"appName": "web", | ||
"dryRun": false, | ||
"name": "my-app", | ||
"package": "@solana-developers/[email protected]", | ||
"packageManager": "npm", | ||
"pnpm": false, | ||
"preset": "react", | ||
"ui": "tailwind", | ||
"webName": "web", | ||
"yarn": false, | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.