# This is the 1st commit message: executors # This is the commit message #2: libs # This is the commit message #3: remixd # This is the commit message #4: add react app # This is the commit message #5: debugging # This is the commit message #6: debug + sol # This is the commit message #7: fixes # This is the commit message #8: tsconfig # This is the commit message #9: ast walker # This is the commit message #10: as walker # This is the commit message #11: remixd etc # This is the commit message #12: commander # This is the commit message #13: remove jest # This is the commit message #14: rm ui files # This is the commit message #15: rm reserved keywords # This is the commit message #16: testrunner # This is the commit message #17: compiler # This is the commit message #18: production build # This is the commit message #19: config # This is the commit message #20: config # This is the commit message #21: web types # This is the commit message #22: update react # This is the commit message #23: add vm # This is the commit message #24: add workers # This is the commit message #25: worker2 # This is the commit message #26: rm react app # This is the commit message #27: remixd # This is the commit message #28: worker fix # This is the commit message #29: fix detection # This is the commit message #30: revert react # This is the commit message #31: rename type # This is the commit message #32: loading handler # This is the commit message #33: remove import # This is the commit message #34: rename # This is the commit message #35: local plugin # This is the commit message #36: etherscan # This is the commit message #37: revert react # This is the commit message #38: port # This is the commit message #39: rm worker # This is the commit message #40: publicpath # This is the commit message #41: fix test # This is the commit message #42: 112 # This is the commit message #43: show version # This is the commit message #44: "axios": "1.1.2", # This is the commit message #45: config # This is the commit message #46: lint # This is the commit message #47: fix build # This is the commit message #48: lint # This is the commit message #49: error on purpose # This is the commit message #50: test errorexecutors2
parent
8a0de8fc1d
commit
edaaeebea7
@ -0,0 +1,3 @@ |
||||
{ |
||||
"babelrcRoots": ["*"] |
||||
} |
@ -0,0 +1,218 @@ |
||||
{ |
||||
"implicitDependencies": { |
||||
"workspace.json": "*", |
||||
"package.json": { |
||||
"dependencies": "*", |
||||
"devDependencies": "*" |
||||
}, |
||||
"tsconfig.base.json": "*", |
||||
"tslint.json": "*", |
||||
".eslintrc.json": "*", |
||||
"nx.json": "*" |
||||
}, |
||||
"npmScope": "remix-project", |
||||
"tasksRunnerOptions": { |
||||
"default": { |
||||
"runner": "@nrwl/workspace/tasks-runners/default", |
||||
"options": { |
||||
"cacheableOperations": [ |
||||
"build", |
||||
"lint", |
||||
"test", |
||||
"e2e" |
||||
] |
||||
} |
||||
} |
||||
}, |
||||
"projects": { |
||||
"remix-lib": { |
||||
"tags": [] |
||||
}, |
||||
"remix-astwalker": { |
||||
"tags": [], |
||||
"implicitDependencies": [ |
||||
"remix-lib" |
||||
] |
||||
}, |
||||
"remix-analyzer": { |
||||
"tags": [], |
||||
"implicitDependencies": [ |
||||
"remix-astwalker", |
||||
"remix-lib" |
||||
] |
||||
}, |
||||
"remix-debug": { |
||||
"tags": [], |
||||
"implicitDependencies": [ |
||||
"remix-astwalker", |
||||
"remix-lib" |
||||
] |
||||
}, |
||||
"remix-simulator": { |
||||
"tags": [], |
||||
"implicitDependencies": [ |
||||
"remix-lib" |
||||
] |
||||
}, |
||||
"remix-solidity": { |
||||
"tags": [], |
||||
"implicitDependencies": [ |
||||
"remix-lib" |
||||
] |
||||
}, |
||||
"remix-tests": { |
||||
"tags": [], |
||||
"implicitDependencies": [ |
||||
"remix-lib", |
||||
"remix-simulator", |
||||
"remix-solidity" |
||||
] |
||||
}, |
||||
"remix-url-resolver": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ws-templates": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ide": { |
||||
"tags": [], |
||||
"implicitDependencies": [ |
||||
"remix-analyzer", |
||||
"remix-debug", |
||||
"remix-lib", |
||||
"remix-simulator", |
||||
"remix-solidity", |
||||
"remix-tests", |
||||
"remix-astwalker", |
||||
"remix-url-resolver", |
||||
"remix-ws-templates" |
||||
] |
||||
}, |
||||
"remix-ide-e2e": { |
||||
"tags": [], |
||||
"implicitDependencies": [ |
||||
"remix-ide" |
||||
] |
||||
}, |
||||
"remixd": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-tree-view": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-debugger-ui": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-utils": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-clipboard": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-modal-dialog": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-toaster": { |
||||
"tags": [] |
||||
}, |
||||
"debugger": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-workspace": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-settings": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-static-analyser": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-checkbox": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-plugin-manager": { |
||||
"tags": [] |
||||
}, |
||||
"remix-core-plugin": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-solidity-compiler": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-publish-to-storage": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-renderer": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-terminal": { |
||||
"tags": [] |
||||
}, |
||||
"solidity-compiler": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ide-e2e-src-local-plugin": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-editor": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-app": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-helper": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-vertical-icons-panel": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-search": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-home-tab": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-tabs": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-panel": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-theme-module": { |
||||
"tags": [] |
||||
}, |
||||
"solidity-unit-testing": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-run-tab": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-permission-handler": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-file-decorators": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-tooltip-popup": { |
||||
"tags": [] |
||||
}, |
||||
"vyper": { |
||||
"tags": [] |
||||
}, |
||||
"etherscan": { |
||||
"tags": [] |
||||
}, |
||||
"remix-ui-drag-n-drop": { |
||||
"tags": [] |
||||
} |
||||
}, |
||||
"targetDependencies": { |
||||
"build": [ |
||||
{ |
||||
"target": "build", |
||||
"projects": "dependencies" |
||||
} |
||||
] |
||||
} |
||||
|
||||
} |
File diff suppressed because it is too large
Load Diff
@ -1,4 +0,0 @@ |
||||
{ |
||||
"presets": ["@nrwl/react/babel"], |
||||
"plugins": [] |
||||
} |
@ -0,0 +1,61 @@ |
||||
{ |
||||
"name": "debugger", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "apps/debugger/src", |
||||
"projectType": "application", |
||||
"implicitDependencies": [ |
||||
"remix-debug" |
||||
], |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/webpack:webpack", |
||||
"outputs": ["{options.outputPath}"], |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"compiler": "babel", |
||||
"outputPath": "dist/apps/debugger", |
||||
"index": "apps/debugger/src/index.html", |
||||
"baseHref": "/", |
||||
"main": "apps/debugger/src/main.tsx", |
||||
"polyfills": "apps/debugger/src/polyfills.ts", |
||||
"tsConfig": "apps/debugger/tsconfig.app.json", |
||||
"assets": [ |
||||
"apps/debugger/src/favicon.ico", |
||||
"apps/debugger/src/assets" |
||||
], |
||||
"styles": ["apps/debugger/src/styles.css"], |
||||
"scripts": [], |
||||
"webpackConfig": "apps/debugger/webpack.config.js" |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
}, |
||||
"production": { |
||||
"fileReplacements": [ |
||||
{ |
||||
"replace": "apps/debugger/src/environments/environment.ts", |
||||
"with": "apps/debugger/src/environments/environment.prod.ts" |
||||
} |
||||
] |
||||
} |
||||
} |
||||
}, |
||||
"serve": { |
||||
"executor": "@nrwl/webpack:dev-server", |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"buildTarget": "debugger:build", |
||||
"hmr": true |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
"buildTarget": "debugger:build:development" |
||||
}, |
||||
"production": { |
||||
"buildTarget": "debugger:build:production" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
@ -1,16 +1,16 @@ |
||||
{ |
||||
"extends": "../../tsconfig.base.json", |
||||
"compilerOptions": { |
||||
"jsx": "react", |
||||
"jsx": "react-jsx", |
||||
"allowJs": true, |
||||
"esModuleInterop": true, |
||||
"allowSyntheticDefaultImports": true, |
||||
"types": ["node", "jest"], |
||||
"resolveJsonModule": true |
||||
"allowSyntheticDefaultImports": true |
||||
}, |
||||
"files": [ |
||||
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts", |
||||
"../../node_modules/@nrwl/react/typings/image.d.ts" |
||||
], |
||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] |
||||
"files": [], |
||||
"include": [], |
||||
"references": [ |
||||
{ |
||||
"path": "./tsconfig.app.json" |
||||
} |
||||
] |
||||
} |
||||
|
@ -0,0 +1,62 @@ |
||||
{ |
||||
"name": "etherscan", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "apps/etherscan/src", |
||||
"projectType": "application", |
||||
"implicitDependencies": [ |
||||
"remix-debug" |
||||
], |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/webpack:webpack", |
||||
"outputs": ["{options.outputPath}"], |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"compiler": "babel", |
||||
"outputPath": "dist/apps/etherscan", |
||||
"index": "apps/etherscan/src/index.html", |
||||
"baseHref": "/", |
||||
"main": "apps/etherscan/src/main.tsx", |
||||
"polyfills": "apps/etherscan/src/polyfills.ts", |
||||
"tsConfig": "apps/etherscan/tsconfig.app.json", |
||||
"assets": [ |
||||
"apps/etherscan/src/favicon.ico", |
||||
"apps/etherscan/src/assets" |
||||
], |
||||
"styles": ["apps/etherscan/src/styles.css"], |
||||
"scripts": [], |
||||
"webpackConfig": "apps/etherscan/webpack.config.js" |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
}, |
||||
"production": { |
||||
"fileReplacements": [ |
||||
{ |
||||
"replace": "apps/etherscan/src/environments/environment.ts", |
||||
"with": "apps/etherscan/src/environments/environment.prod.ts" |
||||
} |
||||
] |
||||
} |
||||
} |
||||
}, |
||||
"serve": { |
||||
"executor": "@nrwl/webpack:dev-server", |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"buildTarget": "etherscan:build", |
||||
"hmr": true |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
"buildTarget": "etherscan:build:development", |
||||
"port": 5003 |
||||
}, |
||||
"production": { |
||||
"buildTarget": "etherscan:build:production" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
@ -0,0 +1,28 @@ |
||||
const nxWebpack = require('@nrwl/react/plugins/webpack') |
||||
|
||||
module.exports = config => { |
||||
const nxWebpackConfig = nxWebpack(config) |
||||
const webpackConfig = { |
||||
...nxWebpackConfig, |
||||
resolve : { |
||||
...nxWebpackConfig.resolve, |
||||
fallback: { |
||||
...nxWebpackConfig.resolve.fallback, |
||||
"http": require.resolve("stream-http"), |
||||
"https": require.resolve("https-browserify"), |
||||
"stream": require.resolve("stream-browserify"), |
||||
"zlib": require.resolve("browserify-zlib"), |
||||
}, |
||||
} |
||||
} |
||||
|
||||
if (process.env.NODE_ENV === 'production') { |
||||
return { |
||||
...webpackConfig, |
||||
mode: 'production', |
||||
devtool: 'source-map', |
||||
} |
||||
} else { |
||||
return webpackConfig |
||||
} |
||||
} |
@ -0,0 +1,62 @@ |
||||
{ |
||||
"name": "remix-ide-e2e-src-local-plugin", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "apps/remix-ide-e2e/src/local-plugin/src/", |
||||
"projectType": "application", |
||||
"implicitDependencies": [ |
||||
"remix-debug" |
||||
], |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/webpack:webpack", |
||||
"outputs": ["{options.outputPath}"], |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"compiler": "babel", |
||||
"outputPath": "dist/apps/remix-ide-e2e-src-local-plugin", |
||||
"index": "apps/remix-ide-e2e/src/local-plugin/src/index.html", |
||||
"baseHref": "/", |
||||
"main": "apps/remix-ide-e2e/src/local-plugin/src/main.tsx", |
||||
"polyfills": "apps/remix-ide-e2e/src/local-plugin/src/polyfills.ts", |
||||
"tsConfig": "apps/remix-ide-e2e/src/local-plugin/tsconfig.app.json", |
||||
"assets": [ |
||||
], |
||||
"styles": [ |
||||
"apps/remix-ide-e2e/src/local-plugin/src/styles.css" |
||||
], |
||||
"scripts": [], |
||||
"webpackConfig": "@nrwl/react/plugins/webpack" |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
}, |
||||
"production": { |
||||
"fileReplacements": [ |
||||
{ |
||||
"replace": "apps/remix-ide-e2e/src/local-plugin/src/environments/environment.ts", |
||||
"with": "apps/remix-ide-e2e/src/local-plugin/src/environments/environment.prod.ts" |
||||
} |
||||
] |
||||
} |
||||
} |
||||
}, |
||||
"serve": { |
||||
"executor": "@nrwl/webpack:dev-server", |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"buildTarget": "remix-ide-e2e-src-local-plugin:build", |
||||
"hmr": true |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
"buildTarget": "remix-ide-e2e-src-local-plugin:build:development", |
||||
"port": 2020 |
||||
}, |
||||
"production": { |
||||
"buildTarget": "remix-ide-e2e-src-local-plugin:build:production" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
@ -1,4 +1,9 @@ |
||||
{ |
||||
"presets": ["@babel/preset-env", "@babel/preset-react"], |
||||
"plugins": ["@babel/plugin-proposal-class-properties", "@babel/plugin-transform-runtime"] |
||||
"presets": ["@babel/preset-env", ["@babel/preset-react", |
||||
{"runtime": "automatic"} |
||||
]], |
||||
"plugins": ["@babel/plugin-proposal-class-properties", "@babel/plugin-transform-runtime"], |
||||
"ignore": [ |
||||
"**/node_modules/**" |
||||
] |
||||
} |
||||
|
@ -0,0 +1,19 @@ |
||||
const { spawnSync } = require('child_process') |
||||
const fs = require('fs') |
||||
const { exit } = require('process') |
||||
const file = fs.readFileSync('projects.json') |
||||
const projects = JSON.parse(file) |
||||
console.log(Object.keys(projects.graph.nodes)) |
||||
for(let node of Object.keys(projects.graph.nodes)){ |
||||
if(projects.graph.nodes[node].data.targets.lint){ |
||||
console.log(projects.graph.nodes[node].data.name) |
||||
const result = spawnSync('yarn', ['lint', projects.graph.nodes[node].data.name]) |
||||
if(result.status == 0){ |
||||
console.log('success') |
||||
}else{ |
||||
console.log(result.stdout.toString()) |
||||
console.log(result.stderr.toString()) |
||||
exit(1) |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,74 @@ |
||||
{ |
||||
"name": "remix-ide", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "apps/remix-ide/src", |
||||
"projectType": "application", |
||||
"implicitDependencies": [ |
||||
], |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/webpack:webpack", |
||||
"outputs": ["{options.outputPath}"], |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"compiler": "babel", |
||||
"outputPath": "dist/apps/remix-ide", |
||||
"index": "apps/remix-ide/src/index.html", |
||||
"baseHref": "/", |
||||
"main": "apps/remix-ide/src/index.tsx", |
||||
"polyfills": "apps/remix-ide/src/polyfills.ts", |
||||
"tsConfig": "apps/remix-ide/tsconfig.app.json", |
||||
"assets": [ |
||||
"apps/remix-ide/src/assets", |
||||
"apps/remix-ide/src/index.html", |
||||
"apps/remix-ide/src/404.html", |
||||
"apps/remix-ide/src/favicon.ico" |
||||
], |
||||
"styles": [], |
||||
"scripts": [], |
||||
"webpackConfig": "apps/remix-ide/webpack.config.js" |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
}, |
||||
"production": { |
||||
"fileReplacements": [ |
||||
{ |
||||
"replace": "apps/remix-ide/src/environments/environment.ts", |
||||
"with": "apps/remix-ide/src/environments/environment.prod.ts" |
||||
} |
||||
] |
||||
} |
||||
} |
||||
}, |
||||
"serve": { |
||||
"executor": "@nrwl/webpack:dev-server", |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"buildTarget": "remix-ide:build", |
||||
"watch": true, |
||||
"liveReload": true, |
||||
"hmr": false |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
"buildTarget": "remix-ide:build:development", |
||||
"port": 8080 |
||||
}, |
||||
"production": { |
||||
"buildTarget": "remix-ide:build:production", |
||||
"port": 8080 |
||||
} |
||||
} |
||||
}, |
||||
"lint": { |
||||
"executor": "@nrwl/linter:eslint", |
||||
"outputs": ["{options.outputFile}"], |
||||
"options": { |
||||
"lintFilePatterns": ["apps/remix-ide/**/*.{ts,tsx,js,jsx}"], |
||||
"eslintConfig": "apps/remix-ide/.eslintrc" |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
@ -1,54 +1,45 @@ |
||||
let parser: any |
||||
// 'DedicatedWorkerGlobalScope' object (the Worker global scope) is accessible through the self keyword
|
||||
// 'dom' and 'webworker' library files can't be included together https://github.com/microsoft/TypeScript/issues/20595
|
||||
export default function (self) { // eslint-disable-line @typescript-eslint/explicit-module-boundary-types
|
||||
self.onmessage = (e: MessageEvent) => { |
||||
const data: any = e.data |
||||
switch (data.cmd) { |
||||
case 'load': |
||||
{ |
||||
(self as any).importScripts(e.data.url) |
||||
// @ts-ignore
|
||||
parser = SolidityParser as any; |
||||
|
||||
self.addEventListener('message', (e) => { |
||||
const data: any = e.data |
||||
switch (data.cmd) { |
||||
case 'load': |
||||
{ |
||||
delete self.Module |
||||
// NOTE: workaround some browsers?
|
||||
self.Module = undefined |
||||
// importScripts() method of synchronously imports one or more scripts into the worker's scope
|
||||
self.importScripts(e.data.url) |
||||
// @ts-ignore
|
||||
parser = SolidityParser as any; |
||||
self.postMessage({ |
||||
cmd: 'loaded', |
||||
}) |
||||
break |
||||
} |
||||
|
||||
case 'parse': |
||||
if (data.text && parser) { |
||||
|
||||
try { |
||||
let startTime = performance.now() |
||||
const blocks = parser.parseBlock(data.text, { loc: true, range: true, tolerant: true }) |
||||
const blockDuration = performance.now() - startTime |
||||
startTime = performance.now() |
||||
const ast = parser.parse(data.text, { loc: true, range: true, tolerant: true }) |
||||
const endTime = performance.now() |
||||
|
||||
self.postMessage({ |
||||
cmd: 'loaded', |
||||
cmd: 'parsed', |
||||
timestamp: data.timestamp, |
||||
ast, |
||||
text: data.text, |
||||
file: data.file, |
||||
duration: endTime - startTime, |
||||
blockDuration, |
||||
blocks |
||||
}) |
||||
break |
||||
} catch (e) { |
||||
// do nothing
|
||||
} |
||||
|
||||
case 'parse': |
||||
if (data.text && parser) { |
||||
|
||||
try { |
||||
let startTime = performance.now() |
||||
const blocks = parser.parseBlock(data.text, { loc: true, range: true, tolerant: true }) |
||||
const blockDuration = performance.now() - startTime |
||||
startTime = performance.now() |
||||
const ast = parser.parse(data.text, { loc: true, range: true, tolerant: true }) |
||||
const endTime = performance.now() |
||||
|
||||
self.postMessage({ |
||||
cmd: 'parsed', |
||||
timestamp: data.timestamp, |
||||
ast, |
||||
text: data.text, |
||||
file: data.file, |
||||
duration: endTime - startTime, |
||||
blockDuration, |
||||
blocks |
||||
}) |
||||
} catch (e) { |
||||
// do nothing
|
||||
} |
||||
|
||||
} |
||||
break |
||||
} |
||||
}, false) |
||||
} |
||||
} |
||||
break |
||||
} |
||||
} |
File diff suppressed because one or more lines are too long
@ -0,0 +1,61 @@ |
||||
{ |
||||
"name": "solidity-compiler", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "apps/solidity-compiler/src", |
||||
"projectType": "application", |
||||
"implicitDependencies": [], |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/webpack:webpack", |
||||
"outputs": [ |
||||
"{options.outputPath}" |
||||
], |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"compiler": "babel", |
||||
"outputPath": "dist/apps/solidity-compiler", |
||||
"index": "apps/solidity-compiler/src/index.html", |
||||
"baseHref": "/", |
||||
"main": "apps/solidity-compiler/src/main.tsx", |
||||
"polyfills": "apps/solidity-compiler/src/polyfills.ts", |
||||
"tsConfig": "apps/solidity-compiler/tsconfig.app.json", |
||||
"assets": [ |
||||
"apps/solidity-compiler/src/favicon.ico", |
||||
"apps/solidity-compiler/src/assets" |
||||
], |
||||
"styles": [ |
||||
"apps/solidity-compiler/src/styles.css" |
||||
], |
||||
"scripts": [], |
||||
"webpackConfig": "apps/solidity-compiler/webpack.config.js" |
||||
}, |
||||
"configurations": { |
||||
"development": {}, |
||||
"production": { |
||||
"fileReplacements": [ |
||||
{ |
||||
"replace": "apps/solidity-compiler/src/environments/environment.ts", |
||||
"with": "apps/solidity-compiler/src/environments/environment.prod.ts" |
||||
} |
||||
] |
||||
} |
||||
} |
||||
}, |
||||
"serve": { |
||||
"executor": "@nrwl/webpack:dev-server", |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"buildTarget": "solidity-compiler:build" |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
"buildTarget": "solidity-compiler:build:development" |
||||
}, |
||||
"production": { |
||||
"buildTarget": "solidity-compiler:build:production" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
@ -1,16 +1,16 @@ |
||||
{ |
||||
"extends": "../../tsconfig.base.json", |
||||
"compilerOptions": { |
||||
"jsx": "react", |
||||
"jsx": "react-jsx", |
||||
"allowJs": true, |
||||
"esModuleInterop": true, |
||||
"allowSyntheticDefaultImports": true, |
||||
"types": ["node", "jest"], |
||||
"resolveJsonModule": true |
||||
"allowSyntheticDefaultImports": true |
||||
}, |
||||
"files": [ |
||||
"../../node_modules/@nrwl/react/typings/cssmodule.d.ts", |
||||
"../../node_modules/@nrwl/react/typings/image.d.ts" |
||||
], |
||||
"include": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx"] |
||||
"files": [], |
||||
"include": [], |
||||
"references": [ |
||||
{ |
||||
"path": "./tsconfig.app.json" |
||||
} |
||||
] |
||||
} |
||||
|
@ -0,0 +1,62 @@ |
||||
{ |
||||
"name": "vyper", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "apps/vyper/src", |
||||
"projectType": "application", |
||||
"implicitDependencies": [ |
||||
"remix-debug" |
||||
], |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/webpack:webpack", |
||||
"outputs": ["{options.outputPath}"], |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"compiler": "babel", |
||||
"outputPath": "dist/apps/vyper", |
||||
"index": "apps/vyper/src/index.html", |
||||
"baseHref": "/", |
||||
"main": "apps/vyper/src/main.tsx", |
||||
"polyfills": "apps/vyper/src/polyfills.ts", |
||||
"tsConfig": "apps/vyper/tsconfig.app.json", |
||||
"assets": [ |
||||
"apps/vyper/src/favicon.ico", |
||||
"apps/vyper/src/assets" |
||||
], |
||||
"styles": ["apps/vyper/src/styles.css"], |
||||
"scripts": [], |
||||
"webpackConfig": "@nrwl/react/plugins/webpack" |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
}, |
||||
"production": { |
||||
"fileReplacements": [ |
||||
{ |
||||
"replace": "apps/vyper/src/environments/environment.ts", |
||||
"with": "apps/vyper/src/environments/environment.prod.ts" |
||||
} |
||||
] |
||||
} |
||||
} |
||||
}, |
||||
"serve": { |
||||
"executor": "@nrwl/webpack:dev-server", |
||||
"defaultConfiguration": "development", |
||||
"options": { |
||||
"buildTarget": "vyper:build", |
||||
"hmr": true |
||||
}, |
||||
"configurations": { |
||||
"development": { |
||||
"buildTarget": "vyper:build:development", |
||||
"port": 5002 |
||||
}, |
||||
"production": { |
||||
"buildTarget": "vyper:build:production" |
||||
} |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
@ -1,4 +1,9 @@ |
||||
module.exports = { |
||||
"presets": ["@babel/preset-react", "@babel/preset-typescript"], |
||||
"plugins": ["@babel/plugin-transform-modules-commonjs", "@babel/plugin-proposal-class-properties"] |
||||
"presets": ["@babel/preset-typescript", "@babel/preset-env", "@babel/preset-react"], |
||||
"plugins": [ |
||||
"babel-plugin-replace-ts-export-assignment",
|
||||
"@babel/plugin-transform-modules-commonjs",
|
||||
"@babel/plugin-proposal-class-properties", |
||||
["@babel/plugin-proposal-private-property-in-object", { "loose": false }], |
||||
["@babel/plugin-proposal-private-methods", { "loose": false }]] |
||||
} |
@ -0,0 +1,31 @@ |
||||
{ |
||||
"name": "remix-analyzer", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "libs/remix-analyzer/src", |
||||
"projectType": "library", |
||||
"implicitDependencies": [ |
||||
"remix-astwalker", |
||||
"remix-lib" |
||||
], |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/js:tsc", |
||||
"outputs": ["{options.outputPath}"], |
||||
"options": { |
||||
"outputPath": "dist/libs/remix-analyzer", |
||||
"main": "libs/remix-analyzer/src/index.ts", |
||||
"tsConfig": "libs/remix-analyzer/tsconfig.lib.json", |
||||
"assets": [] |
||||
} |
||||
}, |
||||
"lint": { |
||||
"executor": "@nrwl/linter:eslint", |
||||
"outputs": ["{options.outputFile}"], |
||||
"options": { |
||||
"lintFilePatterns": ["libs/remix-analyzer/**/*.ts"] |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
||||
|
@ -1 +1,2 @@ |
||||
export { default as CodeAnalysis } from './solidity-analyzer' |
||||
export { ContractDefinitionAstNode, EventDefinitionAstNode, FunctionCallAstNode, FunctionDefinitionAstNode, IdentifierAstNode, ImportDirectiveAstNode, ModifierDefinitionAstNode, SourceUnitAstNode, StructDefinitionAstNode, VariableDeclarationAstNode } from './types' |
@ -0,0 +1,30 @@ |
||||
{ |
||||
"name": "remix-astwalker", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "libs/remix-astwalker/src", |
||||
"projectType": "library", |
||||
"implicitDependencies": [ |
||||
"remix-lib" |
||||
], |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/js:tsc", |
||||
"outputs": ["{options.outputPath}"], |
||||
"options": { |
||||
"outputPath": "dist/libs/remix-astwalker", |
||||
"main": "libs/remix-astwalker/src/index.ts", |
||||
"tsConfig": "libs/remix-astwalker/tsconfig.lib.json", |
||||
"assets": [] |
||||
} |
||||
}, |
||||
"lint": { |
||||
"executor": "@nrwl/linter:eslint", |
||||
"outputs": ["{options.outputFile}"], |
||||
"options": { |
||||
"lintFilePatterns": ["libs/remix-astwalker/**/*.ts"] |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
||||
|
@ -1 +1,13 @@ |
||||
{ "extends": "../../.eslintrc", "rules": {}, "ignorePatterns": ["!**/*"] } |
||||
{ |
||||
"extends": "../../.eslintrc", |
||||
"rules": { |
||||
"@typescript-eslint/no-explicit-any": "off", |
||||
"@typescript-eslint/no-unused-vars": "off", |
||||
"no-unused-vars": "off", |
||||
"dot-notation": "off", |
||||
"no-use-before-define": "off" |
||||
}, |
||||
"ignorePatterns": [ |
||||
"**/node_modules/**" |
||||
] |
||||
} |
||||
|
@ -0,0 +1,27 @@ |
||||
{ |
||||
"name": "remix-core-plugin", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "libs/remix-core-plugin/src", |
||||
"projectType": "library", |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/js:tsc", |
||||
"outputs": ["{options.outputPath}"], |
||||
"options": { |
||||
"outputPath": "dist/libs/remix-core-plugin", |
||||
"main": "libs/remix-core-plugin/src/index.ts", |
||||
"tsConfig": "libs/remix-core-plugin/tsconfig.lib.json", |
||||
"assets": [] |
||||
} |
||||
}, |
||||
"lint": { |
||||
"executor": "@nrwl/linter:eslint", |
||||
"outputs": ["{options.outputFile}"], |
||||
"options": { |
||||
"lintFilePatterns": ["libs/remix-core-plugin/**/*.ts"] |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
||||
|
@ -0,0 +1,31 @@ |
||||
{ |
||||
"name": "remix-debug", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "libs/remix-debug/src", |
||||
"projectType": "library", |
||||
"implicitDependencies": [ |
||||
"remix-lib", |
||||
"remix-astwalker" |
||||
], |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/js:tsc", |
||||
"outputs": ["{options.outputPath}"], |
||||
"options": { |
||||
"outputPath": "dist/libs/remix-debug", |
||||
"main": "libs/remix-debug/src/index.ts", |
||||
"tsConfig": "libs/remix-debug/tsconfig.lib.json", |
||||
"assets": [] |
||||
} |
||||
}, |
||||
"lint": { |
||||
"executor": "@nrwl/linter:eslint", |
||||
"outputs": ["{options.outputFile}"], |
||||
"options": { |
||||
"lintFilePatterns": ["libs/remix-debug/**/*.ts"] |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
||||
|
@ -0,0 +1,27 @@ |
||||
{ |
||||
"name": "remix-lib", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "libs/remix-lib/src", |
||||
"projectType": "library", |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/js:tsc", |
||||
"outputs": ["{options.outputPath}"], |
||||
"options": { |
||||
"outputPath": "dist/libs/remix-lib", |
||||
"main": "libs/remix-lib/src/index.ts", |
||||
"tsConfig": "libs/remix-lib/tsconfig.lib.json", |
||||
"assets": [] |
||||
} |
||||
}, |
||||
"lint": { |
||||
"executor": "@nrwl/linter:eslint", |
||||
"outputs": ["{options.outputFile}"], |
||||
"options": { |
||||
"lintFilePatterns": ["libs/remix-lib/**/*.ts"] |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
||||
|
@ -0,0 +1,30 @@ |
||||
{ |
||||
"name": "remix-simulator", |
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
||||
"sourceRoot": "libs/remix-simulator/src", |
||||
"projectType": "library", |
||||
"implicitDependencies": [ |
||||
"remix-lib" |
||||
], |
||||
"targets": { |
||||
"build": { |
||||
"executor": "@nrwl/js:tsc", |
||||
"outputs": ["{options.outputPath}"], |
||||
"options": { |
||||
"outputPath": "dist/libs/remix-simulator", |
||||
"main": "libs/remix-simulator/src/index.ts", |
||||
"tsConfig": "libs/remix-simulator/tsconfig.lib.json", |
||||
"assets": [] |
||||
} |
||||
}, |
||||
"lint": { |
||||
"executor": "@nrwl/linter:eslint", |
||||
"outputs": ["{options.outputFile}"], |
||||
"options": { |
||||
"lintFilePatterns": ["libs/remix-simulator/**/*.ts"] |
||||
} |
||||
} |
||||
}, |
||||
"tags": [] |
||||
} |
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue