Skip to content

Commit edcf1c3

Browse files
authored
chore: remove typescript generation and publishing. (#122)
At one point in time, we explored with publishing typescript models to enable javascript CDKs. We no longer want to do so. Clean this up to simplify things.
1 parent 2c9fdf9 commit edcf1c3

11 files changed

Lines changed: 1 addition & 827 deletions

File tree

.github/actions/publish/action.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,3 @@ runs:
8787
env:
8888
TWINE_PASSWORD: ${{ inputs.twine_password }}
8989
TWINE_USERNAME: ${{ inputs.twine_username }}
90-
91-
# github runners already come with NPM and node
92-
- name: Generate Typescript Protocol Classes
93-
shell: bash
94-
run: protocol-models/bin/generate-typescript-classes-docker.sh
95-
96-
- name: npm publish
97-
shell: bash
98-
working-directory: protocol-models/typescript
99-
run: |
100-
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
101-
npm publish
102-
env:
103-
NPM_TOKEN: ${{ inputs.npm_token }}

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
language: ["java", "python", "javascript"]
35+
language: ["java", "python"]
3636
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
3737
# Use only 'java' to analyze code written in Java, Kotlin or both
3838
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both

.github/workflows/pull-request-publish.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,3 @@ jobs:
102102
TWINE_PASSWORD: ${{ secrets.TEST_TWINE_PASSWORD }}
103103
TWINE_USERNAME: ${{ secrets.TEST_TWINE_USERNAME }}
104104
TWINE_REPOSITORY_URL: "https://test.pypi.org/legacy/"
105-
106-
# node
107-
- name: Generate Typescript Protocol Classes
108-
run: protocol-models/bin/generate-typescript-classes-docker.sh
109-
110-
- name: Test npm publish
111-
run: cd protocol-models/typescript && npm publish --dry-run

protocol-models/bin/generate-typescript-classes-docker.sh

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

protocol-models/bin/generate-typescript-classes.sh

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

protocol-models/typescript/.npmignore

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

protocol-models/typescript/package.json

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

0 commit comments

Comments
 (0)