Skip to content

Commit

Permalink
chore(project): update nextjs config and upgrade various deps (#228)
Browse files Browse the repository at this point in the history
* chore(deps): upgrade percy and g100 theme example

* chore(deps): fix nextjs.config; upgrade deps

* chore(deps): upgrade percy and g100 theme example

* chore(deps): fix nextjs.config; upgrade deps

* chore(deps): remove local linter packages

* chore(project): remove unused files

* chore(workflow): update yarn command in github workflows

* chore(yarn): fix upgrade command; add yarn plugins

* chore(deps): remove local linter packages
  • Loading branch information
kennylam authored Mar 9, 2023
1 parent 391693e commit cb65b26
Show file tree
Hide file tree
Showing 2,572 changed files with 13,126 additions and 211,381 deletions.
22 changes: 0 additions & 22 deletions .commitlintrc

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/deploy-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
node-version: "14.x"
cache: yarn
- name: Install dependencies
run: yarn install
run: yarn install --immutable --immutable-cache
- name: Update to latest canary
run: yarn update-canary
- name: Set env vars
Expand All @@ -34,8 +34,8 @@ jobs:
env-file: .env
env:
PROFILE_HOST: ${{ secrets.PROFILE_HOST }}
BASE_PATH: '/carbon-for-ibm-dotcom-nextjs-test/canary'
ALTLANG_ROOT_PATH: '/carbon-for-ibm-dotcom-nextjs-test/canary/'
BASE_PATH: "/carbon-for-ibm-dotcom-nextjs-test/canary"
ALTLANG_ROOT_PATH: "/carbon-for-ibm-dotcom-nextjs-test/canary/"
SASS_PATH: node_modules:src
- name: Build project
run: yarn build
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
with:
node-version: "14.x"
- name: Install dependencies
run: yarn install
run: yarn install --immutable --immutable-cache
- name: Update to latest canary
run: yarn update-canary
- name: Set env vars
Expand All @@ -88,8 +88,8 @@ jobs:
env-file: .env
env:
PROFILE_HOST: ${{ secrets.PROFILE_HOST }}
BASE_PATH: '/carbon-for-ibm-dotcom-nextjs-test/canary-rtl'
ALTLANG_ROOT_PATH: '/carbon-for-ibm-dotcom-nextjs-test/canary-rtl/'
BASE_PATH: "/carbon-for-ibm-dotcom-nextjs-test/canary-rtl"
ALTLANG_ROOT_PATH: "/carbon-for-ibm-dotcom-nextjs-test/canary-rtl/"
SASS_PATH: node_modules:src
ENABLE_RTL: true
- name: Build project
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
repository_dispatch:
types: [deploy-next,deploy-staging]
types: [deploy-next, deploy-staging]

concurrency:
group: deploy-next-${{ github.ref }}
Expand All @@ -25,7 +25,7 @@ jobs:
node-version: "14.x"
cache: yarn
- name: Install dependencies
run: yarn install
run: yarn install --immutable --immutable-cache
- name: Update to latest release candidate
run: yarn update-next
- name: Set env vars
Expand All @@ -34,8 +34,8 @@ jobs:
env-file: .env
env:
PROFILE_HOST: ${{ secrets.PROFILE_HOST }}
BASE_PATH: '/carbon-for-ibm-dotcom-nextjs-test/next'
ALTLANG_ROOT_PATH: '/carbon-for-ibm-dotcom-nextjs-test/next/'
BASE_PATH: "/carbon-for-ibm-dotcom-nextjs-test/next"
ALTLANG_ROOT_PATH: "/carbon-for-ibm-dotcom-nextjs-test/next/"
SASS_PATH: node_modules:src
- name: Build project
run: yarn build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: e2e-tests

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

concurrency:
group: e2e-tests-${{ github.ref }}
Expand All @@ -16,13 +16,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['14.x']
node-version: ["14.x"]
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: '14.x'
node-version: "14.x"
cache: yarn
- name: Caching NextJS
id: nextjs-cache-build
Expand All @@ -35,7 +35,7 @@ jobs:
restore-keys: |
${{ runner.os }}-e2e-tests-
- name: Install dependencies
run: yarn install
run: yarn install --immutable --immutable-cache
- name: Grab latest canary release
run: yarn update-canary
- name: Set env vars
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/percy-update-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
node-version: ['14.x']
node-version: ["14.x"]
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: '14.x'
node-version: "14.x"
cache: yarn
- name: Caching NextJS
id: nextjs-cache-build
Expand All @@ -36,7 +36,7 @@ jobs:
restore-keys: |
${{ runner.os }}-percy-update-
- name: Install dependencies
run: yarn install
run: yarn install --immutable --immutable-cache
- name: Grab latest canary release
run: yarn update-canary
- name: Set env vars
Expand Down Expand Up @@ -67,13 +67,13 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
node-version: [ '14.x' ]
node-version: ["14.x"]
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: '14.x'
node-version: "14.x"
cache: yarn
- name: Caching NextJS
id: nextjs-cache-build
Expand All @@ -86,7 +86,7 @@ jobs:
restore-keys: |
${{ runner.os }}-percy-update-upstream-
- name: Install dependencies
run: yarn install
run: yarn install --immutable --immutable-cache
- name: Grab latest canary release
run: yarn update-canary
- name: Set env vars
Expand Down
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,14 @@ out
# Cypress output files
tests/e2e/cypress/screenshots
tests/e2e/cypress/videos

# Yarn
# https://yarnpkg.com/getting-started/qa/#which-files-should-be-gitignored
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
install-state.gz
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
yarn lint-staged --no-stash
16 changes: 0 additions & 16 deletions .lintstagedrc

This file was deleted.

1 change: 1 addition & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
styles/*.scss
5 changes: 0 additions & 5 deletions .stylelintrc

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit cb65b26

Please sign in to comment.