Skip to content

Commit

Permalink
clients update #1
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeenciu committed Jul 8, 2023
1 parent 7257ada commit 5ff909a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
20 changes: 15 additions & 5 deletions libs/clients/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,35 @@
"targets": {
"build": {
"executor": "@nx/vite:build",
"outputs": ["{options.outputPath}"],
"outputs": [
"{options.outputPath}"
],
"options": {
"outputPath": "dist/libs/clients"
}
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["coverage/libs/clients"],
"dependsOn": ["^test-firebase-docker-up"],
"outputs": [
"coverage/libs/clients"
],
"dependsOn": [
"^test-firebase-docker-up"
],
"options": {
"passWithNoTests": true,
"reportsDirectory": "../../coverage/libs/clients"
}
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"outputs": [
"{options.outputFile}"
],
"options": {
"lintFilePatterns": ["libs/clients/**/*.ts"]
"lintFilePatterns": [
"libs/clients/**/*.ts"
]
}
},
"test-firebase-docker-up": {
Expand Down
2 changes: 1 addition & 1 deletion libs/clients/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './lib/firebase'
export * from './firebase'
Empty file added libs/clients/test/setup-test.ts
Empty file.
1 change: 1 addition & 0 deletions libs/clients/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export default defineConfig({
dir: '../../node_modules/.vitest',
},
environment: 'jsdom',
setupFiles: ['./test/setup-test.ts'],
include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
},
})

0 comments on commit 5ff909a

Please sign in to comment.