Skip to content

Commit

Permalink
refactor(nitrobase): separate exports based on the packages name
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadhonarvar committed Oct 28, 2024
1 parent fecb9d3 commit 4b1f241
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
20 changes: 20 additions & 0 deletions packages/nitrobase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,26 @@
"types": "./dist/main.d.ts",
"import": "./dist/main.mjs",
"require": "./dist/main.cjs"
},
"./types": {
"types": "./dist/main.d.ts",
"import": "./dist/main.mjs",
"require": "./dist/main.cjs"
},
"./engine": {
"types": "./dist/engine.d.ts",
"import": "./dist/engine.mjs",
"require": "./dist/engine.cjs"
},
"./reference": {
"types": "./dist/reference.d.ts",
"import": "./dist/reference.mjs",
"require": "./dist/reference.cjs"
},
"./helper": {
"types": "./dist/helper.d.ts",
"import": "./dist/helper.mjs",
"require": "./dist/helper.cjs"
}
},
"license": "AGPL-3.0-only",
Expand Down
1 change: 1 addition & 0 deletions packages/nitrobase/src/engine.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@alwatr/nitrobase-engine';
1 change: 1 addition & 0 deletions packages/nitrobase/src/helper.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@alwatr/nitrobase-helper';
3 changes: 0 additions & 3 deletions packages/nitrobase/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import {packageTracer} from '@alwatr/nanolib';

export * from '@alwatr/nitrobase-engine';
export * from '@alwatr/nitrobase-reference';
export * from '@alwatr/nitrobase-helper';
export * from '@alwatr/nitrobase-types';

__dev_mode__: packageTracer.add(__package_name__, __package_version__);
1 change: 1 addition & 0 deletions packages/nitrobase/src/reference.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@alwatr/nitrobase-reference';

0 comments on commit 4b1f241

Please sign in to comment.