Skip to content

Commit

Permalink
Package updates, refactor justinr1234:lib, fix example bug
Browse files Browse the repository at this point in the history
  • Loading branch information
justinr1234 committed May 21, 2017
1 parent aa5d45c commit bc3a592
Show file tree
Hide file tree
Showing 34 changed files with 18 additions and 892 deletions.
10 changes: 5 additions & 5 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
# Basic packages and utilities for most Meteor app development
[email protected]
[email protected]
[email protected].16
[email protected].17
[email protected]
[email protected]
[email protected]
[email protected].2
[email protected].3
[email protected]
[email protected].2
[email protected].3
[email protected]
[email protected]
[email protected]
Expand All @@ -31,7 +31,7 @@ sacha:spin

# Account management
[email protected]
[email protected].5
[email protected].6

# Routing
kadira:flow-router
Expand All @@ -55,6 +55,6 @@ dispatch:mocha
[email protected]
ongoworks:security
alanning:roles
justinr1234:lib@0.0.8
justinr1234:lib
justinr1234:example
mdg:validated-method
2 changes: 1 addition & 1 deletion .meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[email protected].1
[email protected].2
2 changes: 1 addition & 1 deletion doc/new-page.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
8. Create methods in `<package>/imports/api/methods/` (**Note** always use [SimpleSchema](https://github.com/aldeed/meteor-simple-schema) to have a [validatedMethod](https://guide.meteor.com/methods.html#validated-method)) - [Meteor Methods Docs](https://guide.meteor.com/methods.html) - [Example](https://raw.githubusercontent.com/justinr1234/opinionated-meteor-application-template/master/packages/justinr1234-example/imports/api/methods/)
9. Create routes in `<package>/imports/routes.js` - [FlowRouter docs](https://github.com/kadirahq/flow-router) - [Example](https://raw.githubusercontent.com/justinr1234/opinionated-meteor-application-template/master/packages/justinr1234-exaxmple/imports/routes.js)
10. Create pages in `<package>/imports/ui/pages/` - [Meteor Blaze Template Docs](http://blazejs.org/api/templates.html) - [Meteor Spacebars Template Docs](http://blazejs.org/guide/spacebars.html) - [Example](https://raw.githubusercontent.com/justinr1234/opinionated-meteor-application-template/master/packages/justinr1234-exaxmple/imports/ui/pages/)
11. Common abstracted functionality (such as global [Spacebars](http://blazejs.org/guide/spacebars.html) helpers) should be added to the [justinr1234:lib](https://raw.githubusercontent.com/justinr1234/opinionated-meteor-application-template/master/packages/justinr1234-lib) package
11. Common abstracted functionality (such as global [Spacebars](http://blazejs.org/guide/spacebars.html) helpers) should be added to the [justinr1234:lib](https://github.com/justinr1234/justinr1234-lib) package
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"start-dev": "DEBUG=* meteor --no-release-check --settings ./config/settings.development.json",
"lint": "eslint .",
"test": "meteor test --driver-package practicalmeteor:mocha --port 3100",
"test-watch": "TEST_BROWSER_DRIVER=chrome TEST_WATCH=1 meteor test --driver-package dispatch:mocha --port 3100",
"test-watch": "TEST_WATCH=1 meteor test --driver-package dispatch:mocha --port 3100",
"server-test": "meteor test --once --driver-package dispatch:mocha --port 3100",
"server-test-watch": "TEST_WATCH=1 meteor test --driver-package dispatch:mocha --port 3100"
},
Expand All @@ -27,7 +27,6 @@
"devDependencies": {
"autoprefixer": "^6.3.1",
"chai": "*",
"chromedriver": "^2.29.0",
"docdash": "^0.3.0",
"es6-enum": "^1.0.3",
"eslint": "^2.7.0",
Expand All @@ -37,7 +36,6 @@
"eslint-plugin-react": "^4.3.0",
"ghooks": "^2.0.0",
"opt-cli": "^1.5.1",
"selenium-webdriver": "3.0.0-beta-2",
"sinon": "^2.1.0"
},
"postcss": {
Expand Down
2 changes: 1 addition & 1 deletion packages/justinr1234-example/client/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import '../imports/api/collections';
import { ExampleCollection, ExampleSchema } from '../imports/api/collections/example/example.js';
import '../imports/routes.js';
import { publicationNames } from '../imports/publication-names.js';
import '../imports/ui/pages/example';
import '../imports/ui/pages';

export {
ExampleCollection,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{> quickForm
collection=collection
template="semanticUI"
id="EXAMPLE_EDIT_FORM"
id="UPDATE_EXAMPLE_EDIT_FORM"
type="update"
doc=getDoc
buttonContent="Update"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ export const composedHelpers = { ...helpers, ...subscriptionHandlersHelpers() };

Template.EXAMPLE_EDIT.onCreated(onCreated);
Template.EXAMPLE_EDIT.helpers(composedHelpers);

2 changes: 1 addition & 1 deletion packages/justinr1234-example/package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* globals Package, Npm */
Package.describe({
name: 'justinr1234:example',
version: '0.0.2',
version: '0.0.3',
summary: 'justinr1234 Example',
documentation: 'README.md',
git: 'https://github.com/justinr1234/opinionated-meteor-application-template.git',
Expand Down
8 changes: 0 additions & 8 deletions packages/justinr1234-lib/README.md

This file was deleted.

56 changes: 0 additions & 56 deletions packages/justinr1234-lib/client/main.js

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion packages/justinr1234-lib/imports/lib/both/index.js

This file was deleted.

15 changes: 0 additions & 15 deletions packages/justinr1234-lib/imports/lib/both/publications.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/justinr1234-lib/imports/lib/both/routes/index.js

This file was deleted.

83 changes: 0 additions & 83 deletions packages/justinr1234-lib/imports/lib/both/routes/router.js

This file was deleted.

Loading

0 comments on commit bc3a592

Please sign in to comment.