Skip to content

Commit

Permalink
Merge pull request #414 from Meteor-Community-Packages/meteor-3
Browse files Browse the repository at this point in the history
Meteor 3
  • Loading branch information
StorytellerCZ authored Dec 12, 2024
2 parents d6817c1 + f47a223 commit e28302d
Show file tree
Hide file tree
Showing 94 changed files with 3,723 additions and 3,573 deletions.
42 changes: 42 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
function @setup-test() {
local meteor_version=${1:-"3.1"}

echo "🚀 Setting up test environment for Meteor ${meteor_version}"

rm -rf test
meteor create --release ${meteor_version} --bare test

(
cd test
meteor npm i --save [email protected] [email protected] [email protected]
)
}

function @test() {
local meteor_version=${1:-"3.1"}

echo "🚀 Running tests with Meteor ${meteor_version}"

(
cd test
METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages \
--raw-logs \
--once \
--driver-package meteortesting:mocha \
--release ${meteor_version} \
--exclude-archs=web.browser.legacy \
../
)
}

function @testd {
(
cd test
METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteord test-packages \
--raw-logs \
--once \
--driver-package meteortesting:mocha \
--exclude-archs=web.browser.legacy \
../
)
}
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Tests

on: [push, pull_request]
on: [pull_request]

jobs:
test:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
meteor: [1.12.2, 2.8.1, 2.12, 2.15]
meteor: ["3.0.3", "3.0.4", "3.1"]
redis-version: [4, 5, 6, 7]

steps:
Expand All @@ -26,7 +27,7 @@ jobs:
run: |
meteor create --release ${{ matrix.meteor }} --bare test
cd test
meteor npm i --save [email protected] simpl-schema@1.13.1 chai@4
meteor npm i --save [email protected] simpl-schema@3.4.6 chai@4.3.6
- name: Test
working-directory: ./test
run: METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages --raw-logs --once --driver-package meteortesting:mocha ../
run: METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages --raw-logs --once --driver-package meteortesting:mocha --release ${{ matrix.meteor }} ../
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
dump.rdb
npm-debug.log
.idea/

node_modules
test/
node_modules/
2 changes: 1 addition & 1 deletion .npm/package/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.idea/
.github/
test/
docs/
testing/
node_modules/
package-lock.json
test/
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": true,
"singleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true
}
133 changes: 67 additions & 66 deletions .versions
Original file line number Diff line number Diff line change
@@ -1,69 +1,70 @@
[email protected]
[email protected]
alanning:[email protected]
aldeed:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
cultofcoders:[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]
[email protected]
[email protected]
[email protected]
[email protected]
local-test:cultofcoders:[email protected]
[email protected]
[email protected]
matb33:[email protected]
[email protected]
[email protected]
[email protected]
alanning:[email protected]
aldeed:[email protected]
aldeed:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
cultofcoders:[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]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
local-test:cultofcoders:[email protected]
[email protected]
[email protected]
matb33:[email protected]
[email protected]
meteortesting:[email protected]
meteortesting:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
natestrauser:[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]
practicalmeteor:[email protected]
[email protected]
raix:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
reywood:[email protected]
[email protected]
[email protected]
[email protected]
tmeasday:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
zodern:[email protected]
[email protected]
raix:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
reywood:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
zodern:[email protected]
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Fix reactivity bug in fairly specific situations [#367](https://github.com/cult-of-coders/redis-oplog/issues/367)

### 2.2.0

- Bumped minimum Meteor version to v1.12.2
- Updated tests to cover from Meteor v1.12.2 to the latest v2.12
- Added testing for Redis v7
Expand All @@ -19,41 +20,51 @@
- Fix SyntheticMutator not applying `globalRedisPrefix`

### 2.1.1

- Fixes callback is not a function error when using SyntheticMutator.update

### 2.1.0

- Meteor 2.6 support
- Projections option support
- Update Mocha tests
- Update tests to use Meteor 1.12.2 to fix certificates issues

### 1.2.3

- Redis connection failover handling
- Re-fetching the up-to-date collection when Redis connection resumes
- Bug fixes and improvements

### 1.2.2

- Ability to merge db requests by channel
- Bug fixes and improvements

### 1.2.1

- Bug fixes and improvements

### 1.2.0

- Optimistic UI fixes
- Performance gains for methods
- Fixes for publishComposite
- Other bugs and code quality improvements

### 1.0.5 - 1.0.15

- Bug fixes and improvements

### 1.0.5

- Fix for infinite loop when overriding publish

### 1.0.4

- Fix for update using positional operators

### 1.0.3

- Added support for publish composite
- Fixed randomly failing tests
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ RedisOplog.stats()

### Events for Meteor (+ Redis Oplog, Grapher and GraphQL/Apollo)

* Meteor Night 2018 Slide: [Arguments for Meteor](https://drive.google.com/file/d/1Tx9vO-XezO3DI2uAYalXPvhJ-Avqc4-q/view) - Theodor Diaconu, CEO of Cult of Coders: “Redis Oplog, Grapher, and Apollo Live.
- Meteor Night 2018 Slide: [Arguments for Meteor](https://drive.google.com/file/d/1Tx9vO-XezO3DI2uAYalXPvhJ-Avqc4-q/view) - Theodor Diaconu, CEO of Cult of Coders: “Redis Oplog, Grapher, and Apollo Live.

### [Optimistic UI](docs/optimistic_ui.md)

Expand Down Expand Up @@ -145,4 +145,3 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
<a href="https://opencollective.com/redis-oplog/sponsor/7/website" target="_blank"><img src="https://opencollective.com/redis-oplog/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/redis-oplog/sponsor/8/website" target="_blank"><img src="https://opencollective.com/redis-oplog/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/redis-oplog/sponsor/9/website" target="_blank"><img src="https://opencollective.com/redis-oplog/sponsor/9/avatar.svg"></a>

Loading

0 comments on commit e28302d

Please sign in to comment.