Commit Graph

140 Commits

Author SHA1 Message Date
juliandescottes
db62daccf9 release: release version 0.8.0 2016-07-10 14:14:29 +02:00
Julian Descottes
94a9a1495f chore: update grunt-nw-builder to 2.0.3 (finally fixes osx app issue!) 2016-07-03 00:32:33 +02:00
Brad Buchanan
93055f4b4a Prepare for npm publishing
Introduces some small package changes that simplify publishing Piskel to NPM as a ready-to-use application.

Since Piskel is not simply a JavaScript "module" (not something one would 'require' into another application) its role as a package on npm is somewhat unconventional - it contains the release build of Piskel, ready to serve as a static website, and a small `piskel-root` utility that will print the absolute path to that content (which will have been installed who-knows-where by npm).

Mostly this works by adding the "files" and "bin" entries to package.json, and by adding an .npmignore file (which simply prevents npm from using your .gitignore and ignoring the built files that we want to ship).

With these settings in place you could publish to npm anytime (as long as you have permission) but I've added `preversion` and `postversion` scripts to simplify and automate the process.  Here's how you publish a release:

```
npm login # If not already logged in
npm version [major|minor|patch|<other>] # see `npm help version` for more options
```

By itself this will lint, run the full test suite, do a release build, make sure the working directory is clean, bump the version number in package.json, commit the version number change and add a git tag with the new version, push the new version to GitHub and publish the release build output to npm.

If you don't have an npm account, create one at npmjs.com.  You'll need to do the initial release.

An npm user should then be able to download the latest Piskel release by running `npm install piskel`.  They could then find the location of Piskel's index.html by running `` `npm bin`/piskel-root `` (perhaps more useful for automation purposes... our own build copies the built Piskel release from its npm-installed location to a directory where it gets served by Rails).

By itself this may not seem _that_ useful, but it's a step toward making Piskel easier to embed with other appilications.  I've got a start on the next big improvement, where a parent application can `require('piskel')` to get an API object that facilitates communication with the editor running within an iframe.  You can see an early version of that at https://github.com/code-dot-org/piskel/pull/7
2016-06-17 17:07:03 -07:00
Julian Descottes
92ab0602ee chore: Update package.json fields 2016-06-04 10:54:21 +02:00
Brad Buchanan
30e3b4dd09 Downgrade grunt to ^0.4.5
This eliminates the peerDependencies complaints on `npm install` from
the various grunt plugins being used.  I looked at upgrading the
plugins but several still have no official support for grunt 1+.
2016-06-03 12:21:21 -07:00
juliandescottes
1c41bbee82 greenkeeper: update dependencies 2016-05-07 15:45:55 +02:00
Julian Descottes
77fb50701f greenkeeper: update dependencies 2016-04-21 22:37:58 +02:00
greenkeeperio-bot
5f49a68b62 chore(package): update grunt-contrib-watch to version 1.0.0
http://greenkeeper.io/
2016-03-12 23:20:38 +01:00
Julian Descottes
3043bac82c chore: update package.json dependencies (bulk) 2016-03-05 12:55:08 +01:00
Julian Descottes
fc1d23b3f5 Merge pull request #407 from juliandescottes/greenkeeper-grunt-contrib-jshint-1.0.0
Update grunt-contrib-jshint to version 1.0.0 🚀
2016-03-05 12:49:38 +01:00
greenkeeperio-bot
00ee251868 chore(package): update grunt-contrib-jshint to version 1.0.0
http://greenkeeper.io/
2016-02-17 01:47:37 +01:00
greenkeeperio-bot
bcb6c3aca9 chore(package): update grunt-contrib-clean to version 1.0.0
http://greenkeeper.io/
2016-02-15 22:52:53 +01:00
greenkeeperio-bot
54342c16d1 chore(package): update karma to version 0.13.21
http://greenkeeper.io/
2016-02-12 23:38:29 +01:00
Julian Descottes
e7c53dac38 Merge pull request #398 from juliandescottes/greenkeeper-grunt-spritesmith-6.3.0
Update grunt-spritesmith to version 6.3.0 🚀
2016-02-12 06:42:07 +01:00
greenkeeperio-bot
ecc1444b76 chore(package): update grunt-spritesmith to version 6.3.0
http://greenkeeper.io/
2016-02-04 06:26:16 +01:00
greenkeeperio-bot
f72da81fa4 chore(package): update grunt-contrib-uglify to version 0.11.1
http://greenkeeper.io/
2016-02-02 17:46:20 +01:00
greenkeeperio-bot
0712e04c12 chore(package): update karma-jasmine to version 0.3.7
http://greenkeeper.io/
2016-02-01 12:19:03 +01:00
Julian Descottes
d2ac600d7a Merge pull request #390 from juliandescottes/greenkeeper-grunt-spritesmith-6.2.0
Update grunt-spritesmith to version 6.2.0 🚀
2016-01-30 14:20:59 +01:00
greenkeeperio-bot
cb5ece914e chore(package): update grunt-jscs to version 2.7.0
http://greenkeeper.io/
2016-01-29 18:07:14 +01:00
greenkeeperio-bot
b90887b98c chore(package): update grunt-spritesmith to version 6.2.0
http://greenkeeper.io/
2016-01-29 06:19:56 +01:00
greenkeeperio-bot
857524dee4 chore(package): update grunt-contrib-jshint to version 0.12.0
http://greenkeeper.io/
2016-01-17 19:11:00 +01:00
jdescottes
4394e29db0 Merge branch 'master' into greenkeeper-grunt-spritesmith-6.1.1 2016-01-13 23:24:13 +01:00
jdescottes
b46d882c18 Merge branch 'master' into greenkeeper-karma-phantomjs-launcher-0.2.3
Conflicts:
	package.json
