Skip to content

Commit

Permalink
chore(deps): upgrade project to node 18 (carbon-design-system#1581)
Browse files Browse the repository at this point in the history
* chore(deps): upgrade project to node 18
  • Loading branch information
kennylam authored Jun 19, 2023
1 parent a00134b commit 8930d8c
Show file tree
Hide file tree
Showing 47 changed files with 36 additions and 322 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['14.x']
node-version: ['18.x']
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: '14.x'
node-version: '18.x'
cache: yarn
- name: Caching Gatsby
id: gatsby-cache-build
Expand Down
Binary file removed .yarn/offline-mirror/async-limiter-1.0.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/axe-core-4.1.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/beacon-for-ibm-dotcom-0.2.9.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/charenc-0.0.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/chrome-launcher-0.13.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/cookie-0.3.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/crypt-0.0.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/csp_evaluator-1.1.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/cssom-0.3.8.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/cssstyle-1.2.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/global-dirs-2.1.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/http-link-header-0.8.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/image-ssim-0.2.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/ini-1.3.7.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/intl-1.2.5.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/intl-messageformat-4.4.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/intl-pluralrules-1.3.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/is-installed-globally-0.3.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/is-npm-4.0.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/js-library-detector-6.4.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/lighthouse-7.5.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/lighthouse-logger-1.3.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/lodash.set-4.3.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/lookup-closest-locale-6.0.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/marky-1.2.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/md5-2.3.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/metaviewport-parser-0.2.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/open-6.4.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/parse-cache-control-1.0.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/ps-list-7.2.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/raven-2.6.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/robots-parser-2.3.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/speedline-core-1.4.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/third-party-web-0.12.5.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/timed-out-4.0.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/ultron-1.1.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/update-notifier-4.1.3.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/uuid-3.3.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/ws-3.3.2.tgz
Binary file not shown.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
"name": "carbon-for-ibm-dotcom-website",
"version": "1.0.0",
"license": "Apache-2.0",
"engines": {
"node": ">=18.x"
},
"scripts": {
"clean": "gatsby clean",
"clean:dev-pages": "rimraf src/pages/developing/building-for-ibm-dotcom/index.mdx src/pages/developing/carbon-cdn-style-helpers/index.mdx",
"build": "gatsby build --prefix-paths",
"build": "NODE_OPTIONS=--openssl-legacy-provider gatsby build --prefix-paths",
"build:analyze": "ANALYZE=true yarn build",
"build:clean": "yarn clean && gatsby build --prefix-paths",
"build:clean": "yarn clean && yarn build --prefix-paths",
"build:wiki": "node node_modules/wiki-helpers/index.js rootPath=./wiki buildPath=./wiki-build flattenDir=true",
"dev": "gatsby develop -H 0.0.0.0",
"dev": "NODE_OPTIONS=--openssl-legacy-provider gatsby develop -H 0.0.0.0",
"dev:clean": "yarn clean && yarn dev",
"format": "prettier --write 'src/**/*.{css,scss,js,json,html,yaml,md,mdx}'",
"lint": "eslint .",
Expand All @@ -18,14 +21,13 @@
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"serve": "gatsby serve",
"test:e2e:local": "start-server-and-test 'yarn test:e2e:run' 8080 'cypress run --config video=false --config-file tests/e2e/cypress.json'",
"test:e2e:local:with-video": "start-server-and-test 'yarn test:e2e:run' 8080 'cypress run --config-file tests/e2e/cypress.json'",
"test:e2e:local": "npx -y start-server-and-test 'yarn test:e2e:run' 8080 'cypress run --config video=false --config-file tests/e2e/cypress.json'",
"test:e2e:local:with-video": "npx -y start-server-and-test 'yarn test:e2e:run' 8080 'cypress run --config-file tests/e2e/cypress.json'",
"test:e2e:prod": "cypress run --config video=false --config-file tests/e2e/cypress-prod.json",
"test:e2e:run": "http-server -c-1 public --silent"
"test:e2e:run": "npx -y http-server -c-1 public --silent"
},
"dependencies": {
"@carbon/icons-react": "^10.27.0",
"beacon-for-ibm-dotcom": "^0.2.7",
"carbon-components": "^10.46.0",
"carbon-components-react": "^7.46.0",
"dotenv": "^10.0.0",
Expand All @@ -51,10 +53,8 @@
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.24.0",
"http-server": "^14.1.0",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"start-server-and-test": "^1.14.0"
"prettier": "^2.3.2"
}
}
15 changes: 11 additions & 4 deletions src/pages/developing/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,23 @@ would also work in React applications. Our team provides <Link to="/developing/f
versions of Carbon for IBM.com Web Components.

<p>
Get started with <Link to="/developing/frameworks/web-components">Carbon for IBM.com Web Components</Link>
Get started with{' '}
<Link to="/developing/frameworks/web-components">
Carbon for IBM.com Web Components
</Link>
</p>

### React wrapper

Our team builds new components for Carbon for IBM.com as Web components first and also provides each components with a React wrapper for seamless integration into a React application.

<p>
Get started with <Link to="/developing/frameworks/react-wrapper">Carbon for IBM.com React wrapper</Link>
Get started with{' '}
<Link to="/developing/frameworks/react-wrapper">
Carbon for IBM.com React wrapper
</Link>
</p>


### React

<InlineNotification kind="warning">
Expand All @@ -67,7 +73,8 @@ that is also supported by the core Carbon Design System team. If your applicatio
Carbon for IBM.com React.

<p>
Get started with <Link to="/developing/frameworks/react">Carbon for IBM.com React</Link>
Get started with{' '}
<Link to="/developing/frameworks/react">Carbon for IBM.com React</Link>
</p>

## Building for IBM.com
Expand Down
3 changes: 2 additions & 1 deletion src/pages/developing/web-components-tutorial/step-1.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,8 @@ To wrap up this tutorial step, let's add the required meta tags for an IBM.com p

<link rel="icon" href="//www.ibm.com/favicon.ico" />

<meta name="dcterms.date" content="YYYY-MM-DD" /> <!-- replace with today's date -->
<meta name="dcterms.date" content="YYYY-MM-DD" />
<!-- replace with today's date -->
<meta name="dcterms.rights" content="© Copyright IBM Corp. 2021" />
<meta name="geo.country" content="US" />
<meta name="robots" content="index,follow" />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/guidelines/content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ _Some of this content is accessible to IBMers only._
| _[Carbon Design System Content Guidelines](https://www.carbondesignsystem.com/guidelines/content/overview/)_ | Carbon is IBM’s open source design system for products. These guidelines have been developed from real-life examples and are for everyone who is writing or reviewing copy in IBM product interfaces. |
| _[IBM Design Language](https://www.ibm.com/design/language/)_ | The IBM Design Language provides the guidance and assets used to express the IBM brand. You'll fully understand what drives IBM’s design philosophy and principles, and be in a position to make informed choices for your product work. |
| _[IBM Brand Center](https://www.ibm.com/brand/definition)_ | IBM Brand Center is the home base for the IBM Brand story, visual brand elements, guidelines, and assets. |
| _[IBM Experience Guides](https://www.ibm.com/brand/experience-guides/)_ | The IBM brand systems have been developed for various IBM businesses, audiences, categories, and offerings. Read them to understand the rationale behind every visual and verbal detail. |
| _[IBM Experience Guides](https://www.ibm.com/brand/experience-guides/)_ | The IBM brand systems have been developed for various IBM businesses, audiences, categories, and offerings. Read them to understand the rationale behind every visual and verbal detail. |
Loading

0 comments on commit 8930d8c

Please sign in to comment.