sn-typescript-util 1.3.0 → 1.3.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/bin/snts.js +1 -9
- package/bun.lockb +0 -0
- package/package.json +3 -3
- package/scripts/snts.ts +1 -10
- package/tsconfig.json +2 -1
- package/scripts/install.sh +0 -13
package/bin/snts.js
CHANGED
|
@@ -98,19 +98,11 @@ async function init() {
|
|
|
98
98
|
function introPrompt(msg) {
|
|
99
99
|
return intro(msg);
|
|
100
100
|
}
|
|
101
|
-
async function runInstall() {
|
|
102
|
-
const s = startPrompts('Installing packages', null);
|
|
103
|
-
return await execFile(getFilePath('install.sh'), (stdout) => {
|
|
104
|
-
stopPrompt(s, 'Packages installed');
|
|
105
|
-
outro('Completed');
|
|
106
|
-
return stdout;
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
101
|
async function runSync() {
|
|
110
102
|
const s = startPrompts('Syncing', null);
|
|
111
103
|
return await execFile(getFilePath('sync.sh'), (stdout) => {
|
|
112
104
|
stopPrompt(s, 'Sync completed');
|
|
113
|
-
|
|
105
|
+
outro('Completed');
|
|
114
106
|
return stdout;
|
|
115
107
|
});
|
|
116
108
|
}
|
package/bun.lockb
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sn-typescript-util",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "A TypeScript utility for ServiceNow developers using VS Code",
|
|
5
5
|
"bin": {
|
|
6
6
|
"snts": "bin/snts.js"
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"type": "module",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@clack/prompts": "^0.7.0",
|
|
28
|
-
"@types/node": "^20.7.1",
|
|
29
28
|
"@types/servicenow": "^10.0.2",
|
|
30
29
|
"colorette": "^2.0.20",
|
|
31
30
|
"commander": "^11.0.0",
|
|
@@ -35,7 +34,8 @@
|
|
|
35
34
|
"devDependencies": {
|
|
36
35
|
"@typescript-eslint/eslint-plugin": "^6.7.3",
|
|
37
36
|
"@typescript-eslint/parser": "^6.5.0",
|
|
38
|
-
"
|
|
37
|
+
"bun-types": "^1.0.5-canary.20231006T140143",
|
|
38
|
+
"eslint": "^8.51.0",
|
|
39
39
|
"prettier": "^3.0.3"
|
|
40
40
|
}
|
|
41
41
|
}
|
package/scripts/snts.ts
CHANGED
|
@@ -113,20 +113,11 @@ function introPrompt(msg: string) {
|
|
|
113
113
|
return intro(msg);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
async function runInstall() {
|
|
117
|
-
const s = startPrompts('Installing packages', null);
|
|
118
|
-
return await execFile(getFilePath('install.sh'), (stdout) => {
|
|
119
|
-
stopPrompt(s, 'Packages installed');
|
|
120
|
-
outro('Completed');
|
|
121
|
-
return stdout;
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
|
|
125
116
|
async function runSync() {
|
|
126
117
|
const s = startPrompts('Syncing', null);
|
|
127
118
|
return await execFile(getFilePath('sync.sh'), (stdout) => {
|
|
128
119
|
stopPrompt(s, 'Sync completed');
|
|
129
|
-
|
|
120
|
+
outro('Completed');
|
|
130
121
|
return stdout;
|
|
131
122
|
});
|
|
132
123
|
}
|
package/tsconfig.json
CHANGED