-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,16 +14,13 @@ Npm.depends({ | |
}); | ||
|
||
Package.onUse(function(api) { | ||
api.versionsFrom("1.4.4.6"); | ||
api.versionsFrom("1.8.2-rc.7"); | ||
|
||
// TypeScript support | ||
// Modules: https://docs.meteor.com/v1.4/packages/modules.html | ||
api.use("modules"); | ||
api.use("ecmascript"); | ||
// Should be replaced with straight up built-in 'typescript' in Meteor 1.8.2 | ||
// adornis:typescript from [1.4, 1.8) | ||
// api.use("adornis:[email protected]"); | ||
api.use("barbatus:[email protected]"); | ||
api.use("typescript"); | ||
|
||
// Client-only deps | ||
api.use(["session", "ui", "templating", "reactive-var"], "client"); | ||
|
@@ -146,10 +143,7 @@ Package.onTest(function(api) { | |
// Need these specific versions for tests to agree to run | ||
api.use("modules"); | ||
api.use("ecmascript"); | ||
|
||
// For compiling TS | ||
api.use("barbatus:typescript"); | ||
// api.use("adornis:typescript"); | ||
api.use("typescript"); | ||
|
||
api.use([ | ||
"accounts-base", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,38 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2015", | ||
/* Basic Options */ | ||
"target": "es2018", | ||
"module": "esNext", | ||
"lib": ["esnext", "dom"], | ||
"allowJs": true, | ||
"checkJs": false, | ||
"jsx": "preserve", | ||
"incremental": true, | ||
"noEmit": true, | ||
|
||
/* Strict Type-Checking Options */ | ||
"strict": false, | ||
"noImplicitAny": false, | ||
"strictNullChecks": false, | ||
"noImplicitAny": false, // TODO flip to true when ready | ||
"strictNullChecks": false, // TODO flip to true when ready | ||
|
||
/* Additional Checks */ | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": false, | ||
"noFallthroughCasesInSwitch": false, | ||
|
||
/* Module Resolution Options */ | ||
"baseUrl": ".", | ||
"paths": { | ||
/* Support absolute /imports/* with a leading '/' */ | ||
"/*": ["*"] | ||
}, | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true, | ||
"types": ["node"], | ||
"typeRoots": ["types/", "node_modules/@types"] | ||
} | ||
"typeRoots": ["types/", "node_modules/@types"], | ||
"esModuleInterop": true, | ||
"preserveSymlinks": true | ||
}, | ||
"exclude": ["./.meteor/**", "./packages/**"] | ||
} |