automation-lib 5.6.6 → 5.6.7
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/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
- package/hs-commit.bat +0 -51
package/dist/index.d.mts
CHANGED
|
@@ -101,8 +101,7 @@ declare const CONST_API_CONTROLLERS: {
|
|
|
101
101
|
TASKS_MANUAL_CONTENT_THREADS_CHILDREN: string;
|
|
102
102
|
TASKS_MANUAL_CONTENT_THREADS_CHILDREN_ITEM_POST: string;
|
|
103
103
|
TASKS_MANUAL_CONTENT_THREADS_RUNTIME: string;
|
|
104
|
-
|
|
105
|
-
PC_BROWSER: string;
|
|
104
|
+
PC: string;
|
|
106
105
|
PATTERN_CANVA_AVATAR: string;
|
|
107
106
|
PATTERN_CANVA_COVER_BACKGROUND: string;
|
|
108
107
|
ACCOUNTS_VPN: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -101,8 +101,7 @@ declare const CONST_API_CONTROLLERS: {
|
|
|
101
101
|
TASKS_MANUAL_CONTENT_THREADS_CHILDREN: string;
|
|
102
102
|
TASKS_MANUAL_CONTENT_THREADS_CHILDREN_ITEM_POST: string;
|
|
103
103
|
TASKS_MANUAL_CONTENT_THREADS_RUNTIME: string;
|
|
104
|
-
|
|
105
|
-
PC_BROWSER: string;
|
|
104
|
+
PC: string;
|
|
106
105
|
PATTERN_CANVA_AVATAR: string;
|
|
107
106
|
PATTERN_CANVA_COVER_BACKGROUND: string;
|
|
108
107
|
ACCOUNTS_VPN: string;
|
package/dist/index.js
CHANGED
|
@@ -319,8 +319,7 @@ var CONST_API_CONTROLLERS = {
|
|
|
319
319
|
TASKS_MANUAL_CONTENT_THREADS_CHILDREN: "tasks-manual-content-threads-children",
|
|
320
320
|
TASKS_MANUAL_CONTENT_THREADS_CHILDREN_ITEM_POST: "tasks-manual-content-threads-children-item-post",
|
|
321
321
|
TASKS_MANUAL_CONTENT_THREADS_RUNTIME: "tasks-manual-content-threads-runtime",
|
|
322
|
-
|
|
323
|
-
PC_BROWSER: "pc-browser",
|
|
322
|
+
PC: "pc",
|
|
324
323
|
PATTERN_CANVA_AVATAR: "pattern-canva-avatar",
|
|
325
324
|
PATTERN_CANVA_COVER_BACKGROUND: "pattern-canva-cover-background",
|
|
326
325
|
ACCOUNTS_VPN: "accounts-vpn",
|
package/dist/index.mjs
CHANGED
|
@@ -127,8 +127,7 @@ var CONST_API_CONTROLLERS = {
|
|
|
127
127
|
TASKS_MANUAL_CONTENT_THREADS_CHILDREN: "tasks-manual-content-threads-children",
|
|
128
128
|
TASKS_MANUAL_CONTENT_THREADS_CHILDREN_ITEM_POST: "tasks-manual-content-threads-children-item-post",
|
|
129
129
|
TASKS_MANUAL_CONTENT_THREADS_RUNTIME: "tasks-manual-content-threads-runtime",
|
|
130
|
-
|
|
131
|
-
PC_BROWSER: "pc-browser",
|
|
130
|
+
PC: "pc",
|
|
132
131
|
PATTERN_CANVA_AVATAR: "pattern-canva-avatar",
|
|
133
132
|
PATTERN_CANVA_COVER_BACKGROUND: "pattern-canva-cover-background",
|
|
134
133
|
ACCOUNTS_VPN: "accounts-vpn",
|
package/package.json
CHANGED
package/hs-commit.bat
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
@echo off
|
|
2
|
-
|
|
3
|
-
:: Add all changes to git
|
|
4
|
-
git add .
|
|
5
|
-
|
|
6
|
-
:: Commit changes with a message
|
|
7
|
-
echo Committing changes...
|
|
8
|
-
set /p commit_message="Enter commit message: "
|
|
9
|
-
git commit -m "%commit_message%"
|
|
10
|
-
sleep 2
|
|
11
|
-
|
|
12
|
-
:: Push changes to the 'main' branch of the 'cp' remote
|
|
13
|
-
git pull hs main
|
|
14
|
-
|
|
15
|
-
:: Read the current version from package.json
|
|
16
|
-
for /f "tokens=2 delims=:, " %%i in ('findstr "version" package.json') do set currentVersion=%%i
|
|
17
|
-
|
|
18
|
-
:: Remove quotes from the version string
|
|
19
|
-
set currentVersion=%currentVersion:"=%
|
|
20
|
-
|
|
21
|
-
:: Split version into its components
|
|
22
|
-
for /f "tokens=1,2,3 delims=." %%a in ("%currentVersion%") do (
|
|
23
|
-
set major=%%a
|
|
24
|
-
set minor=%%b
|
|
25
|
-
set patch=%%c
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
:: Increment the patch version
|
|
29
|
-
set /a patch+=1
|
|
30
|
-
|
|
31
|
-
:: Create the new version string
|
|
32
|
-
set newVersion=%major%.%minor%.%patch%
|
|
33
|
-
|
|
34
|
-
:: Update the version in package.json
|
|
35
|
-
powershell -Command "(Get-Content package.json) -replace '\"version\": \"%currentVersion%\"', '\"version\": \"%newVersion%\"' | Set-Content package.json"
|
|
36
|
-
|
|
37
|
-
:: Display the new version
|
|
38
|
-
echo New version: %newVersion%
|
|
39
|
-
|
|
40
|
-
:: Run npm publish using call
|
|
41
|
-
call npm run pub
|
|
42
|
-
|
|
43
|
-
git add .
|
|
44
|
-
sleep 1
|
|
45
|
-
git commit -m "%commit_message%"
|
|
46
|
-
sleep 2
|
|
47
|
-
|
|
48
|
-
git pull hs main
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|