forked from felipe-test-org-for-testing/testing-stuff
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'felipe-test-org-for-testing:2685814-branch' into 268581…
…4-branch
- Loading branch information
Showing
1 changed file
with
313 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,313 @@ | ||
{ | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"package": "bin/package.js", | ||
"update-bugsnag": "bin/update-bugsnag.js", | ||
"graph": "nx graph", | ||
"shopify": "nx build cli && node packages/cli/bin/dev.js", | ||
"shopify:run": "node packages/cli/bin/dev.js", | ||
"create-app": "nx build create-app && cross-env SHOPIFY_FLAG_PACKAGE_MANAGER=npm node packages/create-app/bin/dev.js", | ||
"clean": "nx run-many --target=clean --all --skip-nx-cache && nx reset", | ||
"docs:generate": "nx run-many --target=docs:generate --all --skip-nx-cache", | ||
"lint": "nx run-many --target=lint --all --skip-nx-cache", | ||
"lint:affected": "nx affected --target=lint", | ||
"lint:fix": "nx run-many --target=lint:fix --all --skip-nx-cache", | ||
"lint:fix:affected": "nx affected --target=lint:fix", | ||
"test": "nx run-many --target=test --all --skip-nx-cache", | ||
"test:unit": "nx run-many --target=test --all --skip-nx-cache --exclude=features", | ||
"test:features": "pnpm nx run features:test", | ||
"test:affected": "nx affected --target=test", | ||
"test:regenerate-snapshots": "nx build cli && packages/features/snapshots/regenerate.sh", | ||
"type-check": "nx run-many --target=type-check --all --skip-nx-cache", | ||
"type-check:affected": "nx affected --target=type-check", | ||
"build": "nx run-many --target=build --all --skip-nx-cache", | ||
"bundle": "nx run-many --target=bundle --all --skip-nx-cache", | ||
"build:affected": "nx affected --target=build", | ||
"refresh-templates": "nx run-many --target=refresh-templates --all --skip-nx-cache", | ||
"refresh-manifests": "nx run-many --target=refresh-manifests --all --skip-nx-cache && bin/prettify-manifests.js && pnpm refresh-readme", | ||
"changeset-manifests": "changeset version && pnpm install --no-frozen-lockfile && pnpm refresh-manifests && pnpm refresh-readme && pnpm refresh-documentation && bin/update-cli-kit-version.js && pnpm docs:generate", | ||
"changeset-build-no-docs": "changeset version && pnpm install --no-frozen-lockfile && pnpm build && bin/update-cli-kit-version.js", | ||
"refresh-documentation": "nx run-many --target=refresh-documentation --all --skip-nx-cache", | ||
"refresh-readme": "nx run-many --target=refresh-readme --all --skip-nx-cache", | ||
"build-docs": "sh ./bin/docs/build-docs.sh", | ||
"knip": "knip", | ||
"graphql-codegen": "nx run-many --target=graphql-codegen --all", | ||
"graphql-codegen:get-graphql-schemas": "bin/get-graphql-schemas.js", | ||
"deploy-experimental": "node bin/deploy-experimental.js", | ||
"update-docs": "pnpm shopify docs generate && pnpm build-docs" | ||
}, | ||
"devDependencies": { | ||
"@bugsnag/source-maps": "^2.3.1", | ||
"@changesets/cli": "2.26.2", | ||
"@graphql-codegen/cli": "5.0.2", | ||
"@graphql-codegen/near-operation-file-preset": "3.0.0", | ||
"@nx/eslint-plugin": "19.3.0", | ||
"@nx/workspace": "19.3.0", | ||
"@octokit/core": "^4.2.4", | ||
"@octokit/rest": "20.1.1", | ||
"@shopify/eslint-plugin-cli": "file:packages/eslint-plugin-cli", | ||
"@shopify/generate-docs": "0.15.6", | ||
"@types/node": "18.19.3", | ||
"@types/tmp": "^0.2.3", | ||
"@typescript-eslint/parser": "^7.13.1", | ||
"ansi-colors": "^4.1.3", | ||
"bugsnag-build-reporter": "^2.0.0", | ||
"commander": "^9.4.0", | ||
"cross-env": "^7.0.3", | ||
"esbuild": "0.19.8", | ||
"eslint": "^8.48.0", | ||
"execa": "^7.2.0", | ||
"fast-glob": "^3.3.1", | ||
"find-up": "^6.3.0", | ||
"fs-extra": "^11.1.0", | ||
"graphql": "^16.8.1", | ||
"graphql-codegen-typescript-operation-types": "2.0.1", | ||
"graphql-tag": "^2.12.6", | ||
"json-stringify-deterministic": "1.0.12", | ||
"knip": "^5.10.0", | ||
"liquidjs": "^10.9.2", | ||
"node-fetch": "^3.3.2", | ||
"nx": "19.3.0", | ||
"oclif": "4.6.1", | ||
"octokit-plugin-create-pull-request": "^3.12.2", | ||
"pathe": "1.1.1", | ||
"pin-github-action": "^1.8.0", | ||
"react": "17.0.2", | ||
"rimraf": "^3.0.2", | ||
"tmp": "^0.2.1", | ||
"ts-node": "^10.9.1", | ||
"typescript": "5.2.2", | ||
"vitest": "^1.6.0" | ||
}, | ||
"workspaces": { | ||
"packages": [ | ||
"packages/*", | ||
"workspace" | ||
] | ||
}, | ||
"prettier": { | ||
"arrowParens": "always", | ||
"singleQuote": true, | ||
"bracketSpacing": false, | ||
"trailingComma": "all", | ||
"semi": false, | ||
"printWidth": 120 | ||
}, | ||
"version": "0.0.0", | ||
"resolutions": { | ||
"@types/react": "17.0.2", | ||
"vite": "5.3.1", | ||
"@oclif/core": "3.26.5", | ||
"whatwg-url": "14.0.0", | ||
"supports-hyperlinks": "3.1.0", | ||
"@shopify/cli-hydrogen>@shopify/cli-kit": "link:./packages/cli-kit", | ||
"@shopify/cli-hydrogen>@shopify/plugin-cloudflare": "link:./packages/plugin-cloudflare" | ||
}, | ||
"knip": { | ||
"$schema": "https://unpkg.com/knip@5/schema.json", | ||
"rules": { | ||
"binaries": "error", | ||
"classMembers": "error", | ||
"dependencies": "error", | ||
"devDependencies": "error", | ||
"duplicates": "error", | ||
"enumMembers": "error", | ||
"exports": "error", | ||
"files": "error", | ||
"nsExports": "error", | ||
"nsTypes": "error", | ||
"types": "error", | ||
"unlisted": "error", | ||
"unresolved": "error" | ||
}, | ||
"ignoreDependencies": [ | ||
"eslint-plugin-react", | ||
"eslint-plugin-react-hooks", | ||
"@shopify/cli-hydrogen", | ||
"@shopify/theme-check-node", | ||
"@shopify/theme-check-docs-updater" | ||
], | ||
"ignoreWorkspaces": [ | ||
"packages/eslint-plugin-cli" | ||
], | ||
"paths": { | ||
"@shopify/eslint-plugin-cli/configs": [ | ||
"./packages/eslint-plugin-cli/config.js" | ||
] | ||
}, | ||
"workspaces": { | ||
".": { | ||
"entry": [ | ||
"bin/**/*.js", | ||
"configurations/vite.config.ts", | ||
"docs-shopify.dev/**/*.ts", | ||
"vite.config.ts", | ||
"docs/api/cli-kit/**/*.js", | ||
"graphql.config.ts" | ||
], | ||
"ignoreBinaries": [ | ||
"packages/features/snapshots/regenerate.sh", | ||
"bin/*", | ||
"istanbul-merge" | ||
], | ||
"ignoreDependencies": [ | ||
"@nx/workspace", | ||
"graphql", | ||
"graphql-tag", | ||
"pin-github-action", | ||
"react", | ||
"@graphql-codegen/near-operation-file-preset", | ||
"graphql-codegen-typescript-operation-types" | ||
], | ||
"ignore": [ | ||
"configurations/vite.config.ts" | ||
] | ||
}, | ||
"packages/app": { | ||
"entry": [ | ||
"**/{commands,hooks}/**/*.ts!", | ||
"**/index.ts!" | ||
], | ||
"project": "**/*.{ts,tsx}!", | ||
"ignore": [ | ||
"**/graphql/**/generated/*.ts" | ||
], | ||
"ignoreDependencies": [ | ||
"@shopify/plugin-cloudflare", | ||
"@shopify/function-runner" | ||
], | ||
"vite": { | ||
"config": [ | ||
"vite.config.ts" | ||
] | ||
} | ||
}, | ||
"packages/cli": { | ||
"entry": [ | ||
"**/{commands,hooks}/**/*.ts!", | ||
"**/bin/*.js!", | ||
"**/index.ts!" | ||
], | ||
"project": "**/*.ts!", | ||
"ignoreDependencies": [ | ||
"@ast-grep/napi", | ||
"@parcel/watcher" | ||
], | ||
"vite": { | ||
"config": [ | ||
"vite.config.ts" | ||
] | ||
} | ||
}, | ||
"packages/create-app": { | ||
"entry": [ | ||
"**/{commands,hooks}/**/*.ts!", | ||
"**/index.ts!" | ||
], | ||
"project": "**/*.ts!", | ||
"vite": { | ||
"config": [ | ||
"vite.config.ts" | ||
] | ||
} | ||
}, | ||
"packages/plugin-cloudflare": { | ||
"entry": [ | ||
"**/{commands,hooks}/**/*.ts!", | ||
"**/src/*.ts!" | ||
], | ||
"project": "**/*.ts!", | ||
"ignoreDependencies": [ | ||
"@oclif/core" | ||
], | ||
"vite": { | ||
"config": [ | ||
"vite.config.ts" | ||
] | ||
} | ||
}, | ||
"packages/plugin-did-you-mean": { | ||
"entry": [ | ||
"**/{commands,hooks}/**/*.ts!", | ||
"**/src/*.ts!" | ||
], | ||
"project": "**/*.ts!", | ||
"vite": { | ||
"config": [ | ||
"vite.config.ts" | ||
] | ||
} | ||
}, | ||
"packages/theme": { | ||
"project": "**/*.ts!", | ||
"entry": [ | ||
"**/{commands,hooks}/**/*.ts!", | ||
"**/index.ts!" | ||
], | ||
"vite": { | ||
"config": [ | ||
"vite.config.ts" | ||
] | ||
} | ||
}, | ||
"packages/cli-kit": { | ||
"entry": [ | ||
"**/{commands,hooks}/**/*.ts!", | ||
"**/public/**/*.{ts,tsx}!" | ||
], | ||
"project": "**/*.{ts,tsx}!", | ||
"ignoreBinaries": [ | ||
"bundle", | ||
"open" | ||
], | ||
"vite": { | ||
"config": [ | ||
"vite.config.ts" | ||
] | ||
} | ||
}, | ||
"packages/ui-extensions-dev-console": { | ||
"entry": [ | ||
"**/src/main.tsx!" | ||
], | ||
"project": "**/*.{ts,tsx}!", | ||
"ignoreDependencies": [ | ||
"eslint-plugin-jsx-a11y" | ||
] | ||
}, | ||
"packages/ui-extensions-server-kit": { | ||
"entry": [ | ||
"**/src/index.tsx!", | ||
"**/scripts/*.ts!", | ||
"**/src/testing/index.ts" | ||
], | ||
"project": "**/*.{ts,tsx}!", | ||
"ignoreDependencies": [ | ||
"@shopify/react-testing" | ||
] | ||
}, | ||
"packages/ui-extensions-test-utils": { | ||
"entry": [ | ||
"**/src/index.ts" | ||
], | ||
"project": "**/*.{ts,tsx}" | ||
}, | ||
"packages/features": { | ||
"entry": [ | ||
"**/cucumber.js", | ||
"**/world/index.ts", | ||
"**/steps/*.ts", | ||
"**/lib/*.ts" | ||
], | ||
"project": "**/*.ts", | ||
"ignoreDependencies": [ | ||
"@cucumber/messages" | ||
], | ||
"ignoreBinaries": [ | ||
"ts-node/esm" | ||
] | ||
} | ||
} | ||
} | ||
} |