Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrp13 committed Jan 22, 2024
2 parents 99baea9 + 84bd04d commit af1f9e2
Show file tree
Hide file tree
Showing 12 changed files with 6,618 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@

# Output files
/dist
/.template-dev
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dist"
],
"scripts": {
"template-dev": "node scripts/template_dev/ejs_dev_script.js",
"dev": "yarn clean && tsc-watch --onSuccess \"yarn build-dev\"",
"build-dev": "yarn clean && tsc && tsc-alias && copyfiles \"compiled/*/+(LICENSE|package.json)\" dist",
"build": "yarn clean && tsc && tsc-alias && copyfiles \"compiled/*/+(LICENSE|package.json)\" dist && ./scripts/minify.ts",
Expand All @@ -34,6 +35,7 @@
"@types/react": "^17.0.0",
"@types/react-is": "^17.0.0",
"@types/tar": "^4.0.4",
"@types/watch": "^1.0.6",
"@types/yargs-parser": "^20.2.0",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@vercel/ncc": "^0.36.1",
Expand Down Expand Up @@ -67,6 +69,7 @@
"tsc-alias": "^1.5.0",
"tsc-watch": "^4.2.9",
"typescript": "^4.1.2",
"watch": "^1.0.2",
"wrap-ansi": "^7.0.0",
"yargs-parser": "^20.2.4"
},
Expand Down
30 changes: 30 additions & 0 deletions scaffolds/dev-data.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
export const templateDevData = {
'nextjs-dedicated-wallet': {
network: 'ethereum-goerli',
publishableApiKey: 'pk_live_FD2D70B32ABE11BD',
loginMethods: ['EmailOTP', 'SMSOTP'],
projectName: 'My Dedicated Wallet',
},
'nextjs-flow-dedicated-wallet': {
network: 'flow-testnet',
publishableApiKey: 'pk_live_FD2D70B32ABE11BD',
loginMethods: ['EmailOTP', 'SMSOTP'],
projectName: 'My Flow Dedicated Wallet',
},
'nextjs-flow-universal-wallet': {
network: 'flow-testnet',
publishableApiKey: 'pk_live_8D6C562ABCA3140A',
projectName: 'My Flow Universal Wallet',
},
'nextjs-solana-dedicated-wallet': {
network: 'solana-devnet',
publishableApiKey: 'pk_live_FD2D70B32ABE11BD',
loginMethods: ['EmailOTP', 'SMSOTP'],
projectName: 'My Solana Dedicated Wallet',
},
'nextjs-universal-wallet': {
network: 'ethereum-goerli',
publishableApiKey: 'pk_live_8D6C562ABCA3140A',
projectName: 'My Universal Wallet',
},
};
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Flags } from 'core/flags';
import BaseScaffold, { ExecaCommand } from 'core/types/BaseScaffold';
import { AuthTypePrompt, BlockchainNetworkPrompt, PublishableApiKeyPrompt } from 'scaffolds/prompts';
import { Flags } from '../../core/flags';
import BaseScaffold, { ExecaCommand } from '../../core/types/BaseScaffold';
import { AuthTypePrompt, BlockchainNetworkPrompt, PublishableApiKeyPrompt } from '../../scaffolds/prompts';

export type Data = BlockchainNetworkPrompt.Data & PublishableApiKeyPrompt.Data & AuthTypePrompt.Data;

Expand Down
Loading

0 comments on commit af1f9e2

Please sign in to comment.