-
Notifications
You must be signed in to change notification settings - Fork 2
Codesandbox #558
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
base: feature/integration
Are you sure you want to change the base?
Codesandbox #558
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| { | ||
| // These tasks will run in order when initializing your CodeSandbox project. | ||
| "setupTasks": [ | ||
| { | ||
| "name": "Install Dependencies", | ||
| "command": "pnpm install" | ||
| } | ||
| ], | ||
|
|
||
| // These tasks can be run from CodeSandbox. Running one will open a log in the app. | ||
| "tasks": { | ||
| "build": { | ||
| "name": "build", | ||
| "command": "pnpm build", | ||
| "runAtStart": false | ||
| }, | ||
| "watch": { | ||
| "name": "watch", | ||
| "command": "pnpm watch", | ||
| "runAtStart": false | ||
| }, | ||
| "clean": { | ||
| "name": "clean", | ||
| "command": "pnpm clean", | ||
| "runAtStart": false | ||
| }, | ||
| "changeset": { | ||
| "name": "changeset", | ||
| "command": "pnpm changeset", | ||
| "runAtStart": false | ||
| }, | ||
| "version-packages": { | ||
| "name": "version-packages", | ||
| "command": "pnpm version-packages", | ||
| "runAtStart": false | ||
| }, | ||
| "release": { | ||
| "name": "release", | ||
| "command": "pnpm release", | ||
| "runAtStart": false | ||
| }, | ||
| "snapshot": { | ||
| "name": "snapshot", | ||
| "command": "pnpm snapshot", | ||
| "runAtStart": false | ||
| }, | ||
| "update-version": { | ||
| "name": "update-version", | ||
| "command": "pnpm update-version", | ||
| "runAtStart": false | ||
| }, | ||
| "test": { | ||
| "name": "test", | ||
| "command": "pnpm test", | ||
| "runAtStart": false | ||
| }, | ||
| "test:parallel": { | ||
| "name": "test:parallel", | ||
| "command": "pnpm test:parallel", | ||
| "runAtStart": false | ||
| }, | ||
| "lint": { | ||
| "name": "lint", | ||
| "command": "pnpm lint", | ||
| "runAtStart": false | ||
| }, | ||
| "lint:fix": { | ||
| "name": "lint:fix", | ||
| "command": "pnpm lint:fix", | ||
| "runAtStart": false | ||
| }, | ||
| "lint:tests": { | ||
| "name": "lint:tests", | ||
| "command": "pnpm lint:tests", | ||
| "runAtStart": false | ||
| }, | ||
| "lint:tests:fix": { | ||
| "name": "lint:tests:fix", | ||
| "command": "pnpm lint:tests:fix", | ||
| "runAtStart": false | ||
| }, | ||
| "format": { | ||
| "name": "format", | ||
| "command": "pnpm format", | ||
| "runAtStart": false | ||
| }, | ||
| "audit:fix": { | ||
| "name": "audit:fix", | ||
| "command": "pnpm audit:fix", | ||
| "runAtStart": false | ||
| }, | ||
| "typecheck": { | ||
| "name": "typecheck", | ||
| "command": "pnpm typecheck", | ||
| "runAtStart": false | ||
| }, | ||
| "dev": { | ||
| "name": "dev", | ||
| "command": "pnpm dev", | ||
| "runAtStart": true | ||
| }, | ||
| "postinstall": { | ||
| "name": "postinstall", | ||
| "command": "pnpm postinstall", | ||
| "runAtStart": false | ||
| }, | ||
| "coverage": { | ||
| "name": "coverage", | ||
| "command": "pnpm coverage", | ||
| "runAtStart": false | ||
| }, | ||
| "prepare": { | ||
| "name": "prepare", | ||
| "command": "pnpm prepare", | ||
| "runAtStart": false | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| --- | ||
| name: Bug report | ||
| about: Create a report to help us improve | ||
| title: '' | ||
| labels: '' | ||
| assignees: '' | ||
|
|
||
| --- | ||
|
|
||
| **Describe the bug** | ||
| A clear and concise description of what the bug is. | ||
|
|
||
| **To Reproduce** | ||
| Steps to reproduce the behavior: | ||
| 1. Go to '...' | ||
| 2. Click on '....' | ||
| 3. Scroll down to '....' | ||
| 4. See error | ||
|
|
||
| **Expected behavior** | ||
| A clear and concise description of what you expected to happen. | ||
|
|
||
| **Screenshots** | ||
| If applicable, add screenshots to help explain your problem. | ||
|
|
||
| **Desktop (please complete the following information):** | ||
| - OS: [e.g. iOS] | ||
| - Browser [e.g. chrome, safari] | ||
| - Version [e.g. 22] | ||
|
|
||
| **Smartphone (please complete the following information):** | ||
| - Device: [e.g. iPhone6] | ||
| - OS: [e.g. iOS8.1] | ||
| - Browser [e.g. stock browser, safari] | ||
| - Version [e.g. 22] | ||
|
|
||
| **Additional context** | ||
| Add any other context about the problem here. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| name: Custom issue template | ||
| about: 'A custom issue template for ...' | ||
| title: '' | ||
| labels: '' | ||
| assignees: '' | ||
|
|
||
| --- | ||
|
|
||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| name: Feature request | ||
| about: Suggest an idea for this project | ||
| title: '' | ||
| labels: '' | ||
| assignees: '' | ||
|
|
||
| --- | ||
|
|
||
| **Is your feature request related to a problem? Please describe.** | ||
| A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
|
||
| **Describe the solution you'd like** | ||
| A clear and concise description of what you want to happen. | ||
|
|
||
| **Describe alternatives you've considered** | ||
| A clear and concise description of any alternative solutions or features you've considered. | ||
|
|
||
| **Additional context** | ||
| Add any other context or screenshots about the feature request here. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| # This workflow uses actions that are not certified by GitHub. | ||
| # They are provided by a third-party and are governed by | ||
| # separate terms of service, privacy policy, and support | ||
| # documentation. | ||
|
|
||
| ################################################################################################################################################ | ||
| # Fortify Application Security provides your team with solutions to empower DevSecOps practices, enable cloud transformation, and secure your # | ||
| # software supply chain. To learn more about Fortify, start a free trial or contact our sales team, visit fortify.com. # | ||
| # # | ||
| # Use this starter workflow as a basis for integrating Fortify Application Security Testing into your GitHub workflows. This template # | ||
| # demonstrates the steps to package the code+dependencies, initiate a scan, and optionally import SAST vulnerabilities into GitHub Security # | ||
| # Code Scanning Alerts. Additional information is available in the workflow comments and the Fortify AST Action / fcli / Fortify product # | ||
| # documentation. If you need additional assistance, please contact Fortify support. # | ||
| ################################################################################################################################################ | ||
|
|
||
| name: Fortify AST Scan | ||
|
|
||
| # Customize trigger events based on your DevSecOps process and/or policy | ||
| on: | ||
| push: | ||
| branches: [ "master" ] | ||
| pull_request: | ||
| # The branches below must be a subset of the branches above | ||
| branches: [ "master" ] | ||
| schedule: | ||
| - cron: '31 12 * * 4' | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| Fortify-AST-Scan: | ||
| # Use the appropriate runner for building your source code. Ensure dev tools required to build your code are present and configured appropriately (MSBuild, Python, etc). | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| actions: read | ||
| contents: read | ||
| security-events: write | ||
|
|
||
| steps: | ||
| # Check out source code | ||
| - name: Check Out Source Code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| # Java is required to run the various Fortify utilities. Ensuring proper version is installed on the runner. | ||
| - name: Setup Java | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: 17 | ||
| distribution: 'temurin' | ||
|
|
||
| # Perform SAST and optionally SCA scan via Fortify on Demand/Fortify Hosted/Software Security Center, then | ||
| # optionally export SAST results to the GitHub code scanning dashboard. In case further customization is | ||
| # required, you can use sub-actions like fortify/github-action/setup@v1 to set up the various Fortify tools | ||
| # and run them directly from within your pipeline; see https://github.com/fortify/github-action#readme for | ||
| # details. | ||
| - name: Run FoD SAST Scan | ||
| uses: fortify/github-action@a92347297e02391b857e7015792cd1926a4cd418 | ||
| with: | ||
| sast-scan: true | ||
| env: | ||
| ### Required configuration when integrating with Fortify on Demand | ||
| FOD_URL: https://ams.fortify.com | ||
| FOD_TENANT: ${{secrets.FOD_TENANT}} | ||
| FOD_USER: ${{secrets.FOD_USER}} | ||
| FOD_PASSWORD: ${{secrets.FOD_PAT}} | ||
| ### Optional configuration when integrating with Fortify on Demand | ||
| # EXTRA_PACKAGE_OPTS: -oss # Extra 'scancentral package' options, like '-oss'' if | ||
| # Debricked SCA scan is enabled on Fortify on Demand | ||
| # EXTRA_FOD_LOGIN_OPTS: --socket-timeout=60s # Extra 'fcli fod session login' options | ||
| # FOD_RELEASE: MyApp:MyRelease # FoD release name, default: <org>/<repo>:<branch>; may | ||
| # replace app+release name with numeric release ID | ||
| # DO_WAIT: true # Wait for scan completion, implied if 'DO_EXPORT: true' | ||
| # DO_EXPORT: true # Export SAST results to GitHub code scanning dashboard | ||
| ### Required configuration when integrating with Fortify Hosted / Software Security Center & ScanCentral | ||
| # SSC_URL: ${{secrets.SSC_URL}} # SSC URL | ||
| # SSC_TOKEN: ${{secrets.SSC_TOKEN}} # SSC CIToken or AutomationToken | ||
| # SC_SAST_TOKEN: ${{secrets.SC_SAST_TOKEN}} # ScanCentral SAST client auth token | ||
| # SC_SAST_SENSOR_VERSION: ${{vars.SC_SAST_SENSOR_VERSION}} # Sensor version on which to run the scan; | ||
| # usually defined as organization or repo variable | ||
| ### Optional configuration when integrating with Fortify Hosted / Software Security Center & ScanCentral | ||
| # EXTRA_SC_SAST_LOGIN_OPTS: --socket-timeout=60s # Extra 'fcli sc-sast session login' options | ||
| # SSC_APPVERSION: MyApp:MyVersion # SSC application version, default: <org>/<repo>:<branch> | ||
| # EXTRA_PACKAGE_OPTS: -bv myCustomPom.xml # Extra 'scancentral package' options | ||
| # DO_WAIT: true # Wait for scan completion, implied if 'DO_EXPORT: true' | ||
| # DO_EXPORT: true # Export SAST results to GitHub code scanning dashboard |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| wagmi-project-two.vercel.app |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Security Policy | ||
|
|
||
| ## Supported Versions | ||
|
|
||
| Use this section to tell people about which versions of your project are | ||
| currently being supported with security updates. | ||
|
|
||
| | Version | Supported | | ||
| | ------- | ------------------ | | ||
| | 5.1.x | :white_check_mark: | | ||
| | 5.0.x | :x: | | ||
| | 4.0.x | :white_check_mark: | | ||
| | < 4.0 | :x: | | ||
|
|
||
| ## Reporting a Vulnerability | ||
|
|
||
| Use this section to tell people how to report a vulnerability. | ||
|
|
||
| Tell them where to go, how often they can expect to get an update on a | ||
| reported vulnerability, what to expect if the vulnerability is accepted or | ||
| declined, etc. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Node.js | ||
| # Build a general Node.js project with npm. | ||
| # Add steps that analyze code, save build artifacts, deploy, and more: | ||
| # https://docs.microsoft.com/azure/devops/pipelines/languages/javascript | ||
|
|
||
| trigger: | ||
| - master | ||
|
|
||
| pool: | ||
| vmImage: ubuntu-latest | ||
|
|
||
| steps: | ||
| - task: NodeTool@0 | ||
| inputs: | ||
| versionSpec: '10.x' | ||
| displayName: 'Install Node.js' | ||
|
|
||
| - script: | | ||
| npm install | ||
| npm run build | ||
| displayName: 'npm install and build' | ||
|
Comment on lines
+18
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The project uses - script: |
pnpm install
pnpm run build
displayName: 'pnpm install and build' |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -579,6 +579,12 @@ | |
|
|
||
| - utils: extractProjectIdFromAccessKey | ||
|
|
||
| ## 2.0.0 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| ### Major Changes | ||
|
|
||
| - changeset | ||
|
|
||
| ## 1.10.14 | ||
|
|
||
| ### Patch Changes | ||
|
|
||
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Logs | ||
| logs | ||
| *.log | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| pnpm-debug.log* | ||
| lerna-debug.log* | ||
|
|
||
| node_modules | ||
| dist | ||
| dist-ssr | ||
| *.local | ||
|
|
||
| # Editor directories and files | ||
| .vscode/* | ||
| !.vscode/extensions.json | ||
| .idea | ||
| .DS_Store | ||
| *.suo | ||
| *.ntvs* | ||
| *.njsproj | ||
| *.sln | ||
| *.sw? | ||
| .vercel |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| legacy-peer-deps = true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| This is a [Vite](https://vitejs.dev) project bootstrapped with [`create-wagmi`](https://github.com/wevm/wagmi/tree/main/packages/create-wagmi). |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| { | ||
| "formatter": { | ||
| "enabled": true, | ||
| "indentStyle": "space", | ||
| "lineWidth": 120 | ||
| }, | ||
| "linter": { | ||
| "enabled": true | ||
| }, | ||
| "organizeImports": { | ||
| "enabled": true | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| <!doctype html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>Create Wagmi</title> | ||
| </head> | ||
| <body> | ||
| <div id="root"></div> | ||
| <script type="module" src="/src/main.tsx"></script> | ||
| </body> | ||
| </html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node.js version 10.x is extremely outdated and has reached end-of-life. Modern libraries like
wagmiv2 andviemrequire Node.js 18 or higher. It is recommended to upgrade to a current LTS version such as 20.x.