Skip to content

Commit

Permalink
fix: packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jul 3, 2023
1 parent d361e0d commit d26107f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/eight-wombats-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hydrofoil/vocabularies": patch
---

Remove .ts from package
5 changes: 5 additions & 0 deletions .changeset/flat-mayflies-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hydrofoil/vocabularies": patch
---

Wrong exports `strict` instead of `loose`
2 changes: 2 additions & 0 deletions src/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.ts
!*.d.ts
13 changes: 1 addition & 12 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,8 @@
"./vocabularies": "./vocabularies.js",
"./prefixes": "./prefixes.js",
"./builders": "./builders/index.js",
"./builders/strict": "./builders/strict.js"
"./builders/loose": "./builders/loose.js"
},
"files": [
"bin",
"builders",
"loadDataset",
"datasets",
"ontologies",
"*.js",
"*.mjs",
"*.d.ts",
"*.d.ts.map"
],
"scripts": {
"prebuild": "npx --node-options='--loader=ts-node/esm' rdf-ns-builders generate -p ./index.ts -o builders",
"build": "tsc",
Expand Down

0 comments on commit d26107f

Please sign in to comment.