-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename the extension to just
Sema4.ai
(#3)
* Rename the extension to just `Sema4.ai` * Single-click to development scripts * Fixing lints * Fixed develop scripts: yarn was missing * Version bump 1.22.3 --------- Co-authored-by: Cosmin G. Popa <[email protected]>
- Loading branch information
1 parent
4dd1960
commit ff4b164
Showing
425 changed files
with
448 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
run: | | ||
python -m pip install --upgrade pip fire poetry | ||
cd sema4ai-code | ||
cd sema4ai | ||
poetry config virtualenvs.prefer-active-python true | ||
poetry install | ||
|
@@ -30,23 +30,23 @@ jobs: | |
run: | | ||
npm install -g [email protected] | ||
- name: Prettier Sema4.ai Code (yarn prettier --write vscode-client/**/*.ts to format files locally) | ||
working-directory: ./sema4ai-code | ||
- name: Prettier Sema4.ai (yarn prettier --write vscode-client/**/*.ts to format files locally) | ||
working-directory: ./sema4ai | ||
if: always() | ||
run: prettier --check vscode-client/**/*.ts | ||
|
||
- name: ruff format check sema4ai-code | ||
working-directory: ./sema4ai-code | ||
- name: ruff format check sema4ai | ||
working-directory: ./sema4ai | ||
if: always() | ||
run: | | ||
echo $PWD | ||
ls -la | ||
# Fix with python -m dev ruff_format --format | ||
poetry run python -m dev ruff_format | ||
- name: mypy sema4ai-code | ||
- name: mypy sema4ai | ||
if: always() | ||
working-directory: ./sema4ai-code | ||
working-directory: ./sema4ai | ||
run: | | ||
poetry run mypy --follow-imports=silent --show-column-numbers $PWD/src $PWD/tests $PWD/codegen | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,13 @@ on: | |
version: | ||
description: 'Version' | ||
required: true | ||
name: Pre-release - Sema4.ai Code Extension | ||
name: Pre-release - Sema4.ai Extension | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./sema4ai-code | ||
working-directory: ./sema4ai | ||
|
||
strategy: | ||
fail-fast: true | ||
|
@@ -54,7 +54,7 @@ jobs: | |
run: python -m dev generate-license-file | ||
|
||
- name: Install locally | ||
working-directory: ./sema4ai-code | ||
working-directory: ./sema4ai | ||
run: poetry install | ||
|
||
- run: npm install -g [email protected] | ||
|
@@ -66,62 +66,62 @@ jobs: | |
- name: Download rcc for windows | ||
run: python -m dev download-rcc win32 | ||
|
||
- run: vsce package --pre-release --target win32-x64 -o sema4ai-code-win32-x64.vsix | ||
- run: vsce package --pre-release --target win32-x64 -o sema4ai-win32-x64.vsix | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sema4ai-code-win32-x64.vsix | ||
path: ./sema4ai-code/sema4ai-code-win32-x64.vsix | ||
name: sema4ai-win32-x64.vsix | ||
path: ./sema4ai/sema4ai-win32-x64.vsix | ||
|
||
- name: Publish pre-release to vscode marketplace | ||
run: vsce publish --packagePath ./sema4ai-code-win32-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release | ||
run: vsce publish --packagePath ./sema4ai-win32-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release | ||
env: | ||
VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} | ||
|
||
# Deal with Linux -------------- | ||
- name: Download rcc for linux | ||
run: python -m dev download-rcc linux | ||
|
||
- run: vsce package --pre-release --target linux-x64 -o sema4ai-code-linux-x64.vsix | ||
- run: vsce package --pre-release --target linux-x64 -o sema4ai-linux-x64.vsix | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sema4ai-code-linux-x64.vsix | ||
path: ./sema4ai-code/sema4ai-code-linux-x64.vsix | ||
name: sema4ai-linux-x64.vsix | ||
path: ./sema4ai/sema4ai-linux-x64.vsix | ||
|
||
- name: Publish pre-release to vscode marketplace | ||
run: vsce publish --packagePath ./sema4ai-code-linux-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release | ||
run: vsce publish --packagePath ./sema4ai-linux-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release | ||
env: | ||
VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} | ||
|
||
# Deal with Darwin x64 -------------- | ||
- name: Download rcc for darwin | ||
run: python -m dev download-rcc darwin | ||
|
||
- run: vsce package --pre-release --target darwin-x64 -o sema4ai-code-darwin-x64.vsix | ||
- run: vsce package --pre-release --target darwin-x64 -o sema4ai-darwin-x64.vsix | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sema4ai-code-darwin-x64.vsix | ||
path: ./sema4ai-code/sema4ai-code-darwin-x64.vsix | ||
name: sema4ai-darwin-x64.vsix | ||
path: ./sema4ai/sema4ai-darwin-x64.vsix | ||
|
||
- name: Publish pre-release to vscode marketplace | ||
run: vsce publish --packagePath ./sema4ai-code-darwin-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release | ||
run: vsce publish --packagePath ./sema4ai-darwin-x64.vsix -p $VSCODE_VSCE_TOKEN --pre-release | ||
env: | ||
VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} | ||
|
||
# Deal with Darwin arm64 -------------- | ||
- name: Download rcc for darwin | ||
run: python -m dev download-rcc darwin | ||
|
||
- run: vsce package --pre-release --target darwin-arm64 -o sema4ai-code-darwin-arm64.vsix | ||
- run: vsce package --pre-release --target darwin-arm64 -o sema4ai-darwin-arm64.vsix | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sema4ai-code-darwin-arm64.vsix | ||
path: ./sema4ai-code/sema4ai-code-darwin-arm64.vsix | ||
name: sema4ai-darwin-arm64.vsix | ||
path: ./sema4ai/sema4ai-darwin-arm64.vsix | ||
|
||
- name: Publish pre-release to vscode marketplace | ||
run: vsce publish --packagePath ./sema4ai-code-darwin-arm64.vsix -p $VSCODE_VSCE_TOKEN --pre-release | ||
run: vsce publish --packagePath ./sema4ai-darwin-arm64.vsix -p $VSCODE_VSCE_TOKEN --pre-release | ||
env: | ||
VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
on: | ||
push: | ||
branches: | ||
- "release-sema4ai-code" | ||
- "release-sema4ai" | ||
tags: | ||
- "sema4ai-code-*" | ||
name: Deploy - Sema4.ai Code Extension | ||
- "sema4ai-*" | ||
name: Deploy - Sema4.ai Extension | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./sema4ai-code | ||
working-directory: ./sema4ai | ||
|
||
strategy: | ||
fail-fast: true | ||
|
@@ -36,7 +36,7 @@ jobs: | |
- name: Generate LICENSE.md | ||
run: python -m dev generate-license-file | ||
- name: Install locally | ||
working-directory: ./sema4ai-code | ||
working-directory: ./sema4ai | ||
run: poetry install | ||
- run: npm install -g [email protected] | ||
|
||
|
@@ -47,82 +47,82 @@ jobs: | |
- name: Download rcc for windows | ||
run: python -m dev download-rcc win32 | ||
|
||
- run: vsce package --target win32-x64 -o sema4ai-code-win32-x64.vsix | ||
- run: vsce package --target win32-x64 -o sema4ai-win32-x64.vsix | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sema4ai-code-win32-x64.vsix | ||
path: ./sema4ai-code/sema4ai-code-win32-x64.vsix | ||
name: sema4ai-win32-x64.vsix | ||
path: ./sema4ai/sema4ai-win32-x64.vsix | ||
|
||
- name: Publish pre-release to vscode marketplace | ||
run: vsce publish --packagePath ./sema4ai-code-win32-x64.vsix -p $VSCODE_VSCE_TOKEN | ||
run: vsce publish --packagePath ./sema4ai-win32-x64.vsix -p $VSCODE_VSCE_TOKEN | ||
env: | ||
VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} | ||
|
||
- name: Publish windows to open vsx marketplace | ||
run: npx ovsx publish sema4ai-code-win32-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN | ||
run: npx ovsx publish sema4ai-win32-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN | ||
env: | ||
VSCODE_OPEN_VSX_TOKEN: ${{ secrets.VSCODE_OPEN_VSX_TOKEN }} | ||
|
||
# Deal with Linux -------------- | ||
- name: Download rcc for linux | ||
run: python -m dev download-rcc linux | ||
|
||
- run: vsce package --target linux-x64 -o sema4ai-code-linux-x64.vsix | ||
- run: vsce package --target linux-x64 -o sema4ai-linux-x64.vsix | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sema4ai-code-linux-x64.vsix | ||
path: ./sema4ai-code/sema4ai-code-linux-x64.vsix | ||
name: sema4ai-linux-x64.vsix | ||
path: ./sema4ai/sema4ai-linux-x64.vsix | ||
|
||
- name: Publish pre-release to vscode marketplace | ||
run: vsce publish --packagePath ./sema4ai-code-linux-x64.vsix -p $VSCODE_VSCE_TOKEN | ||
run: vsce publish --packagePath ./sema4ai-linux-x64.vsix -p $VSCODE_VSCE_TOKEN | ||
env: | ||
VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} | ||
|
||
- name: Publish linux to open vsx marketplace | ||
run: npx ovsx publish sema4ai-code-linux-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN | ||
run: npx ovsx publish sema4ai-linux-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN | ||
env: | ||
VSCODE_OPEN_VSX_TOKEN: ${{ secrets.VSCODE_OPEN_VSX_TOKEN }} | ||
|
||
# Deal with Darwin x64 -------------- | ||
- name: Download rcc for darwin | ||
run: python -m dev download-rcc darwin | ||
|
||
- run: vsce package --target darwin-x64 -o sema4ai-code-darwin-x64.vsix | ||
- run: vsce package --target darwin-x64 -o sema4ai-darwin-x64.vsix | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sema4ai-code-darwin-x64.vsix | ||
path: ./sema4ai-code/sema4ai-code-darwin-x64.vsix | ||
name: sema4ai-darwin-x64.vsix | ||
path: ./sema4ai/sema4ai-darwin-x64.vsix | ||
|
||
- name: Publish pre-release to vscode marketplace | ||
run: vsce publish --packagePath ./sema4ai-code-darwin-x64.vsix -p $VSCODE_VSCE_TOKEN | ||
run: vsce publish --packagePath ./sema4ai-darwin-x64.vsix -p $VSCODE_VSCE_TOKEN | ||
env: | ||
VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} | ||
|
||
- name: Publish darwin to open vsx marketplace | ||
run: npx ovsx publish sema4ai-code-darwin-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN | ||
run: npx ovsx publish sema4ai-darwin-x64.vsix -p $VSCODE_OPEN_VSX_TOKEN | ||
env: | ||
VSCODE_OPEN_VSX_TOKEN: ${{ secrets.VSCODE_OPEN_VSX_TOKEN }} | ||
|
||
# Deal with Darwin arm64 -------------- | ||
- name: Download rcc for darwin | ||
run: python -m dev download-rcc darwin | ||
|
||
- run: vsce package --target darwin-arm64 -o sema4ai-code-darwin-arm64.vsix | ||
- run: vsce package --target darwin-arm64 -o sema4ai-darwin-arm64.vsix | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: sema4ai-code-darwin-arm64.vsix | ||
path: ./sema4ai-code/sema4ai-code-darwin-arm64.vsix | ||
name: sema4ai-darwin-arm64.vsix | ||
path: ./sema4ai/sema4ai-darwin-arm64.vsix | ||
|
||
- name: Publish pre-release to vscode marketplace | ||
run: vsce publish --packagePath ./sema4ai-code-darwin-arm64.vsix -p $VSCODE_VSCE_TOKEN | ||
run: vsce publish --packagePath ./sema4ai-darwin-arm64.vsix -p $VSCODE_VSCE_TOKEN | ||
env: | ||
VSCODE_VSCE_TOKEN: ${{ secrets.VSCODE_VSCE_TOKEN }} | ||
|
||
- name: Publish darwin to open vsx marketplace | ||
run: npx ovsx publish sema4ai-code-darwin-arm64.vsix -p $VSCODE_OPEN_VSX_TOKEN | ||
run: npx ovsx publish sema4ai-darwin-arm64.vsix -p $VSCODE_OPEN_VSX_TOKEN | ||
env: | ||
VSCODE_OPEN_VSX_TOKEN: ${{ secrets.VSCODE_OPEN_VSX_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.