Skip to content
Merged
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: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
},
"private": true,
"scripts": {
"bootstrap": "cross-env COMPILER_OPTIONS=\"GATSBY_MAJOR=5\" npm-run-all -s check-versions \"lerna-prepare -- --{@}\" --",
"bootstrap": "cross-env COMPILER_OPTIONS=\"GATSBY_MAJOR=5\" npm-run-all -s \"lerna-prepare -- --{@}\" --",
"check-repo-fields": "node scripts/check-repo-fields.js",
"check-versions": "node scripts/check-versions.js",
"format": "npm run format:code && npm run format:other",
Expand All @@ -100,13 +100,13 @@
"jest:inspect": "node --inspect node_modules/.bin/jest --runInBand",
"jest:inspect-brk": "node --inspect-brk node_modules/.bin/jest --runInBand",
"lerna": "lerna",
"lerna-prepare": "lerna run prepare",
"lerna-prepare": "lerna run prepare --ignore gatsby-core-utils",
"lint": "npm-run-all --continue-on-error -p lint:code lint:other",
"lint:code": "eslint --ext .js,.jsx,.ts,.tsx --quiet .",
"lint:other": "npm run prettier -- --check",
"markdown": "md-magic --path \"starters/**/README.md\"",
"postmarkdown": "prettier --write \"starters/**/README.md\"",
"prebootstrap": "yarn",
"prebootstrap": "yarn && npm run check-versions && cross-env COMPILER_OPTIONS=\"GATSBY_MAJOR=5\" lerna run prepare --scope gatsby-core-utils",
"prettier": "prettier \"**/*.{md,css,scss,yaml,yml}\"",
"publish": "echo \"Use 'yarn publish-next' or 'yarn publish-release' instead of 'yarn run publish'\"",
"publish-canary": "node scripts/check-publish-access && lerna publish --canary --yes",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/reporter/redux/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const getGlobalStatus = (
return generatedStatus
},
ActivityStatuses.Success
)
) as ActivityStatuses
}

export const getActivity = (id: string): IActivity | null =>
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"build:cjs": "babel src --out-dir dist/ --ignore \"**/__tests__\" --ignore \"**/__mocks__\" --extensions \".ts\"",
"build:mjs": "cross-env BABEL_ENV=modern babel src --out-dir dist/ --ignore \"**/__tests__\" --ignore \"**/__mocks__\" --extensions \".ts\" --out-file-extension .mjs",
"typegen": "tsc --emitDeclarationOnly --declaration --declarationDir dist/",
"prepare": "cross-env NODE_ENV=production npm run build && npm run typegen",
"prepare": "cross-env NODE_ENV=production npm-run-all --npm-path npm -s build typegen",
"watch": "npm-run-all --npm-path npm -p watch:*",
"watch:cjs": "babel -w src --out-dir dist/ --ignore \"**/__tests__\" --ignore \"**/__mocks__\" --extensions \".ts\"",
"watch:mjs": "cross-env BABEL_ENV=modern babel -w src --out-dir dist/ --ignore \"**/__tests__\" --ignore \"**/__mocks__\" --extensions \".ts\" --out-file-extension .mjs",
Expand Down
3 changes: 2 additions & 1 deletion packages/gatsby-sharp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "ES5",
"module": "CommonJS"
"module": "CommonJS",
"downlevelIteration": true
},
"exclude": [
"src/__tests__",
Expand Down
1 change: 0 additions & 1 deletion packages/gatsby-source-shopify/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"include": ["src/**/*.ts", "types"],
"exclude": ["node_modules"],
"compilerOptions": {
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
Expand Down