express-generator-typescript 2.7.2 → 2.7.3

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.
Files changed (33) hide show
  1. package/LICENSE +21 -21
  2. package/README-npm +20 -0
  3. package/README.md +85 -20
  4. package/lib/project-files/README.md +65 -65
  5. package/lib/project-files/config.ts +22 -22
  6. package/lib/project-files/eslint.config.ts +95 -95
  7. package/lib/project-files/package.json +58 -58
  8. package/lib/project-files/src/common/constants/ENV.ts +21 -21
  9. package/lib/project-files/src/common/constants/HttpStatusCodes.ts +391 -391
  10. package/lib/project-files/src/common/constants/Paths.ts +11 -11
  11. package/lib/project-files/src/common/constants/index.ts +11 -11
  12. package/lib/project-files/src/common/util/route-errors.ts +37 -37
  13. package/lib/project-files/src/common/util/validators.ts +22 -22
  14. package/lib/project-files/src/models/common/types/index.ts +5 -5
  15. package/lib/project-files/src/public/scripts/http.js +26 -26
  16. package/lib/project-files/src/public/scripts/users.js +141 -141
  17. package/lib/project-files/src/public/stylesheets/users.css +48 -48
  18. package/lib/project-files/src/repos/MockOrm.ts +62 -62
  19. package/lib/project-files/src/repos/database.json +1 -1
  20. package/lib/project-files/src/repos/database.test.json +1 -1
  21. package/lib/project-files/src/routes/common/types/index.ts +11 -11
  22. package/lib/project-files/src/routes/common/util/index.ts +18 -18
  23. package/lib/project-files/src/routes/index.ts +33 -33
  24. package/lib/project-files/src/services/UserService.ts +73 -73
  25. package/lib/project-files/src/views/users.html +132 -132
  26. package/lib/project-files/tests/common/Paths.ts +5 -5
  27. package/lib/project-files/tests/common/types/index.ts +16 -16
  28. package/lib/project-files/tests/common/util/index.ts +38 -38
  29. package/lib/project-files/tests/support/setup.ts +26 -26
  30. package/lib/project-files/tsconfig.prod.json +30 -30
  31. package/lib/project-files/vitest.config.mts +18 -18
  32. package/package.json +1 -1
  33. package/README-git +0 -95
@@ -1,21 +1,21 @@
1
- import jetEnv, { num } from 'jet-env';
2
- import { isEnumVal } from 'jet-validators';
3
-
4
- import { NodeEnvs } from '.';
5
-
6
-
7
- /******************************************************************************
8
- Setup
9
- ******************************************************************************/
10
-
11
- const ENV = jetEnv({
12
- NodeEnv: isEnumVal(NodeEnvs),
13
- Port: num,
14
- });
15
-
16
-
17
- /******************************************************************************
18
- Export default
19
- ******************************************************************************/
20
-
21
- export default ENV;
1
+ import jetEnv, { num } from 'jet-env';
2
+ import { isEnumVal } from 'jet-validators';
3
+
4
+ import { NodeEnvs } from '.';
5
+
6
+
7
+ /******************************************************************************
8
+ Setup
9
+ ******************************************************************************/
10
+
11
+ const ENV = jetEnv({
12
+ NodeEnv: isEnumVal(NodeEnvs),
13
+ Port: num,
14
+ });
15
+
16
+
17
+ /******************************************************************************
18
+ Export default
19
+ ******************************************************************************/
20
+
21
+ export default ENV;