Skip to content

Commit

Permalink
refactor(nitrobase): update exports & remove extra files
Browse files Browse the repository at this point in the history
Co-authored-by: Ali Mihandoost <[email protected]>
  • Loading branch information
mohammadhonarvar and AliMD committed Oct 28, 2024
1 parent 4b1f241 commit c406705
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 16 deletions.
16 changes: 3 additions & 13 deletions packages/nitrobase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,9 @@
"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"
"types": "./dist/types.d.ts",
"import": "./dist/types.mjs",
"require": "./dist/types.cjs"
},
"./helper": {
"types": "./dist/helper.d.ts",
Expand Down
1 change: 0 additions & 1 deletion packages/nitrobase/src/engine.ts

This file was deleted.

3 changes: 2 additions & 1 deletion packages/nitrobase/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {packageTracer} from '@alwatr/nanolib';

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

__dev_mode__: packageTracer.add(__package_name__, __package_version__);
1 change: 0 additions & 1 deletion packages/nitrobase/src/reference.ts

This file was deleted.

1 change: 1 addition & 0 deletions packages/nitrobase/src/types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@alwatr/nitrobase-types';

0 comments on commit c406705

Please sign in to comment.