Skip to content

Bump shell-quote and next #724

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,24 @@ module.exports = (api) => {
'@babel/preset-env',
{
useBuiltIns: 'usage',
corejs: 3,
corejs: '3',
},
],
'@babel/react',
]
const plugins = [
'@babel/plugin-proposal-export-default-from',
[
'@babel/plugin-proposal-decorators',
{
legacy: true,
},
],
'@babel/plugin-proposal-class-properties',
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
'@babel/plugin-transform-runtime',
]

return {
Expand Down
1 change: 1 addition & 0 deletions components/hero/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { Section } from '../content'
import styles from './hero.module.scss'
import stylesHistory from '../../templates/history/history.module.scss'

// eslint-disable-next-line import/no-cycle
import { AnniversaryLogo as Logo } from 'components'

const HeroSection = ({
Expand Down
2 changes: 1 addition & 1 deletion components/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const patchStats = (text, statistics) => {

export const patchNumberComma = (text, statistics) => {
const context = {}
// eslint-disable-next-line no-restricted-syntax,max-len
// eslint-disable-next-line no-restricted-syntax
for (const [key, value] of Object.entries(statistics)) {
context[key] =
typeof value === 'number'
Expand Down
42 changes: 42 additions & 0 deletions netlify-cms.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1132,3 +1132,45 @@ collections:
widget: markdown
required: false
label: Fields description

- name: docs-membership

media_folder: '/images/docs-membership'

create: false
delete: false

label: 📘 Documentation membership
label_singular: section
description: >
Documentation membership page for Dashboard and About
files:
- name: meta
label: ℹ️ Metadata (title, description, headline)
file: docs-membership/meta.yml
fields:
- name: title
widget: string
label: Title
hint: >
Displayed in the browser as a tab name and in Google, when
the page appears in the search results.
- name: tagline
widget: text
label: Description
hint: >
Description of the page, not visible on the page but will be shown
in search engines when the page appers in results. Important
to have good performance in search engines.
- name: header
label: Header(title,description,image)
file: docs-membership/header.yml
fields:
- name: title
widget: string
hint: >
The title of the page. Displayed on the page below header.
- name: id
widget: string
label: id
hint: id of the block. Must match anchor link url
Loading