@abcnews/components-builder 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -214,15 +214,7 @@ To build the library:
|
|
|
214
214
|
npm run build
|
|
215
215
|
```
|
|
216
216
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
> To deploy the app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for the target environment.
|
|
220
|
-
|
|
221
|
-
## Publishing
|
|
222
|
-
|
|
223
|
-
Go into the `package.json` and give the package the desired name through the `"name"` option. Also consider adding a `"license"` field and point it to a `LICENSE` file which you can create from a template (one popular option is the [MIT license](https://opensource.org/license/mit/)).
|
|
224
|
-
|
|
225
|
-
To publish the library to [npm](https://www.npmjs.com):
|
|
217
|
+
Then publish the new version with:
|
|
226
218
|
|
|
227
219
|
```bash
|
|
228
220
|
npm publish
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function saveAs(blob: any, name: any): void;
|
|
1
|
+
export default function saveAs(blob: any, name: any): void;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)
|
|
8
8
|
* source : http://purl.eligrey.com/github/FileSaver.js
|
|
9
9
|
*/
|
|
10
|
-
export function saveAs(blob, name) {
|
|
10
|
+
export default function saveAs(blob, name) {
|
|
11
11
|
var a = document.createElement("a");
|
|
12
12
|
name = name || blob.name || "download";
|
|
13
13
|
|