Skip to content

Commit

Permalink
fix: do not require allowImportingTsExtensions
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Mar 26, 2024
1 parent 60cff9d commit 048db11
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webpod/ps",
"version": "0.0.0",
"version": "0.0.0-beta.2",
"description": "A process lookup utility",
"publishConfig": {
"access": "public"
Expand All @@ -24,7 +24,8 @@
"test": "concurrently 'npm:test:*'",
"test:lint": "eslint -c src/test/lint/.eslintrc.json src",
"test:unit": "c8 -r lcov -r text -o target/coverage -x src/scripts -x src/test -x target node --loader ts-node/esm --experimental-specifier-resolution=node src/scripts/test.mjs",
"test:legacy": "node ./node_modules/mocha/bin/mocha -t 0 -R spec src/test/legacy/test.cjs"
"test:legacy": "node ./node_modules/mocha/bin/mocha -t 0 -R spec src/test/legacy/test.cjs",
"publish:draft": "npm run build && npm publish --no-git-tag-version"
},
"files": [
"target/cjs",
Expand All @@ -38,7 +39,7 @@
"pid"
],
"dependencies": {
"@webpod/ingrid": "^0.0.0-beta.1",
"@webpod/ingrid": "^0.0.0-beta.2",
"zurk": "^0.0.32"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions src/main/ts/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { kill, lookup, tree } from './ps.ts'
import { kill, lookup, tree } from './ps.js'

export type * from './ps.ts'
export { kill, lookup, tree } from './ps.ts'
export type * from './ps.js'
export { kill, lookup, tree } from './ps.js'
export default { lookup, kill, tree }

0 comments on commit 048db11

Please sign in to comment.