Commit bcaec4b6b963e9bf90e97c8a22185a5e6a1532aa
1 parent
76dd62c7bc
Exists in
master
a few maintenance tasks
- Bump Meteor to 1.3.2.4 - Update Meteor Version in README.md - Add an npm test command for running unit tests with Mocha - Remove unnecessary import of chai in api/documents/documents.tests.js and use assert directly.
Showing
5 changed files
with
89 additions
and
90 deletions
Show diff stats
.meteor/release
1 | METEOR@1.3.1 | 1 | METEOR@1.3.2.4 |
2 | 2 |
.meteor/versions
1 | accounts-base@1.2.5 | 1 | accounts-base@1.2.7 |
2 | accounts-password@1.1.7 | 2 | accounts-password@1.1.8 |
3 | alanning:roles@1.2.15 | 3 | alanning:roles@1.2.15 |
4 | aldeed:collection2@2.9.1 | 4 | aldeed:collection2@2.9.1 |
5 | aldeed:collection2-core@1.1.1 | 5 | aldeed:collection2-core@1.1.1 |
6 | aldeed:schema-deny@1.0.1 | 6 | aldeed:schema-deny@1.0.1 |
7 | aldeed:schema-index@1.0.1 | 7 | aldeed:schema-index@1.0.1 |
8 | aldeed:simple-schema@1.5.3 | 8 | aldeed:simple-schema@1.5.3 |
9 | allow-deny@1.0.3 | 9 | allow-deny@1.0.4 |
10 | audit-argument-checks@1.0.6 | 10 | audit-argument-checks@1.0.7 |
11 | autoupdate@1.2.7 | 11 | autoupdate@1.2.9 |
12 | babel-compiler@6.6.1 | 12 | babel-compiler@6.6.4 |
13 | babel-runtime@0.1.7 | 13 | babel-runtime@0.1.8 |
14 | base64@1.0.7 | 14 | base64@1.0.8 |
15 | binary-heap@1.0.7 | 15 | binary-heap@1.0.8 |
16 | blaze@2.1.6 | 16 | blaze@2.1.7 |
17 | blaze-tools@1.0.7 | 17 | blaze-tools@1.0.8 |
18 | boilerplate-generator@1.0.7 | 18 | boilerplate-generator@1.0.8 |
19 | browser-policy@1.0.8 | 19 | browser-policy@1.0.9 |
20 | browser-policy-common@1.0.8 | 20 | browser-policy-common@1.0.9 |
21 | browser-policy-content@1.0.9 | 21 | browser-policy-content@1.0.10 |
22 | browser-policy-framing@1.0.9 | 22 | browser-policy-framing@1.0.10 |
23 | caching-compiler@1.0.3 | 23 | caching-compiler@1.0.4 |
24 | caching-html-compiler@1.0.5 | 24 | caching-html-compiler@1.0.6 |
25 | callback-hook@1.0.7 | 25 | callback-hook@1.0.8 |
26 | check@1.1.3 | 26 | check@1.2.1 |
27 | coffeescript@1.0.16 | 27 | coffeescript@1.0.17 |
28 | dburles:factory@0.4.2 | 28 | dburles:factory@0.4.2 |
29 | ddp@1.2.4 | 29 | ddp@1.2.5 |
30 | ddp-client@1.2.4 | 30 | ddp-client@1.2.7 |
31 | ddp-common@1.2.4 | 31 | ddp-common@1.2.5 |
32 | ddp-rate-limiter@1.0.3 | 32 | ddp-rate-limiter@1.0.4 |
33 | ddp-server@1.2.5 | 33 | ddp-server@1.2.6 |
34 | deps@1.0.11 | 34 | deps@1.0.12 |
35 | diff-sequence@1.0.4 | 35 | diff-sequence@1.0.5 |
36 | ecmascript@0.4.2 | 36 | ecmascript@0.4.3 |
37 | ecmascript-runtime@0.2.9 | 37 | ecmascript-runtime@0.2.10 |
38 | ejson@1.0.10 | 38 | ejson@1.0.11 |
39 | email@1.0.11 | 39 | email@1.0.12 |
40 | es5-shim@4.5.9 | 40 | es5-shim@4.5.10 |
41 | fastclick@1.0.10 | 41 | fastclick@1.0.11 |
42 | fortawesome:fontawesome@4.5.0 | 42 | fortawesome:fontawesome@4.5.0 |
43 | fourseven:scss@3.4.3 | 43 | fourseven:scss@3.4.3 |
44 | geojson-utils@1.0.7 | 44 | geojson-utils@1.0.8 |
45 | hot-code-push@1.0.3 | 45 | hot-code-push@1.0.4 |
46 | html-tools@1.0.8 | 46 | html-tools@1.0.9 |
47 | htmljs@1.0.8 | 47 | htmljs@1.0.9 |
48 | http@1.1.4 | 48 | http@1.1.5 |
49 | id-map@1.0.6 | 49 | id-map@1.0.7 |
50 | jquery@1.11.7 | 50 | jquery@1.11.8 |
51 | launch-screen@1.0.10 | 51 | launch-screen@1.0.11 |
52 | livedata@1.0.17 | 52 | livedata@1.0.18 |
53 | localstorage@1.0.8 | 53 | localstorage@1.0.9 |
54 | logging@1.0.11 | 54 | logging@1.0.12 |
55 | mdg:validated-method@1.1.0 | 55 | mdg:validated-method@1.1.0 |
56 | mdg:validation-error@0.5.1 | 56 | mdg:validation-error@0.5.1 |
57 | meteor@1.1.13 | 57 | meteor@1.1.14 |
58 | meteor-base@1.0.3 | 58 | meteor-base@1.0.4 |
59 | minifier-css@1.1.10 | 59 | minifier-css@1.1.11 |
60 | minifier-js@1.1.10 | 60 | minifier-js@1.1.11 |
61 | minimongo@1.0.13 | 61 | minimongo@1.0.16 |
62 | mobile-experience@1.0.3 | 62 | mobile-experience@1.0.4 |
63 | mobile-status-bar@1.0.11 | 63 | mobile-status-bar@1.0.12 |
64 | modules@0.5.2 | 64 | modules@0.6.1 |
65 | modules-runtime@0.6.2 | 65 | modules-runtime@0.6.3 |
66 | mongo@1.1.6 | 66 | mongo@1.1.7 |
67 | mongo-id@1.0.3 | 67 | mongo-id@1.0.4 |
68 | npm-bcrypt@0.7.8_2 | 68 | npm-bcrypt@0.8.5 |
69 | npm-mongo@1.4.42 | 69 | npm-mongo@1.4.43 |
70 | observe-sequence@1.0.10 | 70 | observe-sequence@1.0.11 |
71 | ordered-dict@1.0.6 | 71 | ordered-dict@1.0.7 |
72 | practicalmeteor:chai@2.1.0_1 | 72 | practicalmeteor:chai@2.1.0_1 |
73 | practicalmeteor:loglevel@1.2.0_2 | 73 | practicalmeteor:loglevel@1.2.0_2 |
74 | practicalmeteor:mocha@2.4.5_1 | 74 | practicalmeteor:mocha@2.4.5_1 |
75 | practicalmeteor:mocha-core@0.1.4 | 75 | practicalmeteor:mocha-core@0.1.4 |
76 | practicalmeteor:sinon@1.14.1_2 | 76 | practicalmeteor:sinon@1.14.1_2 |
77 | promise@0.6.6 | 77 | promise@0.6.7 |
78 | raix:eventemitter@0.1.3 | 78 | raix:eventemitter@0.1.3 |
79 | random@1.0.8 | 79 | random@1.0.9 |
80 | rate-limit@1.0.3 | 80 | rate-limit@1.0.4 |
81 | react-meteor-data@0.2.9 | 81 | react-meteor-data@0.2.9 |
82 | reactive-dict@1.1.6 | 82 | reactive-dict@1.1.7 |
83 | reactive-var@1.0.8 | 83 | reactive-var@1.0.9 |
84 | reload@1.1.7 | 84 | reload@1.1.8 |
85 | retry@1.0.6 | 85 | retry@1.0.7 |
86 | routepolicy@1.0.9 | 86 | routepolicy@1.0.10 |
87 | service-configuration@1.0.8 | 87 | service-configuration@1.0.9 |
88 | session@1.1.4 | 88 | session@1.1.5 |
89 | sha@1.0.6 | 89 | sha@1.0.7 |
90 | spacebars@1.0.10 | 90 | spacebars@1.0.11 |
91 | spacebars-compiler@1.0.10 | 91 | spacebars-compiler@1.0.11 |
92 | srp@1.0.7 | 92 | srp@1.0.8 |
93 | standard-minifier-css@1.0.5 | 93 | standard-minifier-css@1.0.6 |
94 | standard-minifier-js@1.0.5 | 94 | standard-minifier-js@1.0.6 |
95 | static-html@1.0.6 | 95 | static-html@1.0.7 |
96 | templating@1.1.8 | 96 | templating@1.1.9 |
97 | templating-tools@1.0.3 | 97 | templating-tools@1.0.4 |
98 | themeteorchef:bert@2.1.0 | 98 | themeteorchef:bert@2.1.0 |
99 | themeteorchef:jquery-validation@1.14.0 | 99 | themeteorchef:jquery-validation@1.14.0 |
100 | tmeasday:check-npm-versions@0.2.0 | 100 | tmeasday:check-npm-versions@0.2.0 |
101 | tmeasday:test-reporter-helpers@0.2.1 | 101 | tmeasday:test-reporter-helpers@0.2.1 |
102 | tracker@1.0.12 | 102 | tracker@1.0.13 |
103 | ui@1.0.10 | 103 | ui@1.0.11 |
104 | underscore@1.0.7 | 104 | underscore@1.0.8 |
105 | url@1.0.8 | 105 | url@1.0.9 |
106 | webapp@1.2.7 | 106 | webapp@1.2.8 |
107 | webapp-hashing@1.0.8 | 107 | webapp-hashing@1.0.9 |
108 | xolvio:backdoor@0.2.0 | 108 | xolvio:backdoor@0.2.0 |
109 | xolvio:cleaner@0.3.0 | 109 | xolvio:cleaner@0.3.0 |
110 | xolvio:email-stub@0.2.0 | 110 | xolvio:email-stub@0.2.0 |
111 | 111 |
README.md
1 | # The Meteor Chef - Base | 1 | # The Meteor Chef - Base |
2 | A starting point for Meteor apps. | 2 | A starting point for Meteor apps. |
3 | 3 | ||
4 | <table> | 4 | <table> |
5 | <tbody> | 5 | <tbody> |
6 | <tr> | 6 | <tr> |
7 | <th>Base Version</th> | 7 | <th>Base Version</th> |
8 | <td>v4.0.0</td> | 8 | <td>v4.0.0</td> |
9 | </tr> | 9 | </tr> |
10 | <tr> | 10 | <tr> |
11 | <th>Meteor Version</th> | 11 | <th>Meteor Version</th> |
12 | <td>v1.3.0</td> | 12 | <td>v1.3.2.4</td> |
13 | </tr> | 13 | </tr> |
14 | </tbody> | 14 | </tbody> |
15 | </table> | 15 | </table> |
16 | 16 | ||
17 | [Read the Documentation](http://themeteorchef.com/base) | 17 | [Read the Documentation](http://themeteorchef.com/base) |
18 | 18 |
imports/api/documents/documents.tests.js
1 | /* eslint-env mocha */ | 1 | /* eslint-env mocha */ |
2 | /* eslint-disable func-names, prefer-arrow-callback */ | 2 | /* eslint-disable func-names, prefer-arrow-callback */ |
3 | 3 | ||
4 | import { chai } from 'meteor/practicalmeteor:chai'; | 4 | import { assert } from 'meteor/practicalmeteor:chai'; |
5 | import { Documents } from './documents.js'; | 5 | import { Documents } from './documents.js'; |
6 | 6 | ||
7 | const { assert } = chai; | ||
8 | |||
9 | describe('Documents collection', function () { | 7 | describe('Documents collection', function () { |
10 | it('registers the collection with Mongo properly', function () { | 8 | it('registers the collection with Mongo properly', function () { |
11 | assert.equal(typeof Documents, 'object'); | 9 | assert.equal(typeof Documents, 'object'); |
12 | }); | 10 | }); |
13 | }); | 11 | }); |
14 | 12 |
package.json
1 | { | 1 | { |
2 | "name": "application-name", | 2 | "name": "application-name", |
3 | "version": "1.0.0", | 3 | "version": "1.0.0", |
4 | "description": "Application description.", | 4 | "description": "Application description.", |
5 | "scripts": { | 5 | "scripts": { |
6 | "start": "meteor --settings settings-development.json", | 6 | "start": "meteor --settings settings-development.json", |
7 | "test": "meteor test --driver-package practicalmeteor:mocha --port 5000", | ||
7 | "chimp-watch": "chimp --ddp=http://localhost:3000 --watch --mocha --path=tests", | 8 | "chimp-watch": "chimp --ddp=http://localhost:3000 --watch --mocha --path=tests", |
8 | "chimp-test": "chimp --ddp=http://localhost:3000 --mocha --path=tests", | 9 | "chimp-test": "chimp --ddp=http://localhost:3000 --mocha --path=tests", |
9 | "staging": "meteor deploy staging.meteor.com --settings settings-development.json", | 10 | "staging": "meteor deploy staging.meteor.com --settings settings-development.json", |
10 | "production": "meteor deploy production.meteor.com --settings settings-production.json" | 11 | "production": "meteor deploy production.meteor.com --settings settings-production.json" |
11 | }, | 12 | }, |
12 | "devDependencies": {}, | 13 | "devDependencies": {}, |
13 | "eslintConfig": { | 14 | "eslintConfig": { |
14 | "parserOptions": { | 15 | "parserOptions": { |
15 | "ecmaFeatures": { | 16 | "ecmaFeatures": { |
16 | "jsx": true | 17 | "jsx": true |
17 | } | 18 | } |
18 | }, | 19 | }, |
19 | "plugins": [ | 20 | "plugins": [ |
20 | "meteor", | 21 | "meteor", |
21 | "react" | 22 | "react" |
22 | ], | 23 | ], |
23 | "extends": [ | 24 | "extends": [ |
24 | "airbnb/base", | 25 | "airbnb/base", |
25 | "plugin:meteor/guide", | 26 | "plugin:meteor/guide", |
26 | "plugin:react/recommended" | 27 | "plugin:react/recommended" |
27 | ], | 28 | ], |
28 | "globals": { | 29 | "globals": { |
29 | "$": false, | 30 | "$": false, |
30 | "Accounts": false, | 31 | "Accounts": false, |
31 | "Bert": false, | 32 | "Bert": false, |
32 | "browser": false, | 33 | "browser": false, |
33 | "expect": false, | 34 | "expect": false, |
34 | "Factory": false, | 35 | "Factory": false, |
35 | "Meteor": false, | 36 | "Meteor": false, |
36 | "server": false, | 37 | "server": false, |
37 | "SimpleSchema": false, | 38 | "SimpleSchema": false, |
38 | "ValidatedMethod": false | 39 | "ValidatedMethod": false |
39 | }, | 40 | }, |
40 | "rules": {} | 41 | "rules": {} |
41 | }, | 42 | }, |
42 | "devDependencies": { | 43 | "devDependencies": { |
43 | "chimp": "^0.33.1", | 44 | "chimp": "^0.33.1", |
44 | "eslint": "^2.8.0", | 45 | "eslint": "^2.8.0", |
45 | "eslint-config-airbnb": "^7.0.0", | 46 | "eslint-config-airbnb": "^7.0.0", |
46 | "eslint-plugin-meteor": "^3.5.2", | 47 | "eslint-plugin-meteor": "^3.5.2", |
47 | "eslint-plugin-react": "^4.3.0", | 48 | "eslint-plugin-react": "^4.3.0", |
48 | "faker": "^3.1.0" | 49 | "faker": "^3.1.0" |
49 | }, | 50 | }, |
50 | "dependencies": { | 51 | "dependencies": { |
51 | "react": "^15.0.1", | 52 | "react": "^15.0.1", |
52 | "react-addons-pure-render-mixin": "^15.0.1", | 53 | "react-addons-pure-render-mixin": "^15.0.1", |
53 | "react-bootstrap": "^0.28.4", | 54 | "react-bootstrap": "^0.28.4", |
54 | "react-dom": "^15.0.1", | 55 | "react-dom": "^15.0.1", |
55 | "react-komposer": "^1.7.1", | 56 | "react-komposer": "^1.7.1", |
56 | "react-router": "^2.0.1", | 57 | "react-router": "^2.0.1", |
57 | "react-router-bootstrap": "^0.20.1" | 58 | "react-router-bootstrap": "^0.20.1" |
58 | } | 59 | } |
59 | } | 60 | } |
60 | 61 |