@eclipse-glsp/dev v2.0.0
Eclipse GLSP - All-in-one dev 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.
Components
@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 projects
Install
yarn add --dev @eclipse-glsp/dev
Usage
TSConfig
Create a tsconfig.json
:
{
"extends": "@eclipse-glsp/ts-config/tsconfig.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "lib"
}
}
ESLint
Create a .eslintrc.js
:
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: '@eclipse-glsp',
parserOptions: {
tsconfigRootDir: __dirname,
project: 'tsconfig.json'
}
};
Prettier
Add to the package.json
:
{
// ...
"prettier": "@eclipse-glsp/prettier-config"
}
Or add a .prettierrc.json
to the workspace root:
"@eclipse-glsp/prettier-config"
Mocha
Create a .mocharc.json
:
{
"$schema": "https://json.schemastore.org/mocharc",
"extends": "@eclipse-glsp/mocha-config"
}
Nyc
Add a .nycrc.json
to your project root:
"@eclipse-glsp/prettier-config"
Configuration can also be provided by nyc.config.js
if programmed logic is required.
More information
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.
16 days ago
16 days ago
21 days ago
1 month ago
3 months ago
3 months ago
3 months ago
7 months ago
8 months ago
10 months ago
7 months ago
7 months ago
7 months ago
11 months ago
1 year ago
1 year ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago