@diia-inhouse/scaffold 2.53.12 → 2.54.0

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 (78) hide show
  1. package/dist/_sharedTemplates/actionTest.t +5 -5
  2. package/dist/_templates/add/action/01-action.ts.t +5 -5
  3. package/dist/_templates/add/action/01-interface.ts.t +1 -2
  4. package/dist/_templates/add/action/02-scriptRunner.t +2 -2
  5. package/dist/_templates/add/eventListener/01-event.ts.t +3 -3
  6. package/dist/_templates/add/eventListener/02-scriptRunner.ts.t +2 -2
  7. package/dist/_templates/add/externalEventListener/01-event.ts.t +1 -1
  8. package/dist/_templates/add/externalEventListener/02-scriptRunner.t +2 -2
  9. package/dist/_templates/add/model/01-model.ts.t +2 -2
  10. package/dist/_templates/add/model/02-scriptRunner.ts.t +2 -2
  11. package/dist/_templates/add/scheduledTask/02-scriptRunner.t +2 -2
  12. package/dist/_templates/add/task/01-task.ts.t +11 -11
  13. package/dist/_templates/add/task/02-scriptRunner.t +1 -3
  14. package/dist/_templates/add/test/02-scriptRunner.ts.t +2 -2
  15. package/dist/_templates/add/view/01-index.ts.t +2 -2
  16. package/dist/_templates/add/view/01-view.ts.t +1 -1
  17. package/dist/_templates/add/view/02-scriptRunner.t +2 -2
  18. package/dist/_templates/init/admin/01-adminExecuteCustom.ts.t +3 -2
  19. package/dist/_templates/init/admin/01-adminExecuteCustomInterface.ts.t +1 -1
  20. package/dist/_templates/init/admin/01-adminExecuteQuery.ts.t +2 -2
  21. package/dist/_templates/init/admin/01-adminExecuteQueryInterface.ts.t +1 -1
  22. package/dist/_templates/init/admin/01-adminGetMetaInterface.ts.t +2 -1
  23. package/dist/_templates/init/admin/01-adminService.ts.t +1 -1
  24. package/dist/_templates/init/admin/02-scriptRunner.ts.t +2 -2
  25. package/dist/_templates/init/matchers/01-index.ts.t +1 -1
  26. package/dist/_templates/init/matchers/01-inject-setup.ts.t +1 -2
  27. package/dist/_templates/init/matchers/01-new-setup.ts.t +1 -2
  28. package/dist/_templates/init/matchers/02-scriptRunner.ts.t +2 -2
  29. package/dist/_templates/init/package/01-oxfmt.config.ts.t +7 -0
  30. package/dist/_templates/init/package/01-oxlint.config.ts.t +13 -0
  31. package/dist/_templates/init/package/01-package.json.t +42 -33
  32. package/dist/_templates/init/package/01-test.tsconfig.json.t +4 -6
  33. package/dist/_templates/init/package/01-test.unit.index.ts.t +7 -7
  34. package/dist/_templates/init/package/01-tsconfig.json.t +3 -7
  35. package/dist/_templates/init/package/01-tsdown.config.ts.t +18 -0
  36. package/dist/_templates/init/package/01-vitest.config.mts.t +9 -2
  37. package/dist/_templates/init/package/prompt.js +1 -1
  38. package/dist/_templates/init/package/prompt.js.map +1 -1
  39. package/dist/_templates/init/service/01-.gitignore.t +1 -0
  40. package/dist/_templates/init/service/01-.gitlab-ci.yml.t +4 -0
  41. package/dist/_templates/init/service/01-migrate-mongo-config.ts.t +4 -2
  42. package/dist/_templates/init/service/01-migrations.sample-migration.ts.t +8 -9
  43. package/dist/_templates/init/service/01-migrations.tsconfig.json.t +7 -12
  44. package/dist/_templates/init/service/01-oxfmt.config.ts.t +10 -0
  45. package/dist/_templates/init/service/01-oxlint.config.ts.t +24 -0
  46. package/dist/_templates/init/service/01-package.json.t +7 -17
  47. package/dist/_templates/init/service/01-src.actions.v1.getAddResult.ts.t +9 -6
  48. package/dist/_templates/init/service/01-src.bootstrap.ts.t +6 -6
  49. package/dist/_templates/init/service/01-src.configs.config.ts.t +2 -2
  50. package/dist/_templates/init/service/01-src.configs.queue.ts.t +1 -1
  51. package/dist/_templates/init/service/01-src.deps.ts.t +5 -6
  52. package/dist/_templates/init/service/01-src.index.ts.t +4 -3
  53. package/dist/_templates/init/service/01-src.interfaces.actions.v1.getAddResult.ts.t +1 -1
  54. package/dist/_templates/init/service/01-src.interfaces.config.ts.t +1 -1
  55. package/dist/_templates/init/service/01-src.interfaces.deps.ts.t +1 -1
  56. package/dist/_templates/init/service/01-src.views.exampleViews.index.ts.t +2 -2
  57. package/dist/_templates/init/service/01-src.views.exampleViews.view.ts.t +2 -2
  58. package/dist/_templates/init/service/01-tests.integration.actionts.getAddResult.spec.ts.t +7 -7
  59. package/dist/_templates/init/service/01-tests.interfaces.ts.t +1 -1
  60. package/dist/_templates/init/service/01-tests.tsconfig.json.t +10 -9
  61. package/dist/_templates/init/service/01-tests.utils.getApp.ts.t +7 -7
  62. package/dist/_templates/init/service/01-tests.utils.getDeps.ts.t +4 -4
  63. package/dist/_templates/init/service/01-tsconfig.json.t +19 -9
  64. package/dist/_templates/init/service/01-vitest.config.mts.t +4 -4
  65. package/dist/_templates/init/service/prompt.js +1 -1
  66. package/dist/_templates/init/service/prompt.js.map +1 -1
  67. package/dist/_templates/init/temporal/01-worker.activity.index.ts.t +1 -1
  68. package/dist/_templates/init/temporal/01-worker.index.ts.t +4 -4
  69. package/dist/_templates/init/temporal/01-worker.workflow.index.ts.t +1 -1
  70. package/dist/_templates/init/temporal/01-worker.workflow.workflow-example.ts.t +1 -1
  71. package/dist/_templates/init/temporal/02-scriptRunner.ts.t +2 -2
  72. package/dist/depsNames.js +16 -10
  73. package/dist/depsNames.js.map +1 -1
  74. package/package.json +2 -2
  75. package/dist/_templates/init/package/01-.prettierignore.t +0 -5
  76. package/dist/_templates/init/package/01-eslint.config.mjs.t +0 -22
  77. package/dist/_templates/init/service/01-.prettierignore.t +0 -7
  78. package/dist/_templates/init/service/01-eslint.config.mjs.t +0 -22
