Skip to content

quavedev/meteor-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor Packages by Quave

Types

We configure our packages to expose types using zodern:types package.

According to zodern:types documentation, we need to create a package-types.json file in the package directory with the following structure:

{
    "typesEntry": "collections.js"
}

Also add a tsconfig.json file like this:

{
  "compilerOptions": {
    "allowJs": true,
    "declaration": true,
    "emitDeclarationOnly": true,
    "outDir": "."
  },
  "include": ["collections.js"],
  "exclude": ["node_modules", "**/*.d.ts"],
}

And then we need to depend on it (api.use).

See collections package as an example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published