Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinstubbs committed Sep 30, 2024
1 parent 2fcd868 commit e61e9bc
Show file tree
Hide file tree
Showing 26 changed files with 112 additions and 20 deletions.
24 changes: 24 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"mode": "pre",
"tag": "beta",
"initialVersions": {
"eslint-config-pcc-custom": "1.0.0",
"testpages": "0.1.0",
"@pantheon-systems/pcc-browser-sdk": "3.8.1",
"@pantheon-systems/pcc-cli": "3.8.1",
"@pantheon-systems/pcc-sdk-core": "3.8.1",
"@pantheon-systems/pcc-react-sample-library": "3.8.1",
"@pantheon-systems/pcc-react-sdk": "3.8.1",
"@pantheon-systems/pcc-vue-sdk": "3.8.1",
"gatsby-pcc-starter": "1.0.0",
"gatsby-pcc-starter-ts": "1.0.0",
"@pantheon-systems/next-pcc-starter": "1.0.0",
"@pantheon-systems/next-approuter-pcc-starter-ts": "1.1.7",
"@pantheon-systems/next-pcc-starter-ts": "1.0.0",
"@pantheon-systems/vue-pcc-starter": "1.1.2",
"@pantheon-systems/vue-pcc-starter-ts": "1.1.2"
},
"changesets": [
"famous-pumas-compete"
]
}
7 changes: 7 additions & 0 deletions packages/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pantheon-systems/pcc-browser-sdk

## 3.9.0-beta.0

### Patch Changes

- Updated dependencies [4267508]
- @pantheon-systems/pcc-sdk-core@3.9.0-beta.0

## 3.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pantheon-systems/pcc-browser-sdk",
"author": "@pantheon-systems",
"description": "Pantheon Content Cloud Browser SDK",
"version": "3.8.1",
"version": "3.9.0-beta.0",
"main": "dist/index.js",
"files": [
"dist",
Expand Down
7 changes: 7 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pantheon-systems/pcc-cli

## 3.9.0-beta.0

### Patch Changes

- Updated dependencies [4267508]
- @pantheon-systems/pcc-sdk-core@3.9.0-beta.0

## 3.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pantheon-systems/pcc-cli",
"author": "@pantheon-systems",
"description": "Pantheon Content Cloud CLI",
"version": "3.8.1",
"version": "3.9.0-beta.0",
"type": "module",
"license": "MIT",
"keywords": [
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @pantheon-systems/pcc-sdk-core

## 3.9.0-beta.0

### Minor Changes

- 4267508: Component schema supports special 'variant' attribute.

## 3.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pantheon-systems/pcc-sdk-core",
"author": "@pantheon-systems",
"description": "Pantheon Content Cloud SDK Core",
"version": "3.8.1",
"version": "3.9.0-beta.0",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
6 changes: 5 additions & 1 deletion packages/core/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,11 @@ export const SmartComponentMapZod = z.record(
title: z.string(),
variants: z.array(z.string()).optional(),
iconUrl: z.string().nullable().optional(),
exampleImageUrl: z.string().nullable().optional().or(z.array(z.string()).optional()),
exampleImageUrl: z
.string()
.nullable()
.optional()
.or(z.array(z.string()).optional()),
fields: z.record(z.string(), fieldSchema),
}),
);
Expand Down
8 changes: 8 additions & 0 deletions packages/react-sample-library/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @pantheon-systems/pcc-vue-sdk

## 3.9.0-beta.0

### Patch Changes

- Updated dependencies [4267508]
- @pantheon-systems/pcc-react-sdk@3.9.0-beta.0
- @pantheon-systems/pcc-sdk-core@3.9.0-beta.0

## 3.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-sample-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pantheon-systems/pcc-react-sample-library",
"author": "@pantheon-systems",
"description": "Pantheon Content Cloud Sample Component Library for React",
"version": "3.8.1",
"version": "3.9.0-beta.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
11 changes: 11 additions & 0 deletions packages/react-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @pantheon-systems/pcc-react-sdk

## 3.9.0-beta.0

### Minor Changes

- 4267508: Component schema supports special 'variant' attribute.

### Patch Changes

- Updated dependencies [4267508]
- @pantheon-systems/pcc-sdk-core@3.9.0-beta.0

