easywork-common-lib 1.0.426 → 1.0.427
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +2 -2
- package/.github/workflows/npm-publish.yml +33 -33
- package/.vscode/settings.json +12 -12
- package/dist/common/enums/sales.enum.d.ts +1 -1
- package/dist/common/enums/sales.enum.js +1 -1
- package/dist/common/enums/sales.enum.js.map +1 -1
- package/dist/grpc/drive/drive.proto +73 -79
- package/justfile +8 -8
- package/package.json +43 -43
- package/scripts/bump.sh +5 -5
- package/test.bat +15 -15
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +25 -25
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/entities/thirdparty/email-config.d.ts +0 -1
- package/dist/entities/thirdparty/email-config.js +0 -3
- package/dist/entities/thirdparty/email-config.js.map +0 -1
package/.gitattributes
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# Auto detect text files and perform LF normalization
|
|
2
|
-
* text=auto
|
|
1
|
+
# Auto detect text files and perform LF normalization
|
|
2
|
+
* text=auto
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
-
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
-
|
|
4
|
-
name: Node.js Package
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
release:
|
|
8
|
-
types: [created]
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
build:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v4
|
|
15
|
-
- uses: actions/setup-node@v4
|
|
16
|
-
with:
|
|
17
|
-
node-version: 20
|
|
18
|
-
- run: npm ci
|
|
19
|
-
- run: npm test
|
|
20
|
-
|
|
21
|
-
publish-npm:
|
|
22
|
-
needs: build
|
|
23
|
-
runs-on: ubuntu-latest
|
|
24
|
-
steps:
|
|
25
|
-
- uses: actions/checkout@v4
|
|
26
|
-
- uses: actions/setup-node@v4
|
|
27
|
-
with:
|
|
28
|
-
node-version: 20
|
|
29
|
-
registry-url: https://registry.npmjs.org/
|
|
30
|
-
- run: npm ci
|
|
31
|
-
- run: npm publish
|
|
32
|
-
env:
|
|
33
|
-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Node.js Package
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
release:
|
|
8
|
+
types: [created]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: actions/setup-node@v4
|
|
16
|
+
with:
|
|
17
|
+
node-version: 20
|
|
18
|
+
- run: npm ci
|
|
19
|
+
- run: npm test
|
|
20
|
+
|
|
21
|
+
publish-npm:
|
|
22
|
+
needs: build
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v4
|
|
26
|
+
- uses: actions/setup-node@v4
|
|
27
|
+
with:
|
|
28
|
+
node-version: 20
|
|
29
|
+
registry-url: https://registry.npmjs.org/
|
|
30
|
+
- run: npm ci
|
|
31
|
+
- run: npm publish
|
|
32
|
+
env:
|
|
33
|
+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
package/.vscode/settings.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
{
|
|
2
|
-
"autoBarrel.language.defaultLanguage": "TypeScript",
|
|
3
|
-
"autoBarrel.files.disableRecursiveBarrelling": false,
|
|
4
|
-
"autoBarrel.files.includeExtensionOnExport": ["ts", "tsx", "vue"],
|
|
5
|
-
"autoBarrel.files.ignoreFilePathPatternOnExport": ["**/*.spec.*", "**/*.test.*"],
|
|
6
|
-
"autoBarrel.files.keepExtensionOnExport": false,
|
|
7
|
-
"autoBarrel.files.detectExportsInFiles": false,
|
|
8
|
-
"autoBarrel.files.exportDefaultFilename": "filename",
|
|
9
|
-
"autoBarrel.formatting.excludeSemiColonAtEndOfLine": false,
|
|
10
|
-
"autoBarrel.formatting.useSingleQuotes": true,
|
|
11
|
-
"autoBarrel.formatting.endOfLine": "lf",
|
|
12
|
-
"autoBarrel.formatting.insertFinalNewline": true,
|
|
1
|
+
{
|
|
2
|
+
"autoBarrel.language.defaultLanguage": "TypeScript",
|
|
3
|
+
"autoBarrel.files.disableRecursiveBarrelling": false,
|
|
4
|
+
"autoBarrel.files.includeExtensionOnExport": ["ts", "tsx", "vue"],
|
|
5
|
+
"autoBarrel.files.ignoreFilePathPatternOnExport": ["**/*.spec.*", "**/*.test.*"],
|
|
6
|
+
"autoBarrel.files.keepExtensionOnExport": false,
|
|
7
|
+
"autoBarrel.files.detectExportsInFiles": false,
|
|
8
|
+
"autoBarrel.files.exportDefaultFilename": "filename",
|
|
9
|
+
"autoBarrel.formatting.excludeSemiColonAtEndOfLine": false,
|
|
10
|
+
"autoBarrel.formatting.useSingleQuotes": true,
|
|
11
|
+
"autoBarrel.formatting.endOfLine": "lf",
|
|
12
|
+
"autoBarrel.formatting.insertFinalNewline": true,
|
|
13
13
|
}
|
|
@@ -20,7 +20,7 @@ var ReceiptStatus;
|
|
|
20
20
|
ReceiptStatus["VIGENTE"] = "vigente";
|
|
21
21
|
ReceiptStatus["ANULADO"] = "cancelado";
|
|
22
22
|
ReceiptStatus["VENCIDO"] = "vencido";
|
|
23
|
-
ReceiptStatus["
|
|
23
|
+
ReceiptStatus["PAGADO"] = "pagado";
|
|
24
24
|
})(ReceiptStatus || (exports.ReceiptStatus = ReceiptStatus = {}));
|
|
25
25
|
var ReceiptMethodPayment;
|
|
26
26
|
(function (ReceiptMethodPayment) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sales.enum.js","sourceRoot":"","sources":["../../../src/common/enums/sales.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,uCAAoB,CAAA;IACpB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;AACvB,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACpB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,wCAAwB,CAAA;AAC5B,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAED,IAAY,aAKX;AALD,WAAY,aAAa;IACrB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,
|
|
1
|
+
{"version":3,"file":"sales.enum.js","sourceRoot":"","sources":["../../../src/common/enums/sales.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,uCAAoB,CAAA;IACpB,sCAAmB,CAAA;IACnB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;AACvB,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACpB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,wCAAwB,CAAA;AAC5B,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAED,IAAY,aAKX;AALD,WAAY,aAAa;IACrB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AACrB,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB;AAED,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,6CAAqB,CAAA;IACrB,2DAAmC,CAAA;IACnC,yDAAiC,CAAA;AACrC,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AAED,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,+BAAiB,CAAA;IACjB,6BAAe,CAAA;AACnB,CAAC,EAHW,UAAU,0BAAV,UAAU,QAGrB;AAED,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,mCAAY,CAAA;IACZ,mCAAY,CAAA;AAChB,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAED,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;IACrB,yCAAmB,CAAA;IACnB,uCAAiB,CAAA;AACrB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAED,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,gCAAiB,CAAA;AACrB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
|
|
@@ -1,80 +1,74 @@
|
|
|
1
|
-
// drive/proto/drive.proto
|
|
2
|
-
syntax = "proto3";
|
|
3
|
-
|
|
4
|
-
package drive;
|
|
5
|
-
|
|
6
|
-
message
|
|
7
|
-
string
|
|
8
|
-
string
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
string
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
repeated
|
|
22
|
-
string
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
message
|
|
27
|
-
|
|
28
|
-
string
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// Define el servicio que será implementado
|
|
75
|
-
service DriveService {
|
|
76
|
-
rpc CreateFolder(CreateFolderRequest) returns (FolderResponse);
|
|
77
|
-
rpc CreateFile(CreateFileRequest) returns (CreateFileResponse);
|
|
78
|
-
rpc CreateFiles(CreateFilesRequest) returns (CreateFilesResponse);
|
|
79
|
-
rpc CreateFolders(CreateFolderBulkRequest) returns (CreateFolderBulkResponse);
|
|
1
|
+
// drive/proto/drive.proto
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package drive;
|
|
5
|
+
|
|
6
|
+
message OwnerEntity {
|
|
7
|
+
string ownerId = 1;
|
|
8
|
+
string entityType = 2;
|
|
9
|
+
string relation = 3;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Define los mensajes para las operaciones de carpetas
|
|
13
|
+
message CreateFolderRequest {
|
|
14
|
+
string name = 1;
|
|
15
|
+
string parentId = 2; // Opcional, puede ser nulo si es una carpeta raíz
|
|
16
|
+
repeated OwnerEntity ownersData = 3;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Create Bulk Folder
|
|
20
|
+
message CreateFolderBulkRequest {
|
|
21
|
+
repeated string foldersName = 1;
|
|
22
|
+
string parentId = 2; // Opcional, puede ser nulo si es una carpeta raíz
|
|
23
|
+
repeated OwnerEntity ownersData = 3;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message FolderResponse {
|
|
27
|
+
string id = 1;
|
|
28
|
+
string name = 2;
|
|
29
|
+
string parentId = 3; // Opcional, puede ser nulo si es una carpeta raíz
|
|
30
|
+
string createdAt = 4;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
message CreateFolderBulkResponse {
|
|
35
|
+
bool success = 1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message CreateFileRequest {
|
|
39
|
+
string name = 1; // Nombre del archivo
|
|
40
|
+
string folderId = 2; // UUID del folder, opcional
|
|
41
|
+
int64 size = 3; // Tamaño del archivo, opcional
|
|
42
|
+
string mimeType = 4; // Tipo MIME del archivo, opcional
|
|
43
|
+
string s3Key = 5; // Clave S3, opcional
|
|
44
|
+
bool isDefault = 6; // Si es el archivo por defecto, opcional
|
|
45
|
+
repeated OwnerEntity ownersData = 7;
|
|
46
|
+
bytes filecontent = 8; // Contenido del archivo en bytes
|
|
47
|
+
string encoding = 9; // Codificación del archivo
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message AttachFileRequest {
|
|
51
|
+
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
message CreateFilesRequest {
|
|
55
|
+
repeated CreateFileRequest files = 1; // Archivos
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
message CreateFilesResponse {
|
|
59
|
+
repeated string filesIds = 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message CreateFileResponse {
|
|
63
|
+
string message = 1;
|
|
64
|
+
bool success = 2;
|
|
65
|
+
string url = 3; // URL del archivo almacenado
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// Define el servicio que será implementado
|
|
69
|
+
service DriveService {
|
|
70
|
+
rpc CreateFolder(CreateFolderRequest) returns (FolderResponse);
|
|
71
|
+
rpc CreateFile(CreateFileRequest) returns (CreateFileResponse);
|
|
72
|
+
rpc CreateFiles(CreateFilesRequest) returns (CreateFilesResponse);
|
|
73
|
+
rpc CreateFolders(CreateFolderBulkRequest) returns (CreateFolderBulkResponse);
|
|
80
74
|
}
|
package/justfile
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
# prints all available commands
|
|
3
|
-
default:
|
|
4
|
-
just --list
|
|
5
|
-
|
|
6
|
-
# Upgrade and publish
|
|
7
|
-
bump:
|
|
8
|
-
pnpm bump
|
|
1
|
+
|
|
2
|
+
# prints all available commands
|
|
3
|
+
default:
|
|
4
|
+
just --list
|
|
5
|
+
|
|
6
|
+
# Upgrade and publish
|
|
7
|
+
bump:
|
|
8
|
+
pnpm bump
|
package/package.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "easywork-common-lib",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Librería común de Easywork",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "tsc && cpx-fixed src/**/*.proto dist/",
|
|
8
|
-
"bump": "./scripts/bump.sh",
|
|
9
|
-
"bump-win": "cross-env ./scripts/bump.sh"
|
|
10
|
-
},
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/criptopreto/easywork-common-lib.git"
|
|
14
|
-
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
"nodejs"
|
|
17
|
-
],
|
|
18
|
-
"author": "Rosmer Campos",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"bugs": {
|
|
21
|
-
"url": "https://github.com/criptopreto/easywork-common-lib/issues"
|
|
22
|
-
},
|
|
23
|
-
"homepage": "https://github.com/criptopreto/easywork-common-lib#readme",
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"@golevelup/nestjs-rabbitmq": "^5.3.0",
|
|
26
|
-
"@nestjs/common": "^10.3.8",
|
|
27
|
-
"@nestjs/swagger": "^7.4.0",
|
|
28
|
-
"@nestjs/typeorm": "^10.0.2",
|
|
29
|
-
"class-transformer": "^0.5.1",
|
|
30
|
-
"class-validator": "^0.14.1",
|
|
31
|
-
"nanoid": "3",
|
|
32
|
-
"rxjs": "^7.8.1",
|
|
33
|
-
"sharp": "^0.33.5",
|
|
34
|
-
"typeorm": "^0.3.20"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@rubiin/tsconfig": "^1.1.2",
|
|
38
|
-
"@types/node": "^20.12.12",
|
|
39
|
-
"cpx-fixed": "^1.6.0",
|
|
40
|
-
"ts-loader": "^9.5.1",
|
|
41
|
-
"typescript": "^5.4.5"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "easywork-common-lib",
|
|
3
|
+
"version": "1.0.427",
|
|
4
|
+
"description": "Librería común de Easywork",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc && cpx-fixed src/**/*.proto dist/",
|
|
8
|
+
"bump": "./scripts/bump.sh",
|
|
9
|
+
"bump-win": "cross-env ./scripts/bump.sh"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/criptopreto/easywork-common-lib.git"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"nodejs"
|
|
17
|
+
],
|
|
18
|
+
"author": "Rosmer Campos",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/criptopreto/easywork-common-lib/issues"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/criptopreto/easywork-common-lib#readme",
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@golevelup/nestjs-rabbitmq": "^5.3.0",
|
|
26
|
+
"@nestjs/common": "^10.3.8",
|
|
27
|
+
"@nestjs/swagger": "^7.4.0",
|
|
28
|
+
"@nestjs/typeorm": "^10.0.2",
|
|
29
|
+
"class-transformer": "^0.5.1",
|
|
30
|
+
"class-validator": "^0.14.1",
|
|
31
|
+
"nanoid": "3",
|
|
32
|
+
"rxjs": "^7.8.1",
|
|
33
|
+
"sharp": "^0.33.5",
|
|
34
|
+
"typeorm": "^0.3.20"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@rubiin/tsconfig": "^1.1.2",
|
|
38
|
+
"@types/node": "^20.12.12",
|
|
39
|
+
"cpx-fixed": "^1.6.0",
|
|
40
|
+
"ts-loader": "^9.5.1",
|
|
41
|
+
"typescript": "^5.4.5"
|
|
42
|
+
}
|
|
43
|
+
}
|
package/scripts/bump.sh
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
git add .
|
|
2
|
-
git commit -m "bump version"
|
|
3
|
-
npm version patch
|
|
4
|
-
npm run build
|
|
5
|
-
npm publish
|
|
1
|
+
git add .
|
|
2
|
+
git commit -m "bump version"
|
|
3
|
+
npm version patch
|
|
4
|
+
npm run build
|
|
5
|
+
npm publish
|
|
6
6
|
git push
|
package/test.bat
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
@echo off
|
|
2
|
-
setlocal enabledelayedexpansion
|
|
3
|
-
|
|
4
|
-
rem Define the root directory
|
|
5
|
-
set "root=C:\Users\ROSME\Documents\GitHub\easywork-common-lib"
|
|
6
|
-
|
|
7
|
-
rem Iterate through all directories and subdirectories
|
|
8
|
-
for /f "delims=" %%d in ('dir "%root%" /ad /b /s') do (
|
|
9
|
-
rem Check if the directory name contains node_modules
|
|
10
|
-
echo %%d | findstr /i /c:"\node_modules" >nul
|
|
11
|
-
echo %%d | findstr /i /c:"\.git" >nul
|
|
12
|
-
if errorlevel 1 (
|
|
13
|
-
rem If not, list the directory contents
|
|
14
|
-
dir "%%d"
|
|
15
|
-
)
|
|
1
|
+
@echo off
|
|
2
|
+
setlocal enabledelayedexpansion
|
|
3
|
+
|
|
4
|
+
rem Define the root directory
|
|
5
|
+
set "root=C:\Users\ROSME\Documents\GitHub\easywork-common-lib"
|
|
6
|
+
|
|
7
|
+
rem Iterate through all directories and subdirectories
|
|
8
|
+
for /f "delims=" %%d in ('dir "%root%" /ad /b /s') do (
|
|
9
|
+
rem Check if the directory name contains node_modules
|
|
10
|
+
echo %%d | findstr /i /c:"\node_modules" >nul
|
|
11
|
+
echo %%d | findstr /i /c:"\.git" >nul
|
|
12
|
+
if errorlevel 1 (
|
|
13
|
+
rem If not, list the directory contents
|
|
14
|
+
dir "%%d"
|
|
15
|
+
)
|
|
16
16
|
)
|
package/tsconfig.build.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"exclude": ["node_modules", "test", "dist", "**/*spec.ts", "eslint.config.js"]
|
|
4
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"exclude": ["node_modules", "test", "dist", "**/*spec.ts", "eslint.config.js"]
|
|
4
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@rubiin/tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"declaration": true,
|
|
6
|
-
"removeComments": true,
|
|
7
|
-
"emitDecoratorMetadata": true,
|
|
8
|
-
"experimentalDecorators": true,
|
|
9
|
-
"allowSyntheticDefaultImports": true,
|
|
10
|
-
"target": "ES2022",
|
|
11
|
-
"sourceMap": true,
|
|
12
|
-
"outDir": "./dist",
|
|
13
|
-
"rootDir": "./src",
|
|
14
|
-
"baseUrl": "./src",
|
|
15
|
-
"incremental": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"skipLibCheck": true,
|
|
18
|
-
"strictNullChecks": false,
|
|
19
|
-
"noImplicitAny": false,
|
|
20
|
-
"strictBindCallApply": false,
|
|
21
|
-
"forceConsistentCasingInFileNames": true,
|
|
22
|
-
"noFallthroughCasesInSwitch": false
|
|
23
|
-
},
|
|
24
|
-
"include": ["test/**/*", "src/**/*", "eslint.config.js"],
|
|
25
|
-
"typeRoots": ["./src/common/@types/typings"]
|
|
1
|
+
{
|
|
2
|
+
"extends": "@rubiin/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"module": "commonjs",
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"removeComments": true,
|
|
7
|
+
"emitDecoratorMetadata": true,
|
|
8
|
+
"experimentalDecorators": true,
|
|
9
|
+
"allowSyntheticDefaultImports": true,
|
|
10
|
+
"target": "ES2022",
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"outDir": "./dist",
|
|
13
|
+
"rootDir": "./src",
|
|
14
|
+
"baseUrl": "./src",
|
|
15
|
+
"incremental": true,
|
|
16
|
+
"strict": true,
|
|
17
|
+
"skipLibCheck": true,
|
|
18
|
+
"strictNullChecks": false,
|
|
19
|
+
"noImplicitAny": false,
|
|
20
|
+
"strictBindCallApply": false,
|
|
21
|
+
"forceConsistentCasingInFileNames": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": false
|
|
23
|
+
},
|
|
24
|
+
"include": ["test/**/*", "src/**/*", "eslint.config.js"],
|
|
25
|
+
"typeRoots": ["./src/common/@types/typings"]
|
|
26
26
|
}
|