mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
From 3.6-rc.1. `meteor update --release METEOR@3.6` refused it: WeKan's forks of six Meteor packages in packages/ (allow-deny, ddp-server, dynamic-import, facebook-oauth, google-oauth, shell-server) declared 3.6-rc.1's versions with a _1 wrap number, and a local package overrides the release's, so ~3.6.0 could not be met. Meteor 3.6 changed those six packages only in their version line (compared on GitHub, release/METEOR@3.6-rc.1...release/METEOR@3.6), so each fork now declares 3.6's version with its _1 wrap number; .meteor/packages drops the rc pins, and .meteor/versions, @meteorjs/rspack 3.0.0 and the lockfile are what meteor update wrote. webapp is 2.4.0. The Dockerfile's METEOR_RELEASE is METEOR@3.6. The Bun build's patch applies unchanged to Meteor 3.6, which still has no Bun ESM loader of its own: it is meteor-3.6.patch, checked against 3.6's commit e730097c. tests/meteor353SecurityFixes.test.cjs is moved to 3.6 by decision, after that check. WeKan builds with Meteor 3.6, and the node suites pass (2162 run, 0 failed). Thanks to xet7 !
34 lines
867 B
JavaScript
34 lines
867 B
JavaScript
Package.describe({
|
|
summary: "Google OAuth flow",
|
|
version: '1.5.1_1',
|
|
});
|
|
|
|
Cordova.depends({
|
|
"cordova-plugin-googleplus": "8.4.0",
|
|
});
|
|
|
|
Package.onUse(api => {
|
|
api.use("ecmascript");
|
|
api.use('oauth2', ['client', 'server']);
|
|
api.use('oauth', ['client', 'server']);
|
|
api.use('fetch', ['server']);
|
|
api.use('service-configuration');
|
|
api.use('random', 'client');
|
|
|
|
api.addFiles('google_server.js', 'server');
|
|
api.addFiles('google_client.js', 'client');
|
|
api.addFiles('google_sign-in.js', 'web.cordova');
|
|
|
|
api.mainModule('namespace.js');
|
|
|
|
api.export('Google');
|
|
api.types('google-oauth.d.ts');
|
|
});
|
|
|
|
Package.onTest(function(api) {
|
|
api.use('google-oauth');
|
|
api.use(['tinytest', 'ecmascript', 'test-helpers', 'oauth', 'oauth2', 'service-configuration', 'random']);
|
|
api.use('accounts-base', 'server');
|
|
api.addFiles('google-oauth_tests.js');
|
|
});
|