@genesiscommunitysuccess/cep-fast-plugin

中文文档
5.0.3发布于 2024/02/14MITCommonJS近 30 天下载 2707

Plugin for @genesiscommunitysuccess/custom-elements-lsp which enables https://www.fast.design/ enhancements

此软件包已被标记为弃用

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

原始使用文档
文档目录3 节
  1. Setup
  2. Contributing
  3. License

The Genesis Global Community Success initiative is committed to open-sourcing select technologies that we believe the open-source community would benefit from.

NPM version License

CEP FAST Plugin

This is a @genesiscommunitysuccess/custom-elements-lsp (CEP) plugin which adds enhancements to support FAST. Enhancements include:

  • Support for property bindings autocompletion and diagnostics for :prop. Extra info in quickinfo window.
  • Support for boolean attribute bindings in templates ?attr.
  • Support for event bindings autocompletion and diagnostics for @events. Extra info in quickinfo window.
Property Binding Autocompletion
Show more examples
Boolean Attribute Binding Autocompletion Event Binding Autocompletion Quickinfo Extended Functionality

Setup

  1. You need to follow the setup guide for the CEP here.
  2. You need to install this plugin.
npm i @genesiscommunitysuccess/cep-fast-plugin --save-dev
  1. You need to configure this plugin within the CEP. See instructions here.

If using this plugin and you're using a design system you'll likely want to configure designSystemPrefix as specified in the main instructions too.

At minimum you'll need the following configuration to enable FAST enhancements:

{
  "compilerOptions": {
    "plugins": [
      {
        "name": "@genesiscommunitysuccess/custom-elements-lsp",
        "designSystemPrefix": "example",
        "parser": {
          "fastEnable": true,
        },
        "plugins": ["@genesiscommunitysuccess/cep-fast-plugin"]
      }
    ]
  }
}

Contributing

Thanks for taking interest in contributing to the Custom Elements Plugin. See the contributing guidelines (CONTRIBUTING.md) at the root of the monorepo.

License

See here.

版本与发布记录

@genesiscommunitysuccess/cep-fast-plugin 共发布 13 个版本,首次发布于 2023/11/10;过去 12 个月发布了 0 个版本。

版本发布日期距今
5.0.3latest2024/02/142 年前
5.0.22023/12/202 年前
5.0.12023/12/202 年前
5.0.02023/12/132 年前
4.1.32023/12/122 年前
4.1.22023/12/122 年前

其他发布通道:prerelease → 2.1.1-prerelease.2。

关于 @genesiscommunitysuccess/cep-fast-plugin 的常见问题

@genesiscommunitysuccess/cep-fast-plugin 是什么?

Plugin for @genesiscommunitysuccess/custom-elements-lsp which enables https://www.fast.design/ enhancements注意:该包已被作者标记为弃用——Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

如何安装 @genesiscommunitysuccess/cep-fast-plugin?

在项目目录运行 npm install @genesiscommunitysuccess/cep-fast-plugin,或使用 pnpm add / yarn add / bun add。

@genesiscommunitysuccess/cep-fast-plugin 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/genesiscommunitysuccess__cep-fast-plugin 是否存在。

@genesiscommunitysuccess/cep-fast-plugin 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@genesiscommunitysuccess/cep-fast-plugin 可以商用吗?

@genesiscommunitysuccess/cep-fast-plugin 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@genesiscommunitysuccess/cep-fast-plugin 的下载量有多少?

根据 npm 官方下载统计,@genesiscommunitysuccess/cep-fast-plugin 在 2026/10/16 – 2026/11/14 这 30 天内被下载 2,707 次,日均约 90 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@genesiscommunitysuccess/cep-fast-plugin 还在维护吗?

最新版本 5.0.3 发布于 2024/02/14(2 年前);至今共发布 13 个版本,其中过去 12 个月发布了 0 个;首次发布于 2023/11/10。作者已将其标记为弃用,新项目建议寻找替代方案。