@@ -1 +1 @@
1
- {"version":3,"file":"depsNames.js","sourceRoot":"","sources":["../src/depsNames.ts"],"names":[],"mappings":";;;AAAA,MAAM,cAAc,GAAG;IACnB,uBAAuB;IACvB,6BAA6B;IAC7B,oBAAoB;IACpB,wBAAwB;IACxB,qBAAqB;IACrB,YAAY;IACZ,QAAQ;IACR,eAAe;IACf,OAAO;IACP,UAAU;IACV,QAAQ;IACR,kBAAkB;IAClB,SAAS;IACT,UAAU;IACV,YAAY;IACZ,qBAAqB;IACrB,QAAQ;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2BAA2B;IAC3B,qBAAqB;IACrB,qBAAqB;IACrB,qBAAqB;IACrB,0BAA0B;IAC1B,eAAe;CACT,CAAA;AAIG,QAAA,mBAAmB,GAAG;IAC/B,OAAO,EAAE,cAAc;IACvB,IAAI,EAAE,mBAAW;CACpB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diia-inhouse/scaffold",
3
- "version": "2.53.12",
3
+ "version": "2.54.0",
4
4
  "main": "dist/index.js",
5
5
  "engines": {
6
6
  "node": ">=22"
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "author": "Diia",
26
26
  "dependencies": {
27
- "@diia-inhouse/types": "13.1.1",
27
+ "@diia-inhouse/types": "13.1.2",
28
28
  "chalk": "4.1.2",
29
29
  "enquirer": "2.4.1",
30
30
  "execa": "5.1.1",
@@ -1,5 +0,0 @@
1
- ---
2
- to: <%= packageName %>/.prettierignore
3
- ---
4
-
5
- dist
@@ -1,22 +0,0 @@
1
- ---
2
- to: <%= packageName %>/eslint.config.mjs
3
- ---
4
-
5
- import diiaConfig from '@diia-inhouse/eslint-config'
6
-
7
- /** @type {import('eslint').Linter.Config} */
8
- export default [
9
- ...diiaConfig,
10
- {
11
- ignores: ['*.js', '*.mjs', 'node_modules', 'dist', 'coverage'],
12
- },
13
- {
14
- languageOptions: {
15
- parserOptions: {
16
- project: ['./tsconfig.json', './tests/tsconfig.json'],
17
- ecmaVersion: 2022,
18
- sourceType: `module`,
19
- },
20
- },
21
- },
22
- ]
@@ -1,7 +0,0 @@
1
- ---
2
- to: <%= serviceName %>/.prettierignore
3
- ---
4
-
5
- dist
6
- src/generated
7
- src/index.ts
@@ -1,22 +0,0 @@
1
- ---
2
- to: <%= serviceName %>/eslint.config.mjs
3
- ---
4
-
5
- import diiaConfig, { serviceBoundariesConfig } from '@diia-inhouse/eslint-config'
6
-
7
- /** @type {import('eslint').Linter.Config} */
8
- export default [
9
- ...diiaConfig,
10
- ...serviceBoundariesConfig,
11
- {
12
- ignores: [
13
- '*.js',
14
- '*.mjs',
15
- 'node_modules',
16
- 'dist',
17
- 'coverage',
18
- 'migrate-mongo-config.ts',
19
- 'src/generated/**',
20
- ],
21
- },
22
- ]