-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
chore: add nx monorepo tooling #3465
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
Changes from all commits
e2fdc35
973d875
5dddc26
27ac4de
e2b1717
38ed43f
4871e2d
80a24c3
830930c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"npmScope": "typescript-eslint", | ||
"implicitDependencies": { | ||
"workspace.json": "*", | ||
"package.json": { | ||
"dependencies": "*", | ||
"devDependencies": "*" | ||
}, | ||
"nx.json": "*", | ||
".github/workflows/ci.yml": "*" | ||
}, | ||
"workspaceLayout": { | ||
"libsDir": "packages" | ||
}, | ||
"tasksRunnerOptions": { | ||
"default": { | ||
"runner": "@nrwl/nx-cloud", | ||
"options": { | ||
"cacheableOperations": ["build", "test", "package", "prepare"], | ||
"strictlyOrderedTargets": ["build", "package", "prepare"], | ||
"accessToken": "YjFjNTBhOWUtY2JmNy00ZDhiLWE5N2UtZjliNDAwNmIzOTdjfHJlYWQtd3JpdGU=", | ||
"canTrackAnalytics": false, | ||
"showUsageWarnings": true, | ||
"runtimeCacheInputs": ["node -v"] | ||
} | ||
} | ||
}, | ||
"projects": { | ||
"@typescript-eslint/ast-spec": { | ||
"implicitDependencies": [] | ||
}, | ||
"@typescript-eslint/eslint-plugin": { | ||
"implicitDependencies": [] | ||
}, | ||
"@typescript-eslint/eslint-plugin-internal": { | ||
"implicitDependencies": [] | ||
}, | ||
"@typescript-eslint/eslint-plugin-tslint": { | ||
"implicitDependencies": [] | ||
}, | ||
"@typescript-eslint/experimental-utils": { | ||
"implicitDependencies": [] | ||
}, | ||
"@typescript-eslint/parser": { | ||
"implicitDependencies": [] | ||
}, | ||
"@typescript-eslint/scope-manager": { | ||
"implicitDependencies": [] | ||
}, | ||
"@typescript-eslint/shared-fixtures": { | ||
"implicitDependencies": [] | ||
}, | ||
"@typescript-eslint/types": { | ||
"implicitDependencies": ["@typescript-eslint/ast-spec"] | ||
}, | ||
"@typescript-eslint/typescript-estree": { | ||
"implicitDependencies": [] | ||
}, | ||
"@typescript-eslint/visitor-keys": { | ||
"implicitDependencies": [] | ||
} | ||
}, | ||
"affected": { | ||
"defaultBase": "master" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,27 +17,27 @@ | |
"url": "https://github.com/typescript-eslint/typescript-eslint/issues" | ||
}, | ||
"scripts": { | ||
"build": "lerna run build --ignore ast-spec", | ||
"check:clean-workspace-after-install": "git diff --quiet --exit-code", | ||
"check:configs": "lerna run check:configs", | ||
"check:docs": "lerna run check:docs", | ||
"check:format": "prettier --list-different \"./**/*.{ts,js,json,md}\"", | ||
"check:spelling": "cspell --config=.cspell.json \"**/*.{md,ts,js}\"", | ||
"build": "npx nx prebuild @typescript-eslint/types && nx run-many --target=build --all --parallel", | ||
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. For now, we need to include an explicit reference to the Feel free to ping me on slack if you want to cover this in more detail and I can walk you through where this is today vs how it can be configured |
||
"check-clean-workspace-after-install": "git diff --quiet --exit-code", | ||
"check-configs": "nx run-many --target=check-configs --all --parallel", | ||
"check-docs": "nx run-many --target=check-docs --all --parallel", | ||
"check-format": "prettier --list-different \"./**/*.{ts,js,json,md}\"", | ||
"check-spelling": "cspell --config=.cspell.json \"**/*.{md,ts,js}\"", | ||
"clean": "lerna clean && lerna run clean", | ||
"cz": "git-cz", | ||
"format": "prettier --write \"./**/*.{ts,js,json,md}\"", | ||
"generate:contributors": "yarn ts-node --transpile-only ./tools/generate-contributors.ts && yarn all-contributors generate", | ||
"lint:fix": "eslint . --ext .js,.ts --fix", | ||
"lint:markdown:fix": "yarn lint:markdown --fix", | ||
"lint:markdown": "markdownlint \"**/*.md\" --config=.markdownlint.json --ignore-path=.markdownlintignore", | ||
"generate-contributors": "yarn ts-node --transpile-only ./tools/generate-contributors.ts && yarn all-contributors generate", | ||
"lint-fix": "eslint . --ext .js,.ts --fix", | ||
"lint-markdown-fix": "yarn lint-markdown --fix", | ||
"lint-markdown": "markdownlint \"**/*.md\" --config=.markdownlint.json --ignore-path=.markdownlintignore", | ||
"lint": "eslint . --ext .js,.ts", | ||
"postinstall": "yarn husky install && yarn build", | ||
"pre-commit": "yarn lint-staged", | ||
"pre-push": "yarn check:format", | ||
"test": "lerna run test --concurrency 1", | ||
"test:integration": "./tests/integration/run-all-tests.sh", | ||
"test:kill-integration-containers": "docker-compose -f tests/integration/docker-compose.yml down -v --rmi local", | ||
"typecheck": "lerna run typecheck" | ||
"pre-push": "yarn check-format", | ||
"test": "nx run-many --target=test --all --parallel", | ||
"test-integration": "./tests/integration/run-all-tests.sh", | ||
"test-kill-integration-containers": "docker-compose -f tests/integration/docker-compose.yml down -v --rmi local", | ||
"typecheck": "nx run-many --target=typecheck --all --parallel" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
|
@@ -77,6 +77,10 @@ | |
"@commitlint/cli": "^12.1.4", | ||
"@commitlint/config-conventional": "^12.1.4", | ||
"@commitlint/config-lerna-scopes": "^12.1.4", | ||
"@nrwl/cli": "^12.3.5", | ||
"@nrwl/nx-cloud": "^12.1.3", | ||
"@nrwl/tao": "^12.3.5", | ||
"@nrwl/workspace": "^12.3.5", | ||
"@types/babel__code-frame": "^7.0.2", | ||
"@types/debug": "^4.1.5", | ||
"@types/eslint-visitor-keys": "^1.0.0", | ||
|
Uh oh!
There was an error while loading. Please reload this page.