Skip to content

Commit 3358ce9

Browse files
committed
fix(modules): Fix window not defined
1 parent 22b3a5d commit 3358ce9

File tree

16 files changed

+56
-83
lines changed

16 files changed

+56
-83
lines changed

.releaserc.json

Lines changed: 0 additions & 59 deletions
This file was deleted.

eslint.config.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
import config from "@syfxlin/eslint-config";
22

3-
export default config({
4-
jsx: true,
5-
react: true,
6-
typescript: true,
7-
formatters: true,
8-
});
3+
export default config();

release.config.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
export default {
2+
plugins: [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/release-notes-generator",
5+
[
6+
"semantic-release-replace-plugin",
7+
{
8+
replacements: [
9+
{
10+
files: ["src/depker.ts"],
11+
from: `this.version = ".*"`,
12+
to: `this.version = "\${nextRelease.version}"`,
13+
},
14+
],
15+
},
16+
],
17+
[
18+
"@semantic-release/git",
19+
{
20+
assets: ["src/depker.ts"],
21+
},
22+
],
23+
[
24+
"@semantic-release/github",
25+
{
26+
assets: [
27+
{ label: "depker.win.amd64.exe", path: "bin/depker.win.amd64.exe" },
28+
{ label: "depker.win.arm64.exe", path: "bin/depker.win.arm64.exe" },
29+
{ label: "depker.linux.amd64", path: "bin/depker.linux.amd64" },
30+
{ label: "depker.linux.arm64", path: "bin/depker.linux.arm64" },
31+
{ label: "depker.mac.amd64", path: "bin/depker.mac.amd64" },
32+
{ label: "depker.mac.arm64", path: "bin/depker.mac.arm64" },
33+
],
34+
},
35+
],
36+
],
37+
};

src/deps/jsr/ansi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "https://jsr.io/@cliffy/ansi/1.0.0-rc.5/ansi.ts";
1+
export * from "https://jsr.io/@cliffy/ansi/1.0.0-rc.7/ansi.ts";

src/deps/jsr/colors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "https://jsr.io/@cliffy/ansi/1.0.0-rc.5/colors.ts";
1+
export * from "https://jsr.io/@cliffy/ansi/1.0.0-rc.7/colors.ts";

src/deps/jsr/command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "https://jsr.io/@cliffy/command/1.0.0-rc.5/mod.ts";
1+
export * from "https://jsr.io/@cliffy/command/1.0.0-rc.7/mod.ts";

src/deps/jsr/dax.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
export * from "https://jsr.io/@david/dax/0.41.0/mod.ts";
1+
export * from "https://jsr.io/@david/dax/0.42.0/mod.ts";
22

3-
declare module "https://jsr.io/@david/dax/0.41.0/mod.ts" {
3+
declare module "https://jsr.io/@david/dax/0.42.0/mod.ts" {
44
// @ts-expect-error
5-
import { CommandBuilder as CB, RequestBuilder as RB } from "https://jsr.io/@david/dax/0.41.0/mod.ts";
5+
import { CommandBuilder as CB, RequestBuilder as RB } from "https://jsr.io/@david/dax/0.42.0/mod.ts";
66

77
// @ts-expect-error
88
interface CommandBuilder extends CB {

src/deps/jsr/password.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import generator from "https://jsr.io/@rabbit-company/password-generator/2.1.0/src/password-generator.ts";
1+
import generator from "https://jsr.io/@rabbit-company/password-generator/2.2.0/src/password-generator.ts";
22

33
export default generator;

src/deps/jsr/prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "https://jsr.io/@cliffy/prompt/1.0.0-rc.5/mod.ts";
1+
export * from "https://jsr.io/@cliffy/prompt/1.0.0-rc.7/mod.ts";

src/deps/jsr/table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from "https://jsr.io/@cliffy/table/1.0.0-rc.5/mod.ts";
1+
export * from "https://jsr.io/@cliffy/table/1.0.0-rc.7/mod.ts";

0 commit comments

Comments
 (0)