-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: hook up ci to publish to npm #226
Merged
Merged
Changes from 35 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
c92f420
chore: add missing fields to package.json
a80b87a
feat: add postlight org scope to package name
1366d82
chore: yarn lock file
b067b56
chore: bump version
d34aebe
v1.0.15
7acef8c
feat: automate npm publish
JadTermsani 0d455ac
test: npm publish without filters
JadTermsani 1fb7503
fix: add docker image
JadTermsani e36c705
test: change directory
JadTermsani 7b6d7d7
test: add working directory
JadTermsani 7ad046b
fix: defaults sytax
JadTermsani ea7f431
test: add workspace
JadTermsani 438c41a
fix: attach workspace
JadTermsani 8677812
Merge branch 'feat-deploy-to-npm' of https://github.com/postlight/mer…
3e1448c
chore: bump version
JadTermsani be6bfda
Merge branch 'feat-deploy-to-npm' of https://github.com/postlight/mer…
e13b985
fix: use standard mercury email
fa08b8c
Merge branch 'master' into feat-deploy-to-npm
george-haddad c6c7082
fix: use ISO time format and preserve original timezone offset
ae81557
fix: do not match time zone offset
cdc2c86
chore: move babel runtime-corejs2 to prod deps
fa32561
chore: version bump
6a14d38
chore: version bump and yarn.lock file
2000987
chore: build:web first before test:web
250f157
Revert "chore: build:web first before test:web"
1d08261
Revert "chore: version bump and yarn.lock file"
43eef3f
chore: version bump
2c044f0
chore: test package without tree-shaking
c0a0a32
chore: version bump
0570530
Revert "chore: test package without tree-shaking"
e4bbf8d
chore: browser test
342dff1
Revert "chore: browser test"
c5aa595
chore: version bump and bundledDependencies
311dc33
chore: uncomment config to deploy on git tag
0e2e78a
feat: publish to npm public
6cc53c9
Merge branch 'master' into feat-deploy-to-npm
adampash ae8fa2e
adding browser-request
adampash f552d86
Merge branch 'master' into feat-deploy-to-npm
adampash 4735218
chore: roll version back to original state
d4bbd9b
Merge branch 'feat-deploy-to-npm' of https://github.com/postlight/mer…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
{ | ||
"name": "mercury-parser", | ||
"version": "1.0.13", | ||
"description": "", | ||
"repository": "github:postlight/mercury-parser", | ||
"name": "@postlight/mercury-parser", | ||
"version": "1.0.20", | ||
"description": "Mercury transforms web pages into clean text. Publishers and programmers use it to make the web make sense, and readers use it to read any web article comfortably.", | ||
"author": "Postlight <[email protected]>", | ||
"homepage": "https://mercury.postlight.com", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/postlight/mercury-parser.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/postlight/mercury-parser/issues" | ||
}, | ||
"keywords": [ | ||
"mercury", | ||
"parser", | ||
"reader", | ||
"web", | ||
"content" | ||
], | ||
"main": "./dist/mercury.js", | ||
"scripts": { | ||
"lint": "eslint . --fix", | ||
|
@@ -25,8 +41,9 @@ | |
"add-contributor": "all-contributors add", | ||
"generate-contributors": "all-contributors generate" | ||
}, | ||
"author": "Postlight", | ||
"license": "ISC", | ||
"engines": { | ||
"node": ">=8.10" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.0.0", | ||
"@babel/plugin-external-helpers": "^7.2.0", | ||
|
@@ -39,7 +56,6 @@ | |
"@babel/polyfill": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"@babel/runtime": "^7.0.0", | ||
"@babel/runtime-corejs2": "^7.2.0", | ||
"@jesses/circle-github-bot": "^2.1.0", | ||
"@octokit/rest": "^16.9.0", | ||
"all-contributors-cli": "^5.10.0", | ||
|
@@ -94,22 +110,27 @@ | |
"watchify": "^3.11.0" | ||
}, | ||
"dependencies": { | ||
"browser-request": "postlight/browser-request#feat-add-headers-to-response", | ||
"browser-request": "github:postlight/browser-request#feat-add-headers-to-response", | ||
"cheerio": "^0.22.0", | ||
"difflib": "postlight/difflib.js", | ||
"difflib": "github:postlight/difflib.js", | ||
"ellipsize": "0.1.0", | ||
"iconv-lite": "0.4.24", | ||
"jquery": "^3.3.1", | ||
"moment": "^2.23.0", | ||
"moment-parseformat": "3.0.0", | ||
"moment-timezone": "0.5.23", | ||
"request": "czardoz/request", | ||
"request": "github:czardoz/request", | ||
"request-promise": "^4.2.2", | ||
"string-direction": "^0.1.2", | ||
"url": "^0.11.0", | ||
"valid-url": "^1.0.9", | ||
"wuzzy": "^0.1.3" | ||
"wuzzy": "^0.1.3", | ||
"@babel/runtime-corejs2": "^7.2.0" | ||
}, | ||
"bundleDependencies": [ | ||
"jquery", | ||
"moment-timezone" | ||
], | ||
"browser": { | ||
"main": "./dist/mercury.web.js", | ||
"cheerio": "./src/shims/cheerio-query", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've not done this before, but wouldn't
bundleDependencies
include all of the browser dependencies below?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked the
node_modules
directory of the package and it only included those 2 single packages. The testcreate-react-app
won't start without them and this was the only way to get them bundled in the npm package.