google-closure-compiler-windows 20250420.0.0-nightly → 20250420.0.0
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/compiler.exe +0 -0
- package/index.js +5 -2
- package/package.json +9 -2
package/compiler.exe
CHANGED
|
Binary file
|
package/index.js
CHANGED
|
@@ -14,5 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
import path from 'node:path';
|
|
18
|
+
import { fileURLToPath, URL } from 'node:url';
|
|
19
|
+
|
|
20
|
+
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
|
21
|
+
export default path.resolve(__dirname, 'compiler.exe');
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-closure-compiler-windows",
|
|
3
|
-
"version": "20250420.0.0
|
|
3
|
+
"version": "20250420.0.0",
|
|
4
4
|
"description": "Check, compile, optimize and compress Javascript with Closure-Compiler using Java",
|
|
5
|
+
"type": "module",
|
|
5
6
|
"main": "index.js",
|
|
6
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/google/closure-compiler-npm.git#master"
|
|
10
|
+
},
|
|
7
11
|
"homepage": "https://developers.google.com/closure/compiler/",
|
|
8
12
|
"author": "Chad Killingsworth <chadkillingsworth@gmail.com>",
|
|
9
13
|
"license": "Apache-2.0",
|
|
@@ -27,6 +31,9 @@
|
|
|
27
31
|
"test": "node ./test.js",
|
|
28
32
|
"prepublishOnly": "node ../../build-scripts/ensure-file-exists.js compiler.exe"
|
|
29
33
|
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"chalk": "5.x"
|
|
36
|
+
},
|
|
30
37
|
"os": [
|
|
31
38
|
"win32"
|
|
32
39
|
],
|