![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@eclipse-glsp/dev
Advanced tools
All-in-one meta package that provides the GLSP development and test configuration packages, as well as the GLSP CLI package
A meta package that includes all shared configuration packages Eclipse GLSP components. In addition, it also provides the GLSP CLI application.
The package is available via npm and can be used by all GLSP components implemented with Typescript.
@eclipse-glsp/config
: Meta package for shared build configuration
@eclipse-glsp/ts-config
: Shared Typescript configuration for GLSP projects@eclipse-glsp/eslint-config
: Shared ESLint configuration for GLSP projects@eclipse-glsp/prettier-config
: Shared Prettier configuration for GLSP projects@eclipse-glsp/config-test
: Meta package for shared test configuration
@eclipse-glsp/mocha-config
: Shared Mocha configuration for GLSP projects@eclipse-glsp/nyc-config
: Shared nyc configuration for GLSP projects@eclipse-glsp/cli
: CLI Tooling & scripts for GLSP projectsyarn add --dev @eclipse-glsp/dev
Create a tsconfig.json
:
{
"extends": "@eclipse-glsp/ts-config/tsconfig.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "lib"
}
}
In addition, a custom configuration for projects that use mocha
is available:
@eclipse-glsp/ts-config/mocha
Create a .eslintrc.js
:
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: '@eclipse-glsp',
parserOptions: {
tsconfigRootDir: __dirname,
project: 'tsconfig.json'
}
};
Add to the package.json
:
{
// ...
"prettier": "@eclipse-glsp/prettier-config"
}
Or add a .prettierrc
to the workspace root:
"@eclipse-glsp/prettier-config"
Create a .mocharc
:
{
"$schema": "https://json.schemastore.org/mocharc",
"extends": "@eclipse-glsp/mocha-config"
}
Add a .nycrc
to your project root:
{
"extends": "@eclipse-glsp/nyc-config"
}
Configuration can also be provided by nyc.config.js
if programmed logic is required.
For more information, please visit the Eclipse GLSP Umbrella repository and the Eclipse GLSP Website. If you have questions, please raise them in the discussions and have a look at our communication and support options.
[config] Update all dependencies & peerDependencies of the dev to the latest version #1136
[protocol] Removed Protocol.MD
file. #892
[eslint-config] Tweaked chai-friendly/no-unused expression
rule to enable allowTenary
and allowShortCircuit
options. #936
[config] Introduce all-in-one @eclipse-glsp/dev
meta package. #842
[cli] Contribute the checkHeaders
command to validate the copyright year (range) of license headers. #834
[config] Introduce @eclipse-glsp/nyc-config
package and the @eclipse-glsp/config-test
meta package. #755
coverageReport
command to create a full nyc test coverage report for a lerna/yarn mono repository[cli] Introduce @eclipse-glsp/cli
package to offer CLI tooling & utility scripts for GLSP projects. #755 - Contributed on behalf of STMicroelectronics
release
command to prepare & publish a new Github release for a specific GLSP component[deps] Updates dependencies of @eclipse-glsp/config
and @eclipse-glsp/config-test
packages to the latest version #1023
FAQs
All-in-one meta package that provides the GLSP development and test configuration packages, as well as the GLSP CLI package
The npm package @eclipse-glsp/dev receives a total of 41 weekly downloads. As such, @eclipse-glsp/dev popularity was classified as not popular.
We found that @eclipse-glsp/dev demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.