create-pubinfo 0.4.0 → 0.4.1

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/dist/index.cjs CHANGED
@@ -31,7 +31,7 @@ var import_consola6 = __toESM(require("consola"), 1);
31
31
  var package_default = {
32
32
  name: "create-pubinfo",
33
33
  type: "module",
34
- version: "0.4.0",
34
+ version: "0.4.1",
35
35
  description: "\u521D\u59CB\u5316\u9879\u76EE\u6846\u67B6",
36
36
  author: "Werheng <werheng.zhang@gmail.com>",
37
37
  license: "MIT",
@@ -79,7 +79,7 @@ var pubinfo = async (input2, { auth }) => {
79
79
  name: "pubinfo",
80
80
  version: input2,
81
81
  headers: { Authorization: `token ${auth}` },
82
- tar: `http://124.223.184.245:10000/templates/monorepo-project-template-${semver?.version}.tar.gz`
82
+ tar: `http://124.223.184.245:20000/templates/monorepo-project-template-${semver?.version}.tar.gz`
83
83
  };
84
84
  };
85
85
  async function download(options) {
@@ -247,7 +247,7 @@ var import_ofetch = require("ofetch");
247
247
  var import_ora2 = __toESM(require("ora"), 1);
248
248
  var import_semver2 = require("semver");
249
249
  async function fetchVersion() {
250
- const versions = await (0, import_ofetch.ofetch)("http://124.223.184.245:10000/templates/version.json");
250
+ const versions = await (0, import_ofetch.ofetch)("http://124.223.184.245:20000/templates/version.json");
251
251
  versions.sort((v1, v2) => -(0, import_semver2.compare)(v1, v2));
252
252
  return {
253
253
  latest: versions[0],
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import consola6 from "consola";
8
8
  var package_default = {
9
9
  name: "create-pubinfo",
10
10
  type: "module",
11
- version: "0.4.0",
11
+ version: "0.4.1",
12
12
  description: "\u521D\u59CB\u5316\u9879\u76EE\u6846\u67B6",
13
13
  author: "Werheng <werheng.zhang@gmail.com>",
14
14
  license: "MIT",
@@ -56,7 +56,7 @@ var pubinfo = async (input2, { auth }) => {
56
56
  name: "pubinfo",
57
57
  version: input2,
58
58
  headers: { Authorization: `token ${auth}` },
59
- tar: `http://124.223.184.245:10000/templates/monorepo-project-template-${semver?.version}.tar.gz`
59
+ tar: `http://124.223.184.245:20000/templates/monorepo-project-template-${semver?.version}.tar.gz`
60
60
  };
61
61
  };
62
62
  async function download(options) {
@@ -224,7 +224,7 @@ import { ofetch } from "ofetch";
224
224
  import ora2 from "ora";
225
225
  import { compare } from "semver";
226
226
  async function fetchVersion() {
227
- const versions = await ofetch("http://124.223.184.245:10000/templates/version.json");
227
+ const versions = await ofetch("http://124.223.184.245:20000/templates/version.json");
228
228
  versions.sort((v1, v2) => -compare(v1, v2));
229
229
  return {
230
230
  latest: versions[0],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-pubinfo",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "description": "初始化项目框架",
6
6
  "author": "Werheng <werheng.zhang@gmail.com>",
7
7
  "license": "MIT",