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: 1 addition & 1 deletion .github/workflows/generate-embeddings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: pnpm/action-setup@7088e561eb65bb68695d245aa206f005ef30921d # v4.1.0
id: pnpm-install
with:
version: 11.2.2
version: 11.22.0
run_install: false

- name: Get pnpm store directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- uses: pnpm/action-setup@7088e561eb65bb68695d245aa206f005ef30921d # v4.1.0
with:
version: 11.2.2
version: 11.22.0

- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
NX_RUN_GROUP: ${{ github.run_id }}-${{ github.run_attempt }}
CYPRESS_INSTALL_BINARY: 0
NODE_VERSION: 26.7.0
PNPM_VERSION: 11.2.2 # Aligned with root package.json (pnpm/action-setup will helpfully error if out of sync)
PNPM_VERSION: 11.22.0 # Aligned with root package.json (pnpm/action-setup will helpfully error if out of sync)
NX_GRADLE_PROJECT_GRAPH_TIMEOUT: 600

jobs:
Expand Down Expand Up @@ -448,7 +448,7 @@ jobs:
env
whoami
sudo pkg install -y -f node libnghttp2 www/npm git ca_root_nss
sudo npm install --location=global --ignore-scripts pnpm@11.2.2
sudo npm install --location=global --ignore-scripts pnpm@11.22.0
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain stable
source "$HOME/.cargo/env"
Expand Down
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
"nxCloudId": "62d013ea0852fe0a2df74438",
"nxCloudUrl": "https://staging.nx.app",
"parallel": 1,
"bust": 3237,
"bust": 3238,
"defaultBase": "master",
"sync": {
"applyChanges": true
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Smart Monorepos · Fast Builds",
"homepage": "https://nx.dev",
"private": true,
"packageManager": "pnpm@11.2.2",
"packageManager": "pnpm@11.22.0",
"scripts": {
"build": "nx run-many --target build --parallel 8 --exclude nx-dev,tools-documentation-create-embeddings,nx-dev-util-ai,astro-docs",
"commit": "czg",
Expand Down
4 changes: 3 additions & 1 deletion packages/eslint-plugin/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
// explains why.
import enforceModuleBoundariesRule from './src/rules/enforce-module-boundaries';

export const enforceModuleBoundaries = enforceModuleBoundariesRule;
// Keep the annotation: the inferred type names RuleModule via a pnpm store path (TS2883).
export const enforceModuleBoundaries: typeof enforceModuleBoundariesRule =
enforceModuleBoundariesRule;
7 changes: 6 additions & 1 deletion packages/eslint-plugin/nx.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { TSESLint } from '@typescript-eslint/utils';
import { workspaceRules } from './src/resolve-workspace-rules';
import dependencyChecks, {
RULE_NAME as dependencyChecksRuleName,
Expand All @@ -9,7 +10,11 @@ import nxPluginChecksRule, {
RULE_NAME as nxPluginChecksRuleName,
} from './src/rules/nx-plugin-checks';

const plugin = {
// Keep the annotation: the inferred type names RuleModule via a pnpm store path (TS2883).
const plugin: {
configs: Record<string, unknown>;
rules: Record<string, TSESLint.RuleModule<string, unknown[]>>;
} = {
configs: {},
rules: {
[enforceModuleBoundariesRuleName]: enforceModuleBoundaries,
Expand Down
4 changes: 3 additions & 1 deletion packages/eslint-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { TSESLint } from '@typescript-eslint/utils';
import typescript from './configs/typescript';
import javascript from './configs/javascript';
import reactTmp from './configs/react-tmp';
Expand Down Expand Up @@ -64,7 +65,8 @@ const configs = {
},
};

const rules = {
// Keep the annotation: the inferred type names RuleModule via a pnpm store path (TS2883).
const rules: Record<string, TSESLint.RuleModule<string, unknown[]>> = {
[enforceModuleBoundariesRuleName]: enforceModuleBoundaries,
[nxPluginChecksRuleName]: nxPluginChecksRule,
[dependencyChecksRuleName]: dependencyChecks,
Expand Down
Loading