Skip to content

Commit f3392d1

Browse files
feat(core): Export all vanilla.* code from ui-router-core
1 parent 8719334 commit f3392d1

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "ui-router-core",
33
"description": "UI-Router Core: Framework agnostic, State-based routing for JavaScript Single Page Apps",
4-
"version": "3.1.1",
4+
"version": "4.0.0",
55
"scripts": {
66
"clean": "shx rm -rf lib lib-esm",
77
"build": "npm run clean && tsc && tsc -m es6 --outDir lib-esm && npm run fixdts",
88
"fixdts": "dts-downlevel 'lib/**/*.d.ts' 'lib-esm/**/*.d.ts'",
9+
"prepublish": "npm run build",
910
"test": "karma start",
1011
"watch": "run-p watch:*",
1112
"watch:buildjs": "tsc -w",

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ export * from "./view/index";
1414
export * from "./globals";
1515

1616
export * from "./router";
17+
export * from "./vanilla";
1718
export * from "./interface";

src/vanilla/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* @module vanilla
77
*/
88
/** */
9+
export * from "./interface";
10+
911
export * from "./$q";
1012
export * from "./$injector";
1113

@@ -17,4 +19,5 @@ export * from "./pushStateLocationService";
1719
export * from "./memoryLocationConfig";
1820
export * from "./browserLocationConfig";
1921

22+
export * from "./utils";
2023
export * from "./plugins";

0 commit comments

Comments
 (0)