2.2.2 • Published 12 months ago

@astar-network/swanky-templates v2.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Swanky templates

Templates used to generate Swanky projects as well as new ink! and ask! language contracts. Templates are parsed using Handlebars templating engine, and are passed the following object:

{
  project_name: string;
  author_name: string;
  author_email: string | undefined;
  swanky_version: string;
  contract_name: string;
  contract_name_snake: string;
  contract_name_pascal: string;
  contract_language: "ask" | "ink";
}

Project templates

General config templates used by every generated project:

  • config.json.hbs: config used by typechain
  • package.json.hbs
  • tsconfig.json
  • gitignore

Contract templates

Contract-specific templates are grouped by language:

  • ask
  • ink

Each contract directory must contain contract and tests subdirectories.

All the files contained within will be copied, respecting the directory structure, and the .hbs files will be processed by the templating engine.

2.2.1-alpha.0

12 months ago

2.2.2-alpha.0

12 months ago

2.1.1

1 year ago

2.2.2

12 months ago

2.2.0-alpha.2

1 year ago

2.0.0

1 year ago

1.0.11-alpha.7

1 year ago

1.0.11

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.9-alpha.0

1 year ago

1.0.10

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.0-rc.5

1 year ago

1.0.0-rc.4

1 year ago

1.0.0-rc.3

1 year ago

1.0.0-rc.2

1 year ago

1.0.0-rc.1

1 year ago

1.0.0-beta.10

1 year ago

1.0.0-beta.9

1 year ago

1.0.0-beta.8

1 year ago

1.0.0-beta.7

1 year ago

1.0.0-beta.6

1 year ago

1.0.0-beta.5

1 year ago

1.0.0-beta.3

1 year ago

1.0.0-beta.2

1 year ago

1.0.0-alpha.0

1 year ago

1.0.0-alpha.7

1 year ago

1.0.0-alpha.6

1 year ago

1.0.0-alpha.4

1 year ago

1.0.0-alpha.3

1 year ago