@diia-inhouse/scaffold 2.60.0 → 2.60.2
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.
|
@@ -5,11 +5,17 @@ to: <%= packageName %>/package.json
|
|
|
5
5
|
{
|
|
6
6
|
"name": "@diia-inhouse/<%= packageName %>",
|
|
7
7
|
"version": "1.0.0",
|
|
8
|
-
"type": "module",
|
|
9
8
|
"description": "<%= description %>",
|
|
10
9
|
"author": "diia-team",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"type": "module",
|
|
11
14
|
"main": "dist/index.js",
|
|
12
15
|
"types": "dist/index.d.ts",
|
|
16
|
+
"imports": {
|
|
17
|
+
"#*": "./dist/*"
|
|
18
|
+
},
|
|
13
19
|
"exports": {
|
|
14
20
|
".": {
|
|
15
21
|
"types": "./dist/index.d.ts",
|
|
@@ -17,9 +23,6 @@ to: <%= packageName %>/package.json
|
|
|
17
23
|
},
|
|
18
24
|
"./package.json": "./package.json"
|
|
19
25
|
},
|
|
20
|
-
"engines": {
|
|
21
|
-
"node": ">=24"
|
|
22
|
-
},
|
|
23
26
|
"scripts": {
|
|
24
27
|
"prebuild": "rimraf dist",
|
|
25
28
|
"build": "tsdown",
|
|
@@ -33,18 +36,15 @@ to: <%= packageName %>/package.json
|
|
|
33
36
|
"find-circulars": "madge --circular --extensions ts ./",
|
|
34
37
|
"lint:lockfile": "lockfile-lint --path package-lock.json --allowed-hosts registry.npmjs.org gitlab.diia.org.ua --validate-https"
|
|
35
38
|
},
|
|
36
|
-
"files": ["dist"],
|
|
37
|
-
"imports": {
|
|
38
|
-
"#*": "./dist/*"
|
|
39
|
-
},
|
|
40
|
-
"keywords": [],
|
|
41
|
-
"devDependencies": {},
|
|
42
39
|
"commitlint": {
|
|
43
40
|
"extends": "@diia-inhouse/configs/dist/commitlint"
|
|
44
41
|
},
|
|
45
42
|
"release": {
|
|
46
43
|
"extends": "@diia-inhouse/configs/dist/semantic-release/package"
|
|
47
44
|
},
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=24"
|
|
47
|
+
},
|
|
48
48
|
"madge": {
|
|
49
49
|
"tsConfig": "./tsconfig.json"
|
|
50
50
|
}
|
|
@@ -5,13 +5,18 @@ to: <%= serviceName %>/package.json
|
|
|
5
5
|
{
|
|
6
6
|
"name": "<%= serviceName.replace(/-service$/, '') %>",
|
|
7
7
|
"version": "1.0.0",
|
|
8
|
-
"
|
|
8
|
+
"private": true,
|
|
9
9
|
"description": "<%= description %>",
|
|
10
10
|
"author": "diia-team",
|
|
11
|
+
"type": "module",
|
|
11
12
|
"main": "dist/index.js",
|
|
13
|
+
"imports": {
|
|
14
|
+
"#*": "./dist/*"
|
|
15
|
+
},
|
|
12
16
|
"scripts": {
|
|
13
17
|
"build": "rimraf dist && npm run genproto && tsc",
|
|
14
18
|
"start": "node dist/index.js",
|
|
19
|
+
"dev": "diia-dev",
|
|
15
20
|
"semantic-release": "semantic-release -e @diia-inhouse/configs/dist/semantic-release/service-stage --debug --ci",
|
|
16
21
|
"semantic-release-prod": "semantic-release -e @diia-inhouse/configs/dist/semantic-release/service-prod --debug --ci",
|
|
17
22
|
"lint": "oxlint && oxfmt --check . && diia-buf-lint",
|
|
@@ -20,29 +25,22 @@ to: <%= serviceName %>/package.json
|
|
|
20
25
|
"test": "npm run genproto && tsc --project tests/tsconfig.json --noEmit && vitest run",
|
|
21
26
|
"test:watch": "vitest watch",
|
|
22
27
|
"test:coverage": "vitest run --coverage",
|
|
23
|
-
<%if (h.isOptionSelected(selectedDependencies, 'database')) {%>
|
|
28
|
+
<%_ if (h.isOptionSelected(selectedDependencies, 'database')) { _%>
|
|
24
29
|
"migrate-test": "NODE_ENV=test npm run migrate up",
|
|
25
30
|
"migrate": "npm run indexes:sync && sh -c 'tsx --tsconfig migrations/tsconfig.json node_modules/.bin/migrate-mongo $0 $1 -f migrate-mongo-config.ts'",
|
|
26
31
|
"indexes:sync": "./node_modules/.bin/diia-db sync-indexes",
|
|
27
|
-
<%}%>
|
|
32
|
+
<%_ } _%>
|
|
28
33
|
"find-circulars": "madge --circular --extensions ts ./",
|
|
29
34
|
"scaffold": "scaffold",
|
|
30
35
|
"genproto": "buf generate",
|
|
31
36
|
"proto:breaking": "diia-buf-breaking"
|
|
32
37
|
},
|
|
33
|
-
"keywords": [],
|
|
34
|
-
"engines": {
|
|
35
|
-
"node": ">=24"
|
|
36
|
-
},
|
|
37
|
-
"files": [
|
|
38
|
-
"dist"
|
|
39
|
-
],
|
|
40
|
-
"imports": {
|
|
41
|
-
"#*": "./dist/*"
|
|
42
|
-
},
|
|
43
38
|
"commitlint": {
|
|
44
39
|
"extends": "@diia-inhouse/configs/dist/commitlint"
|
|
45
40
|
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=24"
|
|
43
|
+
},
|
|
46
44
|
"madge": {
|
|
47
45
|
"tsConfig": "./tsconfig.json"
|
|
48
46
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diia-inhouse/scaffold",
|
|
3
|
-
"version": "2.60.
|
|
3
|
+
"version": "2.60.2",
|
|
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": "14.5.
|
|
27
|
+
"@diia-inhouse/types": "14.5.2",
|
|
28
28
|
"chalk": "4.1.2",
|
|
29
29
|
"enquirer": "2.4.1",
|
|
30
30
|
"execa": "5.1.1",
|