@elenajs/bundler 1.0.0-rc.2 → 1.0.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +7 -6
- package/src/cem-analyze.js +3 -0
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elenajs/bundler",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.5",
|
|
4
4
|
"description": "Bundler for Progressive Web Component libraries built with Elena.",
|
|
5
5
|
"author": "Elena <hi@elenajs.com>",
|
|
6
6
|
"homepage": "https://elenajs.com/",
|
|
@@ -38,10 +38,11 @@
|
|
|
38
38
|
"@babel/core": "7.29.0",
|
|
39
39
|
"@babel/preset-env": "7.29.0",
|
|
40
40
|
"@custom-elements-manifest/analyzer": "0.11.0",
|
|
41
|
-
"@elenajs/plugin-cem-define": "^1.0.0-
|
|
42
|
-
"@elenajs/plugin-cem-
|
|
43
|
-
"@elenajs/plugin-cem-
|
|
44
|
-
"@elenajs/plugin-
|
|
41
|
+
"@elenajs/plugin-cem-define": "^1.0.0-rc.3",
|
|
42
|
+
"@elenajs/plugin-cem-prop": "^1.0.0-rc.3",
|
|
43
|
+
"@elenajs/plugin-cem-tag": "^1.0.0-rc.3",
|
|
44
|
+
"@elenajs/plugin-cem-typescript": "^1.0.0-rc.4",
|
|
45
|
+
"@elenajs/plugin-rollup-css": "^1.0.0-rc.3",
|
|
45
46
|
"@rollup/plugin-babel": "7.0.0",
|
|
46
47
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
47
48
|
"@rollup/plugin-terser": "1.0.0",
|
|
@@ -57,5 +58,5 @@
|
|
|
57
58
|
"devDependencies": {
|
|
58
59
|
"vitest": "4.1.0"
|
|
59
60
|
},
|
|
60
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "0e023cbbf634115bc6999dace7c0c5305838755b"
|
|
61
62
|
}
|
package/src/cem-analyze.js
CHANGED
|
@@ -18,6 +18,7 @@ import { create, ts } from "@custom-elements-manifest/analyzer";
|
|
|
18
18
|
import { globby } from "globby";
|
|
19
19
|
import { customElementJsxPlugin as elenaJsxPlugin } from "custom-element-jsx-integration";
|
|
20
20
|
import { elenaDefinePlugin } from "@elenajs/plugin-cem-define";
|
|
21
|
+
import { elenaPropPlugin } from "@elenajs/plugin-cem-prop";
|
|
21
22
|
import { elenaTagPlugin } from "@elenajs/plugin-cem-tag";
|
|
22
23
|
import { elenaTypeScriptPlugin } from "@elenajs/plugin-cem-typescript";
|
|
23
24
|
import { color } from "./common/color.js";
|
|
@@ -41,6 +42,7 @@ export function createCemConfig(options = {}) {
|
|
|
41
42
|
exclude: ["**/*.test.js", "**/*.test.ts", "node_modules"],
|
|
42
43
|
plugins: [
|
|
43
44
|
elenaDefinePlugin(),
|
|
45
|
+
elenaPropPlugin(),
|
|
44
46
|
elenaTagPlugin("status"),
|
|
45
47
|
elenaTagPlugin("displayName"),
|
|
46
48
|
elenaJsxPlugin({ outdir, fileName: "custom-elements.d.ts" }),
|
|
@@ -94,6 +96,7 @@ export async function runCemAnalyze(config, cwd = process.cwd()) {
|
|
|
94
96
|
|
|
95
97
|
const plugins = [
|
|
96
98
|
elenaDefinePlugin(),
|
|
99
|
+
elenaPropPlugin(),
|
|
97
100
|
elenaTagPlugin("status"),
|
|
98
101
|
elenaTagPlugin("displayName"),
|
|
99
102
|
elenaJsxPlugin({ outdir, fileName: "custom-elements.d.ts" }),
|