Skip to content

Commit 1f16d9c

Browse files
committed
Add UI to interact with contract on-chain
1 parent 8db8ad6 commit 1f16d9c

38 files changed

+96340
-33158
lines changed

.yarn/install-state.gz

4.6 MB
Binary file not shown.

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

apps/contract-interaction/.browserslistrc

Lines changed: 0 additions & 16 deletions
This file was deleted.

apps/contract-interaction/.eslintrc.json

Lines changed: 0 additions & 34 deletions
This file was deleted.
1.87 KB
Binary file not shown.

apps/contract-interaction/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Contract Interaction Plugin
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "contract-interaction",
3+
"version": "1.0.0",
4+
"main": "index.js",
5+
"license": "MIT"
6+
}

apps/contract-interaction/project.json

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66
"targets": {
77
"build": {
88
"executor": "@nrwl/webpack:webpack",
9-
"outputs": ["{options.outputPath}"],
9+
"outputs": [
10+
"{options.outputPath}"
11+
],
1012
"defaultConfiguration": "development",
13+
"dependsOn": [
14+
"install"
15+
],
1116
"options": {
1217
"compiler": "babel",
1318
"outputPath": "dist/apps/contract-interaction",
@@ -21,13 +26,14 @@
2126
"apps/contract-interaction/src/assets",
2227
"apps/contract-interaction/src/profile.json"
2328
],
24-
"styles": ["apps/contract-interaction/src/styles.css"],
29+
"styles": [
30+
"apps/contract-interaction/src/styles.css"
31+
],
2532
"scripts": [],
2633
"webpackConfig": "apps/contract-interaction/webpack.config.js"
2734
},
2835
"configurations": {
29-
"development": {
30-
},
36+
"development": {},
3137
"production": {
3238
"fileReplacements": [
3339
{
@@ -40,12 +46,25 @@
4046
},
4147
"lint": {
4248
"executor": "@nrwl/linter:eslint",
43-
"outputs": ["{options.outputFile}"],
49+
"outputs": [
50+
"{options.outputFile}"
51+
],
4452
"options": {
45-
"lintFilePatterns": ["apps/contract-interaction/**/*.ts"],
53+
"lintFilePatterns": [
54+
"apps/contract-interaction/**/*.ts"
55+
],
4656
"eslintConfig": "apps/contract-interaction/.eslintrc"
4757
}
4858
},
59+
"install": {
60+
"executor": "nx:run-commands",
61+
"options": {
62+
"commands": [
63+
"cd apps/contract-interaction && yarn"
64+
],
65+
"parallel": false
66+
}
67+
},
4968
"serve": {
5069
"executor": "@nrwl/webpack:dev-server",
5170
"defaultConfiguration": "development",

0 commit comments

Comments
 (0)