Skip to content

Commit 21bdb98

Browse files
committed
docs(readme): remove the special instructions for @angular/cli (no longer applicable)
1 parent f2f2ddd commit 21bdb98

File tree

2 files changed

+4
-33
lines changed

2 files changed

+4
-33
lines changed

develop.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# handy tips for IxJS development
2+
13
## the npm scripts
24

35
* `npm run clean` - cleans targets
@@ -7,9 +9,10 @@
79
These npm scripts accept argument lists of targets × modules:
810

911
* Available `targets` are `es5`, `es2015`, `esnext`, and `all` (default: `all`)
10-
* Available `modules` are `cjs`, `esm`, `cls`, `umd`, and `all` (default: `all`)
12+
* Available `modules` are `cjs`, `esm`, `umd`, and `all` (default: `all`)
1113

1214
Examples:
15+
1316
* `npm run build` -- builds all ES targets in all module formats
1417
* `npm run build -- -t es5 -m all` -- builds the ES5 target in all module formats
1518
* `npm run build -- -t all -m cjs` -- builds all ES targets in the CommonJS module format

readme.md

-32
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,6 @@ npm install ix
1616

1717
(also read about how we [package IxJS](#packaging) below)
1818

19-
## Usage with `@angular/cli`
20-
21-
First, make sure you're using `@angular/cli` v1.3.2 or greater (1.3.1 has a bug that broke tsconfig's "paths" entries).
22-
23-
Next, install the TypeScript-only module:
24-
25-
```sh
26-
npm install @reactivex/ix-ts
27-
```
28-
29-
Then, add these entries to your top-level `tsconfig.json` file:
30-
31-
```js
32-
{
33-
"compilerOptions": {
34-
"importHelpers": true, /* <-- optional but recommended */
35-
"noEmitHelpers": true, /* <-- optional but recommended */
36-
"downlevelIteration": true,
37-
"paths": {
38-
"ix/*": ["../node_modules/@reactivex/ix-ts/*"]
39-
},
40-
"lib": [
41-
"esnext.asynciterable" /* <-- in addition to any other "lib" entries you have */
42-
]
43-
}
44-
}
45-
46-
```
47-
4819
## `Iterable`
4920

5021
The `Iterable` class a way to create and compose synchronous collections much like Arrays, Maps and Sets in JavaScript using the Array#extras style using the familiar methods you are used to like `map`, `filter`, `reduce` and more.
@@ -381,15 +352,12 @@ npm install @reactivex/ix-ts # TypeScript target
381352
npm install @reactivex/ix-es5-cjs # ES5 CommonJS target
382353
npm install @reactivex/ix-es5-esm # ES5 ESModules target
383354
npm install @reactivex/ix-es5-umd # ES5 UMD target
384-
npm install @reactivex/ix-es5-cls # ES5 Google Closure Compiler target
385355
npm install @reactivex/ix-es2015-cjs # ES2015 CommonJS target
386356
npm install @reactivex/ix-es2015-esm # ES2015 ESModules target
387357
npm install @reactivex/ix-es2015-umd # ES2015 UMD target
388-
npm install @reactivex/ix-es2015-cls # ES2015 Google Closure Compiler target
389358
npm install @reactivex/ix-esnext-esm # ESNext CommonJS target
390359
npm install @reactivex/ix-esnext-esm # ESNext ESModules target
391360
npm install @reactivex/ix-esnext-umd # ESNext UMD target
392-
npm install @reactivex/ix-esnext-cls # ESNext Google Closure Compiler target
393361
```
394362

395363
### Why we package like this

0 commit comments

Comments
 (0)