Comparing version 0.8.3 to 0.8.4
const gulp = require('gulp'); | ||
const ghPages = require('gulp-gh-pages'); | ||
const rename = require('gulp-rename'); | ||
gulp.task('deploy', () => { | ||
return gulp.src('./docs/**/*') | ||
.pipe(ghPages()); | ||
}); | ||
gulp.task('deploy', () => | ||
gulp.src([ | ||
'./dist/**/*', | ||
'./docs/**/*', | ||
], { base: '.' }) | ||
.pipe(rename(filepath => { | ||
if (filepath.dirname.startsWith('docs')) { | ||
// Collapses `docs` parent directory | ||
// so index.html ends up at the root. | ||
// `dist` remains in the dist folder. | ||
const withoutDocs = filepath.dirname.substring('docs'.length); | ||
const withoutLeadingSlash = withoutDocs.startsWith('/') | ||
? withoutDocs.substring(1) | ||
: withoutDocs; | ||
filepath.dirname = withoutLeadingSlash; | ||
} | ||
})) | ||
.pipe(ghPages()) | ||
); |
{ | ||
"name": "redux-orm", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "Simple ORM to manage and query your state trees", | ||
"main": "lib/index.js", | ||
"main": "dist/redux-orm.js", | ||
"scripts": { | ||
@@ -24,2 +24,3 @@ "test": "make test", | ||
"babel-eslint": "^6.0.4", | ||
"babel-loader": "^6.2.5", | ||
"babel-plugin-transform-runtime": "^6.8.0", | ||
@@ -36,6 +37,9 @@ "babel-preset-es2015": "^6.6.0", | ||
"gulp-gh-pages": "^0.5.4", | ||
"gulp-rename": "^1.2.2", | ||
"jsdoc": "^3.4.1", | ||
"mocha": "^2.2.5", | ||
"sinon": "^1.17.2", | ||
"sinon-chai": "^2.8.0" | ||
"sinon-chai": "^2.8.0", | ||
"webpack": "^1.13.2", | ||
"yargs": "^5.0.0" | ||
}, | ||
@@ -42,0 +46,0 @@ "dependencies": { |
@@ -23,2 +23,11 @@ redux-orm | ||
Or with a script tag | ||
```html | ||
<script src="https://tommikaikkonen.github.io/redux-orm/dist/redux-orm.js"></script> | ||
``` | ||
- [Browser build following master](https://tommikaikkonen.github.io/redux-orm/dist/redux-orm.js) | ||
- [Browser build following master (minimized)](https://tommikaikkonen.github.io/redux-orm/dist/redux-orm.min.js) | ||
## Usage | ||
@@ -418,2 +427,12 @@ | ||
### 0.8.4 | ||
Adds UMD build to partially fix [#41](https://github.com/tommikaikkonen/redux-orm/issues/41). You can now use or try out `redux-orm` through a script tag: | ||
```html | ||
<script src="https://tommikaikkonen.github.io/redux-orm/dist/redux-orm.js"></script> | ||
``` | ||
`redux-orm.js` will point to the master version of the library; If you need to stick to a version, make a copy or build it yourself. | ||
### 0.8.3 | ||
@@ -420,0 +439,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4781763
23550
572
22
93
1