@etrepum/lexical-builder-core 0.0.26-nightly.20240625.0 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -10,10 +10,10 @@ function f(n, t) {
10
10
  function c(n, t) {
11
11
  return [n, t];
12
12
  }
13
- function i(n) {
13
+ function a(n) {
14
14
  return n;
15
15
  }
16
- function a(n, t) {
16
+ function i(n, t) {
17
17
  if (!t || n === t)
18
18
  return n;
19
19
  for (const u in t)
@@ -21,13 +21,13 @@ function a(n, t) {
21
21
  return { ...n, ...t };
22
22
  return n;
23
23
  }
24
- const o = "0.0.26-nightly.20240625.0";
24
+ const o = "0.0.26";
25
25
  export {
26
26
  o as PACKAGE_VERSION,
27
27
  r as configPlan,
28
28
  c as declarePeerDependency,
29
29
  e as definePlan,
30
30
  f as provideOutput,
31
- i as safeCast,
32
- a as shallowMergeConfig
31
+ a as safeCast,
32
+ i as shallowMergeConfig
33
33
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC5E,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACf,MAAM,YAAY,CAAC;AAEpB;;GAEG;AAEH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAChE;;GAEG;AAEH,MAAM,MAAM,sBAAsB,GAAG,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAChF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAElD,MAAM,MAAM,wBAAwB,CAAC,IAAI,SAAS,cAAc,IAAI;IAClE,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,aAAa,IAAI,WAAW,CAC1D,GAAG,EACH,GAAG,EACH;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,EAC5B,GAAG,CACJ,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,aAAa,EAAE,UAAU;IACzE;;;OAGG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,sBAAsB,GAC9B,IAAI,GACJ,MAAM,GACN,WAAW,GACX,CAAC,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC,CAAC;AAEtC,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,gBAAgB,CAAC,eAAe,CAAC,CAAC;IAClD;;OAEG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAChD;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC1C;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACxC;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IACxD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;CAC9C"}
package/package.json CHANGED
@@ -11,10 +11,11 @@
11
11
  "scripts": {
12
12
  "build": "tsc --noEmit && vite build",
13
13
  "dev": "vite",
14
+ "lint": "eslint",
14
15
  "test": "vitest run --typecheck",
15
16
  "test:watch": "vitest"
16
17
  },
17
- "version": "0.0.26-nightly.20240625.0",
18
+ "version": "0.0.26",
18
19
  "license": "MIT",
19
20
  "repository": {
20
21
  "type": "git",
@@ -25,15 +26,16 @@
25
26
  "url": "https://github.com/etrepum/lexical-builder/issues"
26
27
  },
27
28
  "homepage": "https://github.com/etrepum/lexical-builder",
28
- "dependencies": {},
29
29
  "peerDependencies": {
30
30
  "lexical": ">=0.16.0-0"
31
31
  },
32
32
  "sideEffects": false,
33
33
  "devDependencies": {
34
+ "@repo/eslint-config": "*",
34
35
  "@testing-library/dom": "^10.1.0",
35
36
  "@testing-library/jest-dom": "^6.4.5",
36
37
  "@testing-library/user-event": "^14.5.2",
38
+ "eslint": "^8.57.0",
37
39
  "jsdom": "^24.1.0",
38
40
  "tslib": "^2.6.2",
39
41
  "typescript": "^5.4.5",