sn-typescript-util 1.3.15 → 1.3.16
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/bun.lockb +0 -0
- package/package.json +2 -2
- package/scripts/utils/release.ts +2 -2
package/bun.lockb
CHANGED
|
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.16",
|
|
4
4
|
"description": "A TypeScript utility for ServiceNow developers using VS Code",
|
|
5
5
|
"bin": {
|
|
6
6
|
"snts": "bin/snts.js"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@types/commander": "^2.12.2",
|
|
35
35
|
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
36
36
|
"@typescript-eslint/parser": "^6.19.0",
|
|
37
|
-
"bun-types": "^1.0.
|
|
37
|
+
"bun-types": "^1.0.24",
|
|
38
38
|
"eslint": "^8.56.0",
|
|
39
39
|
"prettier": "^3.2.2"
|
|
40
40
|
}
|
package/scripts/utils/release.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ } from '
|
|
1
|
+
import { $ } from 'bun';
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import { readFileSync } from 'fs';
|
|
4
4
|
import { fileURLToPath } from 'url';
|
|
@@ -28,7 +28,7 @@ async function doGitOperation(version: string) {
|
|
|
28
28
|
await $`git push origin ${version}`;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
async function doOperation(shouldContinue, version: string) {
|
|
31
|
+
async function doOperation(shouldContinue: boolean | symbol, version: string) {
|
|
32
32
|
if (shouldContinue) {
|
|
33
33
|
const s = spinner();
|
|
34
34
|
s.start('Start release');
|