@tomei/media 0.10.0 → 0.10.1-test.1
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/.commitlintrc.json +22 -22
- package/.gitlab-ci.yml +234 -16
- package/.husky/commit-msg +15 -15
- package/.husky/pre-commit +7 -7
- package/.prettierrc +4 -4
- package/.vscode/settings.json +3 -0
- package/README.md +93 -93
- package/dist/__tests__/common.service.spec.d.ts +1 -0
- package/dist/__tests__/common.service.spec.js +160 -0
- package/dist/__tests__/common.service.spec.js.map +1 -0
- package/dist/__tests__/medias.repository.spec.d.ts +1 -0
- package/dist/__tests__/medias.repository.spec.js +140 -0
- package/dist/__tests__/medias.repository.spec.js.map +1 -0
- package/dist/__tests__/medias.spec.d.ts +1 -0
- package/dist/__tests__/medias.spec.js +347 -0
- package/dist/__tests__/medias.spec.js.map +1 -0
- package/dist/__tests__/pipes.spec.d.ts +1 -0
- package/dist/__tests__/pipes.spec.js +130 -0
- package/dist/__tests__/pipes.spec.js.map +1 -0
- package/dist/medias.d.ts +2 -2
- package/dist/medias.js +7 -1
- package/dist/medias.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/eslint.config.mjs +58 -58
- package/jest.config.js +26 -0
- package/migration/0001-add-defaultyn-hiddenyn-to-media-table.js +36 -36
- package/migration/media-migration.js +82 -82
- package/nest-cli.json +18 -18
- package/package.json +83 -78
- package/sonar-project.properties +12 -12
- package/src/__tests__/common.service.spec.ts +203 -0
- package/src/__tests__/medias.repository.spec.ts +158 -0
- package/src/__tests__/medias.spec.ts +468 -0
- package/src/__tests__/pipes.spec.ts +154 -0
- package/src/medias.ts +11 -3
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +30 -30
package/tsconfig.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"module": "commonjs",
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"removeComments": true,
|
|
6
|
-
"emitDecoratorMetadata": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"allowSyntheticDefaultImports": true,
|
|
9
|
-
"moduleResolution": "node",
|
|
10
|
-
"target": "es2017",
|
|
11
|
-
"sourceMap": true,
|
|
12
|
-
"outDir": "./dist",
|
|
13
|
-
"baseUrl": "./",
|
|
14
|
-
"incremental": true,
|
|
15
|
-
"skipLibCheck": true,
|
|
16
|
-
"strictNullChecks": false,
|
|
17
|
-
"noImplicitAny": false,
|
|
18
|
-
"strictBindCallApply": false,
|
|
19
|
-
"forceConsistentCasingInFileNames": false,
|
|
20
|
-
"noFallthroughCasesInSwitch": false,
|
|
21
|
-
"paths": {
|
|
22
|
-
"@app/media": [
|
|
23
|
-
"libs/media/src"
|
|
24
|
-
],
|
|
25
|
-
"@app/media/*": [
|
|
26
|
-
"libs/media/src/*"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"exclude": ["node_modules", "dist"]
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "commonjs",
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"removeComments": true,
|
|
6
|
+
"emitDecoratorMetadata": true,
|
|
7
|
+
"experimentalDecorators": true,
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"moduleResolution": "node",
|
|
10
|
+
"target": "es2017",
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"outDir": "./dist",
|
|
13
|
+
"baseUrl": "./",
|
|
14
|
+
"incremental": true,
|
|
15
|
+
"skipLibCheck": true,
|
|
16
|
+
"strictNullChecks": false,
|
|
17
|
+
"noImplicitAny": false,
|
|
18
|
+
"strictBindCallApply": false,
|
|
19
|
+
"forceConsistentCasingInFileNames": false,
|
|
20
|
+
"noFallthroughCasesInSwitch": false,
|
|
21
|
+
"paths": {
|
|
22
|
+
"@app/media": [
|
|
23
|
+
"libs/media/src"
|
|
24
|
+
],
|
|
25
|
+
"@app/media/*": [
|
|
26
|
+
"libs/media/src/*"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"exclude": ["node_modules", "dist"]
|
|
31
31
|
}
|