Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Update/meteor v3.0 #484

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
8c95960
Updated package.js to Meteor v3
Feb 19, 2024
ec041a6
JS/TS updates
Feb 19, 2024
2983b92
Linker tests, wip
Feb 19, 2024
78e6353
Minimal Meteor to 2.8.1
Feb 19, 2024
0795d44
Finished links tests
Feb 20, 2024
eb9b062
Eslint setup with TS type checking
Feb 20, 2024
2f54d89
Exposure tests
Feb 20, 2024
c6a7f10
Updated query fixtures
Feb 20, 2024
ec9c2ab
Query tests
Feb 20, 2024
1451dd2
Named query tests
Feb 20, 2024
01ff246
Exposure client tests
Feb 21, 2024
b56c2ab
Query and query counts tests
Feb 23, 2024
c678209
Named query tests
Feb 23, 2024
5518fec
Updated tests for Meteor 2.x
Feb 23, 2024
25fdbcd
Updates for auto-removal, works with forked collection-hooks
Feb 24, 2024
6c8385b
package updates, meteor to rc.2
May 27, 2024
922549c
client tests fix
Aug 9, 2024
0629e02
updated packages
Aug 9, 2024
06aa64c
updated tests
Aug 9, 2024
c79edca
added scoped queries support
Aug 9, 2024
04a497e
added denormalize, updated tests
Aug 10, 2024
2b75999
fixed some tests, updated Migration document
Aug 10, 2024
bf5158c
test fix
Aug 10, 2024
aacc744
more test updates
Aug 10, 2024
857ea7b
ci update
Aug 10, 2024
a3eb625
ci: tmp fix for denormalize package
Aug 10, 2024
6994208
Merge branch 'master' into update/meteor-v3.0
Aug 11, 2024
ae88d68
types updates, minor improvements
Aug 11, 2024
da1d144
support for async firewall functions
Aug 12, 2024
2fee83b
fix: scoping of publication break classical Meteor.publish
vparpoil Jan 20, 2025
77d261e
Merge pull request #1 from vparpoil/update/meteor-v3.0-fix-scoping
bhunjadi Jan 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'eslint:recommended',
// 'plugin:@typescript-eslint/recommended',
// Going with type checked because of https://typescript-eslint.io/rules/no-floating-promises
'plugin:@typescript-eslint/recommended-type-checked',
],
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs}'],
parserOptions: {
sourceType: 'script',
},
},
],
globals: {
_: true, // TODO: replace with explicit imports
Meteor: true,
Npm: true,
Package: true,
Mongo: true,
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: true,
},
plugins: ['@typescript-eslint'],
ignorePatterns: ['test*'],
rules: {
// For now
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-this-alias': 'off',
},
};
22 changes: 13 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,27 @@ on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
meteor: [2.3.1, 2.6.1, 2.7.3, 2.8.1, 2.9.1, 2.12, 2.14]
meteor: [3.0.1]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Dependencies
run: |
curl https://install.meteor.com | /bin/sh

- name: Setup Meteor
uses: meteorengineer/setup-meteor@v1
with:
meteor-release: ${{ matrix.meteor }}
- name: Setup tests
run: |
meteor create --release ${{ matrix.meteor }} --bare test
cd test
meteor npm i --save [email protected] [email protected] [email protected] chai
meteor npm i --save puppeteer chai
mkdir packages
cd packages
git clone -b update/meteor-3.0 https://github.com/bhunjadi/denormalize.git

- name: Test
working-directory: ./test
run: METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=chrome meteor test-packages --once --driver-package meteortesting:mocha ../
run: METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages --once --driver-package meteortesting:mocha ../
40 changes: 20 additions & 20 deletions .npm/package/npm-shrinkwrap.json

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

Loading
Loading