@diia-inhouse/scaffold 2.53.13 → 2.54.1
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.
- package/dist/_sharedTemplates/actionTest.t +5 -5
- package/dist/_templates/add/action/01-action.ts.t +5 -5
- package/dist/_templates/add/action/01-interface.ts.t +1 -2
- package/dist/_templates/add/action/02-scriptRunner.t +2 -2
- package/dist/_templates/add/eventListener/01-event.ts.t +3 -3
- package/dist/_templates/add/eventListener/02-scriptRunner.ts.t +2 -2
- package/dist/_templates/add/externalEventListener/01-event.ts.t +1 -1
- package/dist/_templates/add/externalEventListener/02-scriptRunner.t +2 -2
- package/dist/_templates/add/model/01-model.ts.t +2 -2
- package/dist/_templates/add/model/02-scriptRunner.ts.t +2 -2
- package/dist/_templates/add/scheduledTask/02-scriptRunner.t +2 -2
- package/dist/_templates/add/task/01-task.ts.t +11 -11
- package/dist/_templates/add/task/02-scriptRunner.t +1 -3
- package/dist/_templates/add/test/02-scriptRunner.ts.t +2 -2
- package/dist/_templates/add/view/01-index.ts.t +2 -2
- package/dist/_templates/add/view/01-view.ts.t +1 -1
- package/dist/_templates/add/view/02-scriptRunner.t +2 -2
- package/dist/_templates/init/admin/01-adminExecuteCustom.ts.t +3 -2
- package/dist/_templates/init/admin/01-adminExecuteCustomInterface.ts.t +1 -1
- package/dist/_templates/init/admin/01-adminExecuteQuery.ts.t +2 -2
- package/dist/_templates/init/admin/01-adminExecuteQueryInterface.ts.t +1 -1
- package/dist/_templates/init/admin/01-adminGetMetaInterface.ts.t +2 -1
- package/dist/_templates/init/admin/01-adminService.ts.t +1 -1
- package/dist/_templates/init/admin/02-scriptRunner.ts.t +2 -2
- package/dist/_templates/init/matchers/01-index.ts.t +1 -1
- package/dist/_templates/init/matchers/01-inject-setup.ts.t +1 -2
- package/dist/_templates/init/matchers/01-new-setup.ts.t +1 -2
- package/dist/_templates/init/matchers/02-scriptRunner.ts.t +2 -2
- package/dist/_templates/init/package/01-oxfmt.config.ts.t +7 -0
- package/dist/_templates/init/package/01-oxlint.config.ts.t +13 -0
- package/dist/_templates/init/package/01-package.json.t +42 -33
- package/dist/_templates/init/package/01-test.tsconfig.json.t +4 -6
- package/dist/_templates/init/package/01-test.unit.index.ts.t +7 -7
- package/dist/_templates/init/package/01-tsconfig.json.t +3 -7
- package/dist/_templates/init/package/01-tsdown.config.ts.t +18 -0
- package/dist/_templates/init/package/01-vitest.config.mts.t +9 -2
- package/dist/_templates/init/package/prompt.js +1 -1
- package/dist/_templates/init/package/prompt.js.map +1 -1
- package/dist/_templates/init/service/01-.gitignore.t +1 -0
- package/dist/_templates/init/service/01-.gitlab-ci.yml.t +4 -0
- package/dist/_templates/init/service/01-migrate-mongo-config.ts.t +4 -2
- package/dist/_templates/init/service/01-migrations.sample-migration.ts.t +8 -9
- package/dist/_templates/init/service/01-migrations.tsconfig.json.t +7 -12
- package/dist/_templates/init/service/01-oxfmt.config.ts.t +10 -0
- package/dist/_templates/init/service/01-oxlint.config.ts.t +24 -0
- package/dist/_templates/init/service/01-package.json.t +7 -17
- package/dist/_templates/init/service/01-src.actions.v1.getAddResult.ts.t +9 -6
- package/dist/_templates/init/service/01-src.bootstrap.ts.t +6 -6
- package/dist/_templates/init/service/01-src.configs.config.ts.t +2 -2
- package/dist/_templates/init/service/01-src.configs.queue.ts.t +1 -1
- package/dist/_templates/init/service/01-src.deps.ts.t +5 -6
- package/dist/_templates/init/service/01-src.index.ts.t +4 -3
- package/dist/_templates/init/service/01-src.interfaces.actions.v1.getAddResult.ts.t +1 -1
- package/dist/_templates/init/service/01-src.interfaces.config.ts.t +1 -1
- package/dist/_templates/init/service/01-src.interfaces.deps.ts.t +1 -1
- package/dist/_templates/init/service/01-src.views.exampleViews.index.ts.t +2 -2
- package/dist/_templates/init/service/01-src.views.exampleViews.view.ts.t +2 -2
- package/dist/_templates/init/service/01-tests.integration.actionts.getAddResult.spec.ts.t +7 -7
- package/dist/_templates/init/service/01-tests.interfaces.ts.t +1 -1
- package/dist/_templates/init/service/01-tests.tsconfig.json.t +10 -9
- package/dist/_templates/init/service/01-tests.utils.getApp.ts.t +7 -7
- package/dist/_templates/init/service/01-tests.utils.getDeps.ts.t +4 -4
- package/dist/_templates/init/service/01-tsconfig.json.t +19 -9
- package/dist/_templates/init/service/01-vitest.config.mts.t +4 -4
- package/dist/_templates/init/service/prompt.js +1 -1
- package/dist/_templates/init/service/prompt.js.map +1 -1
- package/dist/_templates/init/temporal/01-worker.activity.index.ts.t +1 -1
- package/dist/_templates/init/temporal/01-worker.index.ts.t +4 -4
- package/dist/_templates/init/temporal/01-worker.workflow.index.ts.t +1 -1
- package/dist/_templates/init/temporal/01-worker.workflow.workflow-example.ts.t +1 -1
- package/dist/_templates/init/temporal/02-scriptRunner.ts.t +2 -2
- package/dist/depsNames.js +16 -10
- package/dist/depsNames.js.map +1 -1
- package/package.json +2 -2
- package/dist/_templates/init/package/01-.prettierignore.t +0 -5
- package/dist/_templates/init/package/01-eslint.config.mjs.t +0 -22
- package/dist/_templates/init/service/01-.prettierignore.t +0 -7
- package/dist/_templates/init/service/01-eslint.config.mjs.t +0 -22
package/dist/depsNames.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depsNames.js","sourceRoot":"","sources":["../src/depsNames.ts"],"names":[],"mappings":";;;AAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"depsNames.js","sourceRoot":"","sources":["../src/depsNames.ts"],"names":[],"mappings":";;;AAAA,MAAM,aAAa,GAAG;IAClB,uBAAuB;IACvB,0BAA0B;IAC1B,oBAAoB;IACpB,qBAAqB;IACrB,YAAY;IACZ,eAAe;IACf,OAAO;IACP,OAAO;IACP,QAAQ;IACR,iBAAiB;IACjB,QAAQ;IACR,kBAAkB;IAClB,YAAY;IACZ,QAAQ;IACR,sBAAsB;CAChB,CAAA;AAEV,MAAM,cAAc,GAAG,CAAC,GAAG,aAAa,EAAE,QAAQ,EAAE,qBAAqB,CAAU,CAAA;AAEnF,MAAM,cAAc,GAAG;IACnB,GAAG,aAAa;IAChB,eAAe;IACf,wBAAwB;IACxB,wBAAwB;IACxB,UAAU;IACV,WAAW;IACX,KAAK;CACC,CAAA;AAEG,QAAA,mBAAmB,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,CAAA;AAEjD,QAAA,WAAW,GAAG;IACvB,sBAAsB;IACtB,kBAAkB;IAClB,6BAA6B;IAC7B,wBAAwB;IACxB,2BAA2B;IAC3B,0BAA0B;IAC1B,4BAA4B;IAC5B,mBAAmB;IACnB,sBAAsB;IACtB,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.
|
|
3
|
+
"version": "2.54.1",
|
|
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.
|
|
27
|
+
"@diia-inhouse/types": "13.1.3",
|
|
28
28
|
"chalk": "4.1.2",
|
|
29
29
|
"enquirer": "2.4.1",
|
|
30
30
|
"execa": "5.1.1",
|
|
@@ -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,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
|
-
]
|