Skip to content

Commit 0bf4f0b

Browse files
committed
stop publishing to npm
nobody cared and it's tedious for us to support it
1 parent a1f8e65 commit 0bf4f0b

File tree

11 files changed

+4
-359
lines changed

11 files changed

+4
-359
lines changed

.github/deno-to-node.ts

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

.github/workflows/cd.npm.yml

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

.github/workflows/cd.yml

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

.github/workflows/ci.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -67,26 +67,6 @@ jobs:
6767
- uses: denoland/setup-deno@v1
6868
- run: deno run --no-config --unstable --allow-all src/mod.ts
6969

70-
dnt:
71-
runs-on: ${{ matrix.os }}
72-
strategy:
73-
fail-fast: false
74-
matrix:
75-
os:
76-
- ubuntu-latest
77-
- windows-latest
78-
steps:
79-
- uses: actions/checkout@v4
80-
- uses: denoland/setup-deno@v1
81-
- run: deno run -A --unstable .github/deno-to-node.ts
82-
83-
- run: |
84-
npm i
85-
npm start
86-
working-directory:
87-
fixtures/npm-integration-test
88-
if: ${{ matrix.os != 'windows-latest' }} # can't test on Windows yet, we have no pkgs
89-
9070
lint:
9171
runs-on: ubuntu-latest
9272
steps:

deno.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@
1010
]
1111
}
1212
},
13-
"pkgx": "deno^1.40 npm",
13+
"pkgx": "deno^1.40",
1414
"tasks": {
1515
"test": "deno test --parallel --unstable-fs --unstable-ffi --allow-env --allow-read --allow-ffi --allow-net=dist.pkgx.dev,github.com,codeload.github.com --allow-write --allow-run=tar,uname,/bin/sh,foo,'C:\\Windows\\system32\\cmd.exe'",
16-
"typecheck": "deno check ./mod.ts",
17-
"dnt": ".github/deno-to-node.ts"
16+
"typecheck": "deno check ./mod.ts"
1817
},
1918
"lint": {
2019
"include": ["src/"],

scripts/publish-release.sh

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

src/hooks/useSync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// ^^ Deno.Command is not implemented for dnt shims yet
33
import { deno } from "../deps.ts"
44
const { streams: { writeAll } } = deno
5-
import { flock } from "../utils/flock.deno.ts"
5+
import { flock } from "../utils/flock.ts"
66
import useDownload from "./useDownload.ts"
77
import usePantry from "./usePantry.ts"
88
import useConfig from "./useConfig.ts"

src/hooks/useSyncCache.node.ts

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

src/plumbing/install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { Package, Installation, StowageNativeBottle } from "../types.ts"
55
import useOffLicense from "../hooks/useOffLicense.ts"
66
import useDownload from "../hooks/useDownload.ts"
7-
import { flock } from "../utils/flock.deno.ts"
7+
import { flock } from "../utils/flock.ts"
88
import useConfig from "../hooks/useConfig.ts"
99
import useCellar from "../hooks/useCellar.ts"
1010
import useCache from "../hooks/useCache.ts"

src/utils/flock.node.ts

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

0 commit comments

Comments
 (0)