build command working for all ts libs

pull/7/head
aniket-engg 5 years ago
parent 845b93a852
commit 7bae5a93d8
  1. 10
      libs/remix-analyzer/tsconfig.json
  2. 10
      libs/remix-analyzer/tsconfig.lib.json
  3. 8
      libs/remix-astwalker/tsconfig.json
  4. 10
      libs/remix-astwalker/tsconfig.lib.json
  5. 40
      libs/remix-solidity/tsconfig.json
  6. 10
      libs/remix-solidity/tsconfig.lib.json
  7. 15
      libs/remix-tests/tsconfig.json
  8. 10
      libs/remix-tests/tsconfig.lib.json
  9. 10
      libs/remix-url-resolver/tsconfig.json
  10. 10
      libs/remix-url-resolver/tsconfig.lib.json
  11. 1
      package.json
  12. 65
      workspace.json

@ -1,22 +1,24 @@
{
"extends": "../../tsconfig.json",
"include": ["src", "index.ts"],
"compilerOptions": {
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"lib": ["dom", "es2018"], /* Specify library files to be included in the compilation. */
"types": ["node"],
"declaration": true, /* Generates corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
"outDir": "./dist", /* Redirect output structure to the directory. */
/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
/* Module Resolution Options */
"baseUrl": "./src", /* Base directory to resolve non-absolute module names. */
"paths": { "remix-analyzer": ["./"] }, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
"typeRoots": [
"./@types",
"./node_modules/@types"
],
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
/* Experimental Options */
"experimentalDecorators": false, /* Enables experimental support for ES7 decorators. */
}
}
}

@ -1,10 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "../../dist/out-tsc",
"declaration": true,
"rootDir": "./",
"types": ["node"]
}
}

@ -1,5 +1,4 @@
{
"extends": "../../tsconfig.json",
"include": ["src"],
"exclude": ["node_modules", "src/@types" ],
"compilerOptions": {
@ -9,10 +8,15 @@
"lib": ["dom", "es2018"], /* Specify library files to be included in the compilation. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
"outDir": "./dist", /* Redirect output structure to the directory. */
/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
/* Module Resolution Options */
"baseUrl": "./src", /* Base directory to resolve non-absolute module names. */
"paths": { "remix-tests": ["./"] }, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
"typeRoots": ["./@types", "node_modules/@types"], /* List of folders to include type definitions from. */
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"types": [
@ -24,4 +28,4 @@
// Disables strictNullChecks
"strictNullChecks": false
}
}
}

@ -1,10 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "../../dist/out-tsc",
"declaration": true,
"rootDir": "./src",
"types": ["node"]
}
}

@ -1,20 +1,24 @@
{
"extends": "../../tsconfig.json",
"include": ["src", "index.ts"],
"compilerOptions": {
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"lib": ["dom", "es2018"], /* Specify library files to be included in the compilation. */
"types": ["node"],
"declaration": true, /* Generates corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": false,
"typeRoots": [
"./@types",
"./node_modules/@types"
]
}
"include": ["src", "index.ts"],
"compilerOptions": {
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"lib": ["dom", "es2018"], /* Specify library files to be included in the compilation. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
"outDir": "./dist", /* Redirect output structure to the directory. */
/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
/* Module Resolution Options */
"baseUrl": "./src", /* Base directory to resolve non-absolute module names. */
"paths": { "remix-solidity": ["./"] }, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
"typeRoots": [
"./@types",
"./node_modules/@types"
],
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
/* Experimental Options */
"experimentalDecorators": false, /* Enables experimental support for ES7 decorators. */
}
}

@ -1,10 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "../../dist/out-tsc",
"declaration": true,
"rootDir": "./",
"types": ["node"]
}
}

@ -1,19 +1,24 @@
{
"extends": "../../tsconfig.json",
"include": ["src"],
"compilerOptions": {
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"lib": ["dom", "es2018"], /* Specify library files to be included in the compilation. */
"types": ["node"],
"declaration": true, /* Generates corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
"outDir": "./dist", /* Redirect output structure to the directory. */
/* Strict Type-Checking Options */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": false,
"noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
/* Module Resolution Options */
"baseUrl": "./src", /* Base directory to resolve non-absolute module names. */
"paths": { "remix-tests": ["./"] }, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
"typeRoots": [
"./@types",
"./node_modules/@types"
]
],
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
/* Experimental Options */
"experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
}
}
}

