-
Notifications
You must be signed in to change notification settings - Fork 16
refactor: add pnpm workspace configuration and turbo build tasks #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
d805b45
chore: add pnpm workspace configuration and turbo build tasks
jpoehnelt 352381e
build: run tests with xvfb for headless execution
jpoehnelt 31aa669
fix: update pretest script to use pnpm and enhance test task configur…
jpoehnelt bac8b57
fix: use xvfb-run -a in extension test script
jpoehnelt 1a96f53
fix: format turbo.json for improved readability
jpoehnelt 357ebdb
fix: add ci:package script to package.json for CI integration
jpoehnelt 72ebd64
fix: update package name to remove scope prefix
jpoehnelt d56c8ac
fix: update @types/vscode version and other dependencies in package.j…
jpoehnelt 3a2a678
fix: add lint and check steps to workflows and update ci:update scrip…
jpoehnelt 05a712a
fix: add changeset script to package.json
jpoehnelt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "google-workspace-vscode-extension": patch | ||
| --- | ||
|
|
||
| Change to monorepo structure. |
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -28,13 +28,17 @@ jobs: | |
| id-token: write | ||
| steps: | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
| - uses: pnpm/action-setup@v3 | ||
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | ||
| - run: npm ci | ||
| - run: npm run build | ||
| - run: npm run lint | ||
| - run: npm run check | ||
| - run: xvfb-run -a npm test | ||
| - run: npm run ci:package | ||
| with: | ||
| node-version: "lts/*" | ||
| cache: "pnpm" | ||
| - run: pnpm i | ||
| - run: pnpm build | ||
| - run: pnpm lint | ||
| - run: pnpm check | ||
| - run: pnpm test | ||
| - run: pnpm ci:package | ||
| - run: | | ||
| git config --global user.name "googleworkspace-bot" | ||
| git config --global user.email "[email protected]" | ||
|
|
@@ -49,5 +53,5 @@ jobs: | |
| commit: "chore: release" | ||
| commitMode: github-api | ||
| setupGitUser: false | ||
| publish: "npm run ci:release" | ||
| version: "npm run ci:version" | ||
| publish: "pnpm ci:release" | ||
| version: "pnpm ci:version" | ||
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -3,3 +3,5 @@ dist | |
| node_modules | ||
| .vscode-test/ | ||
| *.vsix | ||
| .env | ||
| .turbo | ||
This file contains hidden or 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,3 +1,3 @@ | ||
| #!/bin/sh | ||
|
|
||
| npx lint-staged | ||
| pnpx lint-staged |
This file contains hidden or 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,4 +1,4 @@ | ||
| #!/bin/sh | ||
|
|
||
| npm run lint | ||
| npm run check | ||
| pnpm run lint | ||
| pnpm run check |
This file contains hidden or 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 hidden or 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,41 +1,7 @@ | ||
| # Google Workspace Developer Tools | ||
| # Google Workspace Developer Tools Monorepo | ||
|
|
||
| This VS Code extension provides a set of tools to help Google Workspace developers. | ||
| This repository is a monorepo for tools that help Google Workspace developers. | ||
|
|
||
| ## Features | ||
| ## Packages | ||
|
|
||
| - **OAuth2 Scope Linting**: Get warnings and additional information for Google Workspace [OAuth2 scopes](https://developers.google.com/identity/protocols/oauth2/scopes) in your code. | ||
|
|
||
|  | ||
|
|
||
| ## Usage | ||
|
|
||
| ### OAuth2 Scope Linting | ||
|
|
||
| Warnings and suggestions will automatically appear for OAuth2 scopes in your code. | ||
|
|
||
| ## Installation | ||
|
|
||
| You can install the Google Workspace Developer Tools extension in a few ways. | ||
|
|
||
| ### From within VS Code (Recommended) | ||
|
|
||
| 1. Launch Visual Studio Code. | ||
| 2. Go to the **Extensions** view (`Ctrl+Shift+X` or `Cmd+Shift+X`). | ||
| 3. Search for `Google Workspace Developer Tools`. | ||
| 4. Click **Install**. | ||
|
|
||
| ### From a Marketplace | ||
|
|
||
| Install the extension from your preferred marketplace: | ||
|
|
||
| - [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=google-workspace.google-workspace-developer-tools) | ||
| - [Open VSX Registry](https://open-vsx.org/extension/google-workspace/google-workspace-developer-tools) | ||
|
|
||
| ### Using the Command Line | ||
|
|
||
| If you have the `code` command-line tool installed, you can install the extension with this command: | ||
|
|
||
| ```sh | ||
| code --install-extension google-workspace.google-workspace-developer-tools | ||
| ``` | ||
| - [`@google-workspace/vscode-extension`](./packages/vscode-extension): A VS Code extension with tools to help Google Workspace developers. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.