Skip to content

Commit

Permalink
feat: switch to nijmegen projen project type
Browse files Browse the repository at this point in the history
  • Loading branch information
marnixdessing committed Jan 12, 2023
1 parent ce91d48 commit fd2726f
Show file tree
Hide file tree
Showing 20 changed files with 1,456 additions and 1,706 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions .github/workflows/auto-merge.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions .github/workflows/emergency.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .github/workflows/pull-request-lint.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .projen/files.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 14 additions & 3 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 7 additions & 21 deletions .projenrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
const { awscdk, TextFile } = require('projen');
const project = new awscdk.AwsCdkTypeScriptApp({
const { GemeenteNijmegenCdkApp } = require('@gemeentenijmegen/projen-project-type');

const project = new GemeenteNijmegenCdkApp({
cdkVersion: '2.22.0',
defaultReleaseBranch: 'production',
release: true,
majorVersion: 1,
name: 'irma-issue-app',
license: 'EUPL-1.2',
deps: [
'dotenv',
'@aws-cdk/aws-apigatewayv2-alpha',
Expand All @@ -24,34 +23,24 @@ const project = new awscdk.AwsCdkTypeScriptApp({
'@gemeentenijmegen/utils',
'@gemeentenijmegen/apigateway-http',
'@privacybydesign/irma-frontend',
'axios@^0.27.2', // TODO upgrade however aws4-axios is not yet compatible with v1
'axios@^0.27.2', // TODO upgrade however https://github.com/jamesmbourne/aws4-axios/issues/701
'mustache',
'@types/mustache',
'aws4-axios',
'openid-client',
'@types/cookie',
'cookie',
'@types/aws-lambda',


], /* Runtime dependencies of this module. */
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
],
devDeps: [
'copyfiles',
'@playwright/test',
'aws-sdk-client-mock',
'jest-raw-loader',
'axios-mock-adapter',
'jest-aws-client-mock',
], /* Build dependencies for this module. */
depsUpgradeOptions: {
workflowOptions: {
branches: ['development'],
},
},
// packageName: undefined, /* The "name" in package.json. */
// release: undefined, /* Add release management to this project. */
mutableBuild: true,
'@gemeentenijmegen/projen-project-type',
],
jestOptions: {
jestConfig: {
setupFiles: ['dotenv/config'],
Expand All @@ -70,10 +59,7 @@ const project = new awscdk.AwsCdkTypeScriptApp({
devdirs: ['src/app/logout/tests', '/test', '/build-tools'],
},
gitignore: [
'.env',
'.vscode',
'src/app/**/tests/output',
'.DS_Store',
'test/playwright/report',
'test/playwright/screenshots',
],
Expand Down
Loading

0 comments on commit fd2726f

Please sign in to comment.