sn-typescript-util 1.2.6 → 1.2.8

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/.eslintignore ADDED
@@ -0,0 +1 @@
1
+ node_modules
package/.prettierrc.yml CHANGED
@@ -1,3 +1,4 @@
1
1
  singleQuote: true
2
2
  tabWidth: 2
3
3
  trailingComma: 'none'
4
+ useTabs: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sn-typescript-util",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "A TypeScript utility for ServiceNow developers using VS Code",
5
5
  "bin": {
6
6
  "snts": "bin/snts.js"
@@ -18,24 +18,25 @@
18
18
  },
19
19
  "scripts": {
20
20
  "format": "prettier --write ./bin/*.js ./scripts/*.ts",
21
+ "lint": "eslint .",
21
22
  "release": "./scripts/release.sh",
22
23
  "watch": "tsc --watch"
23
24
  },
24
25
  "type": "module",
25
26
  "dependencies": {
26
27
  "@clack/prompts": "^0.7.0",
27
- "@types/node": "^20.5.9",
28
- "@types/servicenow": "^10.0.1",
28
+ "@types/node": "^20.7.1",
29
+ "@types/servicenow": "^10.0.2",
29
30
  "colorette": "^2.0.20",
30
31
  "commander": "^11.0.0",
31
32
  "nodemon": "^3.0.1",
32
33
  "npm-add-script": "^1.1.0",
33
- "prettier": "^3.0.3",
34
34
  "typescript": "^5.2.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@typescript-eslint/eslint-plugin": "^6.5.0",
37
+ "@typescript-eslint/eslint-plugin": "^6.7.3",
38
38
  "@typescript-eslint/parser": "^6.5.0",
39
- "eslint": "^8.48.0"
39
+ "eslint": "^8.50.0",
40
+ "prettier": "^3.0.3"
40
41
  }
41
42
  }
package/scripts/build.rb CHANGED
@@ -64,7 +64,6 @@ module ServiceNow
64
64
 
65
65
  def transpile
66
66
  %x( tsc )
67
- %x( prettier --write "#{@out_dir}/**/*.js" )
68
67
  %x( rsync -au --exclude="Interfaces" "#{@out_dir}/" "#{@app}/src" )
69
68
  end
70
69
  end
@@ -3,7 +3,6 @@
3
3
  readonly packages=(
4
4
  'nodemon'
5
5
  'npm-add-script'
6
- 'prettier'
7
6
  'typescript'
8
7
  )
9
8
 
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "singleQuote": true,
3
3
  "tabWidth": 2,
4
- "trailingComma": "none"
4
+ "trailingComma": "none",
5
+ "useTabs": false
5
6
  }