Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 81c74db

Browse files
authored
Nova 1.2.0 🚀
2 parents d195d36 + f43436b commit 81c74db

110 files changed

Lines changed: 612 additions & 597 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.meteor/packages

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
nova:core # core components and wrappers
44
nova:forms # auto-generated forms
55
nova:routing # routing and server-side rendering
6-
nova:email # email
76
nova:users # user management and permissions
87

98
############ Features Packages ############
109

10+
nova:email
1111
nova:posts
1212
nova:comments
1313
nova:newsletter
@@ -42,4 +42,4 @@ accounts-password@1.3.4
4242
# accounts-facebook
4343

4444
# customization-demo
45-
# framework-demo
45+
framework-demo

.meteor/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
METEOR@1.4.3
1+
METEOR@1.4.3.1

.meteor/versions

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ aldeed:schema-index@1.1.1
77
aldeed:simple-schema@1.5.3
88
allow-deny@1.0.5
99
autoupdate@1.3.12
10-
babel-compiler@6.14.0
10+
babel-compiler@6.14.1
1111
babel-runtime@1.0.1
1212
base64@1.0.10
1313
binary-heap@1.0.10
14-
blaze@2.2.0
14+
blaze@2.2.1
1515
blaze-tools@1.0.10
1616
boilerplate-generator@1.0.11
1717
caching-compiler@1.1.9
1818
callback-hook@1.0.10
19-
check@1.2.4
19+
check@1.2.5
2020
coffeescript@1.11.1_4
2121
ddp@1.2.5
2222
ddp-client@1.3.3
@@ -25,12 +25,13 @@ ddp-rate-limiter@1.0.6
2525
ddp-server@1.3.13
2626
deps@1.0.12
2727
diff-sequence@1.0.7
28-
ecmascript@0.6.2
28+
ecmascript@0.6.3
2929
ecmascript-runtime@0.3.15
3030
ejson@1.0.13
3131
email@1.1.18
3232
fortawesome:fontawesome@4.5.0
3333
fourseven:scss@3.10.1
34+
framework-demo@0.0.0
3435
geojson-utils@1.0.10
3536
hot-code-push@1.0.4
3637
html-tools@1.0.11
@@ -50,36 +51,36 @@ meteor-base@1.0.4
5051
meteorhacks:inject-initial@1.0.4
5152
meteorhacks:picker@1.0.3
5253
minifier-css@1.2.16
53-
minifier-js@1.2.17
54+
minifier-js@1.2.18
5455
minimongo@1.0.20
55-
modules@0.7.8
56+
modules@0.7.9
5657
modules-runtime@0.7.9
5758
mongo@1.1.15
5859
mongo-id@1.0.6
59-
nova:api@1.1.0
60-
nova:base-components@1.1.0
61-
nova:base-styles@1.1.0
62-
nova:categories@1.1.0
63-
nova:comments@1.1.0
64-
nova:core@1.1.0
65-
nova:debug@1.1.0
66-
nova:email@1.1.0
67-
nova:email-templates@1.1.0
68-
nova:embedly@1.1.0
69-
nova:events@1.1.0
70-
nova:forms@1.1.0
71-
nova:getting-started@1.1.0
72-
nova:i18n-en-us@1.1.0
73-
nova:lib@1.1.0
74-
nova:newsletter@1.1.0
75-
nova:notifications@1.1.0
76-
nova:posts@1.1.0
77-
nova:routing@1.1.0
78-
nova:rss@1.1.0
79-
nova:search@1.1.0
80-
nova:subscribe@1.1.0
81-
nova:users@1.1.0
82-
nova:voting@1.1.0
60+
nova:api@1.2.0
61+
nova:base-components@1.2.0
62+
nova:base-styles@1.2.0
63+
nova:categories@1.2.0
64+
nova:comments@1.2.0
65+
nova:core@1.2.0
66+
nova:debug@1.2.0
67+
nova:email@1.2.0
68+
nova:email-templates@1.2.0
69+
nova:embedly@1.2.0
70+
nova:events@1.2.0
71+
nova:forms@1.2.0
72+
nova:getting-started@1.2.0
73+
nova:i18n-en-us@1.2.0
74+
nova:lib@1.2.0
75+
nova:newsletter@1.2.0
76+
nova:notifications@1.2.0
77+
nova:posts@1.2.0
78+
nova:routing@1.2.0
79+
nova:rss@1.2.0
80+
nova:search@1.2.0
81+
nova:subscribe@1.2.0
82+
nova:users@1.2.0
83+
nova:voting@1.2.0
8384
npm-bcrypt@0.9.2
8485
npm-mongo@2.2.16_1
8586
observe-sequence@1.0.15
@@ -98,14 +99,14 @@ service-configuration@1.0.11
9899
session@1.1.7
99100
sha@1.0.9
100101
shell-server@0.2.2
101-
softwarerero:accounts-t9n@1.3.6
102+
softwarerero:accounts-t9n@1.3.9
102103
spacebars@1.0.13
103104
spacebars-compiler@1.0.13
104105
srp@1.0.10
105-
standard-minifier-css@1.3.3
106-
standard-minifier-js@1.2.2
106+
standard-minifier-css@1.3.4
107+
standard-minifier-js@1.2.3
107108
standard-minifiers@1.0.6
108-
std:accounts-ui@1.2.18
109+
std:accounts-ui@1.2.19
109110
tmeasday:check-npm-versions@0.3.1
110111
tracker@1.1.2
111112
ui@1.0.12

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Nova",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"engines": {
55
"npm": "^3.0"
66
},
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"analytics-node": "^2.1.1",
14-
"apollo-client": "^0.8.1",
14+
"apollo-client": "^0.10.1",
1515
"babel-runtime": "^6.18.0",
1616
"bcrypt": "^0.8.7",
1717
"body-parser": "^1.15.2",
@@ -23,12 +23,11 @@
2323
"express": "^4.14.0",
2424
"formsy-react": "^0.18.1",
2525
"formsy-react-components": "^0.8.1",
26-
"graphql": "^0.8.2",
26+
"graphql": "^0.9.1",
2727
"graphql-date": "^1.0.2",
28-
"graphql-server-express": "^0.4.4",
29-
"graphql-subscriptions": "^0.2.1",
30-
"graphql-tag": "^1.2.1",
31-
"graphql-tools": "^0.9.0",
28+
"graphql-server-express": "^0.6.0",
29+
"graphql-tag": "^1.2.4",
30+
"graphql-tools": "^0.10.1",
3231
"graphql-type-json": "^0.1.4",
3332
"handlebars": "^4.0.5",
3433
"history": "^3.0.0",
@@ -47,7 +46,7 @@
4746
"optics-agent": "^1.0.5",
4847
"react": "^15.4.1",
4948
"react-addons-pure-render-mixin": "^15.4.1",
50-
"react-apollo": "^0.9.0",
49+
"react-apollo": "^0.13.3",
5150
"react-bootstrap": "^0.30.7",
5251
"react-bootstrap-datetimepicker": "0.0.22",
5352
"react-cookie": "^0.4.6",

