Skip to content

Commit 0189f67

Browse files
committed
refactor(architecture): move index files to src
1 parent 6c16dd9 commit 0189f67

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+95
-97
lines changed

index.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@secjs/utils",
3-
"version": "1.8.7",
3+
"version": "1.8.8",
44
"description": "Utils functions and classes for Node.js",
55
"license": "MIT",
66
"author": "João Lenon <lenon@athenna.io>",
@@ -27,14 +27,12 @@
2727
"src/*.js",
2828
"src/*.d.ts",
2929
"src/**/*.js",
30-
"src/**/*.d.ts",
31-
"*.js",
32-
"*.d.ts"
30+
"src/**/*.d.ts"
3331
],
3432
"type": "module",
35-
"main": "./index.js",
36-
"types": "./index.d.ts",
37-
"exports": "./index.js",
33+
"main": "./src/index.js",
34+
"types": "./src/index.d.ts",
35+
"exports": "./src/index.js",
3836
"imports": {
3937
"#src/*": "./src/*.js",
4038
"#tests/*": "./tests/*.js"

src/Exceptions/ConfigNotNormalizedException.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { Exception } from '#src/Exception'
10+
import { Exception } from '#src/Helpers/Exception'
1111

1212
export class ConfigNotNormalizedException extends Exception {
1313
/**

src/Exceptions/InvalidNumberException.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { Exception } from '#src/Exception'
10+
import { Exception } from '#src/Helpers/Exception'
1111

1212
export class InvalidNumberException extends Exception {
1313
/**

src/Exceptions/InvalidUuidException.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { Exception } from '#src/Exception'
10+
import { Exception } from '#src/Helpers/Exception'
1111

1212
export class InvalidUuidException extends Exception {
1313
/**

src/Exceptions/NodeCommandException.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { Exception } from '#src/Exception'
10+
import { Exception } from '#src/Helpers/Exception'
1111

1212
export class NodeCommandException extends Exception {
1313
/**

src/Exceptions/NotFoundFileException.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { Exception } from '#src/Exception'
10+
import { Exception } from '#src/Helpers/Exception'
1111

1212
export class NotFoundFileException extends Exception {
1313
/**

src/Exceptions/NotFoundFolderException.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { Exception } from '#src/Exception'
10+
import { Exception } from '#src/Helpers/Exception'
1111

1212
export class NotFoundFolderException extends Exception {
1313
/**

src/Exceptions/OrdinalNanException.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { Exception } from '#src/Exception'
10+
import { Exception } from '#src/Helpers/Exception'
1111

1212
export class OrdinalNanException extends Exception {
1313
/**

src/Exceptions/RecursiveConfigException.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { Exception } from '#src/Exception'
10+
import { Exception } from '#src/Helpers/Exception'
1111

1212
export class RecursiveConfigException extends Exception {
1313
/**

0 commit comments

Comments
 (0)