Skip to content

Commit

Permalink
chore: Update ESLint, Prettier, and EditorConfig files
Browse files Browse the repository at this point in the history
- remove GNOME from extension name
  • Loading branch information
ZanzyTHEbar committed Jun 27, 2024
1 parent 20961bc commit 87fd9ec
Show file tree
Hide file tree
Showing 32 changed files with 3,645 additions and 6,267 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
eslint:
defaults:
run:
working-directory: ./vscode-workspaces-gnome
working-directory: ./vscode-workspaces

name: Run eslint scanning
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./vscode-workspaces-gnome
working-directory: ./vscode-workspaces

steps:
- name: Checkout code
Expand All @@ -38,7 +38,7 @@ jobs:
with:
node-version: 20
cache: 'pnpm'
cache-dependency-path: './vscode-workspaces-gnome/pnpm-lock.yaml'
cache-dependency-path: './vscode-workspaces/pnpm-lock.yaml'

- name: Get pnpm store directory
shell: bash
Expand Down
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,35 @@ dist/
*.log
*.zip
*.tar.gz

# Ignore usual ignore stuff
.DS_Store
Thumbs.db

# Ignore .vscode folder
.vscode/

# Ignore build folder
build/

# Ignore dist folder
dist/

# Ignore zip packed extension files
monitor@astraext*.zip

# Ignore node_modules folder
node_modules/

# Ignore package-lock.json file
package-lock.json

# Ignore compiled schemas
schemas/gschemas.compiled

# Ignore i18n files
po/*.mo
po/*.po~

# Ignore TODOs
TODOs.txt
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ bash <(wget -qO- https://raw.githubusercontent.com/ZanzyTHEbar/vscode-nautilus/m
To uninstall a GNOME Shell extension, you can use the GNOME Tweaks application or the `gnome-extensions` command.

```bash
gnome-extensions disable vscode-workspaces-gnome@prometheontechnologies.com
gnome-extensions uninstall vscode-workspaces-gnome@prometheontechnologies.com
gnome-extensions disable [email protected]
gnome-extensions uninstall [email protected]
```

You can also remove the directory manually.

```bash
rm -rf ~/.local/share/gnome-shell/extensions/vscode-workspaces-gnome@prometheontechnologies.com
rm -rf ~/.local/share/gnome-shell/extensions/[email protected]
```

## Uninstall Nautilus Extensions
Expand Down Expand Up @@ -89,7 +89,7 @@ Navigate to your desired directory and execute following commands in the termina

```bash
git clone https://github.com/ZanzyTHEbar/vscode-nautilus.git
cd vscode-nautilus/vscode-workspaces-gnome
cd vscode-nautilus/vscode-workspaces

make && make pack && make install
```
Expand Down
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ install_nautilus_extensions() {
URL_TO_CHECK=""
# GitHub repository and file to download
GITHUB_REPO="ZanzyTHEbar/vscode-nautilus"
RELEASE_FILE="vscode-workspaces-gnome.zip"
RELEASE_FILE="vscode-workspaces.zip"

# Function to check if URL exists
check_url() {
Expand All @@ -92,7 +92,7 @@ download_from_github() {

install_gnome_shell_extension() {
# Check if the GNOME Shell extension is installed
gnome_shell_extension_id="vscode-workspaces-gnome@prometheontechnologies.com"
gnome_shell_extension_id="[email protected]"
gnome_shell_extension_installed=$(gnome-extensions list | grep $gnome_shell_extension_id)

if [ -z "$gnome_shell_extension_installed" ]; then
Expand All @@ -114,7 +114,7 @@ install_gnome_shell_extension() {
fi

# Install the GNOME Shell extension
gnome-extensions install /tmp/vscode-workspaces-gnome.zip
gnome-extensions install /tmp/vscode-workspaces.zip
gnome-extensions enable $gnome_shell_extension_id
echo "GNOME Shell extension installed successfully."
else
Expand Down
11 changes: 0 additions & 11 deletions vscode-workspaces-gnome/ambient.d.ts

This file was deleted.

11 changes: 0 additions & 11 deletions vscode-workspaces-gnome/eslint.config.js

This file was deleted.

38 changes: 0 additions & 38 deletions vscode-workspaces-gnome/package.json

This file was deleted.

Loading

0 comments on commit 87fd9ec

Please sign in to comment.