Skip to content

Commit 7ae311b

Browse files
committed
misc: Merge 'raven-node' repository
2 parents b6a6e48 + e8d75b5 commit 7ae311b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+16850
-0
lines changed

packages/raven-node/.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
coverage/
2+
test/instrumentation/node-*
3+
test/manual/largeModule.js
4+
test/fixtures/*

packages/raven-node/.eslintrc

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"mocha": true,
5+
"es6": true
6+
},
7+
"rules": {
8+
"block-scoped-var": 2,
9+
"camelcase": [1, "properties": "never"],
10+
"comma-dangle": 0,
11+
"consistent-return": 2,
12+
"consistent-this": [2, "self"],
13+
"default-case": 2,
14+
"dot-notation": 2,
15+
"eqeqeq": [2, "allow-null"],
16+
"guard-for-in": 2,
17+
"new-cap": 2,
18+
"no-alert": 2,
19+
"no-caller": 2,
20+
"no-catch-shadow": 1,
21+
"no-console": 1,
22+
"no-debugger": 2,
23+
"no-else-return": 2,
24+
"no-empty": [2, {"allowEmptyCatch": true}],
25+
"no-eval": 2,
26+
"no-extra-bind": 2,
27+
"no-extend-native": 2,
28+
"no-fallthrough": 2,
29+
"no-floating-decimal": 2,
30+
"no-implied-eval": 2,
31+
"no-inner-declarations": 2,
32+
"no-iterator": 2,
33+
"no-lonely-if": 2,
34+
"no-loop-func": 2,
35+
"no-multi-str": 2,
36+
"no-new": 2,
37+
"no-param-reassign": 1,
38+
"no-proto": 2,
39+
"no-redeclare": 2,
40+
"no-return-assign": 2,
41+
"no-script-url": 2,
42+
"no-self-compare": 2,
43+
"no-sequences": 2,
44+
"no-shadow": 2,
45+
"no-shadow-restricted-names": 2,
46+
"no-undef": 2,
47+
"no-undefined": 2,
48+
"no-underscore-dangle": 0,
49+
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
50+
"no-use-before-define": [2, "nofunc"],
51+
"no-useless-call": 2,
52+
"no-useless-escape": 2,
53+
"no-warning-comments": 0,
54+
"no-with": 2,
55+
"spaced-comment": [2, "always"],
56+
"strict": [2, "global"],
57+
"valid-jsdoc": 0,
58+
"valid-typeof": 2,
59+
"yoda": [2, "never"]
60+
},
61+
"extends": [
62+
"prettier"
63+
]
64+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
**Do you want to request a *feature* or report a *bug*?**
2+
3+
(If this is a *usage question*, please **do not post it here**—post it on [forum.sentry.io](https://forum.sentry.io) instead. If this is not a “feature” or a “bug”, or the phrase “How do I...?” applies, then it's probably a usage question.)
4+
5+
**Has someone had this problem before?**
6+
7+
Before opening an issue, please search the issue tracker to make sure your issue hasn't already been reported.
8+
9+
**What is the current behavior?**
10+
11+
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal code sample.
12+
13+
**What is the expected behavior?**
14+
15+
Which versions of raven-node are affected by this issue? How are you setting up raven-node in your application? Did this work previously, or in any other configuration? Are you using [hosted Sentry](https://sentry.io) or on-premises? If on-premises, which version (e.g. 8.7.0)?
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
store: zeus
2+
targets:
3+
- name: github
4+
changelog: History.md
5+
- npm

packages/raven-node/.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
lib-cov
2+
*.seed
3+
*.log
4+
*.csv
5+
*.dat
6+
*.out
7+
*.pid
8+
*.gz
9+
10+
pids
11+
logs
12+
results
13+
14+
docs/_build
15+
docs/doctrees
16+
17+
node_modules
18+
npm-debug.log
19+
20+
working/
21+
coverage/
22+
test/instrumentation/node-*

packages/raven-node/.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "docs/_sentryext"]
2+
path = docs/_sentryext
3+
url = https://github.com/getsentry/sentry-doc-support

packages/raven-node/.npmignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
docs/
2+
test/
3+
working/
4+
coverage/
5+
6+
.git/
7+
.github/
8+
.gitignore
9+
.gitmodules
10+
11+
.eslintignore
12+
.eslintrc
13+
14+
.npmignore
15+
.travis.yml
16+
Makefile
17+
AUTHORS
18+
CONTRIBUTING.md
19+
20+
.idea/
21+
22+
lib-cov
23+
*.seed
24+
*.log
25+
*.csv
26+
*.dat
27+
*.out
28+
*.pid
29+
*.gz
30+
31+
pids
32+
logs
33+
results

packages/raven-node/.travis.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
sudo: false
2+
language: node_js
3+
node_js:
4+
- "4"
5+
- "5"
6+
- "6"
7+
- "7"
8+
- "8"
9+
- "9"
10+
- "10"
11+
12+
cache:
13+
directories:
14+
- node_modules
15+
16+
branches:
17+
only:
18+
- master
19+
20+
script: npm run test-full
21+
22+
matrix:
23+
include:
24+
- script: npm pack
25+
node_js: "8"
26+
after_success:
27+
- npm install -g @zeus-ci/cli
28+
- zeus upload -t "application/tar+npm" *.tgz
29+
30+
notifications:
31+
webhooks:
32+
urls:
33+
- https://zeus.ci/hooks/b152d48c-d694-11e7-99e7-0a580a28020f/public/provider/travis/webhook
34+
on_success: always
35+
on_failure: always
36+
on_start: always
37+
on_cancel: always
38+
on_error: always

packages/raven-node/AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://github.com/mattrobenolt/raven-node/graphs/contributors

packages/raven-node/CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## How to release raven-node:
2+
3+
* [ ] Run the manual memory tests in `test/manual` to make sure we didn't introduce a memory leak
4+
* [ ] Consider whether any changes warrant additions to these tests
5+
* [ ] Stop and think "What version number should this be according to SemVer?"
6+
* [ ] Add an entry to the [History](https://github.com/getsentry/raven-node/blob/master/History.md) file.
7+
* [ ] Bump version number in `package.json`
8+
* [ ] Commit changes `git commit -am "<version>"`
9+
* [ ] Create a tag `git tag -a <version> -m "<version>"`
10+
* [ ] Push to GitHub (`git push origin master --follow-tags`).
11+
* [ ] Once CI builds pass, `sentry-probot` will publish a release on npm and GitHub.

0 commit comments

Comments
 (0)