From 7025992ac6e2b9cf3046873fef84d44730ce77df Mon Sep 17 00:00:00 2001 From: "Merlin (they/them)" <421960+merlinstardust@users.noreply.github.com> Date: Thu, 7 Nov 2024 17:59:35 -0500 Subject: [PATCH 1/2] Add types --- package-types.json | 3 +++ package/collection2/package-types.json | 3 +++ package/collection2/package.js | 7 ++++--- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 package-types.json create mode 100644 package/collection2/package-types.json diff --git a/package-types.json b/package-types.json new file mode 100644 index 0000000..db831fb --- /dev/null +++ b/package-types.json @@ -0,0 +1,3 @@ +{ + "typesEntry": "./package/collection2/collection2.js" +} diff --git a/package/collection2/package-types.json b/package/collection2/package-types.json new file mode 100644 index 0000000..86c21d0 --- /dev/null +++ b/package/collection2/package-types.json @@ -0,0 +1,3 @@ +{ + "typesEntry": "collection2.js" +} diff --git a/package/collection2/package.js b/package/collection2/package.js index 3826f7e..b10129c 100644 --- a/package/collection2/package.js +++ b/package/collection2/package.js @@ -1,10 +1,10 @@ -/* global Package, Npm */ +/* global Package, Npm */ Package.describe({ - name: 'aldeed:collection2', + name: 'collection2local', summary: 'Automatic validation of Meteor Mongo insert and update operations on the client and server', - version: '4.0.3', + version: '4.0.4', documentation: '../../README.md', git: 'https://github.com/aldeed/meteor-collection2.git' }); @@ -24,6 +24,7 @@ Package.onUse(function (api) { api.use('ecmascript'); api.use('raix:eventemitter@1.0.0'); api.use('aldeed:simple-schema@1.13.1 || 2.0.0-rc.300.10'); + api.use('zodern:types'); api.addFiles(['./collection2.js']); From a90815beba3a08ead90d425877194bd29524a292 Mon Sep 17 00:00:00 2001 From: "Merlin (they/them)" <421960+merlinstardust@users.noreply.github.com> Date: Sat, 16 Nov 2024 13:18:40 -0500 Subject: [PATCH 2/2] Update package.js --- package/collection2/package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/collection2/package.js b/package/collection2/package.js index b10129c..48a6b1e 100644 --- a/package/collection2/package.js +++ b/package/collection2/package.js @@ -1,7 +1,7 @@ /* global Package, Npm */ Package.describe({ - name: 'collection2local', + name: 'aldeed:collection2', summary: 'Automatic validation of Meteor Mongo insert and update operations on the client and server', version: '4.0.4',