giget 3.1.0 → 3.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.
@@ -1,20 +1,12 @@
1
1
  import "node:module";
2
-
3
- //#region rolldown:runtime
4
2
  var __defProp = Object.defineProperty;
5
3
  var __exportAll = (all, symbols) => {
6
4
  let target = {};
7
- for (var name in all) {
8
- __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
12
- }
13
- if (symbols) {
14
- __defProp(target, Symbol.toStringTag, { value: "Module" });
15
- }
5
+ for (var name in all) __defProp(target, name, {
6
+ get: all[name],
7
+ enumerable: true
8
+ });
9
+ if (symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
16
10
  return target;
17
11
  };
18
-
19
- //#endregion
20
- export { __exportAll as t };
12
+ export { __exportAll as t };
package/dist/cli.mjs CHANGED
@@ -2,19 +2,11 @@
2
2
  import { i as relative } from "./_chunks/libs/nypm.mjs";
3
3
  import { r as startShell, t as downloadTemplate } from "./_chunks/giget.mjs";
4
4
  import { n as runMain, t as defineCommand } from "./_chunks/libs/citty.mjs";
5
-
6
- //#region package.json
7
- var name = "giget";
8
- var version = "3.1.0";
9
- var description = "Download templates and git repositories with pleasure!";
10
-
11
- //#endregion
12
- //#region src/cli.ts
13
5
  runMain(defineCommand({
14
6
  meta: {
15
- name,
16
- version,
17
- description
7
+ name: "giget",
8
+ version: "3.1.1",
9
+ description: "Download templates and git repositories with pleasure!"
18
10
  },
19
11
  args: {
20
12
  template: {
@@ -81,6 +73,4 @@ runMain(defineCommand({
81
73
  if (args.shell) startShell(r.dir);
82
74
  }
83
75
  }));
84
-
85
- //#endregion
86
- export { };
76
+ export {};
package/dist/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
1
  import "./_chunks/libs/nypm.mjs";
2
2
  import { n as registryProvider, r as startShell, t as downloadTemplate } from "./_chunks/giget.mjs";
3
-
4
- export { downloadTemplate, registryProvider, startShell };
3
+ export { downloadTemplate, registryProvider, startShell };
package/package.json CHANGED
@@ -1,50 +1,50 @@
1
1
  {
2
2
  "name": "giget",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "Download templates and git repositories with pleasure!",
5
- "repository": "unjs/giget",
6
5
  "license": "MIT",
7
- "sideEffects": false,
8
- "type": "module",
9
- "exports": {
10
- ".": "./dist/index.mjs"
11
- },
12
- "types": "./dist/index.d.mts",
6
+ "repository": "unjs/giget",
13
7
  "bin": {
14
8
  "giget": "./dist/cli.mjs"
15
9
  },
16
10
  "files": [
17
11
  "dist"
18
12
  ],
13
+ "type": "module",
14
+ "sideEffects": false,
15
+ "types": "./dist/index.d.mts",
16
+ "exports": {
17
+ ".": "./dist/index.mjs"
18
+ },
19
19
  "scripts": {
20
20
  "build": "obuild",
21
21
  "dev": "vitest dev",
22
22
  "giget": "node ./src/cli.ts",
23
- "lint": "eslint . && prettier -c src test",
24
- "lint:fix": "eslint . --fix && prettier -w src test",
23
+ "lint": "oxlint . && oxfmt --check src test",
24
+ "lint:fix": "oxlint . --fix && oxfmt src test",
25
25
  "play": "pnpm giget --force-clean --verbose unjs .tmp/clone",
26
26
  "release": "pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags",
27
27
  "test": "pnpm lint && pnpm test:types && vitest run --coverage",
28
28
  "test:types": "tsgo --noEmit"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^25.0.9",
31
+ "@types/node": "^25.2.1",
32
32
  "@types/tar": "^6.1.13",
33
- "@typescript/native-preview": "7.0.0-dev.20260120.1",
34
- "@vitest/coverage-v8": "^4.0.17",
33
+ "@typescript/native-preview": "^7.0.0-dev.20260205.1",
34
+ "@vitest/coverage-v8": "^4.0.18",
35
35
  "changelogen": "^0.6.2",
36
36
  "citty": "^0.2.0",
37
- "eslint": "^9.39.2",
38
37
  "eslint-config-unjs": "^0.6.2",
39
- "nypm": "^0.6.3",
40
- "obuild": "^0.4.18",
38
+ "nypm": "^0.6.5",
39
+ "obuild": "^0.4.22",
40
+ "oxfmt": "^0.28.0",
41
+ "oxlint": "^1.43.0",
41
42
  "pathe": "^2.0.3",
42
- "prettier": "^3.8.0",
43
- "rolldown": "1.0.0-beta.60",
44
- "tar": "^7.5.4",
43
+ "rolldown": "^1.0.0-rc.3",
44
+ "tar": "^7.5.7",
45
45
  "typescript": "^5.9.3",
46
46
  "unbuild": "^3.6.1",
47
- "vitest": "^4.0.17"
47
+ "vitest": "^4.0.18"
48
48
  },
49
- "packageManager": "pnpm@10.28.1"
49
+ "packageManager": "pnpm@10.28.2"
50
50
  }