Skip to content

Bump npm dependencies - #1511

Merged
cert-manager-prow[bot] merged 2 commits into
cert-manager:masterfrom
inteon:upgrade_npm_dependencies
Jul 8, 2024
Merged

cert-manager-prow[bot] merged 2 commits into
cert-manager:masterfrom
inteon:upgrade_npm_dependencies

Conversation

@inteon

@inteon inteon commented Jul 8, 2024 •

Copy link
Copy Markdown
Member

Upgrades node, npm and the npm dependencies.
Additionally, uses the cert-manager.io preview which is now hosted in the CNCF Netlify.
We should also update the tide Netlify check to point to this CNCF Netlify site: cert-manager/testing#1037.

@cert-manager-prow cert-manager-prow Bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 8, 2024
@inteon
inteon force-pushed the upgrade_npm_dependencies branch 7 times, most recently from 08da37c to 66b5b6d Compare July 8, 2024 12:12
@netlify

netlify Bot commented Jul 8, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for cert-manager ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit bcf50d0
🔍 Latest deploy log https://app.netlify.com/sites/cert-manager/deploys/668bea3bd091f20007853840
😎 Deploy Preview https://deploy-preview-1511--cert-manager.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Tim Ramlot <[email protected]>
@inteon
inteon force-pushed the upgrade_npm_dependencies branch from 66b5b6d to 911f5d3 Compare July 8, 2024 12:17
Comment thread components/docs/CodeBlock.jsx Outdated

import React from 'react'
import Highlight, { defaultProps } from 'prism-react-renderer'
import { Highlight } from 'prism-react-renderer'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread next.config.js
const path = require('path')

module.exports = {
output: 'export',

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread package.json
},
"devDependencies": {
"concurrently": "^7.6.0",
"esbuild": "0.16.17",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This dependency was unused.

Comment thread package.json
"@next/eslint-plugin-next": "^14.2.4",
"concurrently": "8.2.2",
"eslint": "8.31.0",
"eslint-config-next": "13.1.2",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

replaced by @next/eslint-plugin-next

Comment thread package.json
"eslint": "8.31.0",
"eslint-config-next": "13.1.2",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-cypress": "2.12.1",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

was unused.

Comment thread scripts/build-release
cd "${REPO_ROOT}"

npm run build
npm run export

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Comment thread .eslintrc.json
"plugin:react/recommended",
"plugin:mdx/recommended",
"plugin:markdown/recommended"
"plugin:mdx/recommended"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This was causing the following error:

~/projects/website$ npm run check:next-lint

> [email protected] check:next-lint
> next lint

Converting circular structure to JSON
    --> starting at object with constructor 'Array'
    |     index 0 -> object with constructor 'Object'
    |     property 'plugins' -> object with constructor 'Object'
    |     ...
    |     property 'configs' -> object with constructor 'Object'
    --- property 'recommended' closes the circle
Referenced from: /home/tramlot/projects/website/.eslintrc.json

@ThatsMrTalbot

ThatsMrTalbot commented Jul 8, 2024 •

Copy link
Copy Markdown
Contributor

Just browsing around the preview the only difference I have found so far is here:
https://deploy-preview-1511--cert-manager.netlify.app/docs/installation/kubectl/#2-optional-end-to-end-verify-the-installation
vs
https://cert-manager.io/docs/installation/kubectl/#2-optional-end-to-end-verify-the-installation

Where the example is syntax highlighted on the old page but not the new. IDK if there are more examples of codeblocks rendering differently

@inteon

inteon commented Jul 8, 2024 •

Copy link
Copy Markdown
Member Author

@inteon

inteon commented Jul 8, 2024

Copy link
Copy Markdown
Member Author

@ThatsMrTalbot

Copy link
Copy Markdown
Contributor

Cant find anything else broken from clicking around
/lgtm

@cert-manager-prow cert-manager-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 8, 2024
@inteon

inteon commented Jul 8, 2024

Copy link
Copy Markdown
Member Author

/approve

@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: inteon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 8, 2024
@cert-manager-prow
cert-manager-prow Bot merged commit 71b8d28 into cert-manager:master Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants