mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-28 00:42:54 -05:00
Release version 0.11.0
This commit is contained in:
parent
74094d27e2
commit
d0a4532d94
11 changed files with 31296 additions and 23 deletions
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -2,8 +2,8 @@
|
||||||
path = gulp/jsdoc
|
path = gulp/jsdoc
|
||||||
url = https://github.com/paperjs/jsdoc.git
|
url = https://github.com/paperjs/jsdoc.git
|
||||||
[submodule "paper-jsdom"]
|
[submodule "paper-jsdom"]
|
||||||
path = packages/paper-jsdom
|
path = packages/paper-jsdom
|
||||||
url = https://github.com/paperjs/paper-jsdom.git
|
url = https://github.com/paperjs/paper-jsdom.git
|
||||||
[submodule "paper-jsdom-canvas"]
|
[submodule "paper-jsdom-canvas"]
|
||||||
path = packages/paper-jsdom-canvas
|
path = packages/paper-jsdom-canvas
|
||||||
url = https://github.com/paperjs/paper-jsdom-canvas.git
|
url = https://github.com/paperjs/paper-jsdom-canvas.git
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
## `0.10.4`
|
## `0.11.0`
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Separate `paper` module on NPM into: `paper`, `paper-jsdom` and
|
- Separate `paper` module on NPM into: `paper`, `paper-jsdom` and
|
||||||
|
|
1
dist/paper-core.js
vendored
1
dist/paper-core.js
vendored
|
@ -1 +0,0 @@
|
||||||
../src/load.js
|
|
14741
dist/paper-core.js
vendored
Normal file
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
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
1
dist/paper-full.js
vendored
|
@ -1 +0,0 @@
|
||||||
../src/load.js
|
|
16439
dist/paper-full.js
vendored
Normal file
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
39
dist/paper-full.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -11,15 +11,17 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var gulp = require('gulp'),
|
var gulp = require('gulp'),
|
||||||
jsonEditor = require('gulp-json-editor'),
|
|
||||||
git = require('gulp-git-streamed'),
|
git = require('gulp-git-streamed'),
|
||||||
|
jsonEditor = require('gulp-json-editor'),
|
||||||
|
merge = require('merge-stream'),
|
||||||
run = require('run-sequence'),
|
run = require('run-sequence'),
|
||||||
shell = require('gulp-shell'),
|
shell = require('gulp-shell'),
|
||||||
options = require('../utils/options.js');
|
options = require('../utils/options.js');
|
||||||
|
|
||||||
var jsonOptions = {
|
var packages = ['paper-jsdom', 'paper-jsdom-canvas'],
|
||||||
end_with_newline: true
|
jsonOptions = {
|
||||||
};
|
end_with_newline: true
|
||||||
|
};
|
||||||
|
|
||||||
gulp.task('publish', function() {
|
gulp.task('publish', function() {
|
||||||
if (options.branch !== 'develop') {
|
if (options.branch !== 'develop') {
|
||||||
|
@ -46,16 +48,32 @@ gulp.task('publish:version', function() {
|
||||||
.pipe(gulp.dest('.'));
|
.pipe(gulp.dest('.'));
|
||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('publish:packages', function() {
|
gulp.task('publish:packages',
|
||||||
options.resetVersion(); // See 'publish:version'
|
packages.map(function(name) {
|
||||||
return gulp.src(['packages/**/*.json'])
|
return 'publish:packages:' + name;
|
||||||
.pipe(jsonEditor({
|
})
|
||||||
version: options.version,
|
);
|
||||||
dependencies: {
|
|
||||||
paper: options.version
|
packages.forEach(function(name) {
|
||||||
}
|
gulp.task('publish:packages:' + name, function() {
|
||||||
}, jsonOptions))
|
options.resetVersion(); // See 'publish:version'
|
||||||
.pipe(gulp.dest('packages'));
|
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(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']);
|
gulp.task('publish:dist', ['dist']);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "paper",
|
"name": "paper",
|
||||||
"version": "0.10.4",
|
"version": "0.11.0",
|
||||||
"description": "The Swiss Army Knife of Vector Graphics Scripting",
|
"description": "The Swiss Army Knife of Vector Graphics Scripting",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "http://paperjs.org",
|
"homepage": "http://paperjs.org",
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 37ad772681c8af19f19bc29d032eaa32d8d48867
|
Subproject commit 5dea0850de4560ef5db932d7cbfbd02ac1b31b0e
|
|
@ -1 +1 @@
|
||||||
Subproject commit b096f1e06ba1cfba4e14de95554a7b6408c29f15
|
Subproject commit a2de585e79c4259b9e25a94c8ee688ba424181ff
|
|
@ -17,7 +17,7 @@
|
||||||
// The paper.js version.
|
// The paper.js version.
|
||||||
// NOTE: Adjust value here before calling `gulp publish`, which then updates and
|
// NOTE: Adjust value here before calling `gulp publish`, which then updates and
|
||||||
// publishes the various JSON package files automatically.
|
// 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.
|
// If this file is loaded in the browser, we're in load.js mode.
|
||||||
var load = typeof window === 'object';
|
var load = typeof window === 'object';
|
||||||
|
|
Loading…
Reference in a new issue