@rip-lang/print 1.0.1 → 1.0.2
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/package.json +3 -3
- package/print.rip +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rip-lang/print",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Syntax-highlighted source code printer —
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Syntax-highlighted source code printer — highlight.js-powered, serves once, auto-opens browser",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "print.rip",
|
|
7
7
|
"bin": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"author": "Steve Shreeve <steve.shreeve@gmail.com>",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"rip-lang": "^3.
|
|
32
|
+
"rip-lang": "^3.9.1",
|
|
33
33
|
"highlight.js": "^11.11.1"
|
|
34
34
|
},
|
|
35
35
|
"files": [
|
package/print.rip
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# Author: Steve Shreeve (steve.shreeve@gmail.com)
|
|
5
5
|
# Date: Feb 9, 2026
|
|
6
6
|
#
|
|
7
|
-
# Highlights source code using
|
|
7
|
+
# Highlights source code using highlight.js (190+ languages) and serves
|
|
8
8
|
# the result in the browser for viewing and printing. Serves once and exits.
|
|
9
9
|
# ==============================================================================
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ hljs.registerLanguage 'rip', ripLanguage
|
|
|
24
24
|
args = process.argv.slice(2)
|
|
25
25
|
|
|
26
26
|
if args.includes('-v') or args.includes('--version')
|
|
27
|
-
console.log "rip-print 1.0.
|
|
27
|
+
console.log "rip-print 1.0.2"
|
|
28
28
|
process.exit(0)
|
|
29
29
|
|
|
30
30
|
if args.includes('-h') or args.includes('--help')
|