Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.2k
chore: Improve Nx task separation#5524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -8,25 +8,24 @@ | ||
| "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm", | ||
| "install:csb": "corepack enable && pnpm install --frozen-lockfile", | ||
| "test": "pnpm run test:ci", | ||
| "test:ci": "nx affected --targets=test:format,test:lib,test:types,test:eslint", | ||
| "test:ci": "nx run-many --exclude=examples/** --targets=test:format,test:eslint,test:lib,test:types,build,test:build", | ||
| "test:eslint": "nx affected --target=test:eslint", | ||
| "test:format": "pnpm run prettier --check", | ||
| "test:lib": "nx affected --target=test:lib", | ||
| "test:lib:dev": "pnpm --filter \"./packages/**\" run test:lib:dev", | ||
| "test:build": "nx run-many --target=test:build --projects=root", | ||
| "test:build": "nx affected --target=test:build", | ||
| "test:types": "nx affected --target=test:types", | ||
| "build": "nx run-many --target=build --projects=root", | ||
| "build": "nx affected --target=build", | ||
| "build:all": "nx run-many --exclude=examples/** --target=build", | ||
| "watch": "concurrently --kill-others \"pnpm -r build:rollup -w\" \"pnpm -r build:types --watch\"", | ||
| "dev": "pnpm run watch", | ||
| "prettier": "prettier --plugin-search-dir . \"{packages,examples,scripts}/**/*.{md,js,jsx,cjs,ts,tsx,json,vue,svelte}\"", | ||
| "prettier:write": "pnpm run prettier --write", | ||
| "cipublish": "node scripts/publish.js", | ||
| "validatePackages": "node scripts/validatePackages.js" | ||
| "cipublish": "node scripts/publish.js" | ||
| }, | ||
| "nx": { | ||
| "includedScripts": [ | ||
| "test:format", | ||
| "test:build" | ||
| "test:format" | ||
| ] | ||
| }, | ||
| "namespace": "@tanstack", | ||
| @@ -57,7 +56,6 @@ | ||
| "@vitest/coverage-istanbul": "^0.27.1", | ||
| "axios": "^1.4.0", | ||
| "babel-preset-solid": "^1.6.10", | ||
| "bundlewatch": "^0.3.3", | ||
Collaborator There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do you know any alternatives to track bundle-size ? | ||
| "chalk": "^5.2.0", | ||
| "concurrently": "^8.0.1", | ||
| "cpy-cli": "^4.2.0", | ||
| @@ -92,13 +90,6 @@ | ||
| "vitest": "^0.27.1", | ||
| "vue": "^3.2.47" | ||
| }, | ||
| "bundlewatch": { | ||
| "files": [ | ||
| { | ||
| "path": "packages/*/build/lib/*.js" | ||
| } | ||
| ] | ||
| }, | ||
| "pnpm": { | ||
| "patchedDependencies": { | ||
| "@types/testing-library__jest-dom@5.14.5": "patches/@types__testing-library__jest-dom@5.14.5.patch" | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the switch from
nx affectedtonx run-many?