diff --git a/packages/ledger/project.json b/packages/ledger/project.json index 0fdfe812b..e843d7059 100644 --- a/packages/ledger/project.json +++ b/packages/ledger/project.json @@ -4,22 +4,27 @@ "projectType": "library", "targets": { "build": { - "executor": "@nrwl/js:tsc", + "executor": "@nrwl/web:rollup", "outputs": ["{options.outputPath}"], - "targetDependencies": { - "build": [{ - "target": "build", - "projects": "dependencies" - }] - }, "options": { "outputPath": "dist/packages/ledger", - "main": "packages/ledger/src/index.ts", "tsConfig": "packages/ledger/tsconfig.lib.json", + "project": "packages/ledger/package.json", + "entryFile": "packages/ledger/src/index.ts", "buildableProjectDepsInPackageJsonType": "dependencies", + "compiler": "babel", + "format": ["esm", "umd", "cjs"], "assets": [ - "packages/ledger/*.md", - "packages/ledger/assets/*" + { + "glob": "packages/ledger/README.md", + "input": ".", + "output": "." + }, + { + "glob": "packages/ledger/assets/*", + "input": ".", + "output": "assets" + } ] } }, diff --git a/packages/math-wallet/project.json b/packages/math-wallet/project.json index b47336900..0dd2132a9 100644 --- a/packages/math-wallet/project.json +++ b/packages/math-wallet/project.json @@ -4,22 +4,27 @@ "projectType": "library", "targets": { "build": { - "executor": "@nrwl/js:tsc", + "executor": "@nrwl/web:rollup", "outputs": ["{options.outputPath}"], - "targetDependencies": { - "build": [{ - "target": "build", - "projects": "dependencies" - }] - }, "options": { "outputPath": "dist/packages/math-wallet", - "main": "packages/math-wallet/src/index.ts", "tsConfig": "packages/math-wallet/tsconfig.lib.json", + "project": "packages/math-wallet/package.json", + "entryFile": "packages/math-wallet/src/index.ts", "buildableProjectDepsInPackageJsonType": "dependencies", + "compiler": "babel", + "format": ["esm", "umd", "cjs"], "assets": [ - "packages/math-wallet/*.md", - "packages/math-wallet/assets/*" + { + "glob": "packages/math-wallet/README.md", + "input": ".", + "output": "." + }, + { + "glob": "packages/math-wallet/assets/*", + "input": ".", + "output": "assets" + } ] } }, diff --git a/packages/near-wallet/project.json b/packages/near-wallet/project.json index efb1c5562..51cc28eb4 100644 --- a/packages/near-wallet/project.json +++ b/packages/near-wallet/project.json @@ -4,22 +4,27 @@ "projectType": "library", "targets": { "build": { - "executor": "@nrwl/js:tsc", + "executor": "@nrwl/web:rollup", "outputs": ["{options.outputPath}"], - "targetDependencies": { - "build": [{ - "target": "build", - "projects": "dependencies" - }] - }, "options": { "outputPath": "dist/packages/near-wallet", - "main": "packages/near-wallet/src/index.ts", "tsConfig": "packages/near-wallet/tsconfig.lib.json", + "project": "packages/near-wallet/package.json", + "entryFile": "packages/near-wallet/src/index.ts", "buildableProjectDepsInPackageJsonType": "dependencies", + "compiler": "babel", + "format": ["esm", "umd", "cjs"], "assets": [ - "packages/near-wallet/*.md", - "packages/near-wallet/assets/*" + { + "glob": "packages/near-wallet/README.md", + "input": ".", + "output": "." + }, + { + "glob": "packages/near-wallet/assets/*", + "input": ".", + "output": "assets" + } ] } }, diff --git a/packages/sender/project.json b/packages/sender/project.json index 05a371a9d..a1741ed7e 100644 --- a/packages/sender/project.json +++ b/packages/sender/project.json @@ -4,22 +4,27 @@ "projectType": "library", "targets": { "build": { - "executor": "@nrwl/js:tsc", + "executor": "@nrwl/web:rollup", "outputs": ["{options.outputPath}"], - "targetDependencies": { - "build": [{ - "target": "build", - "projects": "dependencies" - }] - }, "options": { "outputPath": "dist/packages/sender", - "main": "packages/sender/src/index.ts", "tsConfig": "packages/sender/tsconfig.lib.json", + "project": "packages/sender/package.json", + "entryFile": "packages/sender/src/index.ts", "buildableProjectDepsInPackageJsonType": "dependencies", + "compiler": "babel", + "format": ["esm", "umd", "cjs"], "assets": [ - "packages/sender/*.md", - "packages/sender/assets/*" + { + "glob": "packages/sender/README.md", + "input": ".", + "output": "." + }, + { + "glob": "packages/sender/assets/*", + "input": ".", + "output": "assets" + } ] } }, diff --git a/packages/wallet-connect/project.json b/packages/wallet-connect/project.json index f2b372fc8..e3fcae4f1 100644 --- a/packages/wallet-connect/project.json +++ b/packages/wallet-connect/project.json @@ -4,22 +4,27 @@ "projectType": "library", "targets": { "build": { - "executor": "@nrwl/js:tsc", + "executor": "@nrwl/web:rollup", "outputs": ["{options.outputPath}"], - "targetDependencies": { - "build": [{ - "target": "build", - "projects": "dependencies" - }] - }, "options": { "outputPath": "dist/packages/wallet-connect", - "main": "packages/wallet-connect/src/index.ts", "tsConfig": "packages/wallet-connect/tsconfig.lib.json", + "project": "packages/wallet-connect/package.json", + "entryFile": "packages/wallet-connect/src/index.ts", "buildableProjectDepsInPackageJsonType": "dependencies", + "compiler": "babel", + "format": ["esm", "umd", "cjs"], "assets": [ - "packages/wallet-connect/*.md", - "packages/wallet-connect/assets/*" + { + "glob": "packages/wallet-connect/README.md", + "input": ".", + "output": "." + }, + { + "glob": "packages/wallet-connect/assets/*", + "input": ".", + "output": "assets" + } ] } }, diff --git a/packages/wallet-utils/project.json b/packages/wallet-utils/project.json index aaa9355ed..7d0837cea 100644 --- a/packages/wallet-utils/project.json +++ b/packages/wallet-utils/project.json @@ -4,22 +4,27 @@ "projectType": "library", "targets": { "build": { - "executor": "@nrwl/js:tsc", + "executor": "@nrwl/web:rollup", "outputs": ["{options.outputPath}"], - "targetDependencies": { - "build": [{ - "target": "build", - "projects": "dependencies" - }] - }, "options": { "outputPath": "dist/packages/wallet-utils", - "main": "packages/wallet-utils/src/index.ts", "tsConfig": "packages/wallet-utils/tsconfig.lib.json", + "project": "packages/wallet-utils/package.json", + "entryFile": "packages/wallet-utils/src/index.ts", "buildableProjectDepsInPackageJsonType": "dependencies", + "compiler": "babel", + "format": ["esm", "umd", "cjs"], "assets": [ - "packages/wallet-utils/*.md", - "packages/wallet-utils/assets/*" + { + "glob": "packages/wallet-utils/README.md", + "input": ".", + "output": "." + }, + { + "glob": "packages/wallet-utils/assets/*", + "input": ".", + "output": "assets" + } ] } },