Skip to content
Open
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ CLAUDE.md
.superpowers/
docs/superpowers/
cve-report/
cve-lite-scan-*.json
examples/.cve-lite-agent-*/
134 changes: 134 additions & 0 deletions examples/gatsby/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"packageManager": "yarn@1.22.19",
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/eslint-parser": "^7.21.8",
"@babel/eslint-plugin": "^7.19.1",
"@babel/node": "^7.20.7",
"@babel/plugin-transform-typescript": "^7.20.13",
"@babel/runtime": "^7.20.13",
"@lerna/prompt": "3.18.5",
"@types/babel__code-frame": "^7.0.3",
"@types/better-queue": "^3.8.3",
"@types/bluebird": "^3.5.38",
"@types/cache-manager": "^2.10.3",
"@types/common-tags": "^1.8.1",
"@types/fs-extra": "^9.0.13",
"@types/jaeger-client": "^3.18.4",
"@types/jest": "^29.5.2",
"@types/joi": "^14.3.4",
"@types/lodash": "^4.14.195",
"@types/node": "^12.20.55",
"@types/node-fetch": "^2.6.4",
"@types/normalize-path": "^3.0.0",
"@types/react": "^18.2.14",
"@types/semver": "^7.5.0",
"@types/signal-exit": "^3.0.1",
"@types/stack-trace": "^0.0.30",
"@types/webpack-merge": "^4.1.5",
"@typescript-eslint/eslint-plugin": "^5.60.1",
"@typescript-eslint/parser": "^5.60.1",
"babel-jest": "^29.5.0",
"chalk": "^4.1.2",
"chokidar": "^3.6.0",
"cross-env": "^7.0.3",
"danger": "^10.9.0",
"date-fns": "^1.30.1",
"dictionary-en": "^3.2.0",
"eslint": "^8.43.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"fs-extra": "^11.2.0",
"glob": "^7.2.3",
"husky": "3.1.0",
"ignore": "^5.2.4",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-extended": "^3.2.4",
"jest-junit": "^15.0.0",
"jest-serializer-path": "^0.1.15",
"jest-silent-reporter": "^0.5.0",
"joi": "^14.3.1",
"js-yaml": "^3.14.1",
"lerna": "^3.22.1",
"lint-staged": "^10.5.4",
"markdown-magic": "^0.2.1",
"node-notifier": "^10.0.1",
"npm-packlist": "^2.2.2",
"npm-run-all": "4.1.5",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"typescript": "^5.1.6",
"unified": "^9.2.2",
"yargs": "^15.4.1"
},
"engines": {
"yarn": "^1.17.3",
"node": ">=18.0.0 <26",
"npm": ">=8.0.0"
},
"eslintIgnore": [
"interfaces",
"**/__tests__/fixtures/"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged || node scripts/on-lint-error.js"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --ext .js,.jsx,.ts,.tsx --fix",
"*.{md,css,scss,yaml,yml}": "prettier --write"
},
"private": true,
"scripts": {
"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",
"format:code": "npm run lint:code -- --fix",
"format:other": "npm run prettier -- --write",
"hooks:install": "node node_modules/husky/husky.js install",
"hooks:uninstall": "node node_modules/husky/husky.js uninstall",
"jest": "jest",
"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 --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 && 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",
"publish-next": "node scripts/check-publish-access && node scripts/clear-package-dir prerelease --verbose && cross-env COMPILER_OPTIONS=\"GATSBY_MAJOR=5\" lerna publish prerelease --pre-dist-tag=next --preid=next --allow-branch=master --message=\"chore(release): Publish next\"",
"publish-preminor": "node scripts/check-publish-access && node scripts/clear-package-dir preminor --verbose && lerna publish preminor --pre-dist-tag=next --preid=next --force-publish --allow-branch=master --message=\"chore(release): Publish next pre-minor\"",
"publish-rc": "node scripts/check-publish-access && node scripts/clear-package-dir prerelease --verbose && lerna publish prerelease --pre-dist-tag=rc --preid=rc --message=\"chore(release): Publish rc\"",
"publish-release": "node scripts/check-publish-access && node scripts/clear-package-dir patch --verbose && lerna publish patch",
"publish-premajor": "node scripts/release-next-major.js publish",
"test": "npm-run-all --npm-path npm -s lint jest test:peril",
"test:coverage": "jest --coverage",
"test:integration": "jest --config=integration-tests/jest.config.js",
"test:peril": "cd peril && yarn test",
"test:update": "jest --updateSnapshot",
"test:watch": "jest --watch",
"typecheck": "node ./scripts/check-ts",
"version": "node ./scripts/gatsby-changelog-generator/lerna-version-lifecycle.js && prettier --write \"**/CHANGELOG.md\"",
"watch": "lerna run watch --no-sort --stream --concurrency 999"
},
"workspaces": [
"packages/*"
],
"resolutions": {
"@babel/plugin-transform-modules-commonjs": "7.18.6"
}
}
Loading