x3d-tidy 1.0.29 → 1.0.30

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/Makefile CHANGED
@@ -1,2 +1,5 @@
1
1
  test:
2
2
  npm start -- -i tests/test.x3d -o tests/test.html
3
+
4
+ publish:
5
+ perl build/publish.pl
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/perl
2
+ use strict;
3
+ use warnings;
4
+ use v5.10.0;
5
+ use utf8;
6
+ use open qw/:std :utf8/;
7
+
8
+ my $version = `npm pkg get version | sed 's/"//g'`;
9
+ chomp $version;
10
+ say "package.json version $version";
11
+
12
+ my $online = `npm view x3d-tidy version`;
13
+ chomp $online;
14
+ say "NPM version $online";
15
+
16
+ system "npm version patch --no-git-tag-version --force" if $version eq $online;
17
+ system "npm i x_ite\@latest";
18
+
19
+ system "git", "add", "-A";
20
+ system "git", "commit", "-am", "Published version $version";
21
+ system "git", "push", "origin";
22
+
23
+ system "npm", "publish";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "x3d-tidy",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "description": "X3D Converter, Beautifier and Minimizer",
5
5
  "bin": {
6
6
  "x3d-tidy": "bin/x3d-tidy.js"
@@ -40,7 +40,7 @@
40
40
  "homepage": "https://www.npmjs.com/package/x3d-tidy",
41
41
  "dependencies": {
42
42
  "electron": "^24.3.0",
43
- "x_ite": "^8.7.1",
43
+ "x_ite": "^8.7.2",
44
44
  "yargs": "^17.7.2"
45
45
  }
46
46
  }