@ -1,10 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "../../dist/out-tsc",
"declaration": true,
"rootDir": "./src",
"types": ["node"]
}
}

@ -1,17 +1,21 @@
{
"extends": "../../tsconfig.json",
"compileOnSave": false,
"include": ["./src"],
"compilerOptions": {
"baseUrl": "./src",
"outDir": "./dist",
"sourceMap": true,
"declaration": true,
"module": "commonjs",
"strict": true,
"noImplicitAny": false,
"strictPropertyInitialization": false,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": ["node_modules/@types"],
"lib": ["dom", "es2018"],
"types": ["node"],
"paths": {
"remix-url-resolver": ["./"]
}
}
}
}

@ -1,10 +0,0 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "../../dist/out-tsc",
"declaration": true,
"rootDir": "./src",
"types": ["node"]
}
}

@ -25,6 +25,7 @@
"start": "nx start",
"serve": "nx serve",
"build": "nx build",
"build:tslibs": "nx run-many --target=build --projects=remix-analyzer,remix-astwalker,remix-solidity,remix-tests,remix-url-resolver",
"test": "nx test",
"lint": "nx lint",
"lint:libs": "nx run-many --target=lint --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver",

@ -86,13 +86,14 @@
},
"test": {},
"build": {
"builder": "@nrwl/node:package",
"builder": "@nrwl/workspace:run-commands",
"options": {
"outputPath": "dist/libs/remix-analyzer",
"tsConfig": "libs/remix-analyzer/tsconfig.lib.json",
"packageJson": "libs/remix-analyzer/package.json",
"main": "libs/remix-analyzer/index.ts",
"assets": ["libs/remix-analyzer/*.md"]
"commands": [
{
"command": "./../../node_modules/.bin/npm-run-all build"
}
],
"cwd": "libs/remix-analyzer"
}
}
}
@ -116,13 +117,14 @@
},
"test": {},
"build": {
"builder": "@nrwl/node:package",
"builder": "@nrwl/workspace:run-commands",
"options": {
"outputPath": "dist/libs/remix-astwalker",
"tsConfig": "libs/remix-astwalker/tsconfig.lib.json",
"packageJson": "libs/remix-astwalker/package.json",
"main": "libs/remix-astwalker/src/index.ts",
"assets": ["libs/remix-astwalker/*.md"]
"commands": [
{
"command": "./../../node_modules/.bin/npm-run-all build"
}
],
"cwd": "libs/remix-astwalker"
}
}
}
@ -236,13 +238,14 @@
},
"test": {},
"build": {
"builder": "@nrwl/node:package",
"builder": "@nrwl/workspace:run-commands",
"options": {
"outputPath": "dist/libs/remix-solidity",
"tsConfig": "libs/remix-solidity/tsconfig.lib.json",
"packageJson": "libs/remix-solidity/package.json",
"main": "libs/remix-solidity/index.ts",
"assets": ["libs/remix-solidity/*.md"]
"commands": [
{
"command": "./../../node_modules/.bin/npm-run-all build"
}
],
"cwd": "libs/remix-solidity"
}
}
}
@ -266,13 +269,14 @@
},
"test": {},
"build": {
"builder": "@nrwl/node:package",
"builder": "@nrwl/workspace:run-commands",
"options": {
"outputPath": "dist/libs/remix-tests",
"tsConfig": "libs/remix-tests/tsconfig.lib.json",
"packageJson": "libs/remix-tests/package.json",
"main": "libs/remix-tests/src/index.ts",
"assets": ["libs/remix-tests/*.md"]
"commands": [
{
"command": "./../../node_modules/.bin/npm-run-all build"
}
],
"cwd": "libs/remix-tests"
}
}
}
@ -296,13 +300,14 @@
},
"test": {},
"build": {
"builder": "@nrwl/node:package",
"builder": "@nrwl/workspace:run-commands",
"options": {
"outputPath": "dist/libs/remix-url-resolver",
"tsConfig": "libs/remix-url-resolver/tsconfig.lib.json",
"packageJson": "libs/remix-url-resolver/package.json",
"main": "libs/remix-url-resolver/src/index.ts",
"assets": ["libs/remix-url-resolver/*.md"]
"commands": [
{
"command": "./../../node_modules/.bin/npm-run-all build"
}
],
"cwd": "libs/remix-url-resolver"
}
}
}

Loading…
Cancel
Save