Skip to content

Commit

Permalink
chore: added index.ts for better import
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashish Kumar authored and Ashish Kumar committed Jun 16, 2024
1 parent 917e395 commit 8329148
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 177 deletions.
4 changes: 2 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
/src/**/*.test.ts

# Exclude test files from dist
/dist/**/*.spec.js
/dist/**/*.test.js
/dist/test
src
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nodeflip/nest-env-config",
"version": "1.0.0",
"version": "1.0.1",
"description": "An environment configuration module for NestJS that allows for easy configuration using decorators.",
"main": "dist/index.js",
"scripts": {
Expand Down Expand Up @@ -33,7 +33,7 @@
"author": "Ashish Kumar",
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org/nodeflip"
"registry": "https://registry.npmjs.org"
},
"private": false,
"repository": "https://github.com/nodeflip/nest-env-config",
Expand Down
4 changes: 0 additions & 4 deletions src/environment-config/environment-config.module.d.ts

This file was deleted.

38 changes: 0 additions & 38 deletions src/environment-config/environment-config.module.js

This file was deleted.

30 changes: 0 additions & 30 deletions src/environment-config/environment-config.service.d.ts

This file was deleted.

52 changes: 0 additions & 52 deletions src/environment-config/environment-config.service.js

This file was deleted.

21 changes: 0 additions & 21 deletions src/environment-config/prop.decorator.d.ts

This file was deleted.

28 changes: 0 additions & 28 deletions src/environment-config/prop.decorator.js

This file was deleted.

3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from "./environment-config/environment-config.module";
export * from "./environment-config/environment-config.service";
export * from "./environment-config/prop.decorator";

0 comments on commit 8329148

Please sign in to comment.