elm-test-rs 3.0.0-0 → 3.0.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/binary.js CHANGED
@@ -4,7 +4,7 @@ var package = require("./package.json");
4
4
 
5
5
  module.exports = function () {
6
6
  var platform = `${process.platform}-${process.arch}`;
7
- var subPackageName = `@mpizenberg/elm-test-rs-${platform}`;
7
+ var subPackageName = `@mattpiz/elm-test-rs-${platform}`;
8
8
 
9
9
  if (!(subPackageName in package.optionalDependencies)) {
10
10
  exitFailure(
@@ -38,7 +38,7 @@ module.exports = function () {
38
38
  return subBinaryPath;
39
39
  }
40
40
 
41
- var binaryPath = path.resolve(__dirname, package.bin.elm);
41
+ var binaryPath = path.resolve(__dirname, package.bin);
42
42
  var tmpPath = binaryPath + ".tmp";
43
43
 
44
44
  try {
@@ -55,7 +55,6 @@ module.exports = function () {
55
55
  };
56
56
 
57
57
  function exitFailure(message) {
58
- var tag = `v${package.version.replace(/^(\d+\.\d+)\.0$/, "$1")})}`;
59
58
  console.error(
60
59
  `
61
60
  -- ERROR -----------------------------------------------------------------------
@@ -63,7 +62,7 @@ function exitFailure(message) {
63
62
  ${message}
64
63
 
65
64
  NOTE: You can avoid npm entirely by downloading directly from:
66
- https://github.com/mpizenberg/elm-test-rs/releases/tag/${tag}
65
+ https://github.com/mpizenberg/elm-test-rs/releases
67
66
  All this package does is distributing a file from there.
68
67
 
69
68
  --------------------------------------------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elm-test-rs",
3
- "version": "3.0.0-0",
3
+ "version": "3.0.0-2",
4
4
  "author": "Matthieu Pizenberg",
5
5
  "license": "BSD-3-Clause",
6
6
  "description": "Fast and portable executable to run your Elm tests.",
@@ -14,15 +14,16 @@
14
14
  "cli",
15
15
  "rust"
16
16
  ],
17
+ "files": ["binary.js", "elm-test-rs.js", "install.js"],
17
18
  "scripts": {
18
19
  "install": "node install.js"
19
20
  },
20
21
  "optionalDependencies": {
21
- "@mpizenberg/elm-test-rs-darwin-arm64": "3.0.0-0",
22
- "@mpizenberg/elm-test-rs-darwin-x64": "3.0.0-0",
23
- "@mpizenberg/elm-test-rs-linux-arm": "3.0.0-0",
24
- "@mpizenberg/elm-test-rs-linux-arm64": "3.0.0-0",
25
- "@mpizenberg/elm-test-rs-linux-x64": "3.0.0-0",
26
- "@mpizenberg/elm-test-rs-win32-x64": "3.0.0-0"
22
+ "@mattpiz/elm-test-rs-darwin-arm64": "3.0.0-0",
23
+ "@mattpiz/elm-test-rs-darwin-x64": "3.0.0-0",
24
+ "@mattpiz/elm-test-rs-linux-arm": "3.0.0-0",
25
+ "@mattpiz/elm-test-rs-linux-arm64": "3.0.0-0",
26
+ "@mattpiz/elm-test-rs-linux-x64": "3.0.0-0",
27
+ "@mattpiz/elm-test-rs-win32-x64": "3.0.0-0"
27
28
  }
28
29
  }
@@ -1 +0,0 @@
1
- This is the macOS ARM 64-bit binary for [elm-test-rs](https://github.com/mpizenberg/elm-test-rs).
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@mpizenberg/elm-test-rs-darwin-arm64",
3
- "version": "3.0.0-0",
4
- "description": "The macOS ARM 64-bit binary for elm-test-rs.",
5
- "repository": "https://github.com/mpizenberg/elm-test-rs",
6
- "license": "BSD-3-Clause",
7
- "os": [ "darwin" ],
8
- "cpu": [ "arm64" ]
9
- }
@@ -1 +0,0 @@
1
- This is the macOS 64-bit binary for [elm-test-rs](https://github.com/mpizenberg/elm-test-rs).
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@mpizenberg/elm-test-rs-darwin-x64",
3
- "version": "3.0.0-0",
4
- "description": "The macOS 64-bit binary for elm-test-rs.",
5
- "repository": "https://github.com/mpizenberg/elm-test-rs",
6
- "license": "BSD-3-Clause",
7
- "os": [ "darwin" ],
8
- "cpu": [ "x64" ]
9
- }
@@ -1 +0,0 @@
1
- This is the Linux ARM 32-bit binary for [elm-test-rs](https://github.com/mpizenberg/elm-test-rs).
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@mpizenberg/elm-test-rs-linux-arm",
3
- "version": "3.0.0-0",
4
- "description": "The Linux ARM 32-bit binary for elm-test-rs.",
5
- "repository": "https://github.com/mpizenberg/elm-test-rs",
6
- "license": "BSD-3-Clause",
7
- "os": [ "linux" ],
8
- "cpu": [ "arm" ]
9
- }
@@ -1 +0,0 @@
1
- This is the Linux ARM 64-bit binary for [elm-test-rs](https://github.com/mpizenberg/elm-test-rs).
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@mpizenberg/elm-test-rs-linux-arm64",
3
- "version": "3.0.0-0",
4
- "description": "The Linux ARM 64-bit binary for elm-test-rs.",
5
- "repository": "https://github.com/mpizenberg/elm-test-rs",
6
- "license": "BSD-3-Clause",
7
- "os": [ "linux" ],
8
- "cpu": [ "arm64" ]
9
- }
@@ -1 +0,0 @@
1
- This is the Linux 64-bit binary for [elm-test-rs](https://github.com/mpizenberg/elm-test-rs).
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@mpizenberg/elm-test-rs-linux-x64",
3
- "version": "3.0.0-0",
4
- "description": "The Linux 64-bit binary for elm-test-rs.",
5
- "repository": "https://github.com/mpizenberg/elm-test-rs",
6
- "license": "BSD-3-Clause",
7
- "os": [ "linux" ],
8
- "cpu": [ "x64" ]
9
- }
@@ -1 +0,0 @@
1
- This is the Windows 64-bit binary for [elm-test-rs](https://github.com/mpizenberg/elm-test-rs).
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@mpizenberg/elm-test-rs-win32-x64",
3
- "version": "3.0.0-0",
4
- "description": "The Windows 64-bit binary for elm-test-rs.",
5
- "repository": "https://github.com/mpizenberg/elm-test-rs",
6
- "license": "BSD-3-Clause",
7
- "os": [ "win32" ],
8
- "cpu": [ "x64" ]
9
- }