Skip to content
This repository was archived by the owner on Dec 25, 2018. It is now read-only.

Commit 6c07c26

Browse files
author
electricessence
committed
Added special README.md to distributions and updated gulp tasks to help.
Added publish.cmd to automatically publish all of them.
1 parent f2516bc commit 6c07c26

File tree

16 files changed

+111
-18
lines changed

16 files changed

+111
-18
lines changed

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tests
1111
coverage
1212
documentation
1313
typings
14-
coverage.bat
14+
coverage.cmd
1515
.npmignore
1616
test.js
1717
tsc-flags.txt

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,18 @@ Version 2.5 was the first NPM release. The goal is to get this as user friendly
5959
***All distributions contain source-maps.***
6060
https://www.npmjs.com/search?q=typescript-dotnet
6161

62-
#### Universal Module Definition (UMD)
62+
#### [Universal Module Definition (UMD)](https://www.npmjs.com/package/typescript-dotnet-umd)
6363
```
6464
npm install typescript-dotnet-umd
6565
```
6666

6767
It's highly recommended to use the UMD (minified) version for most cases since it works for AMD and CommonJS.
6868

6969
#### Other Published NPM Module Types
70-
```
71-
typescript-dotnet-es6
72-
typescript-dotnet-commonjs
73-
typescript-dotnet-amd
74-
typescript-dotnet-system
75-
```
70+
* [```typescript-dotnet-es6```](https://www.npmjs.com/package/typescript-dotnet-es6)
71+
* [```typescript-dotnet-commonjs```](https://www.npmjs.com/package/typescript-dotnet-commonjs)
72+
* [```typescript-dotnet-amd```](https://www.npmjs.com/package/typescript-dotnet-amd)
73+
* [```typescript-dotnet-system```](https://www.npmjs.com/package/typescript-dotnet-system)
7674

7775
Install on only the module type you need in order to avoid type collisions.
7876

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-dotnet",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"ignore": [
55
".bowercc",
66
".gitignore",
File renamed without changes.

dist/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
This package is a distribution for [typescript-dotnet](https://www.npmjs.com/package/typescript-dotnet).
2+
https://www.npmjs.com/package/typescript-dotnet
3+
4+
The [typescript-dotnet](https://www.npmjs.com/package/typescript-dotnet) package includes the source code along with unminified UMD JavaScript and will function perfectly within another project but requires a reference to the ```/source/``` folder.
5+
6+
It is recommended you select the module type that you intend to use:
7+
8+
* [```typescript-dotnet-umd```](https://www.npmjs.com/package/typescript-dotnet-umd)
9+
* [```typescript-dotnet-es6```](https://www.npmjs.com/package/typescript-dotnet-es6)
10+
* [```typescript-dotnet-commonjs```](https://www.npmjs.com/package/typescript-dotnet-commonjs)
11+
* [```typescript-dotnet-amd```](https://www.npmjs.com/package/typescript-dotnet-amd)
12+
* [```typescript-dotnet-system```](https://www.npmjs.com/package/typescript-dotnet-system)
13+
14+
**Example:**
15+
16+
The following example will install the UMD version which works with both CommonJS and AMD module types.
17+
18+
```
19+
npm install typescript-dotnet-umd
20+
```
21+

dist/amd/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-dotnet-amd",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"license": "MIT",
55
"author": "electricessence <[email protected]>",
66
"description": "A JavaScript-Friendly .NET Based TypeScript Library.",
@@ -19,6 +19,7 @@
1919
"Regex",
2020
"TypeValidator",
2121
"Promise",
22+
"Parallel",
2223
"IDisposable",
2324
"IEnumerable",
2425
"ICollection",

dist/commonjs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-dotnet-commonjs",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"license": "MIT",
55
"author": "electricessence <[email protected]>",
66
"description": "A JavaScript-Friendly .NET Based TypeScript Library.",
@@ -19,6 +19,7 @@
1919
"Regex",
2020
"TypeValidator",
2121
"Promise",
22+
"Parallel",
2223
"IDisposable",
2324
"IEnumerable",
2425
"ICollection",

dist/es6/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
This package is a distribution for [typescript-dotnet](https://www.npmjs.com/package/typescript-dotnet).
2+
https://www.npmjs.com/package/typescript-dotnet
3+
4+
The [typescript-dotnet](https://www.npmjs.com/package/typescript-dotnet) package includes the source code along with unminified UMD JavaScript and will function perfectly within another project but requires a reference to the ```/source/``` folder.
5+
6+
It is recommended you select the module type that you intend to use:
7+
8+
* [```typescript-dotnet-umd```](https://www.npmjs.com/package/typescript-dotnet-umd)
9+
* [```typescript-dotnet-es6```](https://www.npmjs.com/package/typescript-dotnet-es6)
10+
* [```typescript-dotnet-commonjs```](https://www.npmjs.com/package/typescript-dotnet-commonjs)
11+
* [```typescript-dotnet-amd```](https://www.npmjs.com/package/typescript-dotnet-amd)
12+
* [```typescript-dotnet-system```](https://www.npmjs.com/package/typescript-dotnet-system)
13+
14+
**Example:**
15+
16+
The following example will install the UMD version which works with both CommonJS and AMD module types.
17+
18+
```
19+
npm install typescript-dotnet-umd
20+
```
21+

dist/es6/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-dotnet-es6",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"license": "MIT",
55
"author": "electricessence <[email protected]>",
66
"description": "A JavaScript-Friendly .NET Based TypeScript Library.",
@@ -19,6 +19,7 @@
1919
"Regex",
2020
"TypeValidator",
2121
"Promise",
22+
"Parallel",
2223
"IDisposable",
2324
"IEnumerable",
2425
"ICollection",

dist/system/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-dotnet-system",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"license": "MIT",
55
"author": "electricessence <[email protected]>",
66
"description": "A JavaScript-Friendly .NET Based TypeScript Library.",
@@ -19,6 +19,7 @@
1919
"Regex",
2020
"TypeValidator",
2121
"Promise",
22+
"Parallel",
2223
"IDisposable",
2324
"IEnumerable",
2425
"ICollection",

0 commit comments

Comments
 (0)