build using nx

pull/2368/head
Aniket-Engg 3 years ago committed by yann300
parent 238a13afb8
commit d9de03a386
  1. 2
      libs/remix-ws-templates/tsconfig.json
  2. 5
      libs/remix-ws-templates/tsconfig.lib.json
  3. 4
      libs/remix-ws-templates/types/index.d.ts
  4. 1
      package.json
  5. 2
      tsconfig.base.json
  6. 22
      workspace.json

@ -3,5 +3,5 @@
"compilerOptions": {
"types": ["node"],
},
"include": ["**/*.ts"]
"include": ["**/*.ts", "**/*.sol"]
}

@ -9,7 +9,8 @@
},
"exclude": [
"**/*.spec.ts",
"tests/"
"tests/",
"templates/"
],
"include": ["**/*.ts"]
"include": ["**/*.ts", "**/*.sol"]
}

@ -0,0 +1,4 @@
declare var remix:any
declare var ethers:any
declare var web3:any
declare var web3Provider:any

@ -198,7 +198,6 @@
"react-draggable": "^4.4.4",
"react-tabs": "^3.2.2",
"regenerator-runtime": "0.13.7",
"remix-ws-templates": "file:libs/remix-ws-templates",
"selenium": "^2.20.0",
"signale": "^1.4.0",
"string-similarity": "^4.0.4",

@ -86,7 +86,7 @@
"libs/remix-ui/permission-handler/src/index.ts"
],
"@remix-project/remix-ws-templates": [
"libs/remix-ws-templates/src/index.ts"
"dist/libs/remix-ws-templates/src/index.ts"
]
}
},

@ -1229,6 +1229,28 @@
"tsConfig": ["libs/remix-ws-templates/tsconfig.lib.json"],
"exclude": ["**/node_modules/**"]
}
},
"build": {
"builder": "@nrwl/node:package",
"options": {
"outputPath": "dist/libs/remix-ws-templates",
"tsConfig": "libs/remix-ws-templates/tsconfig.lib.json",
"packageJson": "libs/remix-ws-templates/package.json",
"main": "libs/remix-ws-templates/src/index.ts",
"assets": [
{
"glob": "templates/**/*",
"ignore": ["templates/**/*/index.ts"],
"input": "libs/remix-ws-templates/src/",
"output": "src/"
},
{
"glob": "*.md",
"input": "libs/remix-ws-templates/",
"output": "/"
}
]
}
}
}
}

Loading…
Cancel
Save