From 179608249c3c71871dc4b45d4361bf6edc64aaa3 Mon Sep 17 00:00:00 2001 From: Dave Allen Date: Wed, 18 Sep 2013 10:12:55 -0700 Subject: [PATCH 1/7] Deprecated and added reference to new smart package --- .gitignore | 2 ++ meteor/README.md | 31 ++++++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bc2da0d42..4217aa016 100644 --- a/.gitignore +++ b/.gitignore @@ -30,6 +30,8 @@ Properties !_infrastructure/tests/*/*/*.js !_infrastructure/tests/*/*/*/*.js +.idea + .idea/.name .idea/DefinitelyTyped.iml diff --git a/meteor/README.md b/meteor/README.md index a654e86da..8cbaebab1 100644 --- a/meteor/README.md +++ b/meteor/README.md @@ -1,4 +1,33 @@ -#Meteor Type Definitions Usage Notes +#Meteor Type Definitions + +========================= +These definitions are now deprecated. Although they will still work up to Meteor version 0.6.5.1 (and possibly much later), the better way to develop a Meteor app with TypeScript is by installing the [typescript-libs](https://atmosphere.meteor.com/package/typescript-libs) Meteor smart package. + + +You first need to have Meteorite version and smart package manager. If you don't have it, install it with this command: +- `npm install -g meteorite` + + +Once you have installed Meteorite, from the command line, you can easily install the smart packages with these commands: +- `mrt install typescript-libs` +- Also recommended: `mrt install typescript-compiler' + + +The smart packages and documentation for them can be found here: +- [typescript-libs](https://atmosphere.meteor.com/package/typescript-libs) +- [typescript-compiler](https://github.com/orefalo/meteor-typescript-compiler) + + +Using the typescript-libs smart package eliminates the need for the Template and Collections steps below, although there +are a couple of new catches listed in the docs for those packages (e.g. calling Template['yourTemplate']['helpers'], creating Data Objects). + + +Kudos to (Olivier Refalo)[https://github.com/orefalo] for developing these smart packages quicker and better than me! + +========================= + + +#Overview In order to effectively write a Meteor app with TypeScript, you will probably need to do these things: From f40c3e7c67682a1ff540332cc96dfd38b0493598 Mon Sep 17 00:00:00 2001 From: Dave Allen Date: Wed, 18 Sep 2013 10:18:02 -0700 Subject: [PATCH 2/7] Minor edits to README --- meteor/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/meteor/README.md b/meteor/README.md index 8cbaebab1..3eb3125a6 100644 --- a/meteor/README.md +++ b/meteor/README.md @@ -1,16 +1,16 @@ #Meteor Type Definitions +------------------------- -========================= These definitions are now deprecated. Although they will still work up to Meteor version 0.6.5.1 (and possibly much later), the better way to develop a Meteor app with TypeScript is by installing the [typescript-libs](https://atmosphere.meteor.com/package/typescript-libs) Meteor smart package. -You first need to have Meteorite version and smart package manager. If you don't have it, install it with this command: +You first need to have the Meteorite version and smart package manager. If you don't have it, install it with this command: - `npm install -g meteorite` -Once you have installed Meteorite, from the command line, you can easily install the smart packages with these commands: +Once you have installed Meteorite, from the command line, you can easily install the smart package with this commands: - `mrt install typescript-libs` -- Also recommended: `mrt install typescript-compiler' +- I also recommend installing the Meteor typescript compiler: `mrt install typescript-compiler` The smart packages and documentation for them can be found here: @@ -19,12 +19,12 @@ The smart packages and documentation for them can be found here: Using the typescript-libs smart package eliminates the need for the Template and Collections steps below, although there -are a couple of new catches listed in the docs for those packages (e.g. calling Template['yourTemplate']['helpers'], creating Data Objects). +are a couple of new modifications necessary (e.g. calling Template['yourTemplate']['helpers'], creating Data Objects). -Kudos to (Olivier Refalo)[https://github.com/orefalo] for developing these smart packages quicker and better than me! +Kudos to [Olivier Refalo](https://github.com/orefalo) for developing these smart packages quicker and better than me! -========================= +-------------------------- #Overview From 9b838c9efb04b306eb02e9d45c9b84453cde9693 Mon Sep 17 00:00:00 2001 From: Dave Allen Date: Wed, 18 Sep 2013 10:23:16 -0700 Subject: [PATCH 3/7] Minor edits to README --- meteor/README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meteor/README.md b/meteor/README.md index 3eb3125a6..8439e9070 100644 --- a/meteor/README.md +++ b/meteor/README.md @@ -8,18 +8,18 @@ You first need to have the Meteorite version and smart package manager. If you - `npm install -g meteorite` -Once you have installed Meteorite, from the command line, you can easily install the smart package with this commands: +Once you have installed Meteorite, you can easily install the smart package with this command: - `mrt install typescript-libs` - I also recommend installing the Meteor typescript compiler: `mrt install typescript-compiler` -The smart packages and documentation for them can be found here: +The smart packages and documentation for them can be found on [Atmosphere](https://atmosphere.meteor.com): - [typescript-libs](https://atmosphere.meteor.com/package/typescript-libs) - [typescript-compiler](https://github.com/orefalo/meteor-typescript-compiler) -Using the typescript-libs smart package eliminates the need for the Template and Collections steps below, although there -are a couple of new modifications necessary (e.g. calling Template['yourTemplate']['helpers'], creating Data Objects). +Using the typescript-libs smart package eliminates the need for the Template and Collections steps listed below, although there +are several new modifications necessary to use typescript-libs (e.g. calling Template['yourTemplate']['helpers'], creating Data Objects). Kudos to [Olivier Refalo](https://github.com/orefalo) for developing these smart packages quicker and better than me! @@ -104,5 +104,3 @@ Listed below is a simple Meteor reference application created with TypeScript is - Sample Site: - Code (TypeScript and transpiled JS): -##Meteor package -There will hopefully be a Meteor package soon listed on [Atmosphere](http://atmosphere.meteor.com "http://atmosphere.meteor.com") that can be easily added using `mrt add typescript`. \ No newline at end of file From 265ce185b5ec3bca4e1904914bd43700afa3fa29 Mon Sep 17 00:00:00 2001 From: Dave Allen Date: Wed, 18 Sep 2013 10:24:27 -0700 Subject: [PATCH 4/7] Minor edits to README --- meteor/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meteor/README.md b/meteor/README.md index 8439e9070..034ccf44e 100644 --- a/meteor/README.md +++ b/meteor/README.md @@ -4,7 +4,7 @@ These definitions are now deprecated. Although they will still work up to Meteor version 0.6.5.1 (and possibly much later), the better way to develop a Meteor app with TypeScript is by installing the [typescript-libs](https://atmosphere.meteor.com/package/typescript-libs) Meteor smart package. -You first need to have the Meteorite version and smart package manager. If you don't have it, install it with this command: +You first need to have Meteorite version and smart package manager. If you don't have it, install it with this command: - `npm install -g meteorite` @@ -22,7 +22,7 @@ Using the typescript-libs smart package eliminates the need for the Template and are several new modifications necessary to use typescript-libs (e.g. calling Template['yourTemplate']['helpers'], creating Data Objects). -Kudos to [Olivier Refalo](https://github.com/orefalo) for developing these smart packages quicker and better than me! +Kudos to [Olivier Refalo](https://github.com/orefalo) for developing the smart packages quicker and better than me! -------------------------- From 0e175069428d5e066d734e6f69b0c58607682e99 Mon Sep 17 00:00:00 2001 From: Dave Allen Date: Wed, 18 Sep 2013 10:25:45 -0700 Subject: [PATCH 5/7] Minor edits to README --- meteor/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meteor/README.md b/meteor/README.md index 034ccf44e..abd159083 100644 --- a/meteor/README.md +++ b/meteor/README.md @@ -4,7 +4,7 @@ These definitions are now deprecated. Although they will still work up to Meteor version 0.6.5.1 (and possibly much later), the better way to develop a Meteor app with TypeScript is by installing the [typescript-libs](https://atmosphere.meteor.com/package/typescript-libs) Meteor smart package. -You first need to have Meteorite version and smart package manager. If you don't have it, install it with this command: +You first need to have (Meteorite)[http://oortcloud.github.io/meteorite/] version and smart package manager. If you don't have it, install it with this command: - `npm install -g meteorite` From de913f6f0f3b3254a0ea5febaf73c62ad188c82e Mon Sep 17 00:00:00 2001 From: Dave Allen Date: Wed, 18 Sep 2013 10:27:38 -0700 Subject: [PATCH 6/7] Minor edits to README --- meteor/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meteor/README.md b/meteor/README.md index abd159083..6efa87bcd 100644 --- a/meteor/README.md +++ b/meteor/README.md @@ -15,7 +15,7 @@ Once you have installed Meteorite, you can easily install the smart package with The smart packages and documentation for them can be found on [Atmosphere](https://atmosphere.meteor.com): - [typescript-libs](https://atmosphere.meteor.com/package/typescript-libs) -- [typescript-compiler](https://github.com/orefalo/meteor-typescript-compiler) +- [typescript-compiler](https://atmosphere.meteor.com/package/typescript-compiler) Using the typescript-libs smart package eliminates the need for the Template and Collections steps listed below, although there From 49e4ba5fe929a0a62d0a444c749e8d23757f948f Mon Sep 17 00:00:00 2001 From: Dave Allen Date: Wed, 18 Sep 2013 11:01:35 -0700 Subject: [PATCH 7/7] Reverting --- .gitignore | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4217aa016..bc2da0d42 100644 --- a/.gitignore +++ b/.gitignore @@ -30,8 +30,6 @@ Properties !_infrastructure/tests/*/*/*.js !_infrastructure/tests/*/*/*/*.js -.idea - .idea/.name .idea/DefinitelyTyped.iml