@taqueria/plugin-ligo 0.0.0-pr-575-cb4eda35 → 0.0.0-pr-635-e038f37d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +3 -43
  2. package/package.json +1 -1
  3. package/_readme.eta +0 -73
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- Taqueria LIGO Plugin
1
+ # Taqueria LIGO Plugin
2
2
 
3
3
  This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK and distributed via NPM
4
4
 
@@ -24,48 +24,8 @@ To install the LIGO plugin on a Taqueria project, navigate to the project folder
24
24
  taq install @taqueria/plugin-ligo
25
25
  ```
26
26
 
27
- > ### :page_with_curl: Note
28
- > At this time, all Taqueria projects must also be initialized as node projects by running `npm init -y` from the root of your project directory
29
-
30
- ## Configuration
31
-
32
- No additional configuration is available
33
- ## Usage
34
-
35
- The LIGO plugin exposes a `compile` task in Taqueria which can target one, or all the LIGO contracts in the `contracts` folder and compile them to Michelson `.tz` files output to the `artifacts` folder
36
-
37
- ### Running the Compile Task
38
-
39
- The LIGO plugin's `taq compile` task can be run with or without arguments. The basic syntax for the task is `taq compile <file-name>`
40
-
41
- Running the `compile` task with no options will result in any source LIGO smart contracts in the `contracts` folder being compiled to Michelson files in the `artifacts` folder. If you speficy an optional filename, only LIGO contracts matching the specified filename in the `contracts` folder will be compiled
42
-
43
- > ### :warning: WARNING
44
- > The `compile` task can be implemented by more than one compiler plugin installed on a project (LIGO, SmartPY). If this is the case, you must use the `--plugin ligo` flag to specify a particular compiler
45
-
46
- ### Options
47
-
48
- The LIGO `compile` task will accept the following optional parameters:
49
-
50
- | flag | name | description |
51
- |:-----:|:------------|---------------------------------------|
52
- | -e | entry-point | The entry point that will be compiled |
53
- | -s | syntax | The syntax used in the contract |
54
- | -i | infer | Enable type inference |
55
-
56
-
57
27
  ## Plugin Architecture
58
28
 
59
- This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK
60
-
61
- Docker is used under the hood to provide a self contained environment for LIGO to prevent the need for it to be installed on the user's local machine
62
-
63
- The plugin provides a single task `compile`, used for compiling LIGO smart contracts to Michelson:
64
-
65
- | attribute | value |
66
- |------------|:------------------------:|
67
- | task | 'compile' |
68
- | command | 'compile [sourceFile] |
69
- | aliases | ['c', 'compile-ligo'] |
29
+ This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK and distributed via NPM
70
30
 
71
- ## Note. Deleted the README file and added this to the template
31
+ For detailed usage and configuration information, view the LIGO plugin documentation on the Taqueria website [here](https://taqueria.io/docs/plugins/plugin-ligo)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taqueria/plugin-ligo",
3
- "version": "0.0.0-pr-575-cb4eda35",
3
+ "version": "0.0.0-pr-635-e038f37d",
4
4
  "description": "A taqueria plugin for compiling LIGO smart contracts",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
package/_readme.eta DELETED
@@ -1,73 +0,0 @@
1
- Taqueria LIGO Plugin
2
-
3
- This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK and distributed via NPM
4
-
5
- The LIGO plugin exposes a compile task in Taqueria which can target one, or all the LIGO contracts in the contracts folder and compile them to Michelson code output to the artifacts folder
6
-
7
- ## Tasks
8
-
9
- The LIGO plugin provides the following tasks to Taqueria:
10
- - `compile`
11
-
12
- ## Requirements
13
-
14
- - Taqueria v0.0.6 or later
15
- - Node.js v16 or later
16
- - Docker v0.8.4 or later
17
-
18
- ## Installation
19
-
20
- The LIGO plugin is distributed as an NPM package that can be installed and uninstalled on a project from the Taqueria CLI
21
-
22
- To install the LIGO plugin on a Taqueria project, navigate to the project folder and run:
23
- ```shell
24
- taq install @taqueria/plugin-ligo
25
- ```
26
-
27
- <%~ it.noteOpenAdmonition %>
28
- At this time, all Taqueria projects must also be initialized as node projects by running `npm init -y` from the root of your project directory
29
- <%= it.closeAdmonition %>
30
-
31
- ## Configuration
32
-
33
- No additional configuration is available
34
- ## Usage
35
-
36
- The LIGO plugin exposes a `compile` task in Taqueria which can target one, or all the LIGO contracts in the `contracts` folder and compile them to Michelson `.tz` files output to the `artifacts` folder
37
-
38
- ### Running the Compile Task
39
-
40
- The LIGO plugin's `taq compile` task can be run with or without arguments. The basic syntax for the task is `taq compile <file-name>`
41
-
42
- Running the `compile` task with no options will result in any source LIGO smart contracts in the `contracts` folder being compiled to Michelson files in the `artifacts` folder. If you speficy an optional filename, only LIGO contracts matching the specified filename in the `contracts` folder will be compiled
43
-
44
- <%~ it.warningOpenAdmonition %>
45
- The `compile` task can be implemented by more than one compiler plugin installed on a project (LIGO, SmartPY). If this is the case, you must use the `--plugin ligo` flag to specify a particular compiler
46
- <%= it.closeAdmonition %>
47
-
48
- ### Options
49
-
50
- The LIGO `compile` task will accept the following optional parameters:
51
-
52
- | flag | name | description |
53
- |:-----:|:------------|---------------------------------------|
54
- | -e | entry-point | The entry point that will be compiled |
55
- | -s | syntax | The syntax used in the contract |
56
- | -i | infer | Enable type inference |
57
-
58
-
59
- ## Plugin Architecture
60
-
61
- This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK
62
-
63
- Docker is used under the hood to provide a self contained environment for LIGO to prevent the need for it to be installed on the user's local machine
64
-
65
- The plugin provides a single task `compile`, used for compiling LIGO smart contracts to Michelson:
66
-
67
- | attribute | value |
68
- |------------|:------------------------:|
69
- | task | 'compile' |
70
- | command | 'compile [sourceFile] |
71
- | aliases | ['c', 'compile-ligo'] |
72
-
73
- ## Note. Deleted the README file and added this to the template