├── example ├── .meteor │ ├── .gitignore │ ├── release │ ├── platforms │ ├── .finished-upgraders │ ├── .id │ ├── packages │ └── versions ├── packages │ ├── deanius:package-kitchen │ ├── okgrow:package-linter │ └── npm-container │ │ ├── index.js │ │ └── package.js ├── packages.json ├── layout.html ├── routes.js ├── client │ └── analytics.js ├── settings.json └── customize.js ├── .gitignore ├── client ├── templates │ ├── code.html │ ├── travis.html │ ├── readme.html │ └── packageJs.html ├── routes.js ├── allFiles.js ├── allFiles.html ├── kitchen.js ├── flair.html ├── zip.js ├── editor.js ├── kitchen.html ├── linter.html ├── linter.js ├── editor.html └── _viewmodel.js ├── tests └── index.js ├── package.json ├── TODO.md ├── .versions ├── server └── methods.js ├── package.js └── README.md /example/.meteor/.gitignore: -------------------------------------------------------------------------------- 1 | local 2 | -------------------------------------------------------------------------------- /example/.meteor/release: -------------------------------------------------------------------------------- 1 | METEOR@1.1.0.3 2 | -------------------------------------------------------------------------------- /example/.meteor/platforms: -------------------------------------------------------------------------------- 1 | server 2 | browser 3 | -------------------------------------------------------------------------------- /example/packages/deanius:package-kitchen: -------------------------------------------------------------------------------- 1 | ../.. -------------------------------------------------------------------------------- /example/packages/okgrow:package-linter: -------------------------------------------------------------------------------- 1 | ../../../meteor-package-linter -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .build* 2 | .npm* 3 | versions.json 4 | 5 | npm-debug.log 6 | -------------------------------------------------------------------------------- /client/templates/code.html: -------------------------------------------------------------------------------- 1 | {{ code }} 2 | -------------------------------------------------------------------------------- /example/packages.json: -------------------------------------------------------------------------------- 1 | { 2 | "mkdirp": "0.5.1", 3 | "latest-version": "1.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /tests/index.js: -------------------------------------------------------------------------------- 1 | Tinytest.add("deanius:new-package", function (test) { 2 | test.equal(true, true); 3 | }); 4 | -------------------------------------------------------------------------------- /example/layout.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | -------------------------------------------------------------------------------- /client/routes.js: -------------------------------------------------------------------------------- 1 | Router.route("kitchen", { 2 | path: "/kitchen", 3 | template: "package-kitchen-kitchen", 4 | data: packageModel 5 | }) 6 | -------------------------------------------------------------------------------- /example/routes.js: -------------------------------------------------------------------------------- 1 | Router.route("/", function () { 2 | this.render("package-kitchen-kitchen", {}); 3 | }); 4 | Router.route("/linter", function () { 5 | this.render("package-kitchen-linter", {}); 6 | }); 7 | -------------------------------------------------------------------------------- /example/client/analytics.js: -------------------------------------------------------------------------------- 1 | Template['package-kitchen-kitchen'].events({ 2 | "click .download" : function (e) { 3 | analytics.track("Download Package", { 4 | packageName: packageViewModel.fullPackageName() 5 | }); 6 | } 7 | }); 8 | -------------------------------------------------------------------------------- /example/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "public": { 3 | "analyticsSettings": { 4 | "Mixpanel": {"token": "bb5bb4cd34af9b759310ef33db021c12", "people": true} 5 | }, 6 | "persistent_session": { 7 | "default_method": "persistent" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /client/templates/travis.html: -------------------------------------------------------------------------------- 1 | 2 | # Travis Badge Markdown (add to README.md): {{ travisBadgeMarkdown }} 3 | sudo: required 4 | language: node_js 5 | node_js: 6 | - "0.10" 7 | 8 | before_install: 9 | - "curl -L http://git.io/ejPSng | /bin/sh" 10 | 11 | -------------------------------------------------------------------------------- /client/allFiles.js: -------------------------------------------------------------------------------- 1 | Template['package-kitchen-allFiles'].helpers({ 2 | isMarkdown : function () { 3 | return this.path.match(/\.md$/); 4 | }, 5 | allFilesRendered: function () { 6 | return ViewModel.byId("packageModel") && ViewModel.byId("packageModel").allFilesRendered(); 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /example/.meteor/.finished-upgraders: -------------------------------------------------------------------------------- 1 | # This file contains information which helps Meteor properly upgrade your 2 | # app when you run 'meteor update'. You should check it into version control 3 | # with your project. 4 | 5 | notices-for-0.9.0 6 | notices-for-0.9.1 7 | 0.9.4-platform-file 8 | notices-for-facebook-graph-api-2 9 | -------------------------------------------------------------------------------- /example/packages/npm-container/index.js: -------------------------------------------------------------------------------- 1 | Meteor.npmRequire = function(moduleName) { 2 | var module = Npm.require(moduleName); 3 | return module; 4 | }; 5 | 6 | Meteor.require = function(moduleName) { 7 | console.warn('Meteor.require is deprecated. Please use Meteor.npmRequire instead!'); 8 | return Meteor.npmRequire(moduleName); 9 | }; -------------------------------------------------------------------------------- /example/.meteor/.id: -------------------------------------------------------------------------------- 1 | # This file contains a token that is unique to your project. 2 | # Check it into your repository along with the rest of this directory. 3 | # It can be used for purposes such as: 4 | # - ensuring you don't accidentally deploy one app on top of another 5 | # - providing package authors with aggregated statistics 6 | 7 | 19m7g4vryo90fxbovoi 8 | -------------------------------------------------------------------------------- /client/templates/readme.html: -------------------------------------------------------------------------------- 1 | # {{ fullPackageName }} 2 | 3 | {{ summary }} {{#if demoUrl}}See a demo at [{{demoUrl}}]({{demoUrl}}).{{/if}} 4 | 5 | ## Installation 6 | 7 | ``` 8 | meteor add {{ fullPackageName }} 9 | ``` 10 | 11 | ## Description 12 | 13 | TODO: Say some more along the lines of *"{{ summary }}"* 14 | 15 | -------------------------------------------------------------------------------- /client/allFiles.html: -------------------------------------------------------------------------------- 1 | 2 |{{{ contents }}}
15 | {{/if}}
16 |
17 | {{/each}}
18 |
3 |
14 | You've got the code in mind you want to package, right?
15 | OK, hold your horses, we'll have you ready in just a second.
16 | Let us guide you through the basic questions, and watch your
17 | package get written Meteor-style.
18 |
19 | When you're done:
20 |