better-hosts 0.1.13 → 0.1.14

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.
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  /******/ (() => { // webpackBootstrap
2
4
  /******/ var __webpack_modules__ = ([
3
5
  /* 0 */,
@@ -45878,7 +45880,7 @@ module.exports = require("fsevents");
45878
45880
  /***/ ((module) => {
45879
45881
 
45880
45882
  "use strict";
45881
- module.exports = JSON.parse('{"name":"better-hosts","version":"0.1.13","description":"","keywords":["dns"],"bin":"dist/cli.js","files":["dist"],"repository":"git@github.com:BlackGlory/better-hosts.git","author":"BlackGlory <woshenmedoubuzhidao@blackglory.me>","license":"MIT","scripts":{"deduplicate":"yarn-deduplicate","prepublishOnly":"run-s clean build bundle","postinstall":"patch-package","lint":"eslint --ext .js,.jsx,.ts,.tsx --quiet src","test":"jest --config jest.config.js","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:coverage":"jest --coverage --config jest.config.js","clean":"rimraf lib dist","build":"run-s build:*","build:compile":"tsc --project tsconfig.build.json","build:patch":"tscpaths --project tsconfig.build.json --src ./src --out ./lib","bundle":"webpack --stats-error-details","smoke":"node dist/cli.js --help","release":"standard-version"},"husky":{"hooks":{"pre-commit":"run-s clean lint build test bundle smoke","commit-msg":"commitlint --env HUSKY_GIT_PARAMS"}},"devDependencies":{"@commitlint/cli":"^17.0.3","@commitlint/config-conventional":"^17.0.3","@types/jest":"^27.4.1","@types/node":"14","@typescript-eslint/eslint-plugin":"^5.30.7","@typescript-eslint/parser":"^5.30.7","eslint":"^8.20.0","husky":"4","jest":"^27.5.1","npm-run-all":"^4.1.5","rimraf":"^3.0.2","standard-version":"^9.5.0","ts-jest":"^27.1.4","tsconfig-paths":"^4.0.0","tscpaths":"^0.0.9","typescript":"^4.7.4","webpack":"^5.74.0","webpack-cli":"^4.10.0","yarn-deduplicate":"^5.0.0"},"dependencies":{"@blackglory/errors":"^2.2.1","@blackglory/go":"^1.1.1","@blackglory/prelude":"^0.1.3","@blackglory/types":"^1.2.1","chalk":"^4.1.2","chokidar":"^3.5.3","commander":"^9.4.0","extra-filesystem":"^0.4.4","extra-logger":"^0.6.8","extra-promise":"^2.3.0","iterable-operator":"^1.1.0","native-node-dns":"0.7.6","native-node-dns-packet":"0.1.5","patch-package":"^6.4.7","return-style":"^1.0.0"}}');
45883
+ module.exports = JSON.parse('{"name":"better-hosts","version":"0.1.14","description":"","keywords":["dns"],"bin":"dist/cli.cjs","files":["dist"],"repository":"git@github.com:BlackGlory/better-hosts.git","author":"BlackGlory <woshenmedoubuzhidao@blackglory.me>","license":"MIT","scripts":{"deduplicate":"yarn-deduplicate","prepublishOnly":"run-s clean build bundle","postinstall":"patch-package","lint":"eslint --ext .js,.jsx,.ts,.tsx --quiet src","test":"jest --config jest.config.js","test:debug":"node --inspect-brk node_modules/.bin/jest --runInBand","test:coverage":"jest --coverage --config jest.config.js","clean":"rimraf lib dist","build":"run-s build:*","build:compile":"tsc --project tsconfig.build.json","build:patch":"tscpaths --project tsconfig.build.json --src ./src --out ./lib","bundle":"webpack --stats-error-details","smoke":"node dist/cli.cjs --help","release":"standard-version"},"husky":{"hooks":{"pre-commit":"run-s clean lint build test bundle smoke","commit-msg":"commitlint --env HUSKY_GIT_PARAMS"}},"devDependencies":{"@commitlint/cli":"^17.0.3","@commitlint/config-conventional":"^17.0.3","@types/jest":"^27.4.1","@types/node":"14","@typescript-eslint/eslint-plugin":"^5.30.7","@typescript-eslint/parser":"^5.30.7","eslint":"^8.20.0","husky":"4","jest":"^27.5.1","npm-run-all":"^4.1.5","rimraf":"^3.0.2","standard-version":"^9.5.0","ts-jest":"^27.1.4","tsconfig-paths":"^4.0.0","tscpaths":"^0.0.9","typescript":"^4.7.4","webpack":"^5.74.0","webpack-cli":"^4.10.0","webpack-shebang-plugin":"^1.1.7","yarn-deduplicate":"^5.0.0"},"dependencies":{"@blackglory/errors":"^2.2.1","@blackglory/go":"^1.1.1","@blackglory/prelude":"^0.1.3","@blackglory/types":"^1.2.1","chalk":"^4.1.2","chokidar":"^3.5.3","commander":"^9.4.0","extra-filesystem":"^0.4.4","extra-logger":"^0.6.8","extra-promise":"^2.3.0","iterable-operator":"^1.1.0","native-node-dns":"0.7.6","native-node-dns-packet":"0.1.5","patch-package":"^6.4.7","return-style":"^1.0.0"}}');
45882
45884
 
45883
45885
  /***/ })
45884
45886
  /******/ ]);
@@ -45938,7 +45940,6 @@ var __webpack_exports__ = {};
45938
45940
  (() => {
45939
45941
  "use strict";
45940
45942
  var exports = __webpack_exports__;
45941
- //#!/usr/bin/env node
45942
45943
 
45943
45944
  Object.defineProperty(exports, "__esModule", ({ value: true }));
45944
45945
  const commander_1 = __webpack_require__(1);
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "better-hosts",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "dns"
7
7
  ],
8
- "bin": "dist/cli.js",
8
+ "bin": "dist/cli.cjs",
9
9
  "files": [
10
10
  "dist"
11
11
  ],
@@ -25,7 +25,7 @@
25
25
  "build:compile": "tsc --project tsconfig.build.json",
26
26
  "build:patch": "tscpaths --project tsconfig.build.json --src ./src --out ./lib",
27
27
  "bundle": "webpack --stats-error-details",
28
- "smoke": "node dist/cli.js --help",
28
+ "smoke": "node dist/cli.cjs --help",
29
29
  "release": "standard-version"
30
30
  },
31
31
  "husky": {
@@ -53,6 +53,7 @@
53
53
  "typescript": "^4.7.4",
54
54
  "webpack": "^5.74.0",
55
55
  "webpack-cli": "^4.10.0",
56
+ "webpack-shebang-plugin": "^1.1.7",
56
57
  "yarn-deduplicate": "^5.0.0"
57
58
  },
58
59
  "dependencies": {