2016-01-13 23:20:24 +01:00
jdescottes
af382401be Merge branch 'master' into greenkeeper-karma-0.13.19
Conflicts:
	package.json
2016-01-13 23:18:38 +01:00
jdescottes
97690ce486 Merge branch 'master' into greenkeeper-karma-0.13.18
Conflicts:
	package.json
2016-01-13 23:04:51 +01:00
Julian Descottes
f58a54e2ea Merge pull request #377 from juliandescottes/greenkeeper-grunt-jscs-2.6.0
Update grunt-jscs to version 2.6.0 🚀
2016-01-13 23:03:35 +01:00
Julian Descottes
a2fce811dd Merge pull request #376 from juliandescottes/greenkeeper-karma-0.13.17
Update karma to version 0.13.17 🚀
2016-01-13 23:03:20 +01:00
jdescottes
31edd71c41 Merge branch 'master' into greenkeeper-load-grunt-tasks-3.4.0
Conflicts:
	package.json
2016-01-13 23:00:15 +01:00
greenkeeperio-bot
34bfe0668c chore(package): update grunt-spritesmith to version 6.1.1
http://greenkeeper.io/
2016-01-12 02:56:16 -08:00
greenkeeperio-bot
936991cefa chore(package): update karma to version 0.13.19
http://greenkeeper.io/
2016-01-05 16:57:32 -08:00
greenkeeperio-bot
f7112bb005 chore(package): update karma to version 0.13.18
http://greenkeeper.io/
2016-01-05 01:16:12 +01:00
greenkeeperio-bot
5369b31dbc chore(package): update karma-phantomjs-launcher to version 0.2.3
http://greenkeeper.io/
2016-01-04 23:54:38 +01:00
greenkeeperio-bot
323ab36a1b chore(package): update grunt-jscs to version 2.6.0
http://greenkeeper.io/
2016-01-04 21:09:43 +01:00
greenkeeperio-bot
016079bdc8 chore(package): update karma to version 0.13.17
http://greenkeeper.io/
2016-01-04 16:36:17 +01:00
greenkeeperio-bot
777cbb5b0a chore(package): update karma to version 0.13.16
http://greenkeeper.io/
2015-12-24 21:49:52 +01:00
greenkeeperio-bot
dd6920f641 chore(package): update karma-phantomjs-launcher to version 0.2.2
http://greenkeeper.io/
2015-12-24 12:39:26 +01:00
jdescottes
152e6c9c0d release : bump version to 0.7.0-SNAPSHOT 2015-12-22 19:48:46 +01:00
jdescottes
b0e6e31b88 release : bump version to v0.6.0 2015-12-21 23:12:14 +01:00
greenkeeperio-bot
0d4c8cd5df chore(package): update load-grunt-tasks to version 3.4.0
http://greenkeeper.io/
2015-12-19 18:28:29 +01:00
jdescottes
ae56e9422f chore : add peer dependency phantomjs 2015-12-14 23:05:45 +01:00
greenkeeperio-bot
771e3d0981 chore(package): update karma-phantomjs-launcher to version 0.2.1
http://greenkeeper.io/
2015-12-11 02:13:50 +01:00
jdescottes
eff4ac3056 chore : update nw builder, fix desktop build 2015-12-09 23:02:44 +01:00
jdescottes
21d4857b74 Update deps, use grunt-connect instead of express, fix jscs errors 2015-12-09 22:38:58 +01:00
greenkeeperio-bot
8c29afbca6 chore(package): update grunt-jscs to version 2.5.0
http://greenkeeper.io/
2015-12-09 21:57:34 +01:00
jdescottes
8f558fb798 Rollback dependency update 2015-12-09 10:33:41 +01:00
greenkeeperio-bot
3c31746785 chore(package): update dependencies
http://greenkeeper.io/
2015-12-09 00:34:47 +01:00
jdescottes
7e1451fa8d Issue #344 : Remove iframes loader, Gruntf cleanup 2015-12-01 00:40:59 +01:00
jdescottes
8aa6eff715 Issue #344 : Add image spriting using spritesmith 2015-12-01 00:39:37 +01:00
jdescottes
23b82b4cf0 Releasing : bump package.json to 0.6.0-SNAPSHOT 2015-10-09 23:42:18 +02:00
jdescottes
0bdcf38d2f Fix : Update package.json version to 0.5.5-SNAPSHOT 2015-09-19 22:58:01 +02:00
jdescottes
d6a85aaf6f Fix : Add peer dependency to jasmine-core in package.json 2015-09-19 00:25:33 +02:00
jdescottes
0c9f04bc71 Prepare release 0.5.2 2015-05-03 11:43:38 +02:00
jdescottes
29cd0d80f3 Prepare 0.5.1 release 2015-04-28 07:29:01 +02:00
jdescottes
aa79919496 Prepare release 0.5.0 2015-04-26 22:01:06 +02:00
juliandescottes
b480acc6a0 Added JSCS linter to enforce style conventions 2015-04-14 18:02:33 +02:00
juliandescottes
6070ebead5 Updated dependencies 2015-04-13 17:24:49 +02:00
juliandescottes
5b081c8859 Cleanup Gruntfile.js 2015-04-13 16:30:30 +02:00
jdescottes
3265a96fe6 Prepare release 0.4.2 2015-01-23 23:17:39 +01:00
jdescottes
cffaec09b2 Prepare release 0.4.0 2014-11-25 22:54:18 +01:00
juliandescottes
96ef362cf8 preparing release v0.3.0 2014-09-28 11:20:34 +02:00
jdescottes
8441f28ac1 Palette creator can save palettes to local storage 2014-09-06 12:37:11 +02:00
jdescottes
35d4be5d3e Configuration clenup 2014-08-26 01:11:14 +02:00
jdescottes
34dbcedec3 Adding karma-phantomjs-launcher to package.json 2014-08-14 02:28:37 +02:00
jdescottes
e711050f75 Trying other version of node-webkit 2014-08-14 02:24:59 +02:00
jdescottes
b0ec276aac Adding karma tests to grunt build 2014-08-14 01:50:33 +02:00
jdescottes
05e8f9adac added karma runner + first test 2014-07-23 19:42:08 +02:00
jdescottes
1b99a22c1d Updated node and dependencies 2014-07-20 23:55:10 +02:00
jdescottes
8f5ead43d9 Fix : remove cache issues for css, js, templates
Packaged css and js are now suffixed with the build date.
All templates are exported to a folder named after the build date.
Streamlined the build process to copy files to piskel-website.

Isolated common part between piskel and piskel-website in a separated
template, which is now completely created by the grunt build of piskel.

Added a windows CMD script to copy the static resources to piskel-website.
2014-07-06 16:17:14 +02:00
jdescottes
23fd3c464c Prepare 0.1.0 tag 2014-06-22 01:05:57 +02:00
jdescottes
42c799d217 added scripts for desktop packaging 2014-06-21 22:39:37 +02:00
Filipe Vieira
db6dff0564 change node webkit versions to work with older node versions. 2014-05-06 19:27:24 +01:00
Filipe Vieira
8a85e953f1 Merge remote-tracking branch 'upstream/master'
Conflicts:
	Gruntfile.js
2014-05-06 02:53:18 +01:00
jdescottes
adca1bbd08 Added grunt server task to run server+watch 2014-05-05 23:08:11 +02:00
jdescottes
bc23e9cea6 Enhancement : full piskel build deployed to dest
Use grunt [default] to build the application.
Target dest with a webserver to launch the application.
2014-05-05 22:36:34 +02:00
Filipe Vieira
7fb5fe93fa Make desktop app directory with all nedded files before build it. 2014-05-01 01:00:10 +01:00
Filipe Vieira
d803e88c93 added node-webkit to generate standalone app. 2014-04-28 22:13:44 +01:00
Julian Descottes
b254c582b9 Merge branch 'master' into feature-gif-export-panel 2013-09-28 23:37:12 +02:00
Vince
2f9b75fe5e Experiment closure compiler - should trigger errors
local compiler.jar
should trigger errors on Travis
2013-09-28 18:51:10 +02:00
jdescottes
73b98850db Added cheap lazy templates + logic to switch between setting controllers 2013-08-12 07:31:09 +02:00
jdescottes
d8d6f27462 New grunt task : serve 2013-08-11 20:51:04 +02:00
jdescottes
c23de31e07 Merge from master + bugfixing on b64 2013-08-10 14:47:26 +02:00
jdescottes
87a68bfe21 Dev environment:force indentation to 2 spaces. Added new grunt module, grunt-leading-indent to check space consistency, and modified jshint options to enforce 2 spaces 2013-08-10 12:11:16 +02:00
jdescottes
91bacd1dd9 Added concat and uglify tasks to grunt. Piskel on master will only be able to work in debug mode, by passing ?debug in URL. The minified version is built in /build, which has been added to .gitignore 2013-08-04 18:27:32 +02:00
grosbouddha
32d4f1c377 Activate jshint on JS codebase 2013-05-27 23:42:16 +02:00
grosbouddha
0cccd11683 No tab/space mix for jshint 2013-05-27 00:14:54 +02:00
grosbouddha
4474e582f9 format 2 2013-05-27 00:07:32 +02:00
grosbouddha
3b78ecaa70 Format package.json correctly 2013-05-27 00:07:14 +02:00
grosbouddha
d794301301 Initial Grunt architecture 2013-05-26 23:58:59 +02:00
juliandescottes
fb8d8c7ce2 adding a first package.json file 2012-09-11 00:31:50 +02:00
juliandescottes
2fbd59b71b adding a first package.json file 2012-09-11 00:29:52 +02:00