Skip to content

Commit 62be1eb

Browse files
committed
hotfix: added an empty npm publish workflow
1 parent 3dd951c commit 62be1eb

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

.github/workflows/publish_jsr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish
1+
name: Publish to JSR
22
on:
33
workflow_run:
44
types:

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/deno
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=deno
3+
4+
### Deno ###
5+
/.idea/
6+
/.vscode/
7+
8+
/node_modules
9+
10+
.env
11+
*.orig
12+
*.pyc
13+
*.swp
14+
15+
# End of https://www.toptal.com/developers/gitignore/api/deno

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@env/env-event-stream",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"description": "A high-performance, feature-rich event stream library for Deno, the backbone for event-driven architectures",
55
"author": "Elastic Networth Visualizer",
66
"license": "MIT",

npm_build.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { build, emptyDir } from "https://deno.land/x/dnt@0.38.1/mod.ts";
22

33
async function buildNpm() {
4-
await emptyDir("./npm");
4+
await emptyDir("npm");
55

66
await build({
77
entryPoints: ["./mod.ts"],
8-
outDir: "./npm",
8+
outDir: "npm",
99
shims: {
1010
deno: true,
1111
crypto: true,
@@ -42,12 +42,6 @@ async function buildNpm() {
4242
compilerOptions: {
4343
lib: ["ES2021", "DOM"],
4444
target: "ES2021",
45-
},
46-
mappings: {
47-
"https://deno.land/std@0.182.0/uuid/mod.ts": {
48-
name: "uuid",
49-
version: "^9.0.0",
50-
}
5145
}
5246
});
5347

0 commit comments

Comments
 (0)