-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/auth-service-to-signals' of https://github.com/Bad…
…minton-Apps/badman into feat/auth-service-to-signals
- Loading branch information
Showing
434 changed files
with
7,398 additions
and
9,393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
distribute-on: | ||
small-changeset: 1 linux-medium-js | ||
medium-changeset: 6 linux-medium-js | ||
large-changeset: 10 linux-medium-js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Release Workflow | ||
|
||
on: | ||
# manual trigger | ||
workflow_dispatch: | ||
inputs: | ||
# main branch name | ||
prod-release: | ||
description: 'Do prod release' | ||
required: true | ||
default: false | ||
type: boolean | ||
# main branch name | ||
e2e-tests: | ||
description: 'Do e2e tests' | ||
required: true | ||
default: true | ||
type: boolean | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
run-name: ${{ inputs.prod-release && 'Prod' || 'Beta' }} release ${{ inputs.e2e-tests && 'with E2E tests' || '' }} | ||
|
||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: 'npm' | ||
- run: npm ci | ||
- uses: nrwl/nx-set-shas@v4 | ||
- run: npx nx start-ci-run --stop-agents-after="e2e-ci" | ||
- run: npx nx affected -t lint test build e2e-ci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
} | ||
], | ||
"compilerOptions": { | ||
"esModuleInterop": true, | ||
"resolveJsonModule": true | ||
"esModuleInterop": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,36 @@ | ||
const { composePlugins, withNx } = require('@nx/webpack'); | ||
// Nx plugins for webpack. | ||
module.exports = composePlugins(withNx(), (config) => { | ||
// Update the webpack config as needed here. | ||
// e.g. `config.plugins.push(new MyPlugin())` | ||
config.devtool = 'source-map' | ||
const { NxWebpackPlugin } = require('@nx/webpack'); | ||
const { join } = require('path'); | ||
|
||
return config; | ||
}); | ||
module.exports = { | ||
output: { | ||
path: join(__dirname, '../../dist/apps/api'), | ||
}, | ||
plugins: [ | ||
new NxWebpackPlugin({ | ||
target: 'node', | ||
compiler: 'tsc', | ||
main: './src/main.ts', | ||
tsConfig: './tsconfig.app.json', | ||
assets: [ | ||
'./src/assets', | ||
{ | ||
glob: '**/*', | ||
input: 'libs/backend/translate/assets', | ||
output: 'assets', | ||
}, | ||
{ | ||
glob: '**/*', | ||
input: 'libs/backend/competition/assembly/src/compile', | ||
output: 'compile/libs/assembly', | ||
}, | ||
{ | ||
glob: '**/*', | ||
input: 'libs/backend/mailing/src/compile', | ||
output: 'compile/libs/mailing', | ||
}, | ||
], | ||
optimization: false, | ||
outputHashing: 'none', | ||
}), | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
const { composePlugins, withNx } = require("@nx/webpack"); | ||
const { NxWebpackPlugin } = require('@nx/webpack'); | ||
const { join } = require('path'); | ||
|
||
// Nx plugins for webpack. | ||
module.exports = composePlugins(withNx(), (config) => { | ||
// Update the webpack config as needed here. | ||
// e.g. `config.plugins.push(new MyPlugin())` | ||
config.devtool = 'source-map' | ||
|
||
|
||
return config; | ||
}); | ||
module.exports = { | ||
output: { | ||
path: join(__dirname, '../../dist/apps/scripts'), | ||
}, | ||
plugins: [ | ||
new NxWebpackPlugin({ | ||
target: 'node', | ||
compiler: 'tsc', | ||
main: './src/main.ts', | ||
tsConfig: './tsconfig.app.json', | ||
assets: ['./src/assets'], | ||
optimization: false, | ||
outputHashing: 'none', | ||
}), | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* eslint-disable */ | ||
export default { | ||
displayName: 'worker-belgium-flanders-games', | ||
preset: '../../../../../jest.preset.js', | ||
testEnvironment: 'node', | ||
transform: { | ||
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }], | ||
}, | ||
moduleFileExtensions: ['ts', 'js', 'html'], | ||
coverageDirectory: '../../coverage/apps/worker/badminton/belgium/flanders/games', | ||
}; |
Oops, something went wrong.