Skip to content

Commit 112ab61

Browse files
authored
Merge pull request #3372 from plotly/replace-http-https
Add postshrinkwrap step to replace http:// -> https://
2 parents a56fa2a + 77a026b commit 112ab61

File tree

2 files changed

+265
-1
lines changed

2 files changed

+265
-1
lines changed

package-lock.json

+262
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
"preversion": "check-node-version --node 10 --npm 6 && npm-link-check && npm ls --prod",
4848
"version": "npm run build && git add -A dist src build",
4949
"postversion": "node -e \"console.log('Version bumped and committed. If ok, run: git push && git push --tags')\"",
50-
"postpublish": "node tasks/sync_packages.js"
50+
"postpublish": "node tasks/sync_packages.js",
51+
"postshrinkwrap": "replace --silent '\"resolved\": \"http://' '\"resolved\": \"https://' package-lock.json"
5152
},
5253
"browserify": {
5354
"transform": [
@@ -153,6 +154,7 @@
153154
"prepend-file": "^1.3.1",
154155
"prettysize": "^2.0.0",
155156
"read-last-lines": "^1.6.0",
157+
"replace": "^1.0.1",
156158
"requirejs": "^2.3.6",
157159
"run-series": "^1.1.8",
158160
"through2": "^3.0.0",

0 commit comments

Comments
 (0)