x3d-tidy 1.0.82 → 1.0.83
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 +7 -3
- package/.vscode/settings.json +0 -11
- package/Makefile +0 -6
- package/build/publish.pl +0 -39
- package/tests/test.html +0 -59
- package/tests/test.x3d +0 -32
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x3d-tidy",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.83",
|
|
4
4
|
"description": "X3D Converter, Beautifier and Minimizer",
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"x3d-tidy": "bin/x3d-tidy.js"
|
|
8
8
|
},
|
|
9
|
+
"files": [
|
|
10
|
+
"bin/*",
|
|
11
|
+
"src/*"
|
|
12
|
+
],
|
|
9
13
|
"scripts": {
|
|
10
14
|
"start": "electron .",
|
|
11
15
|
"test": "make tests"
|
|
@@ -49,8 +53,8 @@
|
|
|
49
53
|
],
|
|
50
54
|
"dependencies": {
|
|
51
55
|
"colors": "^1.4.0",
|
|
52
|
-
"electron": "^25.
|
|
53
|
-
"x_ite": "^8.11.
|
|
56
|
+
"electron": "^25.4.0",
|
|
57
|
+
"x_ite": "^8.11.8",
|
|
54
58
|
"yargs": "^17.7.2"
|
|
55
59
|
}
|
|
56
60
|
}
|
package/.vscode/settings.json
DELETED
package/Makefile
DELETED
package/build/publish.pl
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
if (`git branch --show-current` ne "development\n")
|
|
9
|
-
{
|
|
10
|
-
say "Wrong branch, must be development, cannot release version!";
|
|
11
|
-
exit 1;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
system "git", "checkout", "main";
|
|
15
|
-
system "git", "merge", "development";
|
|
16
|
-
|
|
17
|
-
my $name = `node -p "require('./package.json').name"`;
|
|
18
|
-
chomp $name;
|
|
19
|
-
|
|
20
|
-
my $version = `npm pkg get version | sed 's/"//g'`;
|
|
21
|
-
chomp $version;
|
|
22
|
-
say "package.json version $version";
|
|
23
|
-
|
|
24
|
-
my $online = `npm view $name version`;
|
|
25
|
-
chomp $online;
|
|
26
|
-
say "NPM version $online";
|
|
27
|
-
|
|
28
|
-
system "npm version patch --no-git-tag-version --force" if $version eq $online;
|
|
29
|
-
system "npm i x_ite\@latest";
|
|
30
|
-
|
|
31
|
-
system "git", "add", "-A";
|
|
32
|
-
system "git", "commit", "-am", "Published version $version";
|
|
33
|
-
system "git", "push", "origin";
|
|
34
|
-
|
|
35
|
-
system "npm", "publish";
|
|
36
|
-
|
|
37
|
-
system "git", "checkout", "development";
|
|
38
|
-
system "git", "merge", "main";
|
|
39
|
-
system "git", "push", "origin";
|
package/tests/test.html
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<script src="https://create3000.github.io/code/x_ite/latest/x_ite.min.js"></script>
|
|
6
|
-
<style>
|
|
7
|
-
body {
|
|
8
|
-
background-color: rgb(21, 22, 24);
|
|
9
|
-
color: rgb(108, 110, 113);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
a {
|
|
13
|
-
color: rgb(106, 140, 191);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
x3d-canvas {
|
|
17
|
-
width: 768px;
|
|
18
|
-
height: 432px;
|
|
19
|
-
}
|
|
20
|
-
</style>
|
|
21
|
-
</head>
|
|
22
|
-
<body>
|
|
23
|
-
<h1>test.x3d</h1>
|
|
24
|
-
<x3d-canvas>
|
|
25
|
-
<X3D profile='Interactive' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-4.0.xsd'>
|
|
26
|
-
<head>
|
|
27
|
-
<meta name='converter' content='x3d-tidy V1.0.26, https://www.npmjs.com/package/x3d-tidy'></meta>
|
|
28
|
-
<meta name='converted' content='Sun, 07 May 2023 17:38:39 GMT'></meta>
|
|
29
|
-
</head>
|
|
30
|
-
<Scene>
|
|
31
|
-
<Background
|
|
32
|
-
skyColor='0.2 0.2 0.2'></Background>
|
|
33
|
-
<Viewpoint
|
|
34
|
-
position='4.75079 5.5764 6.80689'
|
|
35
|
-
orientation='-0.67979594907481 0.70155548858341 0.2137694179717 0.842769006819'></Viewpoint>
|
|
36
|
-
<TouchSensor
|
|
37
|
-
description='Box Geometry'></TouchSensor>
|
|
38
|
-
<Shape>
|
|
39
|
-
<Appearance>
|
|
40
|
-
<Material
|
|
41
|
-
diffuseColor='0 0.5 1'>
|
|
42
|
-
<PixelTexture containerField='diffuseTexture'
|
|
43
|
-
image='2 2 1
|
|
44
|
-
0xff 0x0
|
|
45
|
-
0x0 0xff'>
|
|
46
|
-
<TextureProperties
|
|
47
|
-
boundaryModeS='CLAMP_TO_EDGE'
|
|
48
|
-
boundaryModeT='CLAMP_TO_EDGE'></TextureProperties>
|
|
49
|
-
</PixelTexture>
|
|
50
|
-
</Material>
|
|
51
|
-
</Appearance>
|
|
52
|
-
<Box></Box>
|
|
53
|
-
</Shape>
|
|
54
|
-
</Scene>
|
|
55
|
-
</X3D>
|
|
56
|
-
</x3d-canvas>
|
|
57
|
-
<p>Made with <a href="https://www.npmjs.com/package/x3d-tidy" target="_blank">x3d-tidy.</a></p>
|
|
58
|
-
</body>
|
|
59
|
-
</html>
|
package/tests/test.x3d
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd">
|
|
3
|
-
<X3D profile='Interactive' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-4.0.xsd'>
|
|
4
|
-
<Scene>
|
|
5
|
-
<Background
|
|
6
|
-
skyColor='0.2 0.2 0.2'>
|
|
7
|
-
</Background>
|
|
8
|
-
<Viewpoint
|
|
9
|
-
position='4.75079 5.5764 6.80689'
|
|
10
|
-
orientation='-0.67979594907481 0.70155548858341 0.2137694179717 0.842769006819'>
|
|
11
|
-
</Viewpoint>
|
|
12
|
-
<TouchSensor
|
|
13
|
-
description='Box Geometry'>
|
|
14
|
-
</TouchSensor>
|
|
15
|
-
<Shape>
|
|
16
|
-
<Appearance>
|
|
17
|
-
<Material
|
|
18
|
-
diffuseColor='0 0.5 1'>
|
|
19
|
-
<PixelTexture
|
|
20
|
-
containerField='diffuseTexture'
|
|
21
|
-
image='2 2 1 0xff 0x00 0x00 0xff'>
|
|
22
|
-
<TextureProperties
|
|
23
|
-
boundaryModeS='CLAMP_TO_EDGE'
|
|
24
|
-
boundaryModeT='CLAMP_TO_EDGE'>
|
|
25
|
-
</TextureProperties>
|
|
26
|
-
</PixelTexture>
|
|
27
|
-
</Material>
|
|
28
|
-
</Appearance>
|
|
29
|
-
<Box></Box>
|
|
30
|
-
</Shape>
|
|
31
|
-
</Scene>
|
|
32
|
-
</X3D>
|