Updated prettier, added assert to json imports, and updated incorrect meta information (#214)

# Pull Request

## 📖 Description

<!--- Provide some background and a description of your work. -->
This change:
- Updates the prettier version
- Adds asset to json imports showing up because of updated typescript
- Update some incorrect meta information on the documentation site

##  Checklist

### General

<!--- Review the list and put an x in the boxes that apply. -->

- [ ] I have added tests for my changes.
- [x] I have tested my changes.
- [x] I have updated the project documentation to reflect my changes.
This commit is contained in:
Jane Chu 2022-04-19 09:13:35 -07:00 коммит произвёл GitHub
Родитель 99e41eb8ab
Коммит 3f9239fc33
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 50 добавлений и 11 удалений

53
package-lock.json сгенерированный
Просмотреть файл

@ -29,7 +29,7 @@
"glob": "^7.1.2",
"husky": "^4.2.5",
"lint-staged": "^10.1.2",
"prettier": "2.0.2",
"prettier": "^2.6.1",
"rimraf": "^3.0.2",
"yargs": "^16.2.0"
}
@ -18239,15 +18239,18 @@
}
},
"node_modules/prettier": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.2.tgz",
"integrity": "sha512-5xJQIPT8BraI7ZnaDwSbu5zLrB6vvi8hVV58yHQ+QK64qrY40dULy0HSRlQ2/2IdzeBpjhDkqdcFBnFeDEMVdg==",
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz",
"integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
},
"engines": {
"node": ">=10.13.0"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/pretty-error": {
@ -25440,6 +25443,18 @@
"react": "^16.8.0"
}
},
"packages/fast-tooling-react/node_modules/prettier": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.2.tgz",
"integrity": "sha512-5xJQIPT8BraI7ZnaDwSbu5zLrB6vvi8hVV58yHQ+QK64qrY40dULy0HSRlQ2/2IdzeBpjhDkqdcFBnFeDEMVdg==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
},
"engines": {
"node": ">=10.13.0"
}
},
"packages/fast-tooling-react/node_modules/typescript": {
"version": "4.3.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz",
@ -25681,6 +25696,18 @@
"node": ">=6.11.5"
}
},
"packages/fast-tooling/node_modules/prettier": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.2.tgz",
"integrity": "sha512-5xJQIPT8BraI7ZnaDwSbu5zLrB6vvi8hVV58yHQ+QK64qrY40dULy0HSRlQ2/2IdzeBpjhDkqdcFBnFeDEMVdg==",
"dev": true,
"bin": {
"prettier": "bin-prettier.js"
},
"engines": {
"node": ">=10.13.0"
}
},
"packages/fast-tooling/node_modules/resolve-typescript-plugin": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/resolve-typescript-plugin/-/resolve-typescript-plugin-1.1.5.tgz",
@ -29058,6 +29085,12 @@
"integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==",
"dev": true
},
"prettier": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.2.tgz",
"integrity": "sha512-5xJQIPT8BraI7ZnaDwSbu5zLrB6vvi8hVV58yHQ+QK64qrY40dULy0HSRlQ2/2IdzeBpjhDkqdcFBnFeDEMVdg==",
"dev": true
},
"resolve-typescript-plugin": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/resolve-typescript-plugin/-/resolve-typescript-plugin-1.1.5.tgz",
@ -29243,6 +29276,12 @@
"yargs": "^16.2.0"
},
"dependencies": {
"prettier": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.2.tgz",
"integrity": "sha512-5xJQIPT8BraI7ZnaDwSbu5zLrB6vvi8hVV58yHQ+QK64qrY40dULy0HSRlQ2/2IdzeBpjhDkqdcFBnFeDEMVdg==",
"dev": true
},
"typescript": {
"version": "4.3.5",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz",
@ -41735,9 +41774,9 @@
"dev": true
},
"prettier": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.2.tgz",
"integrity": "sha512-5xJQIPT8BraI7ZnaDwSbu5zLrB6vvi8hVV58yHQ+QK64qrY40dULy0HSRlQ2/2IdzeBpjhDkqdcFBnFeDEMVdg==",
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz",
"integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==",
"dev": true
},
"pretty-error": {

Просмотреть файл

@ -56,7 +56,7 @@
"glob": "^7.1.2",
"husky": "^4.2.5",
"lint-staged": "^10.1.2",
"prettier": "2.0.2",
"prettier": "^2.6.1",
"rimraf": "^3.0.2",
"yargs": "^16.2.0"
}

Просмотреть файл

@ -3,7 +3,7 @@ import path from "path";
import fs from "fs-extra";
import { marked } from "marked";
import { template as templateResolver } from "lodash-es";
import versions from "../docs/versions.json";
import versions from "../docs/versions.json" assert { type: "json" };
import { ghPagesBaseUrl } from "./constants.js";
const __dirname = process.cwd();

Просмотреть файл

@ -1,4 +1,4 @@
import versions from "./versions.json";
import versions from "./versions.json" assert { type: "json" };
const toolingPackageName = "@microsoft/fast-tooling";
const toolingReactPackageName = "@microsoft/fast-tooling-react";

Просмотреть файл

@ -13,7 +13,7 @@
content="A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications."
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.example.com/" />
<meta property="og:url" content="https://microsoft.github.io/fast-tooling/" />
<meta
property="og:description"
content="A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications."