Skip to content

Commit

Permalink
Merge pull request #432 from alephium/clean-template
Browse files Browse the repository at this point in the history
Clean templates
  • Loading branch information
polarker authored Oct 16, 2024
2 parents baf4e24 + 9e048e6 commit 73eea64
Show file tree
Hide file tree
Showing 30 changed files with 3 additions and 808 deletions.
13 changes: 0 additions & 13 deletions packages/cli/.editorconfig

This file was deleted.

2 changes: 0 additions & 2 deletions packages/cli/.eslintignore

This file was deleted.

1 change: 0 additions & 1 deletion packages/cli/.gitattributes

This file was deleted.

7 changes: 0 additions & 7 deletions packages/cli/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions packages/cli/contracts/greeter/greeter.ral

This file was deleted.

3 changes: 0 additions & 3 deletions packages/cli/contracts/greeter/greeter_interface.ral

This file was deleted.

7 changes: 0 additions & 7 deletions packages/cli/contracts/greeter_main.ral

This file was deleted.

53 changes: 0 additions & 53 deletions packages/cli/devnet-user.conf

This file was deleted.

17 changes: 0 additions & 17 deletions packages/cli/jest-config.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
".": "./dist/index.js"
},
"scripts": {
"build": "rm -rf dist/* && npx tsc --build . && node scripts/copy-template.js"
"build": "rm -rf dist/* && npx tsc --build ."
},
"bin": "cli.js",
"type": "commonjs",
Expand Down
3 changes: 0 additions & 3 deletions packages/cli/scripts/copy-template.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/cli/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function getConfigFile(): string {
if (fs.existsSync(jsConfig)) {
return jsConfig
}
return path.join(__dirname, '../templates/base/alephium.config.ts')
throw new Error('No config file `alephium.config.ts` or `alephium.config.js` found')
}

export async function isNetworkLive(url: string): Promise<boolean> {
Expand Down
16 changes: 0 additions & 16 deletions packages/cli/templates/base/.eslintrc.json

This file was deleted.

25 changes: 0 additions & 25 deletions packages/cli/templates/base/README.md

This file was deleted.

50 changes: 0 additions & 50 deletions packages/cli/templates/base/alephium.config.ts

This file was deleted.

69 changes: 0 additions & 69 deletions packages/cli/templates/base/contracts/token.ral

This file was deleted.

8 changes: 0 additions & 8 deletions packages/cli/templates/base/contracts/withdraw.ral

This file was deleted.

48 changes: 0 additions & 48 deletions packages/cli/templates/base/package.json

This file was deleted.

30 changes: 0 additions & 30 deletions packages/cli/templates/base/scripts/0_deploy_faucet.ts

This file was deleted.

Loading

0 comments on commit 73eea64

Please sign in to comment.