This repository was archived by the owner on Feb 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Expand file tree Collapse file tree 2 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 1
1
# "angular-in-memory-web-api" versions
2
2
3
+ <a name =" 0.1.13 " ></a >
4
+ ## 0.1.13 (2016-10-20)
5
+ * Update README for 0.1.11 breaking change: npm publish as ` esm ` and a ` umd ` bundle
6
+
7
+ Going to ` umd ` changes your ` systemjs.config ` and the way you import the library.
8
+
9
+ In ` systemjs.config.js ` you should change the mapping to:
10
+ ```
11
+ 'angular-in-memory-web-api': 'npm:angular-in-memory-web-api/bundles/in-memory-web-api.umd.js'
12
+ ```
13
+ then delete from ` packages ` :
14
+ ```
15
+ 'angular-in-memory-web-api': {
16
+ main: './index.js',
17
+ defaultExtension: 'js'
18
+ }
19
+ ```
20
+ You must ES import the in-mem module (typically in ` AppModule ` ) like this:
21
+ ```
22
+ import { InMemoryWebApiModule } from 'angular-in-memory-web-api';
23
+ ```
3
24
<a name =" 0.1.12 " ></a >
4
25
## 0.1.12 (2016-10-19)
5
26
* exclude travis.yml and rollup.config.js from npm package
6
27
7
28
<a name =" 0.1.11 " ></a >
8
29
## 0.1.11 (2016-10-19)
9
- * npm publish as esm + an umd bundle
30
+ * BREAKING CHANGE: npm publish as ` esm ` and a ` umd ` bundle.
31
+ Does not change the API but does change the way you register and import the
32
+ in-mem module. Documented in later release, v.0.1.13
10
33
11
34
<a name =" 0.1.10 " ></a >
12
35
## 0.1.10 (2016-10-19)
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " angular-in-memory-web-api" ,
3
- "version" : " 0.1.12 " ,
3
+ "version" : " 0.1.13 " ,
4
4
"description" : " An in-memory web api for Angular demos and tests" ,
5
5
"main" :" bundles/in-memory-web-api.umd.js" ,
6
6
"module" : " index.js" ,
51
51
"rxjs" : " 5.0.0-beta.12" ,
52
52
"zone.js" : " ^0.6.25" ,
53
53
54
- "angular-in-memory-web-api" : " ~0.1.7 " ,
54
+ "angular-in-memory-web-api" : " ~0.1.12 " ,
55
55
"concurrently" : " ^3.0.0" ,
56
56
"core-js" : " ^2.4.1" ,
57
57
"lite-server" : " ^2.2.2" ,
You can’t perform that action at this time.
0 commit comments