sn-typescript-util 1.5.9 → 1.5.10

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 CHANGED
@@ -107,7 +107,7 @@ function getConstants() {
107
107
  Constants['errorMsg'] =
108
108
  'No active application detected. Please create a project with the ServiceNow Extension for VS Code.';
109
109
  Constants['docsUrl'] =
110
- 'https://docs.servicenow.com/bundle/washingtondc-application-development/page/build/applications/task/create-project.html';
110
+ 'https://www.servicenow.com/docs/bundle/yokohama-application-development/page/build/applications/task/create-project.html';
111
111
  Constants['buildOption'] =
112
112
  'Build project utility files & package dependencies';
113
113
  Constants['compileOption'] =
package/bun.lock CHANGED
@@ -7,7 +7,7 @@
7
7
  "@clack/prompts": "^0.10.1",
8
8
  "colorette": "^2.0.20",
9
9
  "commander": "^13.1.0",
10
- "execa": "^9.5.2",
10
+ "execa": "^9.5.3",
11
11
  "typescript": "^5.8.3",
12
12
  },
13
13
  "devDependencies": {
@@ -185,7 +185,7 @@
185
185
 
186
186
  "eventsource-parser": ["eventsource-parser@3.0.1", "", {}, "sha512-VARTJ9CYeuQYb0pZEPbzi740OWFgpHe7AYJ2WFZVnUDUQp5Dk2yJUgF36YsZ81cOyxT0QxmXD2EQpapAouzWVA=="],
187
187
 
188
- "execa": ["execa@9.5.2", "", { "dependencies": { "@sindresorhus/merge-streams": "^4.0.0", "cross-spawn": "^7.0.3", "figures": "^6.1.0", "get-stream": "^9.0.0", "human-signals": "^8.0.0", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^6.0.0", "pretty-ms": "^9.0.0", "signal-exit": "^4.1.0", "strip-final-newline": "^4.0.0", "yoctocolors": "^2.0.0" } }, "sha512-EHlpxMCpHWSAh1dgS6bVeoLAXGnJNdR93aabr4QCGbzOM73o5XmRfM/e5FUqsw3aagP8S8XEWUWFAxnRBnAF0Q=="],
188
+ "execa": ["execa@9.5.3", "", { "dependencies": { "@sindresorhus/merge-streams": "^4.0.0", "cross-spawn": "^7.0.3", "figures": "^6.1.0", "get-stream": "^9.0.0", "human-signals": "^8.0.0", "is-plain-obj": "^4.1.0", "is-stream": "^4.0.1", "npm-run-path": "^6.0.0", "pretty-ms": "^9.0.0", "signal-exit": "^4.1.0", "strip-final-newline": "^4.0.0", "yoctocolors": "^2.0.0" } }, "sha512-QFNnTvU3UjgWFy8Ef9iDHvIdcgZ344ebkwYx4/KLbR+CKQA4xBaHzv+iRpp86QfMHP8faFQLh8iOc57215y4Rg=="],
189
189
 
190
190
  "express": ["express@5.1.0", "", { "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.0", "content-disposition": "^1.0.0", "content-type": "^1.0.5", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "finalhandler": "^2.1.0", "fresh": "^2.0.0", "http-errors": "^2.0.0", "merge-descriptors": "^2.0.0", "mime-types": "^3.0.0", "on-finished": "^2.4.1", "once": "^1.4.0", "parseurl": "^1.3.3", "proxy-addr": "^2.0.7", "qs": "^6.14.0", "range-parser": "^1.2.1", "router": "^2.2.0", "send": "^1.1.0", "serve-static": "^2.2.0", "statuses": "^2.0.1", "type-is": "^2.0.1", "vary": "^1.1.2" } }, "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA=="],
191
191
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sn-typescript-util",
3
- "version": "1.5.9",
3
+ "version": "1.5.10",
4
4
  "description": "A TypeScript utility for ServiceNow developers using VS Code",
5
5
  "bin": {
6
6
  "snts": "bin/snts.js"
@@ -27,7 +27,7 @@
27
27
  "@clack/prompts": "^0.10.1",
28
28
  "colorette": "^2.0.20",
29
29
  "commander": "^13.1.0",
30
- "execa": "^9.5.2",
30
+ "execa": "^9.5.3",
31
31
  "typescript": "^5.8.3"
32
32
  },
33
33
  "devDependencies": {
@@ -3,8 +3,8 @@ import path from 'path';
3
3
  import { readFileSync } from 'fs';
4
4
  import { fileURLToPath } from 'url';
5
5
  import { cancel, confirm, intro, outro, select, spinner } from '@clack/prompts';
6
- import { Version, VersionType } from '../src/types/version.js';
7
- import { Metadata } from '../src/types/metadata.js';
6
+ import type { Version, VersionType } from '../src/types/version.js';
7
+ import type { Metadata } from '../src/types/metadata.js';
8
8
 
9
9
  async function bumpVersion(releaseType: VersionType) {
10
10
  return await $`npm version ${releaseType} --no-git-tag-version`;
package/src/snts.ts CHANGED
@@ -8,9 +8,9 @@ import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs';
8
8
  import { fileURLToPath } from 'url';
9
9
  import { bold, cyan, gray, green, magenta, red } from 'colorette';
10
10
  import { confirm, intro, outro, select, spinner } from '@clack/prompts';
11
- import { Options } from './types/options.js';
12
- import { Workspace } from './types/workspace.js';
13
- import { ConfigTarget } from './types/config.js';
11
+ import type { Options } from './types/options.js';
12
+ import type { Workspace } from './types/workspace.js';
13
+ import type { ConfigTarget } from './types/config.js';
14
14
 
15
15
  async function addFile(
16
16
  sourcefile: string,
@@ -1,4 +1,4 @@
1
- import { Metadata } from './metadata.js';
1
+ import type { Metadata } from './metadata.js';
2
2
 
3
3
  export interface Workspace {
4
4
  readonly ALL_APPLICATIONS: {