Skip to content

Commit

Permalink
chore: update storybook and other deps to make snyk be quiet (#3673)
Browse files Browse the repository at this point in the history
* chore: update storybook and other deps to make snyk be quiet

* chore: ignore nx cache
  • Loading branch information
SiTaggart authored Dec 12, 2023
1 parent 8bb04a8 commit db2b0f8
Show file tree
Hide file tree
Showing 19 changed files with 3,224 additions and 1,622 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on_deployment_status_cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_discussion_create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fetch-depth: 0

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/on_merge_to_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

- name: Run Chromatic
uses: chromaui/action@v1
uses: chromaui/action@v10
with:
projectToken: ${{ secrets.CHROMA_APP_CODE }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_merge_to_main_supabase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fetch-depth: 0

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down Expand Up @@ -325,7 +325,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down Expand Up @@ -362,7 +362,7 @@ jobs:

- name: Run Chromatic
id: chromaticaction
uses: chromaui/action@v1
uses: chromaui/action@v10
with:
zip: true
projectToken: ${{ secrets.CHROMA_APP_CODE }}
Expand Down Expand Up @@ -395,7 +395,7 @@ jobs:
fetch-depth: 0

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down Expand Up @@ -463,7 +463,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_pull_request_cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_pull_request_package_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on_pull_request_supabase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_docs_embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: nrwl/nx-set-shas@v3

- name: Setup Node.js 20.5
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.5.x

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,5 @@ cypress/downloads
# vs-code-intellisense
out
.vscode-test

.nx/cache
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ build.icon-list.js

**/*.hbs
apps/backend/supabase/schema.gen.ts

/.nx/cache
1 change: 0 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const config: StorybookConfig = {
"@storybook/addon-a11y",
"@storybook/addon-interactions",
"./addons/google-analytics/register",
"@storybook/addon-mdx-gfm",
],
framework: "@storybook/react-vite",
features: {
Expand Down
3 changes: 2 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
".codesandbox/ci.json",
"build.icon-list.js",
"**/*.hbs",
"apps/backend/supabase/schema.gen.ts"
"apps/backend/supabase/schema.gen.ts",
".nx/"
]
},
"organizeImports": {
Expand Down
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
"<rootDir>/templates/(?:.+?)/.next/",
"<rootDir>/packages/(?:.+?)/.netlify/",
"<rootDir>/.netlify/",
"<rootDir>/.nx/",
],
cacheDirectory: ".jest-cache",
coverageDirectory: ".jest-coverage",
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[functions]
external_node_modules = ["@sparticuz/chromium", "puppeteer-core", "@swc"]
external_node_modules = ["@swc"]

[context.deploy-preview.environment]
NEXT_PUBLIC_ENVIRONMENT_CONTEXT = "deploy-preview"
Expand Down
48 changes: 22 additions & 26 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,11 @@
{
"npmScope": "@twilio-paste",
"affected": {
"defaultBase": "main"
},
"workspaceLayout": {
"appsDir": "apps",
"libsDir": "packages"
},
"tasksRunnerOptions": {
"default": {
"runner": "nx-cloud",
"options": {
"cacheableOperations": [
"build",
"build:js",
"build:typedocs",
"tsc",
"build:types",
"build:codemods",
"build:icons",
"build:tokens"
],
"parallel": 10,
"accessToken": "MjY0NzIzMDYtMjFkNi00NDVkLWI2NWQtMjZhMzY2MmY1MjY2fHJlYWQ="
}
}
},
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
Expand All @@ -36,7 +16,8 @@
"{projectRoot}/json",
"{projectRoot}/types",
"{projectRoot}/.next"
]
],
"cache": true
},
"build:js": {
"dependsOn": ["^build:js"],
Expand All @@ -46,23 +27,27 @@
"{projectRoot}/esm",
"{projectRoot}/json",
"{projectRoot}/types"
]
],
"cache": true
},
"build:typedocs": {
"dependsOn": ["^build:typedocs"],
"outputs": ["{projectRoot}/type-docs.json"]
"outputs": ["{projectRoot}/type-docs.json"],
"cache": true
},
"tsc": {
"dependsOn": ["^tsc"],
"outputs": ["{projectRoot}/dist", "{projectRoot}/types"]
"outputs": ["{projectRoot}/dist", "{projectRoot}/types"],
"cache": true
},
"build:dev": {
"dependsOn": ["^build:dev"],
"outputs": ["{projectRoot}/dist", "{projectRoot}/types"]
},
"build:types": {
"dependsOn": ["^build:types"],
"outputs": ["{projectRoot}/dist", "{projectRoot}/types"]
"outputs": ["{projectRoot}/dist", "{projectRoot}/types"],
"cache": true
},
"tokens": {
"outputs": ["{projectRoot}/dist"]
Expand All @@ -72,6 +57,15 @@
},
"compile:dev": {
"outputs": ["{projectRoot}/dist"]
},
"build:codemods": {
"cache": true
},
"build:icons": {
"cache": true
},
"build:tokens": {
"cache": true
}
},
"defaultBase": "main",
Expand All @@ -80,5 +74,7 @@
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"sharedGlobals": [],
"production": ["default"]
}
},
"nxCloudAccessToken": "MjY0NzIzMDYtMjFkNi00NDVkLWI2NWQtMjZhMzY2MmY1MjY2fHJlYWQ=",
"parallel": 10
}
Loading

1 comment on commit db2b0f8

@vercel
Copy link

@vercel vercel bot commented on db2b0f8 Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.