mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Deprecate weibo.
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
[Source code of released version](https://github.com/meteor/meteor/tree/master/packages/weibo) | [Source code of development version](https://github.com/meteor/meteor/tree/devel/packages/weibo)
|
||||
***
|
||||
|
||||
** Deprecated, use weibo-oauth instead**
|
||||
|
||||
An implementation of the Weibo OAuth flow. See the [project
|
||||
page](https://www.meteor.com/accounts) on Meteor Accounts for more
|
||||
details.
|
||||
details.
|
||||
|
||||
11
packages/weibo/deprecation_notice.js
Normal file
11
packages/weibo/deprecation_notice.js
Normal file
@@ -0,0 +1,11 @@
|
||||
console.warn();
|
||||
console.warn('This package (weibo) has been deprecated.');
|
||||
console.warn(
|
||||
"To use the `Weibo` symbol, use the `weibo-oauth` package " +
|
||||
"and import from it."
|
||||
);
|
||||
console.warn(
|
||||
"If you need the Blaze OAuth configuration UI, add " +
|
||||
"`weibo-config-ui` alongside `accounts-ui`."
|
||||
);
|
||||
console.warn();
|
||||
@@ -1,22 +1,11 @@
|
||||
Package.describe({
|
||||
summary: "Weibo OAuth flow",
|
||||
version: '1.1.9'
|
||||
summary: "DEPRECATED - Use weibo-oauth instead - Weibo OAuth flow",
|
||||
version: '1.2.0'
|
||||
});
|
||||
|
||||
Package.onUse(function(api) {
|
||||
api.use('oauth2', ['client', 'server']);
|
||||
api.use('oauth', ['client', 'server']);
|
||||
api.use('http', ['server']);
|
||||
api.use('templating@1.2.13', 'client');
|
||||
api.use('random', 'client');
|
||||
api.use('service-configuration', ['client', 'server']);
|
||||
|
||||
api.export('Weibo');
|
||||
|
||||
api.addFiles(
|
||||
['weibo_configure.html', 'weibo_configure.js'],
|
||||
'client');
|
||||
|
||||
api.addFiles('weibo_server.js', 'server');
|
||||
api.addFiles('weibo_client.js', 'client');
|
||||
api.use('weibo-oauth');
|
||||
api.use('weibo-config-ui', 'client');
|
||||
api.imply('weibo-oauth');
|
||||
api.addFiles('deprecation_notice.js');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user