@taqueria/plugin-archetype 0.0.0-pr-1027-bb0359e0 → 0.0.0-pr-1012-a08962ee
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.
- package/README.md +5 -37
- package/_readme.eta +5 -37
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,9 +22,7 @@ No additional configuration is available
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
-
The Archetype plugin exposes a `
|
|
26
|
-
|
|
27
|
-
The Archetype plugin also exposes a contract template via the `taq create contract <contractName>` task. This task will create a new Archetype contract in the `contracts` directory, and will register the contract with Taqueria
|
|
25
|
+
The Archetype plugin exposes a `compile` task in Taqueria which can target one, or all the Archetype contracts in the `contracts` folder and compile them to Michelson `.tz` files output to the `artifacts` folder
|
|
28
26
|
|
|
29
27
|
### Running the Compile Task
|
|
30
28
|
|
|
@@ -39,46 +37,16 @@ Running the `compile` task with no options will result in all source Archetype s
|
|
|
39
37
|
|
|
40
38
|
There are no additional options available for this plugin
|
|
41
39
|
|
|
42
|
-
##
|
|
43
|
-
|
|
44
|
-
### The `taq compile` Task
|
|
45
|
-
|
|
46
|
-
The `compile` task is used for compiling Archetype smart contracts to Michelson and the task has the following structure:
|
|
47
|
-
|
|
48
|
-
```shell
|
|
49
|
-
taq compile [contractName]
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
The task takes a filename as an optional argument. If no filename is provided, Taqueria will compile all Archetype files in the `contracts` directory
|
|
53
|
-
|
|
54
|
-
#### Task Properties
|
|
55
|
-
|
|
56
|
-
| attribute | value |
|
|
57
|
-
|------------|:-----------------------------:|
|
|
58
|
-
| task | 'compile' |
|
|
59
|
-
| command | 'compile [sourceFile] |
|
|
60
|
-
| aliases | ['c', 'compile-archetype'] |
|
|
61
|
-
|
|
62
|
-
### The `create contract` Template
|
|
40
|
+
## Plugin Architecture
|
|
63
41
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
```shell
|
|
67
|
-
taq create contract <contractName>
|
|
68
|
-
```
|
|
42
|
+
This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK
|
|
69
43
|
|
|
70
|
-
|
|
44
|
+
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
|
|
71
45
|
|
|
72
|
-
|
|
46
|
+
The plugin provides a single task `compile`, used for compiling Archetype smart contracts to Michelson:
|
|
73
47
|
|
|
74
48
|
| attribute | value |
|
|
75
49
|
|------------|:-----------------------------:|
|
|
76
50
|
| task | 'compile' |
|
|
77
51
|
| command | 'compile [sourceFile] |
|
|
78
52
|
| aliases | ['c', 'compile-archetype'] |
|
|
79
|
-
|
|
80
|
-
## Plugin Architecture
|
|
81
|
-
|
|
82
|
-
This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK
|
|
83
|
-
|
|
84
|
-
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
|
package/_readme.eta
CHANGED
|
@@ -24,9 +24,7 @@ No additional configuration is available
|
|
|
24
24
|
|
|
25
25
|
## Usage
|
|
26
26
|
|
|
27
|
-
The Archetype plugin exposes a `
|
|
28
|
-
|
|
29
|
-
The Archetype plugin also exposes a contract template via the `taq create contract <contractName>` task. This task will create a new Archetype contract in the `contracts` directory, and will register the contract with Taqueria
|
|
27
|
+
The Archetype plugin exposes a `compile` task in Taqueria which can target one, or all the Archetype contracts in the `contracts` folder and compile them to Michelson `.tz` files output to the `artifacts` folder
|
|
30
28
|
|
|
31
29
|
### Running the Compile Task
|
|
32
30
|
|
|
@@ -42,46 +40,16 @@ The `compile` task can be implemented by more than one compiler plugin installed
|
|
|
42
40
|
|
|
43
41
|
There are no additional options available for this plugin
|
|
44
42
|
|
|
45
|
-
##
|
|
46
|
-
|
|
47
|
-
### The `taq compile` Task
|
|
48
|
-
|
|
49
|
-
The `compile` task is used for compiling Archetype smart contracts to Michelson and the task has the following structure:
|
|
50
|
-
|
|
51
|
-
```shell
|
|
52
|
-
taq compile [contractName]
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
The task takes a filename as an optional argument. If no filename is provided, Taqueria will compile all Archetype files in the `contracts` directory
|
|
56
|
-
|
|
57
|
-
#### Task Properties
|
|
58
|
-
|
|
59
|
-
| attribute | value |
|
|
60
|
-
|------------|:-----------------------------:|
|
|
61
|
-
| task | 'compile' |
|
|
62
|
-
| command | 'compile [sourceFile] |
|
|
63
|
-
| aliases | ['c', 'compile-archetype'] |
|
|
64
|
-
|
|
65
|
-
### The `create contract` Template
|
|
43
|
+
## Plugin Architecture
|
|
66
44
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
```shell
|
|
70
|
-
taq create contract <contractName>
|
|
71
|
-
```
|
|
45
|
+
This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK
|
|
72
46
|
|
|
73
|
-
|
|
47
|
+
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
|
|
74
48
|
|
|
75
|
-
|
|
49
|
+
The plugin provides a single task `compile`, used for compiling Archetype smart contracts to Michelson:
|
|
76
50
|
|
|
77
51
|
| attribute | value |
|
|
78
52
|
|------------|:-----------------------------:|
|
|
79
53
|
| task | 'compile' |
|
|
80
54
|
| command | 'compile [sourceFile] |
|
|
81
55
|
| aliases | ['c', 'compile-archetype'] |
|
|
82
|
-
|
|
83
|
-
## Plugin Architecture
|
|
84
|
-
|
|
85
|
-
This is a plugin developed for Taqueria built on NodeJS using the Taqueria Node SDK
|
|
86
|
-
|
|
87
|
-
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
|