helm-viewer 0.1.0 → 0.1.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.
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+
3
+ 'use strict'
4
+ import '../binary/index.js';
package/binary/index.js CHANGED
@@ -5838,7 +5838,6 @@ function run() {
5838
5838
  (0, save_yaml_1.saveTemplatedYamlToFiles)(stdout);
5839
5839
  (0, save_yaml_1.saveSourcesYamlToFiles)(currentPath);
5840
5840
  const JSON = (0, fs_1.readFileSync)('tmp/global-data.json', 'utf-8');
5841
- (0, fs_1.writeFileSync)('src/assets/global-data.js', `const DATA = ${JSON}`);
5842
5841
  let file = (0, fs_1.readFileSync)('src/index.html', 'utf-8');
5843
5842
  file = file
5844
5843
  .replace('<script src="assets/global-data.js"></script>', `<script>const DATA = ${JSON};</script>`)
Binary file
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "helm-viewer",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Quick tool to easily view your helm charts.",
5
5
  "author": "Tchoupinax <corentinfiloche@hotmail.fr> (https://corentinfiloche.xyz)",
6
6
  "license": "MIT",
7
7
  "bin": {
8
- "helm-viewer": "binary/index.js"
8
+ "helm-viewer": "bin/helm-template.mjs"
9
9
  },
10
10
  "keywords": [
11
11
  "helm",
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "scripts": {
24
24
  "=== PUBLICATION ======================================": "",
25
- "prepublishOnly": "npm pack --dry-run",
26
- "publish": "npm publish --dry-run",
25
+ "pack": "npm pack --dry-run",
26
+ "publish": "npm publish",
27
27
  "=== RUN ==============================================": "",
28
28
  "run": "npx vite-node src/index.ts",
29
29
  "=== BUILD ============================================": "",