Skip to content

Commit 248bae6

Browse files
committed
drop: removed any typescript modules/docs
1 parent c2f076d commit 248bae6

9 files changed

Lines changed: 2 additions & 2152 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,6 @@ env:
99
RUST_BACKTRACE: 1
1010

1111
jobs:
12-
node:
13-
name: "[TS] Build"
14-
runs-on: ubuntu-latest
15-
16-
steps:
17-
- name: Checkout repository
18-
uses: actions/checkout@v6
19-
20-
- name: "Setup Node.js"
21-
uses: actions/setup-node@v6
22-
with:
23-
node-version: 24
24-
25-
- name: "Install dependencies"
26-
run: npm ci
27-
working-directory: ./package/reader
28-
29-
- name: "Build project"
30-
run: npm run build
31-
working-directory: ./package/reader
32-
3312
format:
3413
name: "[RUST] Format Check"
3514
runs-on: ubuntu-latest
@@ -119,4 +98,4 @@ jobs:
11998
${{ runner.os }}-cargo-
12099
121100
- name: "Generate report"
122-
run: cargo run report
101+
run: cargo run report

.github/workflows/release.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,6 @@ on:
66
- '*'
77

88
jobs:
9-
publish-ts-reader:
10-
permissions:
11-
id-token: write
12-
if: startsWith(github.ref, 'refs/tags/pkg-')
13-
defaults:
14-
run:
15-
working-directory: "./package/reader"
16-
runs-on: ubuntu-latest
17-
steps:
18-
- uses: actions/checkout@v6
19-
- uses: actions/setup-node@v6
20-
with:
21-
node-version: '24.x'
22-
registry-url: 'https://registry.npmjs.org'
23-
- run: npm version from-git --git-tag-version=false
24-
- run: npm ci
25-
- run: npm run build
26-
- run: npm publish
27-
289
publish-defintions:
2910
permissions:
3011
contents: write
@@ -76,4 +57,4 @@ jobs:
7657
- name: Cargo Login
7758
run: cargo login ${{secrets.CRATES_IO_PUBLISH}}
7859
- name: Publish crate
79-
run: cargo publish --allow-dirty
60+
run: cargo publish --allow-dirty

README.md

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,3 @@ code0-cli definition -n definition_name
6969
code0-cli definition -n definition_name -p /path/to/definitions
7070
```
7171

72-
## TypeScript Definition Package
73-
74-
### Install Package
75-
```bash
76-
npm i @code0-tech/code0-definition-reader --save-dev
77-
```
78-
79-
### Usage
80-
81-
```ts
82-
const features = Definition("./path/to/definitions")
83-
84-
for (const feature in features) {
85-
const name = feature.name; //name of the feature (e.g. http)
86-
const dataTypes = fearture.dataTypes; //dataTypes of this feature
87-
const flowTypes = fearture.flowTypes; //flowTypes of this feature
88-
const functions = fearture.runtimeFunctions; //runtimeFunctions of this feature
89-
}
90-
```

0 commit comments

Comments
 (0)