diff --git a/jest.config.js b/jest.config.js index d68c1af4eb..b2722cad44 100644 --- a/jest.config.js +++ b/jest.config.js @@ -17,6 +17,9 @@ module.exports = { "@remix-project/remix-url-resolver": "/../../dist/libs/remix-url-resolver/src/index.js" , + "@remix-project/remix-ws-templates": + "/../../dist/libs/remix-ws-templates/src/index.js" + , "@remix-project/remixd": "/../../dist/libs/remixd/index.js" } }; diff --git a/lerna.json b/lerna.json index 35e3a8c36f..708004a98a 100644 --- a/lerna.json +++ b/lerna.json @@ -7,7 +7,8 @@ "dist/libs/remix-simulator", "dist/libs/remix-solidity", "dist/libs/remix-tests", - "dist/libs/remix-url-resolver" + "dist/libs/remix-url-resolver", + "dist/libs/remix-ws-templates" ], "version": "independent", "command": { diff --git a/package.json b/package.json index fb127e9f7f..20b0ecb93b 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "workspace-schematic": "nx workspace-schematic", "dep-graph": "nx dep-graph", "help": "nx help", - "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,remixd,remix-ui-tree-view,remix-ui-modal-dialog,remix-ui-toaster,remix-ui-helper,remix-ui-debugger-ui,remix-ui-workspace,remix-ui-static-analyser,remix-ui-checkbox,remix-ui-settings,remix-core-plugin,remix-ui-renderer,remix-ui-publish-to-storage,remix-ui-solidity-compiler,solidity-unit-testing,remix-ui-plugin-manager,remix-ui-terminal,remix-ui-editor,remix-ui-app,remix-ui-tabs,remix-ui-panel,remix-ui-run-tab,remix-ui-permission-handler,remix-ui-search", - "build:libs": "nx run-many --target=build --parallel=false --with-deps=true --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver,remixd", + "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,remix-ws-templates,remixd,remix-ui-tree-view,remix-ui-modal-dialog,remix-ui-toaster,remix-ui-helper,remix-ui-debugger-ui,remix-ui-workspace,remix-ui-static-analyser,remix-ui-checkbox,remix-ui-settings,remix-core-plugin,remix-ui-renderer,remix-ui-publish-to-storage,remix-ui-solidity-compiler,solidity-unit-testing,remix-ui-plugin-manager,remix-ui-terminal,remix-ui-editor,remix-ui-app,remix-ui-tabs,remix-ui-panel,remix-ui-run-tab,remix-ui-permission-handler,remix-ui-search", + "build:libs": "nx run-many --target=build --parallel=false --with-deps=true --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver,remix-ws-templates,remixd", "test:libs": "nx run-many --target=test --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver,remixd", "publish:libs": "npm run build:libs && lerna publish --skip-git && npm run bumpVersion:libs", "build:e2e": "node apps/remix-ide-e2e/src/buildGroupTests.js && tsc -p apps/remix-ide-e2e/tsconfig.e2e.json", diff --git a/tsconfig.base.json b/tsconfig.base.json index daadc1ca43..409590c800 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -34,6 +34,9 @@ "@remix-project/remix-url-resolver": [ "dist/libs/remix-url-resolver/src/index.js" ], + "@remix-project/remix-ws-templates": [ + "dist/libs/remix-ws-templates/src/index.js" + ], "@remixproject/debugger-plugin": ["apps/debugger/src/index.ts"], "@remixproject/solidity-compiler-plugin": [ "apps/solidity-compiler/src/index.ts" @@ -84,9 +87,6 @@ "@remix-ui/run-tab": ["libs/remix-ui/run-tab/src/index.ts"], "@remix-ui/permission-handler": [ "libs/remix-ui/permission-handler/src/index.ts" - ], - "@remix-project/remix-ws-templates": [ - "dist/libs/remix-ws-templates/src/index.js" ] } },