Skip to content

Commit

Permalink
feat: migrate honeybadger-webpack to monorepo (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
subzero10 committed Sep 13, 2022
1 parent 1f01d94 commit 0c31c1a
Show file tree
Hide file tree
Showing 23 changed files with 35,300 additions and 243 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
],
"env":
{
"jest": true,
"browser": true,
"node": true,
"es6": true,
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@

## What versions are you using?
**Operating System:**
**Package Name:**
**Package Version:**
**Browser Version:**
7 changes: 6 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
env:
CI: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -47,7 +49,7 @@ jobs:
cache: 'npm'
cache-dependency-path: |
package-lock.json
test/integration/package-lock.json
packages/js/test/integration/package-lock.json
- name: Build
run: |
Expand Down Expand Up @@ -75,6 +77,9 @@ jobs:
with:
node-version: '14.x'
cache: 'npm'
cache-dependency-path: |
package-lock.json
packages/js/examples/aws-lambda-typescript/package-lock.json
- name: Build
run: |
Expand Down
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# Honeybadger for JavaScript

![Node CI](https://github.com/honeybadger-io/honeybadger-js/workflows/Node%20CI/badge.svg)
[![npm version](https://badge.fury.io/js/%40honeybadger-io%2Fjs.svg)](https://badge.fury.io/js/%40honeybadger-io%2Fjs)

Welcome! This is the monorepo which holds all [Honeybadger](https://honeybadger.io) packages for JavaScript.
You can refer to the README of each package for more information and instructions:
- [@honeybadger-io/core](./packages/core)
[![npm version](https://badge.fury.io/js/%40honeybadger-io%2Fcore.svg)](https://badge.fury.io/js/%40honeybadger-io%2Fcore)
The core package that integrates with Honeybadger API
- [@honeybadger-io/js](./packages/js)
[![npm version](https://badge.fury.io/js/%40honeybadger-io%2Fjs.svg)](https://badge.fury.io/js/%40honeybadger-io%2Fjs)
SDK for browser, nodejs and AWS Lambda
- [@honeybadger-io/webpack](./packages/webpack)
[![npm version](https://badge.fury.io/js/%40honeybadger-io%2Fwebpack.svg)](https://badge.fury.io/js/%40honeybadger-io%2Fwebpack)
Webpack plugin to upload source maps to Honeybadger

## Documentation and Support

Expand Down Expand Up @@ -73,4 +82,4 @@ You can manually trigger a new release using the `Publish New Release` (`lerna-p

## License

The Honeybadger gem is MIT licensed. See the [MIT-LICENSE](https://raw.github.com/honeybadger-io/honeybadger-js/master/MIT-LICENSE) file in this repository for details.
This Honeybadger repository and published packages are MIT licensed. See the [MIT-LICENSE](https://raw.github.com/honeybadger-io/honeybadger-js/master/MIT-LICENSE) file in this repository for details.
22 changes: 22 additions & 0 deletions packages/core/MIT-LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2013, Honeybadger Industries LLC

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
4 changes: 4 additions & 0 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ Everything is written in Typescript and transpiled to es6 (see `tsconfig.base.js
Other packages are responsible to bundle for different browsers/environments/frameworks.

Run tests with `npm test`.

## License

This package is MIT licensed. See the [MIT-LICENSE](./MIT-LICENSE) file in this folder for details.
22 changes: 22 additions & 0 deletions packages/js/MIT-LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2013, Honeybadger Industries LLC

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
4 changes: 4 additions & 0 deletions packages/js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ re-run the release manually with by executing the script `npm run postpublish`.
---
<p><a href="https://www.browserstack.com/"><img src="./browserstack-logo.png" width="150"></a><br>
<small>We use <a href="https://www.browserstack.com/">BrowserStack</a> to run our automated integration tests on multiple platforms in CI.</small></p>

## License

This package is MIT licensed. See the [MIT-LICENSE](./MIT-LICENSE) file in this folder for details.
Loading

0 comments on commit 0c31c1a

Please sign in to comment.