## 3.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pantheon-systems/pcc-react-sdk",
"author": "@pantheon-systems",
"description": "Pantheon Content Cloud React SDK",
"version": "3.8.1",
"version": "3.9.0-beta.0",
"license": "MIT",
"keywords": [
"pcc",
Expand Down
7 changes: 7 additions & 0 deletions packages/vue-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pantheon-systems/pcc-vue-sdk

## 3.9.0-beta.0

### Patch Changes

- Updated dependencies [4267508]
- @pantheon-systems/pcc-sdk-core@3.9.0-beta.0

## 3.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pantheon-systems/pcc-vue-sdk",
"author": "@pantheon-systems",
"description": "Pantheon Content Cloud Vue SDK",
"version": "3.8.1",
"version": "3.9.0-beta.0",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion starters/gatsby-starter-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@mdx-js/react": "2.3.0",
"@pantheon-systems/pcc-react-sdk": "~3.8.1",
"@pantheon-systems/pcc-react-sdk": "~3.9.0-beta.0",
"@pantheon-systems/pds-toolkit-react": "1.0.0-dev.55",
"autoprefixer": "^10.4.17",
"gatsby": "5.13.5",
Expand Down
2 changes: 1 addition & 1 deletion starters/gatsby-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@mdx-js/react": "2.3.0",
"@pantheon-systems/pcc-react-sdk": "3.8.1",
"@pantheon-systems/pcc-react-sdk": "3.9.0-beta.0",
"@pantheon-systems/pds-toolkit-react": "1.0.0-dev.55",
"autoprefixer": "^10.4.17",
"gatsby": "5.13.5",
Expand Down
7 changes: 7 additions & 0 deletions starters/nextjs-starter-approuter-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @pantheon-systems/next-pcc-starter

## 1.1.8-beta.0

### Patch Changes

- Updated dependencies [4267508]
- @pantheon-systems/pcc-react-sdk@3.9.0-beta.0

## 1.1.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions starters/nextjs-starter-approuter-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pantheon-systems/next-approuter-pcc-starter-ts",
"version": "1.1.7",
"version": "1.1.8-beta.0",
"private": true,
"license": "GPL-3.0-or-later",
"description": "A starter for building a Pantheon Content Cloud (PCC) powered site with Next.js App Router and TypeScript",
Expand All @@ -26,7 +26,7 @@
"node": ">=18.0.0"
},
"dependencies": {
"@pantheon-systems/pcc-react-sdk": "~3.8.0",
"@pantheon-systems/pcc-react-sdk": "~3.9.0-beta.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@tailwindcss/typography": "0.5.10",
Expand Down
2 changes: 1 addition & 1 deletion starters/nextjs-starter-ts/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/basic-features/typescript for more information.
2 changes: 1 addition & 1 deletion starters/nextjs-starter-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"node": ">=18.0.0"
},
"dependencies": {
"@pantheon-systems/pcc-react-sdk": "~3.8.1",
"@pantheon-systems/pcc-react-sdk": "~3.9.0-beta.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@tailwindcss/typography": "0.5.10",
Expand Down
3 changes: 1 addition & 2 deletions starters/nextjs-starter/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.

// see https://nextjs.org/docs/basic-features/typescript for more information.
2 changes: 1 addition & 1 deletion starters/nextjs-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"node": ">=18.0.0"
},
"dependencies": {
"@pantheon-systems/pcc-react-sdk": "~3.8.1",
"@pantheon-systems/pcc-react-sdk": "~3.9.0-beta.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@tailwindcss/typography": "0.5.10",
Expand Down
6 changes: 6 additions & 0 deletions starters/vue-starter-ts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @pantheon-systems/vue-pcc-starter-ts

## 1.1.3-beta.0

### Patch Changes

- @pantheon-systems/pcc-vue-sdk@3.9.0-beta.0

## 1.1.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions starters/vue-starter-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"vue-router": "4.3.0"
},
"dependencies": {
"@pantheon-systems/pcc-vue-sdk": "~3.8.0"
"@pantheon-systems/pcc-vue-sdk": "~3.9.0-beta.0"
},
"version": "1.1.2"
"version": "1.1.3-beta.0"
}
6 changes: 6 additions & 0 deletions starters/vue-starter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @pantheon-systems/vue-pcc-starter

## 1.1.3-beta.0

### Patch Changes

- @pantheon-systems/pcc-vue-sdk@3.9.0-beta.0

## 1.1.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions starters/vue-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"vue-router": "4.3.0"
},
"dependencies": {
"@pantheon-systems/pcc-vue-sdk": "~3.8.0"
"@pantheon-systems/pcc-vue-sdk": "~3.9.0-beta.0"
},
"version": "1.1.2"
"version": "1.1.3-beta.0"
}

0 comments on commit e61e9bc

Please sign in to comment.