Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,14 @@ jobs:
DEPENDENCIES=$(cat dependencies.json | jq -c '.')
echo "DEPENDENCIES=$DEPENDENCIES" >> $GITHUB_ENV

- name: Update digma
run: |
curl -X POST -H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.RELEASE_PAT }}" \
https://api.github.com/repos/digma-ai/digma-ui/dispatches \
-d '{
"event_type": "update-ui",
"client_payload": {
release: "'"${{ github.ref_name }}"'",
dependencies: '"${{ env.DEPENDENCIES }}"'
- name: Dispatch event in digma
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.RELEASE_PAT }}
repository: digma-ai/digma
event-type: update-ui
client-payload: |-
{
"release": "${{ github.ref_name }}",
"dependencies": ${{ toJson(env.DEPENDENCIES) }}
}
}'
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dist/
jaeger-ui/
storybook-static/
package.json
package-lock.json
Expand Down
1 change: 0 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.tsx"],
addons: [
"@storybook/addon-webpack5-compiler-babel",
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-a11y",
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import tseslint from "typescript-eslint";

export default tseslint.config(
{
ignores: ["dist/", "!.storybook", "storybook-static/"]
ignores: ["!.storybook", "dist/", "jaeger-ui/", "storybook-static/"]
},
eslint.configs.recommended,
tseslint.configs.recommendedTypeChecked,
Expand Down
22 changes: 22 additions & 0 deletions knip.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { KnipConfig } from "knip";

const config: KnipConfig = {
entry: [
"scripts/*.{js,mjs,mts,ts}",
"src/containers/*/index.tsx",
"webpack.*.ts"
],
project: ["**/*.{js,mjs,mts,ts,tsx}"],
ignore: ["src/**/deprecated/**/*.{ts,tsx}"],
ignoreDependencies: [
// used by webpack
"babel-loader",
"css-loader",
"style-loader",
"ts-loader",
"ts-node",
"webpack-cli"
]
};

export default config;
Loading
Loading