From d35820c4227c3fe424514a769c499c0c0fef60f3 Mon Sep 17 00:00:00 2001 From: janryWang Date: Mon, 4 Mar 2019 22:25:24 +0800 Subject: [PATCH] refactor(builder): delete package-lock.json and config/jest --- packages/builder/config/jest/cssTransform.js | 12 - packages/builder/config/jest/fileTransform.js | 10 - packages/builder/package-lock.json | 463 ------------------ 3 files changed, 485 deletions(-) delete mode 100644 packages/builder/config/jest/cssTransform.js delete mode 100644 packages/builder/config/jest/fileTransform.js delete mode 100644 packages/builder/package-lock.json diff --git a/packages/builder/config/jest/cssTransform.js b/packages/builder/config/jest/cssTransform.js deleted file mode 100644 index 824423e0ef1..00000000000 --- a/packages/builder/config/jest/cssTransform.js +++ /dev/null @@ -1,12 +0,0 @@ -// This is a custom Jest transformer turning style imports into empty objects. -// http://facebook.github.io/jest/docs/en/webpack.html - -module.exports = { - process() { - return 'module.exports = {};' - }, - getCacheKey() { - // The output is always the same. - return 'cssTransform' - } -} diff --git a/packages/builder/config/jest/fileTransform.js b/packages/builder/config/jest/fileTransform.js deleted file mode 100644 index cae619d44b7..00000000000 --- a/packages/builder/config/jest/fileTransform.js +++ /dev/null @@ -1,10 +0,0 @@ -const path = require('path') - -// This is a custom Jest transformer turning file imports into filenames. -// http://facebook.github.io/jest/docs/en/webpack.html - -module.exports = { - process(src, filename) { - return `module.exports = ${JSON.stringify(path.basename(filename))};` - } -} diff --git a/packages/builder/package-lock.json b/packages/builder/package-lock.json deleted file mode 100644 index 3342503708e..00000000000 --- a/packages/builder/package-lock.json +++ /dev/null @@ -1,463 +0,0 @@ -{ - "name": "@uform/builder", - "version": "0.1.0-alpha.3", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "@alifd/next": { - "version": "1.13.2", - "resolved": "http://registry.npm.alibaba-inc.com/@alifd/next/download/@alifd/next-1.13.2.tgz", - "integrity": "sha1-4yPxdLeRUuxkE9JRiHofZhqFxoE=", - "requires": { - "babel-runtime": "^6.26.0", - "classnames": "^2.2.3", - "hoist-non-react-statics": "^2.1.0", - "prop-types": "^15.6.0", - "react-transition-group": "^2.2.1", - "shallow-element-equals": "^1.0.1" - } - }, - "@babel/helper-annotate-as-pure": { - "version": "7.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/@babel/helper-annotate-as-pure/download/@babel/helper-annotate-as-pure-7.0.0.tgz", - "integrity": "sha1-Mj053QtQ4Qx8Bsp9djjmhk2MXDI=", - "requires": { - "@babel/types": "^7.0.0" - } - }, - "@babel/helper-module-imports": { - "version": "7.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/@babel/helper-module-imports/download/@babel/helper-module-imports-7.0.0.tgz", - "integrity": "sha1-lggbcRHkhtpNLNlxrRpP4hbMLj0=", - "requires": { - "@babel/types": "^7.0.0" - } - }, - "@babel/runtime": { - "version": "7.3.1", - "resolved": "http://registry.npm.alibaba-inc.com/@babel/runtime/download/@babel/runtime-7.3.1.tgz", - "integrity": "sha1-V0sD6OipiY6vSocqkuogt4Rvbyo=", - "requires": { - "regenerator-runtime": "^0.12.0" - }, - "dependencies": { - "regenerator-runtime": { - "version": "0.12.1", - "resolved": "http://registry.npm.alibaba-inc.com/regenerator-runtime/download/regenerator-runtime-0.12.1.tgz", - "integrity": "sha1-+hpxVEdkwDb4xJsToIsllMn4oN4=" - } - } - }, - "@babel/types": { - "version": "7.3.3", - "resolved": "http://registry.npm.alibaba-inc.com/@babel/types/download/@babel/types-7.3.3.tgz", - "integrity": "sha1-bETRzawqdiW2JCFmV9W8bBB6tDY=", - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.11", - "to-fast-properties": "^2.0.0" - } - }, - "@emotion/is-prop-valid": { - "version": "0.7.3", - "resolved": "http://registry.npm.alibaba-inc.com/@emotion/is-prop-valid/download/@emotion/is-prop-valid-0.7.3.tgz", - "integrity": "sha1-pr9PpTh8u6WdROaYpGgPSBqNpsw=", - "requires": { - "@emotion/memoize": "0.7.1" - } - }, - "@emotion/memoize": { - "version": "0.7.1", - "resolved": "http://registry.npm.alibaba-inc.com/@emotion/memoize/download/@emotion/memoize-0.7.1.tgz", - "integrity": "sha1-6TwTlCWSz17wGqgpdETcGSvu5S8=" - }, - "@emotion/unitless": { - "version": "0.7.3", - "resolved": "http://registry.npm.alibaba-inc.com/@emotion/unitless/download/@emotion/unitless-0.7.3.tgz", - "integrity": "sha1-YxCgR/EtIaEDb7AxMXIZiSRAQW8=" - }, - "babel-plugin-styled-components": { - "version": "1.10.0", - "resolved": "http://registry.npm.alibaba-inc.com/babel-plugin-styled-components/download/babel-plugin-styled-components-1.10.0.tgz", - "integrity": "sha1-/x9CrSzHjCHya2Ima49WTbyGKTk=", - "requires": { - "@babel/helper-annotate-as-pure": "^7.0.0", - "@babel/helper-module-imports": "^7.0.0", - "babel-plugin-syntax-jsx": "^6.18.0", - "lodash": "^4.17.10" - } - }, - "babel-plugin-syntax-jsx": { - "version": "6.18.0", - "resolved": "http://registry.npm.alibaba-inc.com/babel-plugin-syntax-jsx/download/babel-plugin-syntax-jsx-6.18.0.tgz", - "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=" - }, - "babel-runtime": { - "version": "6.26.0", - "resolved": "http://registry.npm.alibaba-inc.com/babel-runtime/download/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - } - }, - "camel-case": { - "version": "3.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/camel-case/download/camel-case-3.0.0.tgz", - "integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=", - "requires": { - "no-case": "^2.2.0", - "upper-case": "^1.1.1" - } - }, - "camelize": { - "version": "1.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/camelize/download/camelize-1.0.0.tgz", - "integrity": "sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs=" - }, - "classnames": { - "version": "2.2.6", - "resolved": "http://registry.npm.alibaba-inc.com/classnames/download/classnames-2.2.6.tgz", - "integrity": "sha1-Q5Nb/90pHzJtrQogUwmzjQD2UM4=" - }, - "core-js": { - "version": "2.6.5", - "resolved": "http://registry.npm.alibaba-inc.com/core-js/download/core-js-2.6.5.tgz", - "integrity": "sha1-RLyNJJ5/sv9dAOA0Gn/7lPv2eJU=" - }, - "css-color-keywords": { - "version": "1.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/css-color-keywords/download/css-color-keywords-1.0.0.tgz", - "integrity": "sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU=" - }, - "css-to-react-native": { - "version": "2.3.0", - "resolved": "http://registry.npm.alibaba-inc.com/css-to-react-native/download/css-to-react-native-2.3.0.tgz", - "integrity": "sha1-v4DSTsSgjkMDBu9CnAWG5u1Uhfc=", - "requires": { - "camelize": "^1.0.0", - "css-color-keywords": "^1.0.0", - "postcss-value-parser": "^3.3.0" - } - }, - "deep-diff": { - "version": "0.3.8", - "resolved": "http://registry.npm.alibaba-inc.com/deep-diff/download/deep-diff-0.3.8.tgz", - "integrity": "sha1-wB3mPvsO7JeYgB1Ax+Da4ltYLIQ=" - }, - "dom-helpers": { - "version": "3.4.0", - "resolved": "http://registry.npm.alibaba-inc.com/dom-helpers/download/dom-helpers-3.4.0.tgz", - "integrity": "sha1-6bNpcA+Vn2Ls3lprq95LzNkWmvg=", - "requires": { - "@babel/runtime": "^7.1.2" - } - }, - "esutils": { - "version": "2.0.2", - "resolved": "http://registry.npm.alibaba-inc.com/esutils/download/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/has-flag/download/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "hoist-non-react-statics": { - "version": "2.5.5", - "resolved": "http://registry.npm.alibaba-inc.com/hoist-non-react-statics/download/hoist-non-react-statics-2.5.5.tgz", - "integrity": "sha1-xZA89AnA39kI84jmGdhrnBF0y0c=" - }, - "invariant": { - "version": "2.2.4", - "resolved": "http://registry.npm.alibaba-inc.com/invariant/download/invariant-2.2.4.tgz", - "integrity": "sha1-YQ88ksk1nOHbYW5TgAjSP/NRWOY=", - "requires": { - "loose-envify": "^1.0.0" - } - }, - "js-tokens": { - "version": "4.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/js-tokens/download/js-tokens-4.0.0.tgz", - "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk=" - }, - "lodash": { - "version": "4.17.11", - "resolved": "http://registry.npm.alibaba-inc.com/lodash/download/lodash-4.17.11.tgz", - "integrity": "sha1-s56mIp72B+zYniyN8SU2iRysm40=" - }, - "lodash.isequal": { - "version": "4.5.0", - "resolved": "http://registry.npm.alibaba-inc.com/lodash.isequal/download/lodash.isequal-4.5.0.tgz", - "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=" - }, - "lodash.merge": { - "version": "4.6.1", - "resolved": "http://registry.npm.alibaba-inc.com/lodash.merge/download/lodash.merge-4.6.1.tgz", - "integrity": "sha1-rcJdnLmbk5HFliTzefu6YNcRHVQ=" - }, - "lodash.pick": { - "version": "4.4.0", - "resolved": "http://registry.npm.alibaba-inc.com/lodash.pick/download/lodash.pick-4.4.0.tgz", - "integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM=" - }, - "lodash.pickby": { - "version": "4.6.0", - "resolved": "http://registry.npm.alibaba-inc.com/lodash.pickby/download/lodash.pickby-4.6.0.tgz", - "integrity": "sha1-feoh2MGNdwOifHBMFdO4SmfjOv8=" - }, - "lodash.remove": { - "version": "4.7.0", - "resolved": "http://registry.npm.alibaba-inc.com/lodash.remove/download/lodash.remove-4.7.0.tgz", - "integrity": "sha1-8x0x58OaBpDVB07A02JxYjNO5iY=" - }, - "lodash.uniqby": { - "version": "4.7.0", - "resolved": "http://registry.npm.alibaba-inc.com/lodash.uniqby/download/lodash.uniqby-4.7.0.tgz", - "integrity": "sha1-2ZwHpmnp5tJOE2Lf4mbGdhavEwI=" - }, - "loose-envify": { - "version": "1.4.0", - "resolved": "http://registry.npm.alibaba-inc.com/loose-envify/download/loose-envify-1.4.0.tgz", - "integrity": "sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=", - "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" - } - }, - "lower-case": { - "version": "1.1.4", - "resolved": "http://registry.npm.alibaba-inc.com/lower-case/download/lower-case-1.1.4.tgz", - "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw=" - }, - "memoize-one": { - "version": "4.0.3", - "resolved": "http://registry.npm.alibaba-inc.com/memoize-one/download/memoize-one-4.0.3.tgz", - "integrity": "sha1-zf3ZQoU/GhtMccUza4xJ2gvwJzw=" - }, - "moment": { - "version": "2.24.0", - "resolved": "http://registry.npm.alibaba-inc.com/moment/download/moment-2.24.0.tgz", - "integrity": "sha1-DQVdU/UFKqZTyfbraLtdEr9cK1s=" - }, - "monaco-editor": { - "version": "0.15.6", - "resolved": "http://registry.npm.alibaba-inc.com/monaco-editor/download/monaco-editor-0.15.6.tgz", - "integrity": "sha1-1js7BvhvgDRk8AOyUmJ8PrSglIM=" - }, - "no-case": { - "version": "2.3.2", - "resolved": "http://registry.npm.alibaba-inc.com/no-case/download/no-case-2.3.2.tgz", - "integrity": "sha1-YLgTOWvjmz8SiKTB7V0efSi0ZKw=", - "requires": { - "lower-case": "^1.1.1" - } - }, - "object-assign": { - "version": "4.1.1", - "resolved": "http://registry.npm.alibaba-inc.com/object-assign/download/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" - }, - "pascal-case": { - "version": "2.0.1", - "resolved": "http://registry.npm.alibaba-inc.com/pascal-case/download/pascal-case-2.0.1.tgz", - "integrity": "sha1-LVeNNFX2YNpl7KGO+VtODekSdh4=", - "requires": { - "camel-case": "^3.0.0", - "upper-case-first": "^1.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "http://registry.npm.alibaba-inc.com/postcss-value-parser/download/postcss-value-parser-3.3.1.tgz", - "integrity": "sha1-n/giVH4okyE88cMO+lGsX9G6goE=" - }, - "prop-types": { - "version": "15.7.2", - "resolved": "http://registry.npm.alibaba-inc.com/prop-types/download/prop-types-15.7.2.tgz", - "integrity": "sha1-UsQedbjIfnK52TYOAga5ncv/psU=", - "requires": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.8.1" - } - }, - "react-eva": { - "version": "1.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/react-eva/download/react-eva-1.0.0.tgz", - "integrity": "sha1-IRQP0wTADspGoQcJhUB3DNVay7c=", - "requires": { - "rxjs": "^6.3.3" - } - }, - "react-is": { - "version": "16.8.3", - "resolved": "http://registry.npm.alibaba-inc.com/react-is/download/react-is-16.8.3.tgz", - "integrity": "sha1-StiwKcKnGPwM/HRsjU4bciHlOH0=" - }, - "react-lifecycles-compat": { - "version": "3.0.4", - "resolved": "http://registry.npm.alibaba-inc.com/react-lifecycles-compat/download/react-lifecycles-compat-3.0.4.tgz", - "integrity": "sha1-TxonOv38jzSIqMUWv9p4+HI1I2I=" - }, - "react-powerplug": { - "version": "1.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/react-powerplug/download/react-powerplug-1.0.0.tgz", - "integrity": "sha1-+cEKdh7OEVZhuP0QkgxOVz6pWQk=", - "requires": { - "@babel/runtime": "^7.0.0" - } - }, - "react-redux": { - "version": "5.1.1", - "resolved": "http://registry.npm.alibaba-inc.com/react-redux/download/react-redux-5.1.1.tgz", - "integrity": "sha1-iONoaCx/qA404FXNesVvWTaw9S8=", - "requires": { - "@babel/runtime": "^7.1.2", - "hoist-non-react-statics": "^3.1.0", - "invariant": "^2.2.4", - "loose-envify": "^1.1.0", - "prop-types": "^15.6.1", - "react-is": "^16.6.0", - "react-lifecycles-compat": "^3.0.0" - }, - "dependencies": { - "hoist-non-react-statics": { - "version": "3.3.0", - "resolved": "http://registry.npm.alibaba-inc.com/hoist-non-react-statics/download/hoist-non-react-statics-3.3.0.tgz", - "integrity": "sha1-sJF48BIhhPuVrPUl2q7LTY9FlYs=", - "requires": { - "react-is": "^16.7.0" - } - } - } - }, - "react-transition-group": { - "version": "2.5.3", - "resolved": "http://registry.npm.alibaba-inc.com/react-transition-group/download/react-transition-group-2.5.3.tgz", - "integrity": "sha1-Jt42PKsZ5ciK5duuEFxwbPlTu5I=", - "requires": { - "dom-helpers": "^3.3.1", - "loose-envify": "^1.4.0", - "prop-types": "^15.6.2", - "react-lifecycles-compat": "^3.0.4" - } - }, - "redux": { - "version": "4.0.1", - "resolved": "http://registry.npm.alibaba-inc.com/redux/download/redux-4.0.1.tgz", - "integrity": "sha1-Q2yubMQPvkcnaJ18j65EgI8b/vU=", - "requires": { - "loose-envify": "^1.4.0", - "symbol-observable": "^1.2.0" - } - }, - "redux-logger": { - "version": "3.0.6", - "resolved": "http://registry.npm.alibaba-inc.com/redux-logger/download/redux-logger-3.0.6.tgz", - "integrity": "sha1-91VZZvMJjzyIYExEnPC69XeCdL8=", - "requires": { - "deep-diff": "^0.3.5" - } - }, - "redux-thunk": { - "version": "2.3.0", - "resolved": "http://registry.npm.alibaba-inc.com/redux-thunk/download/redux-thunk-2.3.0.tgz", - "integrity": "sha1-UcLBmhhe1Rh6qpotCLZm0NZGdiI=" - }, - "regenerator-runtime": { - "version": "0.11.1", - "resolved": "http://registry.npm.alibaba-inc.com/regenerator-runtime/download/regenerator-runtime-0.11.1.tgz", - "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=" - }, - "rxjs": { - "version": "6.4.0", - "resolved": "http://registry.npm.alibaba-inc.com/rxjs/download/rxjs-6.4.0.tgz", - "integrity": "sha1-87sP572n+2nerAwW8XtQsLh5BQQ=", - "requires": { - "tslib": "^1.9.0" - } - }, - "shallow-element-equals": { - "version": "1.0.1", - "resolved": "http://registry.npm.alibaba-inc.com/shallow-element-equals/download/shallow-element-equals-1.0.1.tgz", - "integrity": "sha1-UHObfZStdWehNBc9P0QiOH7VfOY=", - "requires": { - "style-equal": "^1.0.0" - } - }, - "style-equal": { - "version": "1.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/style-equal/download/style-equal-1.0.0.tgz", - "integrity": "sha1-mKHFkiImv+E8GW5z8ZQOkbjmZZU=" - }, - "styled-components": { - "version": "4.1.3", - "resolved": "http://registry.npm.alibaba-inc.com/styled-components/download/styled-components-4.1.3.tgz", - "integrity": "sha1-RHJEcgjmGLV+hN6q62rNNKXg/ps=", - "requires": { - "@babel/helper-module-imports": "^7.0.0", - "@emotion/is-prop-valid": "^0.7.3", - "@emotion/unitless": "^0.7.0", - "babel-plugin-styled-components": ">= 1", - "css-to-react-native": "^2.2.2", - "memoize-one": "^4.0.0", - "prop-types": "^15.5.4", - "react-is": "^16.6.0", - "stylis": "^3.5.0", - "stylis-rule-sheet": "^0.0.10", - "supports-color": "^5.5.0" - } - }, - "stylis": { - "version": "3.5.4", - "resolved": "http://registry.npm.alibaba-inc.com/stylis/download/stylis-3.5.4.tgz", - "integrity": "sha1-9mXyX14pnPPWRlSrlJpXx2i3P74=" - }, - "stylis-rule-sheet": { - "version": "0.0.10", - "resolved": "http://registry.npm.alibaba-inc.com/stylis-rule-sheet/download/stylis-rule-sheet-0.0.10.tgz", - "integrity": "sha1-ROZKKwdmQ/S1Ll/3HvwE2MPEpDA=" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "http://registry.npm.alibaba-inc.com/supports-color/download/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", - "requires": { - "has-flag": "^3.0.0" - } - }, - "symbol-observable": { - "version": "1.2.0", - "resolved": "http://registry.npm.alibaba-inc.com/symbol-observable/download/symbol-observable-1.2.0.tgz", - "integrity": "sha1-wiaIrtTqs83C3+rLtWFmBWCgCAQ=" - }, - "to-fast-properties": { - "version": "2.0.0", - "resolved": "http://registry.npm.alibaba-inc.com/to-fast-properties/download/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" - }, - "tslib": { - "version": "1.9.3", - "resolved": "http://registry.npm.alibaba-inc.com/tslib/download/tslib-1.9.3.tgz", - "integrity": "sha1-1+TdeSRdhUKMTX5IIqeZF5VMooY=" - }, - "upper-case": { - "version": "1.1.3", - "resolved": "http://registry.npm.alibaba-inc.com/upper-case/download/upper-case-1.1.3.tgz", - "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=" - }, - "upper-case-first": { - "version": "1.1.2", - "resolved": "http://registry.npm.alibaba-inc.com/upper-case-first/download/upper-case-first-1.1.2.tgz", - "integrity": "sha1-XXm+3P8UQZUY/S7bCgUHybaFkRU=", - "requires": { - "upper-case": "^1.1.1" - } - }, - "uuid": { - "version": "3.3.2", - "resolved": "http://registry.npm.alibaba-inc.com/uuid/download/uuid-3.3.2.tgz", - "integrity": "sha1-G0r0lV6zB3xQHCOHL8ZROBFYcTE=" - } - } -}