Skip to content

Commit

Permalink
release v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Apr 7, 2023
1 parent 246bac0 commit ccd8e94
Show file tree
Hide file tree
Showing 18 changed files with 324 additions and 342 deletions.
52 changes: 17 additions & 35 deletions build/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,45 +105,27 @@ export default (process.env.BABEL_ENV !== 'es5'
],
external: externalCjsEsm,
...options
},
{
input: 'src/index.ts',
output: [
{
file: pkg.main,
exports: 'auto',
format: 'cjs'
},
{
file: pkg.module,
exports: 'auto',
format: 'es'
}
],
external: externalCjsEsm,
...options
}
] as RollupOptions[])
: ([
: ([] as RollupOptions[])
).concat([
{
input: 'src/index.ts',
output: [
{
input: pkg.module,
output: [
{
file: distDir(pkg.main),
exports: 'auto',
format: 'cjs'
},
{
file: distDir(pkg.module),
exports: 'auto',
format: 'es'
}
],
external: externalCjsEsm,
...options
file: distDir(pkg.main),
exports: 'auto',
format: 'cjs'
},
{
file: distDir(pkg.module),
exports: 'auto',
format: 'es'
}
] as RollupOptions[])
).concat([
],
external: externalCjsEsm,
...options
},
{
// input: 'src/index.ts',
input: distDir(pkg.module),
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/AnyFunction.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@

#### Defined in

[typings/common.d.ts:4](https://github.com/saqqdy/js-cool/blob/a69dc09/typings/common.d.ts#L4)
[typings/common.d.ts:4](https://github.com/saqqdy/js-cool/blob/246bac0/typings/common.d.ts#L4)
4 changes: 2 additions & 2 deletions docs/interfaces/CacheData.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[src/cache.ts:3](https://github.com/saqqdy/js-cool/blob/a69dc09/src/cache.ts#L3)
[src/cache.ts:3](https://github.com/saqqdy/js-cool/blob/246bac0/src/cache.ts#L3)

---

Expand All @@ -27,4 +27,4 @@

#### Defined in

[src/cache.ts:2](https://github.com/saqqdy/js-cool/blob/a69dc09/src/cache.ts#L2)
[src/cache.ts:2](https://github.com/saqqdy/js-cool/blob/246bac0/src/cache.ts#L2)
6 changes: 3 additions & 3 deletions docs/interfaces/CssOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#### Defined in

[src/mountCss.ts:26](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountCss.ts#L26)
[src/mountCss.ts:26](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountCss.ts#L26)

---

Expand All @@ -28,7 +28,7 @@

#### Defined in

[src/mountCss.ts:28](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountCss.ts#L28)
[src/mountCss.ts:28](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountCss.ts#L28)

---

Expand All @@ -38,4 +38,4 @@

#### Defined in

[src/mountCss.ts:27](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountCss.ts#L27)
[src/mountCss.ts:27](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountCss.ts#L27)
4 changes: 2 additions & 2 deletions docs/interfaces/DirParamType.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[src/getDirParam.ts:3](https://github.com/saqqdy/js-cool/blob/a69dc09/src/getDirParam.ts#L3)
[src/getDirParam.ts:3](https://github.com/saqqdy/js-cool/blob/246bac0/src/getDirParam.ts#L3)

---

Expand All @@ -27,4 +27,4 @@

#### Defined in

[src/getDirParam.ts:2](https://github.com/saqqdy/js-cool/blob/a69dc09/src/getDirParam.ts#L2)
[src/getDirParam.ts:2](https://github.com/saqqdy/js-cool/blob/246bac0/src/getDirParam.ts#L2)
4 changes: 2 additions & 2 deletions docs/interfaces/HTMLImageElementEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -3228,7 +3228,7 @@ node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.d.ts:605

#### Defined in

[src/mountImg.ts:25](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountImg.ts#L25)
[src/mountImg.ts:25](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountImg.ts#L25)

---

Expand Down Expand Up @@ -3870,7 +3870,7 @@ node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.d.ts:102

#### Defined in

[src/mountImg.ts:26](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountImg.ts#L26)
[src/mountImg.ts:26](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountImg.ts#L26)

---

Expand Down
4 changes: 2 additions & 2 deletions docs/interfaces/HTMLLinkElementEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -3110,7 +3110,7 @@ node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.d.ts:605

#### Defined in

[src/mountCss.ts:21](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountCss.ts#L21)
[src/mountCss.ts:21](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountCss.ts#L21)

---

Expand Down Expand Up @@ -3752,7 +3752,7 @@ node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.d.ts:102

#### Defined in

[src/mountCss.ts:22](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountCss.ts#L22)
[src/mountCss.ts:22](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountCss.ts#L22)

---

Expand Down
4 changes: 2 additions & 2 deletions docs/interfaces/HTMLScriptElementEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -3080,7 +3080,7 @@ node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.d.ts:605

#### Defined in

[src/mountJs.ts:18](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountJs.ts#L18)
[src/mountJs.ts:18](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountJs.ts#L18)

---

Expand Down Expand Up @@ -3722,7 +3722,7 @@ node_modules/.pnpm/typescript@5.0.2/node_modules/typescript/lib/lib.dom.d.ts:102

#### Defined in

[src/mountJs.ts:19](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountJs.ts#L19)
[src/mountJs.ts:19](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountJs.ts#L19)

---

Expand Down
6 changes: 3 additions & 3 deletions docs/interfaces/ImgOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#### Defined in

[src/mountImg.ts:30](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountImg.ts#L30)
[src/mountImg.ts:30](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountImg.ts#L30)

---

Expand All @@ -28,7 +28,7 @@

#### Defined in

[src/mountImg.ts:32](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountImg.ts#L32)
[src/mountImg.ts:32](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountImg.ts#L32)

---

Expand All @@ -38,4 +38,4 @@

#### Defined in

[src/mountImg.ts:31](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountImg.ts#L31)
[src/mountImg.ts:31](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountImg.ts#L31)
6 changes: 3 additions & 3 deletions docs/interfaces/JsOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#### Defined in

[src/mountJs.ts:23](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountJs.ts#L23)
[src/mountJs.ts:23](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountJs.ts#L23)

---

Expand All @@ -28,7 +28,7 @@

#### Defined in

[src/mountJs.ts:25](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountJs.ts#L25)
[src/mountJs.ts:25](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountJs.ts#L25)

---

Expand All @@ -38,4 +38,4 @@

#### Defined in

[src/mountJs.ts:24](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountJs.ts#L24)
[src/mountJs.ts:24](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountJs.ts#L24)
4 changes: 2 additions & 2 deletions docs/interfaces/SearchkeySet.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#### Defined in

[src/searchTreeObject.ts:2](https://github.com/saqqdy/js-cool/blob/a69dc09/src/searchTreeObject.ts#L2)
[src/searchTreeObject.ts:2](https://github.com/saqqdy/js-cool/blob/246bac0/src/searchTreeObject.ts#L2)

---

Expand All @@ -31,4 +31,4 @@

#### Defined in

[src/searchTreeObject.ts:3](https://github.com/saqqdy/js-cool/blob/a69dc09/src/searchTreeObject.ts#L3)
[src/searchTreeObject.ts:3](https://github.com/saqqdy/js-cool/blob/246bac0/src/searchTreeObject.ts#L3)
4 changes: 2 additions & 2 deletions docs/interfaces/SessionData.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[src/session.ts:3](https://github.com/saqqdy/js-cool/blob/a69dc09/src/session.ts#L3)
[src/session.ts:3](https://github.com/saqqdy/js-cool/blob/246bac0/src/session.ts#L3)

---

Expand All @@ -27,4 +27,4 @@

#### Defined in

[src/session.ts:2](https://github.com/saqqdy/js-cool/blob/a69dc09/src/session.ts#L2)
[src/session.ts:2](https://github.com/saqqdy/js-cool/blob/246bac0/src/session.ts#L2)
8 changes: 4 additions & 4 deletions docs/interfaces/SourceOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#### Defined in

[src/loadSource.ts:9](https://github.com/saqqdy/js-cool/blob/a69dc09/src/loadSource.ts#L9)
[src/loadSource.ts:9](https://github.com/saqqdy/js-cool/blob/246bac0/src/loadSource.ts#L9)

---

Expand All @@ -29,7 +29,7 @@

#### Defined in

[src/loadSource.ts:11](https://github.com/saqqdy/js-cool/blob/a69dc09/src/loadSource.ts#L11)
[src/loadSource.ts:11](https://github.com/saqqdy/js-cool/blob/246bac0/src/loadSource.ts#L11)

---

Expand All @@ -39,7 +39,7 @@

#### Defined in

[src/loadSource.ts:10](https://github.com/saqqdy/js-cool/blob/a69dc09/src/loadSource.ts#L10)
[src/loadSource.ts:10](https://github.com/saqqdy/js-cool/blob/246bac0/src/loadSource.ts#L10)

---

Expand All @@ -49,4 +49,4 @@

#### Defined in

[src/loadSource.ts:8](https://github.com/saqqdy/js-cool/blob/a69dc09/src/loadSource.ts#L8)
[src/loadSource.ts:8](https://github.com/saqqdy/js-cool/blob/246bac0/src/loadSource.ts#L8)
4 changes: 2 additions & 2 deletions docs/interfaces/StyleOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[src/mountStyle.ts:4](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountStyle.ts#L4)
[src/mountStyle.ts:4](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountStyle.ts#L4)

---

Expand All @@ -27,4 +27,4 @@

#### Defined in

[src/mountStyle.ts:5](https://github.com/saqqdy/js-cool/blob/a69dc09/src/mountStyle.ts#L5)
[src/mountStyle.ts:5](https://github.com/saqqdy/js-cool/blob/246bac0/src/mountStyle.ts#L5)
4 changes: 2 additions & 2 deletions docs/interfaces/WindowSizeObj.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[src/windowSize.ts:3](https://github.com/saqqdy/js-cool/blob/a69dc09/src/windowSize.ts#L3)
[src/windowSize.ts:3](https://github.com/saqqdy/js-cool/blob/246bac0/src/windowSize.ts#L3)

---

Expand All @@ -27,4 +27,4 @@

#### Defined in

[src/windowSize.ts:2](https://github.com/saqqdy/js-cool/blob/a69dc09/src/windowSize.ts#L2)
[src/windowSize.ts:2](https://github.com/saqqdy/js-cool/blob/246bac0/src/windowSize.ts#L2)
Loading

0 comments on commit ccd8e94

Please sign in to comment.