sn-typescript-util 1.0.15 → 1.0.18
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/README.md +4 -0
- package/bin/snts.ts +1 -1
- package/package.json +10 -10
- package/scripts/build.rb +1 -1
package/README.md
CHANGED
|
@@ -57,6 +57,10 @@ After installation & setup, simply run the `watch` script to start looking for T
|
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
59
|
npm run watch
|
|
60
|
+
|
|
61
|
+
# or
|
|
62
|
+
|
|
63
|
+
yarn watch
|
|
60
64
|
```
|
|
61
65
|
|
|
62
66
|
Any JavaScript ES2015 (ES6) code added will get converted down to ES5 and moved to the `src` directory. Then changes are ready to sync with the target instance using the ServiceNow Extension for VS Code.
|
package/bin/snts.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sn-typescript-util",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "A TypeScript utility for ServiceNow developers using VS Code",
|
|
5
5
|
"bin": {
|
|
6
6
|
"snts": "bin/snts.ts"
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
"url": "https://github.com/stevengregory/sn-typescript-util.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@types/node": "^
|
|
20
|
+
"@types/node": "^18.7.16",
|
|
21
21
|
"@types/servicenow": "^10.0.1",
|
|
22
|
-
"cli-progress": "^3.
|
|
23
|
-
"colorette": "^2.0.
|
|
24
|
-
"colors": "
|
|
25
|
-
"commander": "^
|
|
26
|
-
"nodemon": "^2.0.
|
|
22
|
+
"cli-progress": "^3.11.2",
|
|
23
|
+
"colorette": "^2.0.19",
|
|
24
|
+
"colors": "1.4.0",
|
|
25
|
+
"commander": "^9.4.0",
|
|
26
|
+
"nodemon": "^2.0.19",
|
|
27
27
|
"npm-add-script": "^1.1.0",
|
|
28
|
-
"prettier": "^2.
|
|
29
|
-
"ts-node": "^10.
|
|
30
|
-
"typescript": "^4.
|
|
28
|
+
"prettier": "^2.7.1",
|
|
29
|
+
"ts-node": "^10.9.1",
|
|
30
|
+
"typescript": "^4.8.3"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/scripts/build.rb
CHANGED
|
@@ -65,7 +65,7 @@ module ServiceNow
|
|
|
65
65
|
def transpile
|
|
66
66
|
%x( tsc )
|
|
67
67
|
%x( prettier --write "#{@out_dir}/**/*.js" )
|
|
68
|
-
%x( rsync -
|
|
68
|
+
%x( rsync -au --exclude="Interfaces" "#{@out_dir}/" "#{@app}/src" )
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
end
|