build: remove and disable npm lock files, rely on pinned dev/deps

Buggy behavior related to npm lock files makes the goal of reproducible builds
and hassle-free automated releases nearly impossible to achieve at
present. With npm's lock files disabled we rely on pinned dependencies (exact
versions only in the package.json files of embark and embark-ui) for a
hopefully good result. This is an experiment while the project is in an alpha
release phase, and if problems are experienced we can return to using
npm-shrinkwrap.json / package-lock.json, or we can investigate a transition to
the yarn package manager, for ourselves and possibly for our users too.
This commit is contained in:
Michael Bradley, Jr 2018-11-15 14:25:22 -06:00 committed by Michael Bradley
parent 10caddd872
commit 9cd50c2031
9 changed files with 51 additions and 38977 deletions

2
.gitignore vendored
View File

@ -8,5 +8,7 @@ dist
embark-*.tgz
node_modules
npm-debug.log
npm-shrinkwrap.json
package
package-lock.json
src/test/cli_shim/.cid

View File

@ -10,6 +10,8 @@ babel.config.js
dist/test
header.png
logo.png
npm-shrinkwrap.json
package-lock.json
src
test_apps
tsconfig.json

1
.npmrc
View File

@ -1,2 +1,3 @@
engine-strict = true
package-lock = false
save-exact = true

View File

@ -19,3 +19,7 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# lock files
npm-shrinkwrap.json
package-lock.json

View File

@ -3,6 +3,8 @@
.eslintrc
config
node_modules
npm-shrinkwrap.json
package-lock.json
public
scripts
src

2
embark-ui/.npmrc Normal file
View File

@ -0,0 +1,2 @@
package-lock = false
save-exact = true

16821
embark-ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,84 +4,84 @@
"private": true,
"dependencies": {
"@babel/core": "7.1.0",
"@coreui/coreui": "2.1.0",
"@coreui/react": "2.1.0",
"@svgr/webpack": "2.4.1",
"ansi-to-html": "0.6.8",
"autoscroll-react": "3.2.0",
"axios": "0.18.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "9.0.0",
"babel-jest": "23.6.0",
"babel-loader": "8.0.4",
"babel-plugin-named-asset-import": "^0.2.3",
"babel-preset-react-app": "^6.1.0",
"babel-plugin-named-asset-import": "0.2.3",
"babel-preset-react-app": "6.1.0",
"bfj": "6.1.1",
"case-sensitive-paths-webpack-plugin": "2.1.2",
"chalk": "2.4.1",
"classnames": "2.2.6",
"connected-react-router": "4.5.0",
"css-loader": "1.0.0",
"dotenv": "6.0.0",
"dotenv-expand": "4.2.0",
"eslint": "5.6.0",
"eslint-config-react-app": "^3.0.5",
"eslint-config-react-app": "3.0.5",
"eslint-loader": "2.1.1",
"eslint-plugin-flowtype": "2.50.1",
"eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-react": "7.11.1",
"ethereumjs-units": "0.2.0",
"file-loader": "2.0.0",
"font-awesome": "4.7.0",
"fork-ts-checker-webpack-plugin-alt": "0.4.14",
"fs-extra": "7.0.0",
"history": "4.7.2",
"html-webpack-plugin": "4.0.0-alpha.2",
"identity-obj-proxy": "3.0.0",
"jest": "23.6.0",
"jest-pnp-resolver": "1.0.1",
"jest-resolve": "23.6.0",
"keccakjs": "0.2.1",
"mini-css-extract-plugin": "0.4.3",
"monaco-editor": "0.14.3",
"monaco-editor-webpack-plugin": "1.6.0",
"optimize-css-assets-webpack-plugin": "5.0.1",
"pnp-webpack-plugin": "1.1.0",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.0.6",
"postcss-safe-parser": "4.0.1",
"react": "^16.6.1",
"react-app-polyfill": "^0.1.3",
"react-dev-utils": "^6.1.1",
"react-dom": "^16.6.1",
"prop-types": "15.6.2",
"qs": "6.5.2",
"re-resizable": "4.9.3",
"react": "16.6.3",
"react-app-polyfill": "0.1.3",
"react-blockies": "1.4.0",
"react-bootstrap-typeahead": "3.2.4",
"react-copy-to-clipboard": "5.0.1",
"react-dev-utils": "6.1.1",
"react-dom": "16.6.3",
"react-fontawesome": "1.6.1",
"react-json-view": "1.19.1",
"react-redux": "5.1.1",
"react-router-dom": "4.3.1",
"react-scroll-to-component": "1.0.2",
"react-treebeard": "2.1.0",
"reactstrap": "6.5.0",
"redux": "4.0.1",
"redux-saga": "0.16.2",
"resolve": "1.8.1",
"sass-loader": "7.1.0",
"simple-line-icons": "2.4.1",
"style-loader": "0.23.0",
"terser-webpack-plugin": "1.1.0",
"url-loader": "1.1.1",
"web3": "1.0.0-beta.36",
"webpack": "4.19.1",
"webpack-dev-server": "3.1.9",
"webpack-manifest-plugin": "2.0.4",
"workbox-webpack-plugin": "3.6.3",
"@coreui/coreui": "^2.0.15",
"@coreui/react": "^2.0.9",
"ansi-to-html": "^0.6.6",
"autoscroll-react": "^3.2.0",
"axios": "^0.18.0",
"classnames": "^2.2.6",
"connected-react-router": "^4.3.0",
"ethereumjs-units": "0.2.0",
"font-awesome": "^4.7.0",
"history": "^4.7.2",
"keccakjs": "0.2.1",
"monaco-editor": "^0.14.3",
"monaco-editor-webpack-plugin": "^1.5.4",
"prop-types": "^15.6.2",
"qs": "^6.5.2",
"re-resizable": "^4.9.3",
"react-blockies": "^1.4.0",
"react-bootstrap-typeahead": "^3.2.4",
"react-copy-to-clipboard": "^5.0.1",
"react-fontawesome": "^1.6.1",
"react-json-view": "^1.19.1",
"react-redux": "^5.0.7",
"react-router-dom": "^4.3.1",
"react-scroll-to-component": "^1.0.2",
"react-treebeard": "^2.1.0",
"reactstrap": "^6.5.0",
"redux": "^4.0.0",
"redux-saga": "^0.16.0",
"simple-line-icons": "^2.4.1",
"web3": "^1.0.0-beta.36"
"workbox-webpack-plugin": "3.6.3"
},
"scripts": {
"start": "node scripts/start.js",

22118
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff