Octokit.js build setup using @pika/pack
npm install --save-dev @pika/pack @pika/plugin-build-node @pika/plugin-build-web @pika/plugin-ts-standard-pkg
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
const CLIENT_ID = '<your client ID>' | |
const CLIENT_SECRET = '<your client Secret>' | |
async function handleRequest(request) { | |
if (request.method === 'GET') { | |
return new Response(`$ curl -XPOST -H'Content-Type: application/json' -d'{"code": "<your oauth code>"}' ${request.url}`) |
@pika/pack
npm install --save-dev @pika/pack @pika/plugin-build-node @pika/plugin-build-web @pika/plugin-ts-standard-pkg
git clone [email protected]:48ad793b3fb7dbb59bcd696bbf75baee.git github-lock-issue-test
cd github-lock-issue-test
npm install
node github-lock-issue-test.js
Should log
{ | |
organization(login: "offlinefirst") { | |
repository(name: "offlinefirst.org") { | |
object(expression: "gh-pages:_posts/") { | |
... on Tree { | |
entries { | |
object { | |
... on Blob { | |
text | |
} |
$('[data-control-name=clear_conversation]').each(function(){this.click();$('[data-control-name=clear_conversation_confirm]').click()}) |
November was a Dev Beaver-kind of month. Lots of development in preparation for the Hoodie Village release. Dale from Appback started working on Hoodie’s Task Module, the last big piece left to finish for Hoodie’s new plugin architecture. Benjamin did not only get 4 pull requests merged, he is also working on enabling app-specific plugins, very soon: hoodiehq/hoodie#637. If you are interested how a plugin will look like, we created an example: https://github.com/hoodiehq/hoodie-plugin-example.
// It could be done more elegantly, instead of using glob it could walk the | |
// relative dependencies, so it would be more flexible and could actually | |
// be turned into a package that could be run before publishing to npm | |
var fs = require('fs') | |
var detective = require('detective') | |
var glob = require('glob') | |
var _ = require('lodash') | |
var buildinModuleNames = require('builtin-modules/static') |
If you just want to play around with Hoodie, you can take our Hoodie Camp Tutorial and check out our Tracker App and it’s uber-simple source code.
If you want to contribute art, code, design, documentation or editorial work, the basic requirements are
I will give a talk on semantic-release and Greenkeeper this Thursday at Node.js Boston. I want to live-demo publishing packages, update workflows and an accidental breaking change and how Greenkeeper helps with that. I’m looking for a good "story" for what these packages do, how to call them, etc. Any idea? Please ping me on Twitter
Goal: create a CLI tool / app with a dependency and a sub dependency.