packages/framework-demo/client.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import '../modules/index.js';

packages/framework-demo/lib/components.js

Lines changed: 0 additions & 7 deletions
This file was deleted.
File renamed without changes.

packages/framework-demo/lib/components/MoviesDetails.jsx

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ Wrapped with the "withDocument" container.
66
*/
77

88
import React, { PropTypes, Component } from 'react';
9-
import Movies from '../collection.js';
9+
import Movies from '../modules/collection.js';
1010
import { withDocument, registerComponent } from 'meteor/nova:core';
11-
import gql from 'graphql-tag';
1211

1312
const MoviesDetails = props => {
1413
const movie = props.document;
@@ -26,24 +25,10 @@ const MoviesDetails = props => {
2625
}
2726
}
2827

29-
MoviesDetails.fragment = gql`
30-
fragment moviesDetailsFragment on Movie {
31-
_id
32-
name
33-
createdAt
34-
year
35-
review
36-
privateComments
37-
user {
38-
displayName
39-
}
40-
}
41-
`;
42-
4328
const options = {
4429
collection: Movies,
4530
queryName: 'moviesSingleQuery',
46-
fragment: MoviesDetails.fragment,
31+
fragmentName: 'MoviesDetailsFragment',
4732
};
4833

4934
registerComponent('MoviesDetails', MoviesDetails, withDocument(options));

packages/framework-demo/lib/components/MoviesEditForm.jsx

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,18 @@ Wrapped with the "withDocument" container.
66
*/
77

88
import React, { PropTypes, Component } from 'react';
9-
import { Components, registerComponent } from "meteor/nova:core";
10-
import Movies from '../collection.js';
9+
import { Components, registerComponent, getFragment } from "meteor/nova:core";
10+
import Movies from '../modules/collection.js';
1111

12-
const MoviesEditForm = (props, context) => {
13-
return (
14-
<Components.SmartForm
15-
collection={Movies}
16-
documentId={props.documentId}
17-
showRemove={true}
18-
/>
19-
)
20-
}
21-
22-
MoviesEditForm.contextTypes = {
23-
closeCallback: React.PropTypes.func,
24-
}
12+
const MoviesEditForm = props =>
13+
<Components.SmartForm
14+
collection={Movies}
15+
documentId={props.documentId}
16+
mutationFragment={getFragment('MoviesItemFragment')}
17+
showRemove={true}
18+
successCallback={document => {
19+
props.closeModal();
20+
}}
21+
/>
2522

2623
registerComponent('MoviesEditForm', MoviesEditForm);

0 commit comments

Comments
 (0)