Skip to content

Commit d466d85

Browse files
committed
[PREALPHA] Initial commit for the exceptionless client.
We need a lot of work and polish all over the place. It currently uses gulp + typescript to target es5.
1 parent 7d8bcd6 commit d466d85

File tree

11 files changed

+633
-27
lines changed

11 files changed

+633
-27
lines changed

.gitignore

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,11 @@
1-
# Logs
2-
logs
3-
*.log
4-
5-
# Runtime data
6-
pids
7-
*.pid
8-
*.seed
9-
10-
# Directory for instrumented libs generated by jscoverage/JSCover
11-
lib-cov
12-
13-
# Coverage directory used by tools like istanbul
14-
coverage
15-
16-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
17-
.grunt
18-
19-
# Compiled binary addons (http://nodejs.org/api/addons.html)
20-
build/Release
21-
22-
# Dependency directory
23-
# Commenting this out is preferred by some people, see
24-
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
251
node_modules
26-
27-
# Users Environment Variables
28-
.lock-wscript
2+
bower_components
3+
public
4+
.DS_Store
5+
/.idea
6+
/src/.idea
7+
8+
src/exceptionless.js.map
9+
src/exceptionless.js
10+
src/exceptionless-spec.js
11+
src/exceptionless-spec.js.map

Exceptionless.JavaScript.nuspec

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>Exceptionless.JavaScript</id>
5+
<version>$version$</version>
6+
<authors>Exceptionless</authors>
7+
<owners>Exceptionless</owners>
8+
<description>Exceptionless is a cloud based error reporting service that sends your exceptions to http://exceptionless.com and provides aggregated views and analytics.</description>
9+
<projectUrl>http://exceptionless.com</projectUrl>
10+
<iconUrl>http://app.exceptionless.com/images/exceptionless-32.png</iconUrl>
11+
<licenseUrl>http://www.gnu.org/licenses/agpl-3.0.html</licenseUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<releaseNotes>http://exceptionless.com/category/versions/</releaseNotes>
14+
</metadata>
15+
<files>
16+
<file src="src\dist\**\*.*" target="" />
17+
</files>
18+
</package>

appveyor.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
version: 0.1.{build}
2+
3+
environment:
4+
nodejs_version: "0.10"
5+
6+
install:
7+
- ps: Install-Product node $env:nodejs_version
8+
- cd src
9+
- npm install -g bower
10+
- npm install
11+
- bower install
12+
13+
build_script:
14+
- gulp build
15+
16+
test_script:
17+
- gulp test
18+
19+
after_test:
20+
- cd ..
21+
- ps: nuget pack -Version $env:APPVEYOR_BUILD_VERSION
22+
23+
artifacts:
24+
- path: '*.nupkg'
25+
26+
notifications:
27+
- provider: Slack
28+
auth_token:
29+
secure: PigIGGo7UUDwdb0KGM/s7OfpAng/OMJx7q33jKfzudFBiXi1EBEd0DRmkbCc7CiX
30+
channel: notifications

src/.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true

src/.jshintrc

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"curly": false,
3+
"eqeqeq": true,
4+
"immed": true,
5+
"latedef": true,
6+
"newcap": true,
7+
"noarg": true,
8+
"sub": true,
9+
"undef": true,
10+
"boss": true,
11+
"eqnull": true,
12+
"browser": true,
13+
"smarttabs": true,
14+
"globals": {
15+
"jQuery": true,
16+
"angular": true,
17+
"console": true,
18+
"$": true,
19+
"_": true,
20+
"moment": true,
21+
"describe": true,
22+
"beforeEach": true,
23+
"module": true,
24+
"inject": true,
25+
"it": true,
26+
"expect": true,
27+
"xdescribe": true,
28+
"xit": true,
29+
"spyOn": true
30+
}
31+
}

src/bower.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "exceptionless",
3+
"license": "Apache",
4+
"ignore": [
5+
"**/.*",
6+
"node_modules",
7+
"bower_components"
8+
],
9+
"dependencies": {
10+
"stacktrace-js": "~0.6.4",
11+
"DefinitelyTyped": "*"
12+
}
13+
}
14+

src/exceptionless-spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/// <reference path="bower_components/DefinitelyTyped/jasmine/jasmine.d.ts" />
2+
/// <reference path="exceptionless.ts" />
3+
4+
describe('ExceptionlessClient', function() {
5+
it('should apply the configuration', function () {
6+
});
7+
});

0 commit comments

Comments
 (0)