sunrize 1.0.29 → 1.0.31

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
@@ -6,3 +6,6 @@ x_ite-for-sunrize:
6
6
  .PHONY: docs
7
7
  docs:
8
8
  cd docs && bundle exec jekyll serve --incremental
9
+
10
+ publish:
11
+ 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 sunrize 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,7 +1,7 @@
1
1
  {
2
2
  "name": "sunrize",
3
3
  "productName": "Sunrize X3D Editor",
4
- "version": "1.0.29",
4
+ "version": "1.0.31",
5
5
  "description": "A Multi Platform X3D Editor",
6
6
  "homepage": "https://create3000.github.io/sunrize/",
7
7
  "author": "Holger Seelig",
@@ -59,7 +59,7 @@
59
59
  "qtip2": "^3.0.3",
60
60
  "spectrum-colorpicker2": "^2.0.10",
61
61
  "string-similarity": "^4.0.4",
62
- "x_ite": "^8.7.1"
62
+ "x_ite": "^8.7.2"
63
63
  },
64
64
  "main": "src/main.js",
65
65
  "bin": {