Skip to content

Commit 57e6b08

Browse files
authored
Merge pull request #87 from percolatestudio/release/2.0.0
Release v2.0
2 parents 6a7a369 + 43b0b9e commit 57e6b08

21 files changed

+2699
-277
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@ jobs:
77
strategy:
88
matrix:
99
meteorRelease:
10-
- '--release 1.9.3'
11-
- '--release 1.12.1'
12-
- '--release 2.1.1'
13-
- '--release 2.3.5'
14-
- '--release 2.8.0'
15-
# Latest version
10+
- '--release 2.9.1'
11+
- '--release 3.0.1'
12+
# Latest recommended version
1613
- ''
1714
steps:
1815
- name: Checkout code
19-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
2017

2118
- name: Install Node.js
2219
uses: actions/setup-node@v3

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: node_js
2-
node_js: "12"
2+
node_js: "20"
33
sudo: false
44
install:
55
- "curl https://install.meteor.com | /bin/sh"

CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Contributing
2+
3+
1. Write some code.
4+
2. Write some tests.
5+
3. From this package's local directory, start the test runner:
6+
7+
```
8+
$ meteor test-packages ./
9+
```
10+
11+
4. Open http://localhost:3000/ in your browser to see the test results.

README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -205,28 +205,18 @@ Migrations.add({
205205
});
206206
```
207207
208-
* Note: You may want to to call migration after startup in case your host (such as Heroku) limits the amount of time given for startup
208+
For Meteor 2.8+ you can pass async function directly.
209+
210+
* Note: You may want to call migration after startup in case your host (such as Heroku) limits the amount of time given for startup
209211
``` javascript
210212
Meteor.startup(function() {
211213
setTimetout("Migrations.migrateTo('latest')", 0);
212214
});
213215
```
214216
215-
## Contributing
216-
217-
1. Write some code.
218-
2. Write some tests.
219-
3. From this package's local directory, start the test runner:
220-
221-
```
222-
$ meteor test-packages ./
223-
```
224-
225-
4. Open http://localhost:3000/ in your browser to see the test results.
226-
227217
228218
## License
229219
230-
MIT. (c) Percolate Studio, maintained by Zoltan Olah (@zol).
220+
MIT. (c) Percolate Studio, Meteor Software
231221
232222
Meteor Migrations was developed as part of the [Verso](http://versoapp.com) project.

example/.meteor/packages

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,20 @@ [email protected]
88
percolate:migrations
99
1010
11-
11+
1212
blaze-html-templates
13-
13+
1414
jquery
15-
tracker@1.2.0
16-
15+
tracker@1.3.2
16+
1717
18-
19-
18+
19+
2020
spacebars
21-
22-
standard-minifier-css
23-
standard-minifier-js
24-
shell-server
25-
dynamic-import
26-
underscore
21+
22+
23+
24+
25+
26+
27+
ecmascript

example/.meteor/release

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

example/.meteor/versions

Lines changed: 44 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,79 @@
11
22
33
4-
babel-compiler@7.9.2
4+
babel-compiler@7.10.4
55
66
77
8-
blaze@2.5.0
9-
blaze-html-templates@1.2.1
8+
blaze@2.7.1
9+
blaze-html-templates@2.0.0
1010
1111
1212
13-
14-
callback-hook@1.4.0
15-
16-
17-
13+
14+
callback-hook@1.5.1
15+
16+
17+
1818
19-
20-
21-
22-
23-
19+
20+
21+
22+
23+
2424
2525
26-
26+
2727
28-
29-
28+
29+
3030
3131
3232
3333
3434
3535
36-
jquery@1.11.11
36+
jquery@3.0.0
3737
38-
39-
meteor@1.10.1
38+
39+
meteor@1.11.3
4040
41-
41+
4242
43-
43+
4444
4545
46-
46+
4747
48-
49-
48+
49+
5050
5151
5252
53-
npm-mongo@4.9.0
54-
53+
npm-mongo@4.16.0
54+
5555
56-
percolate:migrations@1.1.0
57-
58-
59-
60-
61-
56+
percolate:migrations@2.0.0
57+
58+
59+
60+
61+
6262
6363
6464
65-
65+
6666
67-
68-
spacebars@1.3.0
69-
spacebars-compiler@1.2.1
70-
standard-minifier-css@1.8.2
67+
68+
spacebars@1.4.1
69+
spacebars-compiler@1.3.1
70+
standard-minifier-css@1.9.2
7171
72-
72+
7373
74-
75-
76-
77-
78-
79-
80-
74+
75+
76+
77+
78+
79+
File renamed without changes.

example/example.html renamed to example/client/main.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<head>
22
<title>example</title>
3+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
34
</head>
45

56
<body>

example/client/main.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { Template } from 'meteor/templating';
2+
import { ReactiveVar } from 'meteor/reactive-var';
3+
4+
Template.hello.onCreated(function helloOnCreated() {
5+
// counter starts at 0
6+
this.counter = new ReactiveVar(0);
7+
});
8+
9+
Template.hello.helpers({
10+
counter() {
11+
return Template.instance().counter.get();
12+
},
13+
});
14+
15+
Template.hello.events({
16+
'click button'(event, instance) {
17+
// increment the counter when button is clicked
18+
instance.counter.set(instance.counter.get() + 1);
19+
},
20+
});

0 commit comments

Comments
 (0)