Skip to content

Commit

Permalink
Merge branch 'main' into tjbanghart/fat-jar
Browse files Browse the repository at this point in the history
  • Loading branch information
tjbanghart committed Mar 26, 2024
2 parents 408722c + c37c508 commit a7e27eb
Show file tree
Hide file tree
Showing 997 changed files with 64,151 additions and 143,269 deletions.
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{kt,gradle}]
[*.{kt,kts}]
indent_style = space
indent_size = 4
ktlint_standard_no-wildcard-imports = disabled
ktlint_standard_filename = disabled
ktlint_standard_enum-entry-name-case = disabled
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @looker-open-source/cloud-looker-devrel
3 changes: 2 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
## Developer Checklist [ℹ️](https://github.com/looker-open-source/sdk-codegen/blob/main/CONTRIBUTING.md#developer-checklist)

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/looker-open-source/sdk-codegen/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea

- [ ] Make sure to open an issue as a [bug/issue](https://github.com/looker-open-source/sdk-codegen/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Appropriate docs were updated (if necessary)

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/apix-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: API Explorer CI
on:
pull_request:
paths:
- package.json
- packages/code-editor/**
- packages/run-it/**
- packages/api-explorer/**
Expand All @@ -13,6 +14,7 @@ on:
branches:
- main
paths:
- package.json
- packages/code-editor/**
- packages/run-it/**
- packages/api-explorer/**
Expand All @@ -37,7 +39,7 @@ jobs:
matrix:
os:
- ubuntu
node-version: [16.x]
node-version: [18.x]

steps:
- name: Cancel Previous Runs
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/codegen-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Codegen CI
on:
pull_request:
paths:
- package.json
- packages/sdk-codegen/**
- packages/sdk-codegen-utils/**
- packages/sdk-codegen-scripts/**
Expand All @@ -11,6 +12,7 @@ on:
branches:
- main
paths:
- package.json
- packages/sdk-codegen/**
- packages/sdk-codegen-utils/**
- packages/sdk-codegen-scripts/**
Expand Down Expand Up @@ -71,7 +73,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x

- name: Install dependencies
run: |
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/fix-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Fix NPM info

on:
workflow_dispatch:

jobs:

fix:
runs-on: ubuntu-latest
steps:
- name: Get NPM token last 8
run: echo $NODE_AUTH_TOKEN | sed 's/^.*\(.\{8\}\)$/\1/'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_RELEASE_BACKED }}
5 changes: 3 additions & 2 deletions .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
uses: looker-open-source/reusable-actions/.github/workflows/supported-versions.yml@main

integration:
needs: [setup,unit]
needs: [setup, unit]
name: Integration - ${{ matrix.os }} / Looker.${{ matrix.looker }}
env:
LOOKERSDK_CLIENT_ID: ${{ secrets.LOOKERSDK_CLIENT_ID }}
Expand All @@ -85,7 +85,8 @@ jobs:
matrix:
os:
- ubuntu
looker: ${{ fromJson(needs.setup.outputs.matrix_json) }}
looker:
${{ fromJson(needs.setup.outputs.matrix_json) }}

# TODO uncomment `include:` when either macos or windows works to satisfaction.
#include:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/hackathon-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Hackathon CI
on:
pull_request:
paths:
- package.json
- packages/wholly-artifact/**
- packages/hackathon/**
- .github/workflows/hackathon-ci.yml
Expand All @@ -10,6 +11,7 @@ on:
branches:
- main
paths:
- package.json
- packages/wholly-artifact/**
- packages/hackathon/**
- .github/workflows/hackathon-ci.yml
Expand All @@ -31,7 +33,7 @@ jobs:
matrix:
os:
- ubuntu
node-version: [16.x]
node-version: [18.x]

steps:
- name: Cancel Previous Runs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lerna-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18.x
registry-url: https://wombat-dressing-room.appspot.com

- name: Install dependencies and build
Expand All @@ -74,7 +74,7 @@ jobs:
echo "client_secret=secret" >> looker.ini
echo "verify_ssl=False" >> looker.ini
echo "timeout=31" >> looker.ini
echo "[Looker31]" >> looker.ini
echo "[Looker40]" >> looker.ini
echo "base_url=https://self-signed.looker.com:19999" >> looker.ini
echo "verify_ssl=False" >> looker.ini
echo "timeout=30" >> looker.ini
Expand All @@ -84,6 +84,6 @@ jobs:
${{ github.workspace }}/.github/scripts/wait_for_looker.sh
- name: Publish to NPM registry
run: $(npm bin)/lerna publish from-package --yes --no-verify-access
run: npx lerna publish from-package --yes --no-verify-access
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_RELEASE_BACKED }}
2 changes: 1 addition & 1 deletion .github/workflows/p3-issue-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["p3"]
})
})
9 changes: 5 additions & 4 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
matrix:
os:
- ubuntu
- macos
# - macos # Temporary disable since runners down
- windows
python-version:
- '3.10'
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
path: python/results/

integration:
needs: [unit,setup]
needs: [unit, setup]
name: Integration - ${{ matrix.os }} / Looker.${{ matrix.looker }}
env:
TOX_JUNIT_OUTPUT_NAME: ${{ matrix.os }}.Looker-${{ matrix.looker }}.py3.x
Expand All @@ -117,10 +117,11 @@ jobs:
matrix:
os:
- large-ubuntu
looker: ${{ fromJson(needs.setup.outputs.matrix_json) }}
looker:
${{ fromJson(needs.setup.outputs.matrix_json) }}

# TODO uncomment `include:` when either macos or windows works to satisfaction.
#include:
#include:
# TODO: macos matrix leg is functional but it takes ~20 minutes (compared
# to ~4 minutes for ubuntu) because docker install takes ~5 minutes
# and docker pull takes ~10 minutes. We can probably figure out how to
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/release-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ jobs:
uses: google-github-actions/setup-gcloud@v1.1.0

- run: 'jq -c ''.release |
{
package_name: .name | split(" ")[0],
name,
tag_name,
version: .tag_name | split("-v")[1],
html_url,
target_commitish,
created_at,
published_at,
draft,
prerelease
}'' $GITHUB_EVENT_PATH > releases.json'
{
package_name: .name | split(" ")[0],
name,
tag_name,
version: .tag_name | split("-v")[1],
html_url,
target_commitish,
created_at,
published_at,
draft,
prerelease
}'' $GITHUB_EVENT_PATH > releases.json'
- run: bq load --source_format=NEWLINE_DELIMITED_JSON metrics.releases releases.json
4 changes: 4 additions & 0 deletions .github/workflows/required-checks-hack-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,21 @@ jobs:
with:
filters: |
apix:
- package.json
- packages/code-editor/**/*
- packages/run-it/**/*
- packages/api-explorer/**/*
- packages/extension-api-explorer/**/*
- packages/extension-utils/**/*
- .github/workflows/apix-ci.yml
codegen:
- package.json
- packages/sdk-codegen/**/*
- packages/sdk-codegen-utils/**/*
- packages/sdk-codegen-scripts/**/*
- .github/workflows/codegen-ci.yml
hackathon:
- package.json
- packages/wholly-sheet/**/*
- packages/hackathon/**/*
- .github/workflows/hackathon-ci.yml
Expand All @@ -67,6 +70,7 @@ jobs:
- docs/resources/**/*
- .github/workflows/resources-ci.yml
tssdk:
- package.json
- packages/sdk/**/*
- packages/sdk-rtl/**/*
- packages/sdk-node/**/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/resources-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18.x

- name: Install Dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/triage-issue-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["need triage"]
})
})
8 changes: 5 additions & 3 deletions .github/workflows/tssdk-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: TypeScript SDK CI
on:
pull_request:
paths:
- package.json
- packages/sdk/**
- packages/sdk-rtl/**
- packages/sdk-node/**
Expand All @@ -14,6 +15,7 @@ on:
branches:
- main
paths:
- package.json
- packages/sdk/**
- packages/sdk-rtl/**
- packages/sdk-node/**
Expand Down Expand Up @@ -41,7 +43,7 @@ jobs:
matrix:
os:
- ubuntu
node-version: [14.x, 16.x]
node-version: [18.x, 20.x]

steps:
- name: Cancel Previous Runs
Expand Down Expand Up @@ -110,7 +112,7 @@ jobs:
setup:
uses: looker-open-source/reusable-actions/.github/workflows/supported-versions.yml@main
integration:
needs: [unit,setup]
needs: [unit, setup]
name: Integration - ${{ matrix.os }} / Node.${{ matrix.node-version }} / Looker.${{ matrix.looker }}
env:
JEST_JUNIT_OUTPUT_DIR: results/tssdk
Expand All @@ -120,7 +122,7 @@ jobs:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
node-version: [16.x]
node-version: [18.x, 20.x]
os:
- ubuntu
looker: ${{ fromJson(needs.setup.outputs.matrix_json) }}
Expand Down
12 changes: 9 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
**/node_modules/*
packages/**/lib/

