gooddata
Advanced tools
Comparing version 4.5.0-tomasreichmann-TRE-RAIL-351-Attribute-Elements-2017-12-18T14-16-15-808Z to 4.5.0-vaclavbohac-add-xhr-typings-2018-01-15T12-55-39-575Z
@@ -380,2 +380,6 @@ // Copyright (C) 2007-2017, GoodData(R) Corporation. All rights reserved. | ||
export interface IXhrSetupOptions { | ||
beforeSend(xhr: any, url: string): void; | ||
} | ||
export module xhr { | ||
@@ -386,2 +390,4 @@ export function get<T>(uri: string, settings?: IXhrSettings): Promise<T>; | ||
export function ajax<T>(uri: string, settings?: IXhrSettings): Promise<T>; | ||
export function ajaxSetup(options: IXhrSetupOptions): void; | ||
export function parseJSON<T, U>(xhr: Promise<T>): Promise<U>; | ||
} |
{ | ||
"name": "gooddata", | ||
"version": "4.5.0-tomasreichmann-TRE-RAIL-351-Attribute-Elements-2017-12-18T14-16-15-808Z", | ||
"version": "4.5.0-vaclavbohac-add-xhr-typings-2018-01-15T12-55-39-575Z", | ||
"author": "GoodData", | ||
@@ -38,3 +38,2 @@ "description": "GoodData JavaScript SDK", | ||
"babel-register": "6.23.0", | ||
"bower": "1.8.0", | ||
"eslint-config-gooddata": "0.0.13", | ||
@@ -45,3 +44,2 @@ "exports-loader": "0.6.3", | ||
"grunt": "1.0.1", | ||
"grunt-bump": "0.6.0", | ||
"grunt-cli": "1.2.0", | ||
@@ -48,0 +46,0 @@ "grunt-contrib-copy": "0.8.2", |
@@ -8,4 +8,4 @@ # GoodData JS SDK | ||
GoodData javascript sdk can be used as bower component. The result of the build is | ||
in `dist/gooddata[.min].js`. Result of the build [UMD](https://github.com/umdjs/umd)-compatible - | ||
The result of the build is in `dist/gooddata[.min].js`. | ||
Result of the build [UMD](https://github.com/umdjs/umd)-compatible - | ||
you can use it both globally (see [D3 example][d3ex]) and as AMD module. Note that you need to provide | ||
@@ -81,17 +81,10 @@ jQuery before trying to load sdk. In both AMD and CommonJS environment we expect jQuery library module | ||
## Releasing | ||
New version of library can be released with `grunt release:[major|minor|patch]` task (major|minor|patch means | ||
breaking|feature|fix respectively). For all options see [grunt-bump task][vjBump]. | ||
Task is meant to be run from `master` branch of this repository. | ||
Flow of release is: | ||
* bump version to version+1 in `bower.json` and `package.json` | ||
* bump version to version+1 in `package.json` | ||
* create version commit & tag and push these to your *upstream* remote (so watch your remote naming) | ||
* create version commit & tag and push product of build (`dist/*`) to `gooddata/bower-gooddata-js` repository | ||
Steps to publish a release: | ||
* you should have `gooddata/gooddata-js` as `upstream` since all tasks publish to upstream remote | ||
* run `grunt release:{version-type}` in `master` | ||
* run `yarn version` command to select next version | ||
* run `grunt bump-gh-pages` in `master` | ||
@@ -102,2 +95,1 @@ * run `npm publish` in `master` | ||
[d3ex]: examples/d3-data-viz/viz.js | ||
[vjBump]: https://github.com/vojtajina/grunt-bump |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
32
26534
6
1131313
93