use package.json version 1

yann300-patch-33
yann300 3 years ago
parent 9032788c68
commit 199f15d375
  1. 2
      .eslintrc
  2. 6
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx
  3. 80203
      package-lock.json
  4. 15
      package.json
  5. 8
      tsconfig.base.json

@ -4,7 +4,7 @@
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
"project": "./tsconfig.base.json"
},
"plugins": ["@typescript-eslint", "@nrwl/nx"],
"extends": "standard",

@ -8,7 +8,7 @@ import ErrorRenderer from './ErrorRenderer' // eslint-disable-line
import { compilation } from './actions/staticAnalysisActions'
import { initialState, analysisReducer } from './reducers/staticAnalysisReducer'
import { OverlayTrigger, Tooltip } from 'react-bootstrap'// eslint-disable-line
const StaticAnalysisRunner = require('@remix-project/remix-analyzer').CodeAnalysis
import { CodeAnalysis } from '@remix-project/remix-analyzer'
declare global {
interface Window {
@ -25,7 +25,7 @@ export interface RemixUiStaticAnalyserProps {
}
export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
const [runner] = useState(new StaticAnalysisRunner())
const [runner] = useState(new CodeAnalysis())
const preProcessModules = (arr: any) => {
return arr.map((Item, i) => {
@ -196,7 +196,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
fileName = Object.keys(lastCompilationResult.sources)[file]
}
warningCount++
const msg = message(item.name, item.warning, item.more, fileName, locationString)
const msg = message(result.name, item.warning, item.more, fileName, locationString)
const options = {
type: 'warning',
useSpan: true,

80203
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -196,13 +196,14 @@
"@babel/preset-typescript": "7.9.0",
"@babel/register": "^7.4.4",
"@fortawesome/fontawesome-free": "^5.8.1",
"@nrwl/eslint-plugin-nx": "^10.0.6",
"@nrwl/jest": "10.0.6",
"@nrwl/linter": "^10.0.6",
"@nrwl/node": "^10.0.6",
"@nrwl/react": "10.0.6",
"@nrwl/web": "10.0.6",
"@nrwl/workspace": "10.0.6",
"@nrwl/eslint-plugin-nx": "^12.9.0",
"@nrwl/jest": "^12.9.0",
"@nrwl/linter": "^12.9.0",
"@nrwl/node": "^12.9.0",
"@nrwl/react": "^12.9.0",
"@nrwl/web": "^12.9.0",
"@nrwl/workspace": "^12.9.0",
"@nrwl/cli": "^12.9.0",
"@testing-library/react": "10.4.1",
"@types/axios": "^0.14.0",
"@types/chai": "^4.2.11",

@ -16,14 +16,14 @@
"skipDefaultLibCheck": true,
"baseUrl": ".",
"paths": {
"@remix-project/remix-analyzer": ["dist/libs/remix-analyzer/index.js"],
"@remix-project/remix-astwalker": ["dist/libs/remix-astwalker/index.js"],
"@remix-project/remix-analyzer": ["dist/libs/remix-analyzer/src/index.js"],
"@remix-project/remix-astwalker": ["dist/libs/remix-astwalker/src/index.js"],
"@remix-project/remix-debug": ["dist/libs/remix-debug/src/index.js"],
"@remix-project/remix-lib": ["dist/libs/remix-lib/src/index.js"],
"@remix-project/remix-simulator": ["dist/libs/remix-simulator/src/index.js"],
"@remix-project/remix-solidity": ["dist/libs/remix-solidity/index.js"],
"@remix-project/remix-solidity": ["dist/libs/remix-solidity/src/index.js"],
"@remix-project/remix-tests": ["dist/libs/remix-tests/src/index.js"],
"@remix-project/remix-url-resolver": ["dist/libs/remix-url-resolver/index.js"],
"@remix-project/remix-url-resolver": ["dist/libs/remix-url-resolver/src/index.js"],
"@remixproject/debugger-plugin": ["apps/debugger/src/index.ts"],
"@remixproject/solidity-compiler-plugin": ["apps/solidity-compiler/src/index.ts"],
"@remix-project/remixd": ["dist/libs/remixd/index.js"],

Loading…
Cancel
Save