Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
barbatus committed Dec 4, 2016
1 parent 51c519f commit 58137c0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

TypeScript files are compiled into ES5 and CommonJS modules by default.

> Based on TypeScript@2.0.10
> Based on TypeScript@2.1.1
Default compiler options as JSON:
````json
Expand All @@ -28,6 +28,19 @@ If you want to compile into ES6 on the server, put a `tsconfig.json` into the se
}
```

## Paths mapping

TypeScript paths mapping is supported since `0.6.0`, though,
with some limitations. It works only for local files and for `module: commonjs`.
So now you can refer to Meteor absolute paths like `/imports/client/foo`
as `imports/client/foo` if you add to the `config.json` as follows:
```
"baseUrl": ".",
"paths": {
"*": ["*"]
}

This comment has been minimized.

Copy link
@EECOLOR

EECOLOR Jan 9, 2019

You can now use leading slashes in your paths aliases (introduced in microsoft/TypeScript#27980)

```

## Typings

There are several types of typings you may encouter developing a Meteor app with TypeScript:
Expand Down
4 changes: 2 additions & 2 deletions package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'barbatus:typescript',
version: '0.5.3',
version: '0.6.0',
summary: 'TypeScript for Meteor',
git: 'https://github.com/barbatus/typescript',
documentation: 'README.md'
Expand All @@ -16,7 +16,7 @@ Package.onUse(function(api) {
api.versionsFrom('1.4.1');

api.use('isobuild:[email protected]');
api.use('barbatus:typescript-compiler@0.8.5');
api.use('barbatus:typescript-compiler@0.9.0');

api.imply('[email protected]_1');

Expand Down

0 comments on commit 58137c0

Please sign in to comment.