@ikas/api-client 1.0.76 → 1.0.77
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/package.json +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/api-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.77",
|
|
4
4
|
"description": "ikas public node api client for store apps and private apps",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build:dev": "graphql-codegen --config codegen/admin_dev.yml && npx tsc",
|
|
44
44
|
"build:prod": "graphql-codegen --config codegen/admin_prod.yml && npx tsc",
|
|
45
|
-
"version:patch": "
|
|
46
|
-
"version:alpha": "
|
|
45
|
+
"version:patch": "pnpm build:prod && npm --no-git-tag-version version patch && git add package.json src/api/admin/generated/*",
|
|
46
|
+
"version:alpha": "pnpm build:dev && npm --no-git-tag-version version prerelease --preid=alpha && git add package.json src/api/admin/generated/*",
|
|
47
47
|
"codegen": "graphql-codegen --config codegen-dynamic/codegen.ts"
|
|
48
48
|
},
|
|
49
49
|
"husky": {
|
|
50
50
|
"hooks": {
|
|
51
|
-
"pre-commit": "git-branch-is main && (
|
|
51
|
+
"pre-commit": "git-branch-is main && (pnpm version:patch) || (git-branch-is development && pnpm version:alpha) || true"
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"prettier": {
|