Skip to content

Commit 6305868

Browse files
committed
chore: Rebased on frictionless-ts
1 parent a32a936 commit 6305868

File tree

5 files changed

+201
-954
lines changed

5 files changed

+201
-954
lines changed

extension/content/docs/overview/software.md

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -89,19 +89,19 @@ print(package)
8989
## TypeScript
9090

9191
> [!NOTE]
92-
> In addition to the TypeScript SDK, we recommend using [dpkit](https://dpkit.dev/) to manage your data packages. For example, using it you can publish your data package directory to Zenodo instead of saving it locally, as well as consume it from a remote server.
92+
> In addition to the TypeScript SDK, we recommend using [frictionless-ts](https://github.com/frictionlessdata/frictionless-ts) to manage your data packages. For example, using it you can publish your data package directory to Zenodo instead of saving it locally, as well as consume it from a remote server.
9393
9494
### Installation
9595

9696
```bash
97-
npm install extensiondp dpkit
97+
npm install extensiondp frictionless-ts
9898
```
9999

100100
### Publication
101101

102102
```typescript
103103
import type { Table1, Table2, Package } from "extensiondp";
104-
import { savePackageDescriptor } from "dpkit";
104+
import { savePackageDescriptor } from "frictionless-ts";
105105

106106
const record1: Table1 = {
107107
id: "t1-001",
@@ -153,7 +153,7 @@ await savePackageDescriptor(dataPackage, {
153153
### Validation
154154

155155
```typescript
156-
import { validatePackage } from "dpkit";
156+
import { validatePackage } from "frictionless-ts";
157157

158158
const { valid, errors } = await validatePackage("extension.json");
159159
console.log(valid, errors);
@@ -162,32 +162,8 @@ console.log(valid, errors);
162162
### Consumption
163163

164164
```typescript
165-
import { loadPackageDescriptor } from "dpkit";
165+
import { loadPackageDescriptor } from "frictionless-ts";
166166

167167
const dataPackage = await loadPackageDescriptor("extension.json");
168168
console.log(dataPackage);
169169
```
170-
171-
## Command-Line
172-
173-
> [!NOTE]
174-
As an alternative to [dpkit](https://dpkit.dev/), you can use [frictionless-py](https://framework.frictionlessdata.io/) to manage your data packages in Command-Line.
175-
176-
### Installation
177-
178-
```bash
179-
curl -fsSL https://dpkit.dev/install.sh | sh
180-
```
181-
182-
183-
### Validation
184-
185-
```bash
186-
./dp package validate extension.json
187-
```
188-
189-
### Consumption
190-
191-
```bash
192-
./dp table explore -p extension.json
193-
```

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"@semantic-release/exec": "7.1.0",
4141
"@types/node": "24.5.2",
4242
"conventional-changelog-conventionalcommits": "9.1.0",
43-
"dpkit": "0.16.3",
4443
"execa": "9.6.0",
4544
"husky": "9.1.7",
4645
"json-schema-doc-ts": "2.0.0",

0 commit comments

Comments
 (0)