Release version 0.11.0

This commit is contained in:
Jürg Lehni 2017-04-19 22:07:46 +02:00
parent 74094d27e2
commit d0a4532d94
11 changed files with 31296 additions and 23 deletions

View file

@ -1,6 +1,6 @@
# Change Log
## `0.10.4`
## `0.11.0`
### Changed
- Separate `paper` module on NPM into: `paper`, `paper-jsdom` and

1
dist/paper-core.js vendored
View file

@ -1 +0,0 @@
../src/load.js

14741
dist/paper-core.js vendored Normal file

File diff suppressed because it is too large Load diff

38
dist/paper-core.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/paper-full.js vendored
View file

@ -1 +0,0 @@
../src/load.js

16439
dist/paper-full.js vendored Normal file

File diff suppressed because it is too large Load diff

39
dist/paper-full.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -11,13 +11,15 @@
*/
var gulp = require('gulp'),
jsonEditor = require('gulp-json-editor'),
git = require('gulp-git-streamed'),
jsonEditor = require('gulp-json-editor'),
merge = require('merge-stream'),
run = require('run-sequence'),
shell = require('gulp-shell'),
options = require('../utils/options.js');
var jsonOptions = {
var packages = ['paper-jsdom', 'paper-jsdom-canvas'],
jsonOptions = {
end_with_newline: true
};
@ -46,16 +48,32 @@ gulp.task('publish:version', function() {
.pipe(gulp.dest('.'));
});
gulp.task('publish:packages', function() {
gulp.task('publish:packages',
packages.map(function(name) {
return 'publish:packages:' + name;
})
);
packages.forEach(function(name) {
gulp.task('publish:packages:' + name, function() {
options.resetVersion(); // See 'publish:version'
return gulp.src(['packages/**/*.json'])
var message = 'Release version ' + options.version,
path = 'packages/' + name,
opts = { cwd: path };
gulp.src(['package.json'], opts)
.pipe(jsonEditor({
version: options.version,
dependencies: {
paper: options.version
}
}, jsonOptions))
.pipe(gulp.dest('packages'));
.pipe(gulp.dest(path))
.pipe(git.add(opts))
.pipe(git.commit(message, opts))
.pipe(git.tag('v' + options.version, message, opts))
.pipe(git.push('origin', 'master', { args: '--tags', cwd: path }))
.pipe(shell('npm publish', opts));
});
});
gulp.task('publish:dist', ['dist']);

View file

@ -1,6 +1,6 @@
{
"name": "paper",
"version": "0.10.4",
"version": "0.11.0",
"description": "The Swiss Army Knife of Vector Graphics Scripting",
"license": "MIT",
"homepage": "http://paperjs.org",

@ -1 +1 @@
Subproject commit 37ad772681c8af19f19bc29d032eaa32d8d48867
Subproject commit 5dea0850de4560ef5db932d7cbfbd02ac1b31b0e

@ -1 +1 @@
Subproject commit b096f1e06ba1cfba4e14de95554a7b6408c29f15
Subproject commit a2de585e79c4259b9e25a94c8ee688ba424181ff

View file

@ -17,7 +17,7 @@
// The paper.js version.
// NOTE: Adjust value here before calling `gulp publish`, which then updates and
// publishes the various JSON package files automatically.
var version = '0.10.4';
var version = '0.11.0';
// If this file is loaded in the browser, we're in load.js mode.
var load = typeof window === 'object';