Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.
Closed
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ npm-debug.log
*.tgz
.npmrc
package-lock.json
core.code-workspace
20 changes: 12 additions & 8 deletions packages/aura-language-server/.npmignore

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.

Huh. We don't normally use npmignore. The normal approach is to have a files property on the package.json that says what files go in, instead of trying to explicitly ignore files.

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.

ex: https://github.com/forcedotcom/sfdx-core/blob/69c0055e7303decdc6d4d79d4ea1944f7e90287a/package.json#L50

I'd rather have "e2e failed because you forgot to put something in package.json#files" rather than, "you accidentally package unnecessary stuff because you didn't put it in the .npmignore file"

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Dev config folders
/.circleci
/.vscode
/coverage
/patches
/src
/test-workspaces
/typings
**/__tests__/**
.circleci/
.vscode/
coverage/
patches/
src/
test-workspaces/
typings/
**/__tests__/

# Configuration files
.eslintignore
Expand All @@ -18,8 +18,12 @@
CONTRIBUTING.md
copy-static-assets.ts
jest.config.js
jest.setup.js
tsconfig.json
tslint.json

# Development files
core.code-workspace

# Ignore artifacts
*.tgz
23 changes: 14 additions & 9 deletions packages/lightning-lsp-common/.npmignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
# Dev config folders
/.circleci
/.vscode
/coverage
/jest
/scripts
/src
/test-workspaces
/typings
**/__tests__/**
.circleci/
.vscode/
coverage/
jest/
scripts/
src/
test-workspaces/
typings/
**/__tests__/

# Configuration files
.eslintignore
.eslintrc.json
.huskyrc
.lintstagedrc
.prettierrc
copy-static-assets.ts
jest.config.js
jest.setup.js
tsconfig.json
tslint.json

# Development files
core.code-workspace

# Ignore artifacts
*.tgz
43 changes: 0 additions & 43 deletions packages/lightning-lsp-common/core.code-workspace

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"extensions.ignoreRecommendations": true,
"salesforcedx-vscode-lightning.activationMode": "always",
"salesforcedx-vscode-lightning.showLightningExplorer": true,
"salesforcedx-vscode-core.internal-development": true

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.

are these sneaking in from writing base-context?

private async writeCodeWorkspace(): Promise<void> {
const workspacePath = path.join(this.workspaceRoots[0], 'core.code-workspace');

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.

maybe we're missing some kind of check to verify that you're working in the salesforce internal repo that all this supports?

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.

the big problem with making changes is that we don't test that scenario at all (using ext for internal development) but there's probably users that need it.

"salesforcedx-vscode-core.internal-development": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
"extensions.ignoreRecommendations": true,
"salesforcedx-vscode-lightning.activationMode": "always",
"salesforcedx-vscode-lightning.showLightningExplorer": true,
"salesforcedx-vscode-core.internal-development": true
"salesforcedx-vscode-core.internal-development": false
}
21 changes: 13 additions & 8 deletions packages/lwc-language-server/.npmignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Dev config folders
/.circleci
/.vscode
/coverage
/jest
/src
/test-workspaces
/typings
**/__tests__/**
.circleci/
.vscode/
coverage/
jest/
src/
test-workspaces
test-workspaces/
typings/
**/__tests__/

# Configuration files
.eslintrc.json
Expand All @@ -16,8 +17,12 @@
.prettierrc
CONTRIBUTING.md
jest.config.js
jest.setup.js
tsconfig.json
tslint.json

# Development files
core.code-workspace

# Ignore artifacts
*.tgz
43 changes: 0 additions & 43 deletions packages/lwc-language-server/core.code-workspace

This file was deleted.