Aqua cli to aqua (#18)

This commit is contained in:
Dima 2021-09-08 13:54:09 +03:00 committed by GitHub
parent 2c2139bf1f
commit 43a5e307f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 33967 additions and 6960 deletions

File diff suppressed because it is too large Load Diff

View File

@ -505,8 +505,7 @@ npm run compile-aqua
> echo-greeter-example@0.1.0 compile-aqua /Users/bebo/localdev/examples-rework/aqua-examples/echo-greeter/client-peer
> aqua -i ../aqua-scripts -o src/
java -jar /Users/bebo/localdev/examples-rework/aqua-examples/echo-greeter/client-peer/node_modules/@fluencelabs/aqua-cli/aqua-cli.jar -m node_modules -i ../aqua-scripts -o src/
[info] Aqua Compiler 0.1.9-163
[info] Aqua Compiler 0.1.14-207
[info] Result /Users/bebo/localdev/examples-rework/aqua-examples/echo-greeter/client-peer/src/echo_greeter.ts: compilation OK (6 functions)
```

View File

@ -58,7 +58,7 @@ The following npm packages are used:
* `@fluencelabs/fluence` - is the client for Fluence Network running inside the browser. See https://github.com/fluencelabs/fluence-js for additional information
* `@fluencelabs/fluence-network-environment` - is the maintained list of Fluence networks and nodes to connect to.
* `@fluencelabs/aqua-cli` - is the command line interface for Aqua compiler. See https://github.com/fluencelabs/aqua for more information
* `@fluencelabs/aqua` - is the command line interface for Aqua compiler. See https://github.com/fluencelabs/aqua for more information
* `@fluencelabs/aqua-lib` - Aqua language standard library
* `chokidar-cli` - A tool to watch for aqua file changes and compile them on the fly
@ -67,7 +67,7 @@ The compilation of aqua code is implemented with these scripts:
```
scripts: {
...
"compile-aqua": "aqua-cli -i ./aqua/ -o ./src/_aqua",
"compile-aqua": "aqua -i ./aqua/ -o ./src/_aqua",
"watch-aqua": "chokidar \"**/*.aqua\" -c \"npm run compile-aqua\""
}
...

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,7 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"compile-aqua": "aqua-cli -i ./aqua/ -o ./src/_aqua",
"compile-aqua": "aqua -i ./aqua/ -o ./src/_aqua",
"watch-aqua": "chokidar \"**/*.aqua\" -c \"npm run compile-aqua\""
},
"eslintConfig": {
@ -45,7 +45,7 @@
]
},
"devDependencies": {
"@fluencelabs/aqua-cli": "0.1.9-162",
"@fluencelabs/aqua": "0.1.14-207",
"@fluencelabs/aqua-lib": "0.1.9",
"chokidar-cli": "^2.1.0",
"node-sass": "^6.0.1"

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@
"it-all": "^1.0.5"
},
"scripts": {
"compile-aqua": "aqua-cli -i ../aqua-scripts -o .",
"compile-aqua": "aqua -i ../aqua-scripts -o .",
"prebuild": "npm run compile-aqua",
"build": "tsc",
"prestart:local": "npm run build",
@ -43,7 +43,7 @@
},
"homepage": "git+https://github.com/fluencelabs/examples/aqua-examples/price-oracle#readme",
"devDependencies": {
"@fluencelabs/aqua-cli": "0.1.9-163",
"@fluencelabs/aqua": "0.1.14-207",
"typescript": "^3.9.5"
}
}