Skip to content

Commit

Permalink
use audit-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Aug 23, 2024
1 parent d6f4351 commit 9ede4e1
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 13 deletions.
46 changes: 33 additions & 13 deletions .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>Yarn Audit</h4></em></summary>\n\n```'",
"command": "echo '<details>\n<summary><em><h4>Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "yarn audit",
"command": "npx audit-ci --config ./audit-ci.jsonc",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true
Expand Down Expand Up @@ -148,12 +148,12 @@
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>Yarn Audit</h4></em></summary>\n\n```'",
"command": "echo '<details>\n<summary><em><h4>Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "yarn audit",
"command": "npx audit-ci --config ./audit-ci.jsonc",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true
Expand Down Expand Up @@ -193,32 +193,47 @@
"tauri-bundler": {
"path": "./tooling/bundler",
"manager": "rust",
"dependencies": ["tauri-utils"]
"dependencies": [
"tauri-utils"
]
},
"tauri-runtime": {
"path": "./core/tauri-runtime",
"manager": "rust",
"dependencies": ["tauri-utils"]
"dependencies": [
"tauri-utils"
]
},
"tauri-runtime-wry": {
"path": "./core/tauri-runtime-wry",
"manager": "rust",
"dependencies": ["tauri-utils", "tauri-runtime"]
"dependencies": [
"tauri-utils",
"tauri-runtime"
]
},
"tauri-codegen": {
"path": "./core/tauri-codegen",
"manager": "rust",
"dependencies": ["tauri-utils"]
"dependencies": [
"tauri-utils"
]
},
"tauri-macros": {
"path": "./core/tauri-macros",
"manager": "rust",
"dependencies": ["tauri-codegen", "tauri-utils"]
"dependencies": [
"tauri-codegen",
"tauri-utils"
]
},
"tauri-build": {
"path": "./core/tauri-build",
"manager": "rust",
"dependencies": ["tauri-codegen", "tauri-utils"],
"dependencies": [
"tauri-codegen",
"tauri-utils"
],
"postversion": [
"node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../tauri-config-schema/Cargo.toml"
Expand All @@ -245,7 +260,9 @@
"path": "./tooling/cli/node",
"manager": "javascript",
"getPublishedVersion": "node ../../../.scripts/covector/package-latest-version.js npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }",
"dependencies": ["tauri-cli"],
"dependencies": [
"tauri-cli"
],
"postversion": [
"node ../../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
"cargo build --manifest-path ../../../core/tauri-config-schema/Cargo.toml"
Expand All @@ -257,7 +274,10 @@
"tauri-cli": {
"path": "./tooling/cli",
"manager": "rust",
"dependencies": ["tauri-bundler", "tauri-utils"],
"dependencies": [
"tauri-bundler",
"tauri-utils"
],
"postversion": [
"cargo check",
"cargo build --manifest-path ../../core/tauri-config-schema/Cargo.toml"
Expand All @@ -275,4 +295,4 @@
"postversion": "cargo check"
}
}
}
}
8 changes: 8 additions & 0 deletions tooling/api/audit-ci.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
// $schema provides code completion hints to IDEs.
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
"moderate": true,
"allowlist": [
"GHSA-952p-6rrq-rcjv"
]
}
8 changes: 8 additions & 0 deletions tooling/cli/node/audit-ci.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
// $schema provides code completion hints to IDEs.
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
"moderate": true,
"allowlist": [
"GHSA-952p-6rrq-rcjv"
]
}

0 comments on commit 9ede4e1

Please sign in to comment.