Skip to content

Commit

Permalink
Merge pull request #87 from percolatestudio/release/2.0.0
Browse files Browse the repository at this point in the history
Release v2.0
  • Loading branch information
nachocodoner authored Jul 31, 2024
2 parents 6a7a369 + 43b0b9e commit 57e6b08
Show file tree
Hide file tree
Showing 21 changed files with 2,699 additions and 277 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ jobs:
strategy:
matrix:
meteorRelease:
- '--release 1.9.3'
- '--release 1.12.1'
- '--release 2.1.1'
- '--release 2.3.5'
- '--release 2.8.0'
# Latest version
- '--release 2.9.1'
- '--release 3.0.1'
# Latest recommended version
- ''
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: node_js
node_js: "12"
node_js: "20"
sudo: false
install:
- "curl https://install.meteor.com | /bin/sh"
Expand Down
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Contributing

1. Write some code.
2. Write some tests.
3. From this package's local directory, start the test runner:

```
$ meteor test-packages ./
```
4. Open http://localhost:3000/ in your browser to see the test results.
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,28 +205,18 @@ Migrations.add({
});
```
* 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
For Meteor 2.8+ you can pass async function directly.
* Note: You may want to call migration after startup in case your host (such as Heroku) limits the amount of time given for startup
``` javascript
Meteor.startup(function() {
setTimetout("Migrations.migrateTo('latest')", 0);
});
```
## Contributing
1. Write some code.
2. Write some tests.
3. From this package's local directory, start the test runner:
```
$ meteor test-packages ./
```
4. Open http://localhost:3000/ in your browser to see the test results.
## License
MIT. (c) Percolate Studio, maintained by Zoltan Olah (@zol).
MIT. (c) Percolate Studio, Meteor Software
Meteor Migrations was developed as part of the [Verso](http://versoapp.com) project.
25 changes: 13 additions & 12 deletions example/.meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,20 @@ [email protected]
percolate:migrations
[email protected]
[email protected]
[email protected].0
[email protected].7
blaze-html-templates
[email protected].0
[email protected].1
jquery
tracker@1.2.0
[email protected].1
tracker@1.3.2
[email protected].2
[email protected]
[email protected].0
[email protected].2
[email protected].1
[email protected].3
spacebars
[email protected]
standard-minifier-css
standard-minifier-js
shell-server
dynamic-import
underscore
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
ecmascript
2 changes: 1 addition & 1 deletion example/.meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
METEOR@2.8.0
METEOR@2.13
89 changes: 44 additions & 45 deletions example/.meteor/versions
Original file line number Diff line number Diff line change
@@ -1,80 +1,79 @@
[email protected]
[email protected]
[email protected]
babel-compiler@7.9.2
babel-compiler@7.10.4
[email protected]
[email protected]
[email protected]
blaze@2.5.0
blaze-html-templates@1.2.1
blaze@2.7.1
blaze-html-templates@2.0.0
[email protected]
[email protected]
[email protected]
[email protected].0
callback-hook@1.4.0
[email protected].1
[email protected].0
[email protected].0
[email protected].1
callback-hook@1.5.1
[email protected].2
[email protected].1
[email protected].1
[email protected]
[email protected].0
[email protected].1
[email protected].2
[email protected].2
[email protected].0
[email protected].2
[email protected].2
[email protected].3
[email protected].7
[email protected].1
[email protected]
[email protected]
[email protected].2
[email protected].3
[email protected]
[email protected].1
[email protected].10
[email protected].3
[email protected].11
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
jquery@1.11.11
jquery@3.0.0
[email protected]
[email protected].1
meteor@1.10.1
[email protected].2
meteor@1.11.3
[email protected]
[email protected].1
[email protected].4
[email protected]
[email protected].0
[email protected].3
[email protected]
[email protected]
[email protected].8
[email protected].9
[email protected]
[email protected].0
[email protected].0
[email protected].1
[email protected].7
[email protected]
[email protected]
[email protected]
npm-mongo@4.9.0
[email protected].20
npm-mongo@4.16.0
[email protected].21
[email protected]
percolate:migrations@1.1.0
[email protected].0
[email protected].0
[email protected].3
[email protected].0
[email protected].11
percolate:migrations@2.0.0
[email protected].2
[email protected].1
[email protected].7
[email protected].1
[email protected].12
[email protected]
[email protected]
[email protected]
[email protected].0
[email protected].1
[email protected]
[email protected].0
spacebars@1.3.0
spacebars-compiler@1.2.1
standard-minifier-css@1.8.2
[email protected].1
spacebars@1.4.1
spacebars-compiler@1.3.1
standard-minifier-css@1.9.2
[email protected]
[email protected].1
[email protected].2
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
File renamed without changes.
1 change: 1 addition & 0 deletions example/example.html → example/client/main.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<head>
<title>example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<body>
Expand Down
20 changes: 20 additions & 0 deletions example/client/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { Template } from 'meteor/templating';
import { ReactiveVar } from 'meteor/reactive-var';

Template.hello.onCreated(function helloOnCreated() {
// counter starts at 0
this.counter = new ReactiveVar(0);
});

Template.hello.helpers({
counter() {
return Template.instance().counter.get();
},
});

Template.hello.events({
'click button'(event, instance) {
// increment the counter when button is clicked
instance.counter.set(instance.counter.get() + 1);
},
});
30 changes: 0 additions & 30 deletions example/example.js

This file was deleted.

Loading

0 comments on commit 57e6b08

Please sign in to comment.