npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@taqueria/plugin-archetype

v0.68.0

Published

A taqueria plugin for compiling Archetype smart contracts

Downloads

560

Readme

Archetype Plugin

The Archetype plugin provides a task to compile Archetype smart contracts (.arl) to Michelson .tz files.

For more information, please see our documentation for the Archetype plugin

Requirements

  • Taqueria v0.42.0 or later
  • Node.js v18.18.0 or later
  • Docker v20.10.12 or later

Installation

To install the Archetype plugin on a Taqueria project, navigate to the project folder and run:

taq install @taqueria/plugin-archetype

:page_with_curl: Note

You can override the Archetype version used by the plugin by creating the environment variable TAQ_ARCHETYPE_IMAGE and setting it to your desired Ligo Docker image

Configuration

No additional configuration is available

Usage

The Archetype plugin exposes a taq compile task in Taqueria which can target a single Archetype contract in the contracts folder and compile it to a Michelson .tz file output to the artifacts folder

The Archetype plugin also exposes a contract template via the taq create archetypeContract <contractName> task. This task will create a new Archetype contract in the contracts directory and insert archetype contract boilerplate for you

Running the Compile Task

The Archetype plugin's taq compile task requires at least one argument. The basic syntax for the task is taq compile <contractName>

Running the compile task with no arguments will result in no Archetype smart contracts being compiled to Michelson files in the artifacts folder

:warning: CAUTION

The compile task is implemented by more than one compiler plugin (Archetype, LIGO, SmartPy). If more than one of these plugins are installed on a project, you need to use the --plugin archetype flag to specify the particular Archetype compiler. For example taq compile --plugin archetype

Options

There are no additional options available for this plugin

Tasks

The taq compile Task

The compile task is used for compiling Archetype smart contracts to Michelson and the task has the following structure:

taq compile <contractName>

The task takes a filename as a required argument. If no filename is provided, Taqueria will compile no Archetype files from the contracts directory

Task Properties

| attribute | value | |------------|:-----------------------------:| | task | 'compile' | | command | 'compile < contractName >' | | aliases | ['c', 'compile-archetype'] |

The create archetypeContract Task

The create archetypeContract task is used to create a new Archetype contract from a template. Running this task will create a new Archetype smart contract in the contracts directory

taq create archetypeContract <contractName>

The task takes a filename and a required positional argument. The filename must end with .arl

Task Properties

| attribute | value | |------------|:----------------------------------------------:| | task | 'create archetypeContract' | | command | 'create archetypeContract < contractName >' |

Plugin Architecture

This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK and distributed via NPM

Docker is used under the hood to provide a self contained environment for Archetype to prevent the need for it to be installed on the user's local machine