Skip to content

Commit

Permalink
chore(release): 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchin committed Feb 26, 2018
1 parent b97b90f commit 13fd8a4
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Change Log

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="0.1.0"></a>
# 0.1.0 (2018-02-26)


### Features

* **core:** CHECKOUT-2739 Add `ScriptLoader` responsible for loading JS files asynchronously ([06620da](https://github.com/bigcommerce/script-loader-js/commit/06620da))
2 changes: 2 additions & 0 deletions lib/create-script-loader.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import ScriptLoader from './script-loader';
export default function createScriptLoader(): ScriptLoader;
8 changes: 8 additions & 0 deletions lib/create-script-loader.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/create-script-loader.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default as ScriptLoader } from './script-loader';
export { default as createScriptLoader } from './create-script-loader';
7 changes: 7 additions & 0 deletions lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions lib/script-loader.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default class ScriptLoader {
private _document;
constructor(_document: Document);
loadScript(src: string): Promise<Event>;
}
22 changes: 22 additions & 0 deletions lib/script-loader.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/script-loader.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bigcommerce/script-loader",
"version": "0.0.0",
"version": "0.1.0",
"description": "A library for loading JavaScript files asynchronously",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit 13fd8a4

Please sign in to comment.