fix(core): Refactor plugin exports to improve modularity
This commit is contained in:
parent
16fd982c57
commit
cc934a9c0e
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2024-10-02 - 2.0.59 - fix(core)
|
||||||
|
Refactor plugin exports to improve modularity
|
||||||
|
|
||||||
|
- Refactored the plugin exports to be more modular and organized.
|
||||||
|
- Replaced redundant plugin object definition in ts/index.ts with a simpler import and export pattern.
|
||||||
|
|
||||||
## 2024-07-01 - 2.0.58 - fix(dependencies)
|
## 2024-07-01 - 2.0.58 - fix(dependencies)
|
||||||
Update dependencies and correct font family in styles
|
Update dependencies and correct font family in styles
|
||||||
|
|
||||||
|
802
pnpm-lock.yaml
generated
802
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-domtools',
|
name: '@design.estate/dees-domtools',
|
||||||
version: '2.0.58',
|
version: '2.0.59',
|
||||||
description: 'A package providing tools to simplify complex CSS structures and web development tasks, featuring TypeScript support and integration with various web technologies.'
|
description: 'A package providing tools to simplify complex CSS structures and web development tasks, featuring TypeScript support and integration with various web technologies.'
|
||||||
}
|
}
|
||||||
|
21
ts/domtools.pluginexports.ts
Normal file
21
ts/domtools.pluginexports.ts
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
import * as smartdelay from '@push.rocks/smartdelay';
|
||||||
|
import * as smartmarkdown from '@push.rocks/smartmarkdown';
|
||||||
|
import * as smartpromise from '@push.rocks/smartpromise';
|
||||||
|
import * as SweetScroll from 'sweet-scroll';
|
||||||
|
import * as smartstate from '@push.rocks/smartstate';
|
||||||
|
import * as smartrx from '@push.rocks/smartrx';
|
||||||
|
import * as smartstring from '@push.rocks/smartstring';
|
||||||
|
import * as smarturl from '@push.rocks/smarturl';
|
||||||
|
import * as typedrequest from '@api.global/typedrequest';
|
||||||
|
|
||||||
|
export {
|
||||||
|
smartdelay,
|
||||||
|
smartmarkdown,
|
||||||
|
smartpromise,
|
||||||
|
SweetScroll,
|
||||||
|
smartstate,
|
||||||
|
smartrx,
|
||||||
|
smartstring,
|
||||||
|
smarturl,
|
||||||
|
typedrequest
|
||||||
|
};
|
15
ts/index.ts
15
ts/index.ts
@ -9,19 +9,8 @@ export { DomTools, type IDomToolsContructorOptions } from './domtools.classes.do
|
|||||||
export { TypedRequest } from '@api.global/typedrequest';
|
export { TypedRequest } from '@api.global/typedrequest';
|
||||||
export { type IWebSetupConstructorOptions } from '@push.rocks/websetup';
|
export { type IWebSetupConstructorOptions } from '@push.rocks/websetup';
|
||||||
|
|
||||||
import * as allPlugins from './domtools.plugins.js';
|
import * as plugins from './domtools.pluginexports.js';
|
||||||
|
export { plugins };
|
||||||
export const plugins = {
|
|
||||||
smartdelay: allPlugins.smartdelay,
|
|
||||||
smartmarkdown: allPlugins.smartmarkdown,
|
|
||||||
smartpromise: allPlugins.smartpromise,
|
|
||||||
SweetScroll: allPlugins.SweetScroll,
|
|
||||||
smartstate: allPlugins.smartstate,
|
|
||||||
smartrx: allPlugins.smartrx,
|
|
||||||
smartstring: allPlugins.smartstring,
|
|
||||||
smarturl: allPlugins.smarturl,
|
|
||||||
typedrequest: allPlugins.typedrequest,
|
|
||||||
};
|
|
||||||
|
|
||||||
// type exports
|
// type exports
|
||||||
import type { rxjs } from '@push.rocks/smartrx';
|
import type { rxjs } from '@push.rocks/smartrx';
|
||||||
|
Loading…
Reference in New Issue
Block a user