Skip to content

Commit

Permalink
chore: run prettier over all json files
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Aug 28, 2024
1 parent 4ab78b9 commit ff245e3
Show file tree
Hide file tree
Showing 24 changed files with 26,809 additions and 26,875 deletions.
4 changes: 2 additions & 2 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"useTabs": true,
"singleQuote": true
"useTabs": true,
"singleQuote": true
}
6 changes: 3 additions & 3 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"packages/core": "0.6.1",
"packages/fetch-mock": "11.1.2",
"packages/vitest": "0.1.0"
"packages/core": "0.6.1",
"packages/fetch-mock": "11.1.2",
"packages/vitest": "0.1.0"
}
6 changes: 3 additions & 3 deletions docs/docs/@fetch-mock/core/route/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"position": 2.5,
"collapsible": false,
"collapsed": false,
"position": 2.5,
"collapsible": false,
"collapsed": false
}
6 changes: 3 additions & 3 deletions docs/docs/fetch-mock/API/Inspection/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"position": 2,
"collapsible": true,
"collapsed": true,
"position": 2,
"collapsible": true,
"collapsed": true
}
6 changes: 3 additions & 3 deletions docs/docs/fetch-mock/API/Lifecycle/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"position": 3,
"collapsible": true,
"collapsed": true,
"position": 3,
"collapsible": true,
"collapsed": true
}
6 changes: 3 additions & 3 deletions docs/docs/fetch-mock/API/Mocking/Parameters/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"position": 1.5,
"collapsible": true,
"collapsed": true,
"position": 1.5,
"collapsible": true,
"collapsed": true
}
6 changes: 3 additions & 3 deletions docs/docs/fetch-mock/API/Mocking/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"position": 1,
"collapsible": true,
"collapsed": true,
"position": 1,
"collapsible": true,
"collapsed": true
}
6 changes: 3 additions & 3 deletions docs/docs/fetch-mock/API/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"position": 2,
"collapsible": false,
"collapsed": false,
"position": 2,
"collapsible": false,
"collapsed": false
}
6 changes: 3 additions & 3 deletions docs/docs/fetch-mock/Troubleshooting/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"position": 3,
"collapsible": true,
"collapsed": true,
"position": 3,
"collapsible": true,
"collapsed": true
}
6 changes: 3 additions & 3 deletions docs/docs/fetch-mock/Usage/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"position": 1,
"collapsible": false,
"collapsed": false,
"position": 1,
"collapsible": false,
"collapsed": false
}
84 changes: 42 additions & 42 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"name": "my-website",
"version": "0.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/types": "3.4.0"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 3 chrome version",
"last 3 firefox version",
"last 5 safari version"
]
},
"engines": {
"node": ">=18.0"
}
"name": "my-website",
"version": "0.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/types": "3.4.0"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 3 chrome version",
"last 3 firefox version",
"last 5 safari version"
]
},
"engines": {
"node": ">=18.0"
}
}
23 changes: 10 additions & 13 deletions import-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"name": "fetch-mock-compat-tests",
"version": "1.0.0",
"scripts": {
"compat:mts:esm": "tsc ts-esm.mts --target esnext --moduleResolution nodenext --module nodenext && node ts-esm.mjs || echo \"\\033[0;31mfailed mts:esm\\033[0m\"",
"compat:ts:esm": "tsc ts-esm.ts --target esnext --moduleResolution nodenext --module nodenext && node ts-esm.js || echo \"\\033[0;31mfailed ts:esm\\033[0m\"",
"compat:ts:cjs": "tsc ts-cjs.ts --target esnext --moduleResolution nodenext --module nodenext && node ts-cjs.js || echo \"\\033[0;31mfailed ts:cjs\\033[0m\"",
"compat:js:esm": "cp ts-esm.ts js-esm.mjs && node js-esm.mjs || echo \"\\033[0;31mfailed js:esm\\033[0m\"",
"compat:js:cjs": "cp ts-cjs.ts js-cjs.js && node js-cjs.js || echo \"\\033[0;31mfailed js:cjs\\033[0m\"",
"compat:module": "npm run compat:mts:esm && npm run compat:ts:esm && npm run compat:ts:cjs && npm run compat:js:esm && npm run compat:js:cjs"
}
"name": "fetch-mock-compat-tests",
"version": "1.0.0",
"scripts": {
"compat:mts:esm": "tsc ts-esm.mts --target esnext --moduleResolution nodenext --module nodenext && node ts-esm.mjs || echo \"\\033[0;31mfailed mts:esm\\033[0m\"",
"compat:ts:esm": "tsc ts-esm.ts --target esnext --moduleResolution nodenext --module nodenext && node ts-esm.js || echo \"\\033[0;31mfailed ts:esm\\033[0m\"",
"compat:ts:cjs": "tsc ts-cjs.ts --target esnext --moduleResolution nodenext --module nodenext && node ts-cjs.js || echo \"\\033[0;31mfailed ts:cjs\\033[0m\"",
"compat:js:esm": "cp ts-esm.ts js-esm.mjs && node js-esm.mjs || echo \"\\033[0;31mfailed js:esm\\033[0m\"",
"compat:js:cjs": "cp ts-cjs.ts js-cjs.js && node js-cjs.js || echo \"\\033[0;31mfailed js:cjs\\033[0m\"",
"compat:module": "npm run compat:mts:esm && npm run compat:ts:esm && npm run compat:ts:cjs && npm run compat:js:esm && npm run compat:js:cjs"
}
}



23 changes: 9 additions & 14 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
{
"extends": "./tsconfig.base.json",
"rootDir": "src",
"compilerOptions": {
"module": "NodeNext",
"noEmit": true,
"target": "es2021",
},
"include": [
"./packages/**/src/*.ts"
],
"exclude": [
"node_modules",
"packages/**/__tests__"
]
"extends": "./tsconfig.base.json",
"rootDir": "src",
"compilerOptions": {
"module": "NodeNext",
"noEmit": true,
"target": "es2021"
},
"include": ["./packages/**/src/*.ts"],
"exclude": ["node_modules", "packages/**/__tests__"]
}
Loading

0 comments on commit ff245e3

Please sign in to comment.