*.md
**/*.md
**/*.mdx
**/dist
**/lib
**/storybook-static
**/test/output
**/.eslintrc
*.lock
8 changes: 8 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// module.exports = require("@looker/prettier-config");
const config = {
// SSchema: "https://json.schemastore.org/prettierrc",
semi: true,
singleQuote: true,
trailingComma: 'es5',
};
module.exports = config;
5 changes: 0 additions & 5 deletions .prettierrc.json

This file was deleted.

35 changes: 18 additions & 17 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
{
".": "23.16.0",
"packages/api-explorer": "0.9.52",
".": "24.3.0",
"packages/api-explorer": "0.9.58",
"packages/code-editor": "0.1.30",
"packages/extension-api-explorer": "22.21.9",
"packages/extension-sdk": "23.16.0",
"packages/extension-sdk-react": "23.16.0",
"packages/extension-utils": "0.1.29",
"packages/hackathon": "22.21.11",
"packages/run-it": "0.9.52",
"packages/sdk": "23.16.0",
"packages/extension-api-explorer": "22.21.15",
"packages/extension-sdk": "24.2.1",
"packages/extension-sdk-react": "24.2.1",
"packages/extension-utils": "0.1.35",
"packages/hackathon": "22.21.17",
"packages/run-it": "0.9.58",
"packages/sdk": "24.2.1",
"packages/sdk-codegen": "21.8.2",
"packages/sdk-codegen-scripts": "21.5.9",
"packages/sdk-codegen-scripts": "21.5.15",
"packages/sdk-codegen-utils": "21.0.11",
"packages/sdk-node": "23.16.0",
"packages/sdk-node": "24.2.1",
"packages/sdk-rtl": "21.6.1",
"packages/wholly-artifact": "0.1.10",
"packages/wholly-sheet": "0.5.48",
"python": "23.16.0",
"packages/extension-playground": "1.0.9",
"packages/embed-services": "23.16.0",
"packages/embed-components": "23.16.0"
"packages/wholly-artifact": "0.1.16",
"packages/wholly-sheet": "0.5.54",
"python": "24.2.1",
"packages/extension-playground": "1.0.15",
"packages/extension-tile-playground": "1.1.2",
"packages/embed-services": "24.2.1",
"packages/embed-components": "24.2.1"
}

0 comments on commit a7e27eb

Please sign in to comment.