Skip to content

Commit

Permalink
chore: merging develop and increasing api rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
kathleenkhy committed May 17, 2024
2 parents dc20c7a + 258c4df commit e237a9c
Show file tree
Hide file tree
Showing 67 changed files with 6,306 additions and 3,957 deletions.
10 changes: 8 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,16 @@
"typesafe/no-throw-sync-func": "error"
}
},
{ "files": ["*.spec.ts"], "extends": ["plugin:jest/recommended"] },
{
"files": ["**/*.spec.ts", "**/__tests__/**/*.ts"],
"extends": ["plugin:jest/recommended"],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
},
{
"files": ["*.ts", "*.js"],
"excludedFiles": ["**/*.spec.ts", "**/.spec.js", "**/__tests__/**/*.ts"],
"excludedFiles": ["**/*.spec.ts", "**/__tests__/**/*.ts"],
"rules": {
"@typescript-eslint/no-non-null-assertion": "error"
}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
autoAcceptChanges: develop
exitOnceUploaded: true
onlyChanged: true
storybookBaseDir: frontend
# Skip running Chromatic on dependabot PRs
skip: dependabot/**
# Only run when the frontend directory has changes
Expand Down
76 changes: 65 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,68 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v6.117.0](https://github.com/opengovsg/FormSG/compare/v6.117.0...v6.117.0)
#### [v6.121.0](https://github.com/opengovsg/FormSG/compare/v6.120.0...v6.121.0)

- fix(mrf): input transformation types for decrypting radio others [`#7325`](https://github.com/opengovsg/FormSG/pull/7325)
- fix(mrf): attachment equality validation [`#7324`](https://github.com/opengovsg/FormSG/pull/7324)
- fix(deps): bump validator from 13.11.0 to 13.12.0 in /shared [`#7323`](https://github.com/opengovsg/FormSG/pull/7323)
- fix(deps): bump zod from 3.23.6 to 3.23.8 in /shared [`#7322`](https://github.com/opengovsg/FormSG/pull/7322)
- build: merge v6.120.0 into develop [`#7321`](https://github.com/opengovsg/FormSG/pull/7321)
- build: release v6.120.0 [`#7320`](https://github.com/opengovsg/FormSG/pull/7320)

#### [v6.120.0](https://github.com/opengovsg/FormSG/compare/v6.119.1...v6.120.0)

> 8 May 2024

- fix: added validation for empty attachments [`#7318`](https://github.com/opengovsg/FormSG/pull/7318)
- fix(deps): bump libphonenumber-js from 1.11.0 to 1.11.1 in /shared [`#7319`](https://github.com/opengovsg/FormSG/pull/7319)
- build: merge v6.119.1 into develop [`#7315`](https://github.com/opengovsg/FormSG/pull/7315)
- fix(deps): bump type-fest from 4.18.1 to 4.18.2 in /shared [`#7317`](https://github.com/opengovsg/FormSG/pull/7317)
- fix(deps): bump libphonenumber-js from 1.10.62 to 1.11.0 in /shared [`#7316`](https://github.com/opengovsg/FormSG/pull/7316)
- fix: remove attachment integrity validation [`#7314`](https://github.com/opengovsg/FormSG/pull/7314)
- build: merge v6.119.0 into develop [`#7313`](https://github.com/opengovsg/FormSG/pull/7313)
- fix(deps): bump libphonenumber-js from 1.10.61 to 1.10.62 in /shared [`#7312`](https://github.com/opengovsg/FormSG/pull/7312)
- chore(deps-dev): bump @types/lodash from 4.17.0 to 4.17.1 in /shared [`#7311`](https://github.com/opengovsg/FormSG/pull/7311)
- fix(deps): bump zod from 3.23.5 to 3.23.6 in /shared [`#7310`](https://github.com/opengovsg/FormSG/pull/7310)
- chore: bump version to v6.120.0 [`94e5fdf`](https://github.com/opengovsg/FormSG/commit/94e5fdf05b8abb02947ffa86a0677349c442a634)

#### [v6.119.1](https://github.com/opengovsg/FormSG/compare/v6.119.0...v6.119.1)

> 6 May 2024

- * fix(deps): bump zod from 3.23.4 to 3.23.5 in /shared (#7301) [`#7309`](https://github.com/opengovsg/FormSG/pull/7309)
- chore: bump version to 6.119.1 [`01b3ff0`](https://github.com/opengovsg/FormSG/commit/01b3ff07fc1eb4ab14af8543fe3c1e893efe8c73)
- fix: remove attachment integrity validation [`79408a9`](https://github.com/opengovsg/FormSG/commit/79408a9c845d39b9c4b583e34d2db587a65dc9ff)

#### [v6.119.0](https://github.com/opengovsg/FormSG/compare/v6.118.0...v6.119.0)

> 5 May 2024

- build: merge release v6.118 to develop [`#7306`](https://github.com/opengovsg/FormSG/pull/7306)
- fix(mrf): attachment v2 [`#7281`](https://github.com/opengovsg/FormSG/pull/7281)
- fix(deps): bump ejs from 3.1.8 to 3.1.10 [`#7304`](https://github.com/opengovsg/FormSG/pull/7304)
- fix(deps): bump type-fest from 4.18.0 to 4.18.1 in /shared [`#7303`](https://github.com/opengovsg/FormSG/pull/7303)
- fix(deps): bump zod from 3.23.4 to 3.23.5 in /shared [`#7301`](https://github.com/opengovsg/FormSG/pull/7301)
- chore: bump version to v6.118.0 [`#7300`](https://github.com/opengovsg/FormSG/pull/7300)
- chore: bump version to v6.119.0 [`91a38bf`](https://github.com/opengovsg/FormSG/commit/91a38bf30c4b91f764a7f33e1c3721a8329bb5cf)

#### [v6.118.0](https://github.com/opengovsg/FormSG/compare/v6.117.0...v6.118.0)

> 30 April 2024

- fix(btn): use different growthbook api [`#7299`](https://github.com/opengovsg/FormSG/pull/7299)
- fix(payments): allow 0 cents [`#7298`](https://github.com/opengovsg/FormSG/pull/7298)
- fix(deps): bump type-fest from 4.17.0 to 4.18.0 in /shared [`#7297`](https://github.com/opengovsg/FormSG/pull/7297)
- fix: update chromium version [`#7294`](https://github.com/opengovsg/FormSG/pull/7294)
- feat(btn): phase 2 - add growthbook toggle to control adding twilio creds [`#7290`](https://github.com/opengovsg/FormSG/pull/7290)
- feat(payments): add min global payment limit override [`#7291`](https://github.com/opengovsg/FormSG/pull/7291)
- fix: add localhost domain into cors, used by attachment uploads [`#7280`](https://github.com/opengovsg/FormSG/pull/7280)
- fix(deps): bump type-fest from 4.16.0 to 4.17.0 in /shared [`#7287`](https://github.com/opengovsg/FormSG/pull/7287)
- chore: reduce output, check gh login auth status only if not logged in [`#7282`](https://github.com/opengovsg/FormSG/pull/7282)
- build: merge release v6.117.0 into develop [`#7284`](https://github.com/opengovsg/FormSG/pull/7284)
- build: release v6.117.0 [`#7266`](https://github.com/opengovsg/FormSG/pull/7266)
- fix(deps): bump zod from 3.23.0 to 3.23.4 in /shared [`#7283`](https://github.com/opengovsg/FormSG/pull/7283)
- chore: bump version to v6.118.0 [`6f415b1`](https://github.com/opengovsg/FormSG/commit/6f415b1be388afb78d7d7ae25e3c0cd779c9b6a4)

#### [v6.117.0](https://github.com/opengovsg/FormSG/compare/v6.116.0...v6.117.0)

Expand All @@ -30,9 +91,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- chore: refactor to move endpage block to generic folder [`#7248`](https://github.com/opengovsg/FormSG/pull/7248)
- build: release v6.116.0 [`#7251`](https://github.com/opengovsg/FormSG/pull/7251)
- chore: reverting package-lock changes [`040b962`](https://github.com/opengovsg/FormSG/commit/040b96284ea317de22d9de6cf872fd4116f24c51)
- chore: bump version to v6.117.0 [`b355f4a`](https://github.com/opengovsg/FormSG/commit/b355f4a686445a7863e06a0da2ec136e878d50fd)
- chore: bump version to v6.117.0 [`6eb4aca`](https://github.com/opengovsg/FormSG/commit/6eb4aca28514e3286c23c0834f9962de291a7fbc)

#### [v6.116.0](https://github.com/opengovsg/FormSG/compare/v6.115.1...v6.116.0)
#### [v6.116.0](https://github.com/opengovsg/FormSG/compare/v6.115.0...v6.116.0)

> 8 April 2024

Expand All @@ -43,17 +104,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- fix(mrf): webhook be validation [`#7247`](https://github.com/opengovsg/FormSG/pull/7247)
- chore: move react-dev-inspector to frontend/package.json [`#7245`](https://github.com/opengovsg/FormSG/pull/7245)
- refactor: add exhaustive checks, use answerArray for arrays [`#7244`](https://github.com/opengovsg/FormSG/pull/7244)
- * chore(deps-dev): bump @types/express from 4.17.17 to 4.17.21 (#7233) [`#7241`](https://github.com/opengovsg/FormSG/pull/7241)
- fix(deps): bump type-fest from 4.14.0 to 4.15.0 in /shared [`#7243`](https://github.com/opengovsg/FormSG/pull/7243)
- chore: bump version to v6.116.0 [`31e1a33`](https://github.com/opengovsg/FormSG/commit/31e1a33c96d76b69c492f5212bc48a3dabe054af)

#### [v6.115.1](https://github.com/opengovsg/FormSG/compare/v6.115.0...v6.115.1)

> 5 April 2024

- * chore(deps-dev): bump @types/express from 4.17.17 to 4.17.21 (#7233) [`#7241`](https://github.com/opengovsg/FormSG/pull/7241)
- fix: add check to block webhooks updates on mrf [`71ab0c5`](https://github.com/opengovsg/FormSG/commit/71ab0c592c15de5fddbffc9970a424af7a31d4ab)
- chore: bump version to 6.115.1 [`7d127b2`](https://github.com/opengovsg/FormSG/commit/7d127b2e8353a8a282acabe1c309cefb1e750f9c)

#### [v6.115.0](https://github.com/opengovsg/FormSG/compare/v6.114.1...v6.115.0)

> 3 April 2024
Expand Down
3 changes: 3 additions & 0 deletions __tests__/e2e/utils/field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ export const createMyInfoField = (
...fieldBase,
ValidationOptions: { selectedValidation: null, customVal: null },
}
default:
// eslint-disable-next-line typesafe/no-throw-sync-func
throw new Error(`Unimplemented MyInfo field type: ${fieldType}`)
}
}

Expand Down
11 changes: 7 additions & 4 deletions frontend/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:storybook/recommended"
"plugin:storybook/recommended",
"plugin:react-hooks/recommended"
],
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"extends": ["react-app", "plugin:@typescript-eslint/recommended"],
"extends": ["plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-unused-vars": "warn"
Expand All @@ -26,10 +27,12 @@
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[jt]s?(x)"
],
"extends": ["react-app/jest", "plugin:testing-library/react"],
"extends": ["plugin:testing-library/react"],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"testing-library/no-unnecessary-act": "off"
"testing-library/no-unnecessary-act": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-unsafe-optional-chaining": "off"
}
}
],
Expand Down

0 comments on commit e237a9c

Please sign in to comment.