jekyll-vrml 2.2.4 → 2.2.6
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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/build/release.js +45 -0
- data/lib/jekyll-vrml/version.rb +1 -1
- data/lib/jekyll-vrml.rb +1 -1
- data/package-lock.json +118 -0
- data/package.json +7 -2
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e326971dab56308b57ca99aa8f77b296fc15ea8db72419853dd7b52ef70eec4f
|
|
4
|
+
data.tar.gz: 9c6f072f0ee16090b42d4b420411c10c9c611015c71f7a7faa91901899256b84
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b200cd45641fc278f845946e9b36e877f5e4417b922665cc82a8c44bd71392a6d8f4837e8705e1db123551691c9eb66f7d8d1bc3c5f4ccf0412d3e3f84f0a49d
|
|
7
|
+
data.tar.gz: d31570b5acb4ff7cf56fda4479ce519596355d403daa3a7a8644f50d551da143405994eb57728a31e7cc9d95d1207679e5917cb102aa18131cb146fabeb93d42
|
data/README.md
CHANGED
data/build/release.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
const { glob } = require ("glob");
|
|
5
|
+
const { sh, systemSync } = require ("shell-tools");
|
|
6
|
+
|
|
7
|
+
function main ()
|
|
8
|
+
{
|
|
9
|
+
// version
|
|
10
|
+
const
|
|
11
|
+
name = sh (`node -p "require('./package.json').name"`) .trim (),
|
|
12
|
+
file = glob .sync (`**/version.rb`) [0],
|
|
13
|
+
current = sh (`cat`, file) .match (/VERSION\s*=\s*"(.*?)"/) [1];
|
|
14
|
+
|
|
15
|
+
if (sh (`npm pkg get version | sed 's/"//g'`) .trim () === current)
|
|
16
|
+
systemSync (`npm version patch --no-git-tag-version --force`);
|
|
17
|
+
|
|
18
|
+
const
|
|
19
|
+
updated = sh (`npm pkg get version | sed 's/"//g'`) .trim (),
|
|
20
|
+
series = updated .replace (/\.[^\.]+$/, "");
|
|
21
|
+
|
|
22
|
+
systemSync (`sed -i "" -E "s|"${current}"|"${updated}"|g" ${file}`);
|
|
23
|
+
systemSync (`sed -i "" -E "s|'~> [0-9.]+'|'~> ${series}'|g" ./README.md`);
|
|
24
|
+
|
|
25
|
+
const version = sh (`npm pkg get version | sed 's/"//g'`) .trim ();
|
|
26
|
+
|
|
27
|
+
console .log (`Current version ${current}`);
|
|
28
|
+
console .log (`New version ${version}`);
|
|
29
|
+
|
|
30
|
+
// commit
|
|
31
|
+
systemSync (`git add -A`);
|
|
32
|
+
systemSync (`git commit -am 'Published version ${version}'`);
|
|
33
|
+
systemSync (`git push origin`);
|
|
34
|
+
systemSync (`npm run merge:development`);
|
|
35
|
+
|
|
36
|
+
// tag
|
|
37
|
+
systemSync (`git tag ${version}`);
|
|
38
|
+
systemSync (`git push origin --tags`);
|
|
39
|
+
|
|
40
|
+
// gem
|
|
41
|
+
systemSync (`npm run build`);
|
|
42
|
+
systemSync (`gem push ./*.gem`);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
main ();
|
data/lib/jekyll-vrml/version.rb
CHANGED
data/lib/jekyll-vrml.rb
CHANGED
|
@@ -54,7 +54,7 @@ Jekyll::Hooks.register :site, :pre_render do |site|
|
|
|
54
54
|
# https://github.com/rouge-ruby/rouge/blob/master/lib/rouge/lexers/javascript.rb
|
|
55
55
|
|
|
56
56
|
rule %r/\b(?:TRUE|FALSE|NULL)\b/, Keyword::Constant
|
|
57
|
-
rule %r/\b(?:[SM]F(?:Bool|Color(?:RGBA)?|Double|Float|Image|Int32|Matrix[34][df]|Node|Rotation|String|Time|Vec[234][df]))\b/, Keyword::Declaration
|
|
57
|
+
rule %r/\b(?:[SM]F(?:Bool|Color(?:RGBA)?|Double|Float|Image|Int32|Matrix[34][df]|Node|Quaternion|Rotation|String|Time|Vec[234][df]))\b/, Keyword::Declaration
|
|
58
58
|
|
|
59
59
|
rule %r/#{id}(?=\s*\{)/, Name::Class # typeNames
|
|
60
60
|
rule %r/#{id}/, Name::Attribute # fieldNames
|
data/package-lock.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jekyll-vrml",
|
|
3
|
+
"lockfileVersion": 3,
|
|
4
|
+
"requires": true,
|
|
5
|
+
"packages": {
|
|
6
|
+
"": {
|
|
7
|
+
"name": "jekyll-vrml",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"devDependencies": {
|
|
10
|
+
"glob": "^13.0.6",
|
|
11
|
+
"shell-tools": "^1.1.9"
|
|
12
|
+
},
|
|
13
|
+
"version": "2.2.6"
|
|
14
|
+
},
|
|
15
|
+
"node_modules/balanced-match": {
|
|
16
|
+
"version": "4.0.4",
|
|
17
|
+
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
|
|
18
|
+
"integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
|
|
19
|
+
"dev": true,
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": "18 || 20 || >=22"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"node_modules/brace-expansion": {
|
|
26
|
+
"version": "5.0.6",
|
|
27
|
+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
|
|
28
|
+
"integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
|
|
29
|
+
"dev": true,
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"balanced-match": "^4.0.2"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": "18 || 20 || >=22"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"node_modules/glob": {
|
|
39
|
+
"version": "13.0.6",
|
|
40
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz",
|
|
41
|
+
"integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==",
|
|
42
|
+
"dev": true,
|
|
43
|
+
"license": "BlueOak-1.0.0",
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"minimatch": "^10.2.2",
|
|
46
|
+
"minipass": "^7.1.3",
|
|
47
|
+
"path-scurry": "^2.0.2"
|
|
48
|
+
},
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": "18 || 20 || >=22"
|
|
51
|
+
},
|
|
52
|
+
"funding": {
|
|
53
|
+
"url": "https://github.com/sponsors/isaacs"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"node_modules/lru-cache": {
|
|
57
|
+
"version": "11.5.1",
|
|
58
|
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz",
|
|
59
|
+
"integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==",
|
|
60
|
+
"dev": true,
|
|
61
|
+
"license": "BlueOak-1.0.0",
|
|
62
|
+
"engines": {
|
|
63
|
+
"node": "20 || >=22"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"node_modules/minimatch": {
|
|
67
|
+
"version": "10.2.5",
|
|
68
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
|
|
69
|
+
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
|
|
70
|
+
"dev": true,
|
|
71
|
+
"license": "BlueOak-1.0.0",
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"brace-expansion": "^5.0.5"
|
|
74
|
+
},
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": "18 || 20 || >=22"
|
|
77
|
+
},
|
|
78
|
+
"funding": {
|
|
79
|
+
"url": "https://github.com/sponsors/isaacs"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"node_modules/minipass": {
|
|
83
|
+
"version": "7.1.3",
|
|
84
|
+
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz",
|
|
85
|
+
"integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==",
|
|
86
|
+
"dev": true,
|
|
87
|
+
"license": "BlueOak-1.0.0",
|
|
88
|
+
"engines": {
|
|
89
|
+
"node": ">=16 || 14 >=14.17"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"node_modules/path-scurry": {
|
|
93
|
+
"version": "2.0.2",
|
|
94
|
+
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz",
|
|
95
|
+
"integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==",
|
|
96
|
+
"dev": true,
|
|
97
|
+
"license": "BlueOak-1.0.0",
|
|
98
|
+
"dependencies": {
|
|
99
|
+
"lru-cache": "^11.0.0",
|
|
100
|
+
"minipass": "^7.1.2"
|
|
101
|
+
},
|
|
102
|
+
"engines": {
|
|
103
|
+
"node": "18 || 20 || >=22"
|
|
104
|
+
},
|
|
105
|
+
"funding": {
|
|
106
|
+
"url": "https://github.com/sponsors/isaacs"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"node_modules/shell-tools": {
|
|
110
|
+
"version": "1.1.9",
|
|
111
|
+
"resolved": "https://registry.npmjs.org/shell-tools/-/shell-tools-1.1.9.tgz",
|
|
112
|
+
"integrity": "sha512-acF/7DsEeUPd9WmniNJ6Ev6vEYjQnjpIMW1686krf/tOT30fqJnWqoUURo9B4A6CvNZ7ojMRgAqFF0O8xqrvlQ==",
|
|
113
|
+
"dev": true,
|
|
114
|
+
"license": "GPL-3.0"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"version": "2.2.6"
|
|
118
|
+
}
|
data/package.json
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jekyll-vrml",
|
|
3
|
+
"version": "2.2.6",
|
|
3
4
|
"license": "MIT",
|
|
4
5
|
"scripts": {
|
|
5
6
|
"prebuild": "rm -f ./*.gem",
|
|
6
7
|
"build": "gem build jekyll-vrml.gemspec",
|
|
7
8
|
"try": "sudo gem install ./*.gem",
|
|
8
|
-
"
|
|
9
|
-
"merge
|
|
9
|
+
"release": "node build/release.js",
|
|
10
|
+
"merge:development": "sh build/merge-development.sh"
|
|
11
|
+
},
|
|
12
|
+
"devDependencies": {
|
|
13
|
+
"glob": "^13.0.6",
|
|
14
|
+
"shell-tools": "^1.1.9"
|
|
10
15
|
}
|
|
11
16
|
}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-vrml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Holger Seelig
|
|
@@ -20,8 +20,10 @@ files:
|
|
|
20
20
|
- LICENSE.md
|
|
21
21
|
- README.md
|
|
22
22
|
- build/merge-development.sh
|
|
23
|
+
- build/release.js
|
|
23
24
|
- lib/jekyll-vrml.rb
|
|
24
25
|
- lib/jekyll-vrml/version.rb
|
|
26
|
+
- package-lock.json
|
|
25
27
|
- package.json
|
|
26
28
|
homepage: https://github.com/create3000/jekyll-vrml/blob/main/README.md
|
|
27
29
|
licenses:
|