Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions packages/react-meteor-accounts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Release versions follow [Semantic Versioning 2.0.0 guidelines](https://semver.org/).

## v1.1.0-beta.0

Add compatibility with the `typescript@7.x` Meteor package. The TypeScript
compiler remains a package dependency because `react-meteor-accounts` is
implemented in TypeScript.

## v1.0.3

Update api.versionsFrom() adding `3.0` to support Meteor 3.0 official.
Expand Down
13 changes: 10 additions & 3 deletions packages/react-meteor-accounts/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,22 @@
Package.describe({
name: 'react-meteor-accounts',
summary: 'React hooks and HOCs for reactively tracking Meteor Accounts data',
version: '1.0.3',
version: '1.1.0-beta.0',
documentation: 'README.md',
git: 'https://github.com/meteor/react-packages',
});

// `react-meteor-accounts` is implemented in TypeScript, so the compiler must
// remain an onUse dependency. Declare the supported compiler versions
// explicitly because TypeScript 6 and 7 are not represented by a published
// Meteor release in api.versionsFrom.
const TYPESCRIPT_VERSIONS = 'typescript@3.7.5 || 4.3.2 || 5.4.3 || 6.0.0 || 7.0.2';

Package.onUse((api) => {
api.versionsFrom(['1.10', '2.3', '3.0']);

api.use(['accounts-base', 'tracker', 'typescript']);
api.use(['accounts-base', 'tracker']);
api.use(TYPESCRIPT_VERSIONS);

api.mainModule('index.ts', ['client', 'server'], { lazy: true });
});
Expand All @@ -22,8 +29,8 @@ Package.onTest((api) => {
'accounts-password',
'tinytest',
'tracker',
'typescript',
]);
api.use(TYPESCRIPT_VERSIONS);

api.mainModule('index.tests.ts');
});
Loading