Skip to content

Commit 089b8b9

Browse files
Remove: SDK Reference artifacts and apps/web (#1199)
<!-- CURSOR_SUMMARY --> > [!NOTE] > **Medium Risk** > Medium risk because it deletes a large subtree (`apps/web`) and removes SDK-reference generation/commit steps from the package publish workflow, which may affect downstream docs/release expectations. > > **Overview** > **Removes the docs web app and generated SDK reference content.** The PR deletes `apps/web` configs/scripts (Next.js/MDX setup, Sentry config, prebuild/sitemap generation) and removes the committed `sdk-reference` MDX pages. > > **Simplifies repo automation and ownership.** The package publish workflow no longer generates/clones/commits SDK reference docs, `CODEOWNERS` drops web/docs ownership entries, and the root ESLint config removes `@stylistic/ts` in favor of the built-in `semi` rule. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 4158d77. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 0d5cfd1 commit 089b8b9

1,604 files changed

Lines changed: 2813 additions & 694256 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
sourceType: 'module',
1212
},
1313
ignorePatterns: ['dist/', 'node_modules/', '*.gen.ts'],
14-
plugins: ['@typescript-eslint', 'unused-imports', '@stylistic/ts'],
14+
plugins: ['@typescript-eslint', 'unused-imports'],
1515
rules: {
1616
'@typescript-eslint/member-ordering': 'error',
1717
'@typescript-eslint/ban-ts-comment': 'off', // "move fast" mode
@@ -21,6 +21,6 @@ module.exports = {
2121
// No double quotes
2222
quotes: ['error', 'single', { avoidEscape: true }],
2323
// No extra semicolon
24-
'@stylistic/ts/semi': ['error', 'never'],
24+
semi: ['error', 'never'],
2525
},
2626
}

.github/scripts/is_new_sdk_ref.sh

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

.github/workflows/publish_packages.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -87,44 +87,13 @@ jobs:
8787
NPM_TOKEN: "" # See https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868
8888
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
8989

90-
- name: Generate SDK reference
91-
id: sdk-ref
92-
run: pnpm run --recursive generate-ref
93-
94-
- name: Clone Remote Code Interpreter SDK reference
95-
run: |
96-
git clone --depth 1 --filter=blob:none --sparse https://github.com/e2b-dev/code-interpreter
97-
cd code-interpreter
98-
git sparse-checkout set sdk-reference
99-
cp -r sdk-reference/* ../apps/web/src/app/\(docs\)/docs/sdk-reference/
100-
cd ..
101-
rm -rf code-interpreter
102-
103-
- name: Clone Remote Desktop SDK reference
104-
run: |
105-
git clone --depth 1 --filter=blob:none --sparse https://github.com/e2b-dev/desktop
106-
cd desktop
107-
git sparse-checkout set sdk-reference
108-
cp -r sdk-reference/* ../apps/web/src/app/\(docs\)/docs/sdk-reference/
109-
cd ..
110-
rm -rf desktop
111-
112-
- name: Show docs file structure
113-
run: |
114-
if [ -d "./sdk-reference" ]; then
115-
tree ./sdk-reference
116-
else
117-
echo "sdk-reference directory does not exist"
118-
fi
119-
12090
- name: Update lock file
12191
run: pnpm i --no-link --no-frozen-lockfile
12292

12393
- name: Commit new versions
12494
run: |
12595
git config user.name "github-actions[bot]"
12696
git config user.email "github-actions[bot]@users.noreply.github.com"
127-
git add apps/web/src/app/\(docs\)/docs/sdk-reference
12897
git commit -am "[skip ci] Release new versions" || exit 0
12998
git push
13099
env:

CODEOWNERS

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
# the repo. Unless a later match takes precedence.
33
* @jakubno @ValentaTomas
44

5-
# Web
6-
apps/web @jakubno @ben-fornefeld
7-
apps/web/src/app/(docs)/docs @mlejva
8-
95
# SDKs
106
packages @jakubno @ValentaTomas @mishushakov
117
packages/connect-python @ValentaTomas

apps/web/.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/web/.eslintrc.json

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

apps/web/.gitignore

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

apps/web/.prettierignore

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

apps/web/README.md

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

apps/web/components.json

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

0 commit comments

Comments
 (0)