-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
7,235 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: autofix.ci # needed to securely identify the workflow | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: ['main', 'next'] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
autofix: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: corepack enable | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
- run: pnpm install | ||
- run: pnpm lint:fix | ||
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c | ||
with: | ||
commit-message: 'chore: apply automated updates' |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- next | ||
pull_request: | ||
branches: | ||
- main | ||
- next | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: corepack enable | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
- run: pnpm install | ||
- run: pnpm lint | ||
- run: pnpm test:types | ||
- run: pnpm build | ||
- run: pnpm vitest --coverage |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import unjs from 'eslint-config-unjs' | ||
|
||
export default unjs({ | ||
ignores: [ | ||
// ignore paths | ||
'tmp', | ||
], | ||
rules: { | ||
// rule overrides | ||
'unicorn/no-array-reduce': 'off', | ||
'unicorn/no-process-exit': 'off', | ||
'unicorn/prefer-top-level-await': 'off', | ||
}, | ||
markdown: { | ||
rules: { | ||
// markdown rule overrides | ||
}, | ||
}, | ||
}) |
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 |
---|---|---|
@@ -0,0 +1,101 @@ | ||
{ | ||
"name": "create-solana-dapp", | ||
"version": "0.0.4", | ||
"description": "Get up and running fast with Solana dApps", | ||
"repository": { | ||
"name": "solana-developers/create-solana-dapp", | ||
"type": "git", | ||
"url": "https://github.com/solana-developers/create-solana-dapp" | ||
}, | ||
"homepage": "https://github.com/solana-developers/create-solana-dapp#readme", | ||
"bugs": { | ||
"url": "https://github.com/solana-developers/create-solana-dapp/issues" | ||
}, | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"type": "module", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
} | ||
}, | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"bin": { | ||
"create-solana-dapp": "./dist/bin/index.cjs" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "unbuild", | ||
"build:watch": "unbuild --watch", | ||
"dev": "vitest dev", | ||
"lint": "eslint . && prettier -c .", | ||
"lint:fix": "automd && eslint . --fix && prettier -w .", | ||
"prepack": "pnpm build", | ||
"play": "jiti playground", | ||
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags", | ||
"test": "pnpm lint && pnpm test:types && vitest run --coverage", | ||
"test:types": "tsc --noEmit --skipLibCheck" | ||
}, | ||
"devDependencies": { | ||
"@types/mock-fs": "^4.13.4", | ||
"@types/node": "^22.1.0", | ||
"@types/semver": "^7.5.8", | ||
"@vitest/coverage-v8": "^2.0.5", | ||
"automd": "^0.3.8", | ||
"changelogen": "^0.5.5", | ||
"eslint": "^9.8.0", | ||
"eslint-config-unjs": "^0.3.2", | ||
"jiti": "^2.0.0-beta.3", | ||
"prettier": "^3.3.3", | ||
"typescript": "^5.5.4", | ||
"unbuild": "^3.0.0-rc.7", | ||
"vitest": "^2.0.5" | ||
}, | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"@changesets/cli": "^2.27.8", | ||
"@clack/prompts": "^0.7.0", | ||
"commander": "^12.1.0", | ||
"execa": "^9.3.1", | ||
"giget": "^1.2.3", | ||
"mock-fs": "^5.2.0", | ||
"picocolors": "^1.0.1", | ||
"semver": "^7.6.3", | ||
"zod": "^3.23.8" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Joe Caulfield", | ||
"url": "https://github.com/jpcaulfi" | ||
}, | ||
{ | ||
"name": "Jacob Creech", | ||
"url": "https://github.com/jacobcreech" | ||
}, | ||
{ | ||
"name": "Nick Frostbutter", | ||
"url": "https://github.com/nickfrosty" | ||
}, | ||
{ | ||
"name": "Bram Borggreve", | ||
"url": "https://github.com/beeman" | ||
} | ||
], | ||
"keywords": [ | ||
"solana", | ||
"next", | ||
"react", | ||
"web3", | ||
"blockchain", | ||
"nft" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { test } from '../src' | ||
|
||
console.log(test()) |
Oops, something went wrong.