Skip to content

@W-9531534@: Tests are now configured to run with the LTS node version.#431

Closed
jfeingold35 wants to merge 7 commits into
devfrom
d/W-9531534
Closed

@W-9531534@: Tests are now configured to run with the LTS node version.#431
jfeingold35 wants to merge 7 commits into
devfrom
d/W-9531534

Conversation

@jfeingold35
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread .circleci/config.yml Outdated
- "63:74:04:09:64:97:7e:c6:9b:45:c0:5e:d3:7e:40:ed"
- checkout

unix_node_upgrade:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can these be put into separate scripts? Similar to the smoke tests?

Comment thread .circleci/unix-node-upgrade.sh Outdated
DESIRED_VERSION=v`npx n ls-remote ${VERSION_ALIAS}`

# Install the desired version.
curl -sSL "https://nodejs.org/dist/${DESIRED_VERSION}/node-${DESIRED_VERSION}-linux-x64.tar.xz" | sudo tar --strip-components=2 -xJ -C /usr/local/bin/ node-${DESIRED_VERSION}-linux-x64/bin/node
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you doc what -sSL does? I had to look it up, at first it could appear to be skipping SSL.

VERSION_ALIAS=$1

# Install `n`, a module that we can use to resolve the node alias into an actual version.
npm install n
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should file a 3pp for this.

@jfeingold35 jfeingold35 closed this Jul 9, 2021
@jfeingold35
Copy link
Copy Markdown
Contributor Author

Superceded by #436

@jfeingold35 jfeingold35 deleted the d/W-9531534 branch July 16, 2021 19:26
aruntyagiTutu added a commit that referenced this pull request Mar 9, 2026
Updates @salesforce/code-analyzer-eslint-engine dependency to use the newly
published version 0.40.2 which includes critical parser bug fixes.

Changes:
- @salesforce/code-analyzer-eslint-engine: 0.40.1 → 0.40.2

What's in eslint-engine 0.40.2:
- Fixed parser not configured when both JS and LWC base configs disabled
- Fixed TypeScript parser when TS base config disabled
- Added minimal parser fallback for all scenarios
- Comprehensive documentation for parser selection strategy

This ensures LWC files with decorators, TypeScript files with type annotations,
and React JSX files all parse correctly regardless of which base configs are
enabled or disabled.

Related:
- code-analyzer-core PR #431 (merged)
- Fixes W-21462752
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants