easywork-common-lib 1.0.466 → 1.0.467
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/entities/thirdparty/oauth.entity.d.ts +2 -1
- package/dist/entities/thirdparty/oauth.entity.js +6 -5
- package/dist/entities/thirdparty/oauth.entity.js.map +1 -1
- package/dist/entities/thirdparty/service.entity.d.ts +2 -0
- package/dist/entities/thirdparty/service.entity.js +6 -0
- package/dist/entities/thirdparty/service.entity.js.map +1 -1
- package/dist/grpc/drive/drive.proto +179 -179
- package/justfile +8 -8
- package/package.json +45 -45
- 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/package.json
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
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
|
-
"googleapis": "^144.0.0",
|
|
32
|
-
"nanoid": "3",
|
|
33
|
-
"rxjs": "^7.8.1",
|
|
34
|
-
"sharp": "^0.33.5",
|
|
35
|
-
"typeorm": "^0.3.20"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@rubiin/tsconfig": "^1.1.2",
|
|
39
|
-
"@types/node": "^20.12.12",
|
|
40
|
-
"cpx-fixed": "^1.6.0",
|
|
41
|
-
"ts-loader": "^9.5.1",
|
|
42
|
-
"typescript": "^5.4.5"
|
|
43
|
-
},
|
|
44
|
-
"packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
|
|
45
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "easywork-common-lib",
|
|
3
|
+
"version": "1.0.467",
|
|
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
|
+
"googleapis": "^144.0.0",
|
|
32
|
+
"nanoid": "3",
|
|
33
|
+
"rxjs": "^7.8.1",
|
|
34
|
+
"sharp": "^0.33.5",
|
|
35
|
+
"typeorm": "^0.3.20"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@rubiin/tsconfig": "^1.1.2",
|
|
39
|
+
"@types/node": "^20.12.12",
|
|
40
|
+
"cpx-fixed": "^1.6.0",
|
|
41
|
+
"ts-loader": "^9.5.1",
|
|
42
|
+
"typescript": "^5.4.5"
|
|
43
|
+
},
|
|
44
|
+
"packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
|
|
45
|
+
}
|
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
|
}
|