unplugin-solid-labels 0.15.1 → 0.16.0
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 +3 -3
- package/dist/cjs/development/index.cjs +2 -2
- package/dist/cjs/development/index.cjs.map +2 -2
- package/dist/cjs/production/index.cjs +1 -1
- package/dist/esm/development/index.mjs +1 -1
- package/dist/esm/development/index.mjs.map +1 -1
- package/dist/esm/production/index.mjs +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install --D unplugin-solid-labels
|
|
10
|
+
npm install --D solid-labels unplugin-solid-labels
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
yarn add -D unplugin-solid-labels
|
|
14
|
+
yarn add -D solid-labels unplugin-solid-labels
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
pnpm add -D unplugin-solid-labels
|
|
18
|
+
pnpm add -D solid-labels unplugin-solid-labels
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
@@ -33,7 +33,7 @@ __export(src_exports, {
|
|
|
33
33
|
default: () => src_default
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(src_exports);
|
|
36
|
-
var
|
|
36
|
+
var import_babel = __toESM(require("solid-labels/babel"), 1);
|
|
37
37
|
var babel = __toESM(require("@babel/core"), 1);
|
|
38
38
|
var import_pluginutils = require("@rollup/pluginutils");
|
|
39
39
|
var import_unplugin = require("unplugin");
|
|
@@ -79,7 +79,7 @@ var solidLabelsPlugin = (0, import_unplugin.createUnplugin)((options = {}) => {
|
|
|
79
79
|
}
|
|
80
80
|
const result = await babel.transformAsync(code, {
|
|
81
81
|
plugins: [
|
|
82
|
-
[
|
|
82
|
+
[import_babel.default, {
|
|
83
83
|
disabled: options.disabled,
|
|
84
84
|
dev: env === "development" || options.dev
|
|
85
85
|
}]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import type { Options } from '
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,
|
|
4
|
+
"sourcesContent": ["import type { Options } from 'solid-labels/babel';\nimport solidLabelsBabel from 'solid-labels/babel';\nimport * as babel from '@babel/core';\nimport type { Plugin } from 'vite';\nimport type { FilterPattern } from '@rollup/pluginutils';\nimport { createFilter } from '@rollup/pluginutils';\nimport type { TransformResult } from 'unplugin';\nimport { createUnplugin } from 'unplugin';\nimport path from 'path';\n\nexport interface SolidLabelsPluginFilter {\n include?: FilterPattern;\n exclude?: FilterPattern;\n}\n\nexport interface SolidLabelsPluginOptions extends Options {\n filter?: SolidLabelsPluginFilter;\n}\n\n// From: https://github.com/bluwy/whyframe/blob/master/packages/jsx/src/index.js#L27-L37\nfunction repushPlugin(plugins: Plugin[], pluginName: string, pluginNames: string[]): void {\n const namesSet = new Set(pluginNames);\n\n let baseIndex = -1;\n let targetIndex = -1;\n let targetPlugin: Plugin;\n for (let i = 0, len = plugins.length; i < len; i += 1) {\n const current = plugins[i];\n if (namesSet.has(current.name) && baseIndex === -1) {\n baseIndex = i;\n }\n if (current.name === pluginName) {\n targetIndex = i;\n targetPlugin = current;\n }\n }\n if (baseIndex !== -1 && targetIndex !== -1 && baseIndex < targetIndex) {\n plugins.splice(targetIndex, 1);\n plugins.splice(baseIndex, 0, targetPlugin!);\n }\n}\n\nconst DEFAULT_INCLUDE = 'src/**/*.{jsx,tsx,ts,js,mjs,cjs}';\nconst DEFAULT_EXCLUDE = 'node_modules/**/*.{jsx,tsx,ts,js,mjs,cjs}';\n\nconst solidLabelsPlugin = createUnplugin((options: SolidLabelsPluginOptions = {}) => {\n const filter = createFilter(\n options.filter?.include || DEFAULT_INCLUDE,\n options.filter?.exclude || DEFAULT_EXCLUDE,\n );\n\n let env: string;\n\n return {\n name: 'solid-labels',\n transformInclude(id): boolean {\n return filter(id);\n },\n async transform(code, id): Promise<TransformResult> {\n const plugins: NonNullable<NonNullable<babel.TransformOptions['parserOpts']>['plugins']> = ['jsx'];\n if (/\\.[mc]?tsx?$/i.test(id)) {\n plugins.push('typescript');\n }\n const result = await babel.transformAsync(code, {\n plugins: [\n [solidLabelsBabel, {\n disabled: options.disabled,\n dev: env === 'development' || options.dev,\n }],\n ],\n parserOpts: {\n plugins,\n },\n filename: path.basename(id),\n ast: false,\n sourceMaps: true,\n configFile: false,\n babelrc: false,\n sourceFileName: id,\n });\n\n if (result) {\n return {\n code: result.code || '',\n map: result.map,\n };\n }\n return undefined;\n },\n vite: {\n enforce: 'pre',\n configResolved(config): void {\n env = config.mode !== 'production' ? 'development' : 'production';\n\n // run our plugin before the following plugins:\n repushPlugin(config.plugins as Plugin[], 'solid-labels', [\n // https://github.com/withastro/astro/blob/main/packages/astro/src/vite-plugin-jsx/index.ts#L173\n 'astro:jsx',\n // https://github.com/solidjs/vite-plugin-solid/blob/master/src/index.ts#L305\n 'solid',\n // https://github.com/solidjs/solid-start/blob/main/packages/start/vite/plugin.js#L118\n 'solid-start-file-system-router',\n ]);\n },\n },\n };\n});\n\nexport default solidLabelsPlugin;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,mBAA6B;AAC7B,YAAuB;AAGvB,yBAA6B;AAE7B,sBAA+B;AAC/B,kBAAiB;AAYjB,SAAS,aAAa,SAAmB,YAAoB,aAA6B;AACxF,QAAM,WAAW,IAAI,IAAI,WAAW;AAEpC,MAAI,YAAY;AAChB,MAAI,cAAc;AAClB,MAAI;AACJ,WAAS,IAAI,GAAG,MAAM,QAAQ,QAAQ,IAAI,KAAK,KAAK,GAAG;AACrD,UAAM,UAAU,QAAQ,CAAC;AACzB,QAAI,SAAS,IAAI,QAAQ,IAAI,KAAK,cAAc,IAAI;AAClD,kBAAY;AAAA,IACd;AACA,QAAI,QAAQ,SAAS,YAAY;AAC/B,oBAAc;AACd,qBAAe;AAAA,IACjB;AAAA,EACF;AACA,MAAI,cAAc,MAAM,gBAAgB,MAAM,YAAY,aAAa;AACrE,YAAQ,OAAO,aAAa,CAAC;AAC7B,YAAQ,OAAO,WAAW,GAAG,YAAa;AAAA,EAC5C;AACF;AAEA,IAAM,kBAAkB;AACxB,IAAM,kBAAkB;AAExB,IAAM,wBAAoB,gCAAe,CAAC,UAAoC,CAAC,MAAM;AA7CrF;AA8CE,QAAM,aAAS;AAAA,MACb,aAAQ,WAAR,mBAAgB,YAAW;AAAA,MAC3B,aAAQ,WAAR,mBAAgB,YAAW;AAAA,EAC7B;AAEA,MAAI;AAEJ,SAAO;AAAA,IACL,MAAM;AAAA,IACN,iBAAiB,IAAa;AAC5B,aAAO,OAAO,EAAE;AAAA,IAClB;AAAA,IACA,MAAM,UAAU,MAAM,IAA8B;AAClD,YAAM,UAAqF,CAAC,KAAK;AACjG,UAAI,gBAAgB,KAAK,EAAE,GAAG;AAC5B,gBAAQ,KAAK,YAAY;AAAA,MAC3B;AACA,YAAM,SAAS,MAAY,qBAAe,MAAM;AAAA,QAC9C,SAAS;AAAA,UACP,CAAC,aAAAA,SAAkB;AAAA,YACjB,UAAU,QAAQ;AAAA,YAClB,KAAK,QAAQ,iBAAiB,QAAQ;AAAA,UACxC,CAAC;AAAA,QACH;AAAA,QACA,YAAY;AAAA,UACV;AAAA,QACF;AAAA,QACA,UAAU,YAAAC,QAAK,SAAS,EAAE;AAAA,QAC1B,KAAK;AAAA,QACL,YAAY;AAAA,QACZ,YAAY;AAAA,QACZ,SAAS;AAAA,QACT,gBAAgB;AAAA,MAClB,CAAC;AAED,UAAI,QAAQ;AACV,eAAO;AAAA,UACL,MAAM,OAAO,QAAQ;AAAA,UACrB,KAAK,OAAO;AAAA,QACd;AAAA,MACF;AACA,aAAO;AAAA,IACT;AAAA,IACA,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,eAAe,QAAc;AAC3B,cAAM,OAAO,SAAS,eAAe,gBAAgB;AAGrD,qBAAa,OAAO,SAAqB,gBAAgB;AAAA;AAAA,UAEvD;AAAA;AAAA,UAEA;AAAA;AAAA,UAEA;AAAA,QACF,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAED,IAAO,cAAQ;",
|
|
6
6
|
"names": ["solidLabelsBabel", "path"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var P=Object.create;var u=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var s in t)u(e,s,{get:t[s],enumerable:!0})},d=(e,t,s,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of v(t))!L.call(e,l)&&l!==s&&u(e,l,{get:()=>t[l],enumerable:!(n=j(t,l))||n.enumerable});return e};var
|
|
1
|
+
"use strict";var P=Object.create;var u=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,L=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var s in t)u(e,s,{get:t[s],enumerable:!0})},d=(e,t,s,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of v(t))!L.call(e,l)&&l!==s&&u(e,l,{get:()=>t[l],enumerable:!(n=j(t,l))||n.enumerable});return e};var p=(e,t,s)=>(s=e!=null?P(F(e)):{},d(t||!e||!e.__esModule?u(s,"default",{value:e,enumerable:!0}):s,e)),O=e=>d(u({},"__esModule",{value:!0}),e);var U={};y(U,{default:()=>T});module.exports=O(U);var c=p(require("solid-labels/babel"),1),f=p(require("@babel/core"),1),b=require("@rollup/pluginutils"),g=require("unplugin"),x=p(require("path"),1);function N(e,t,s){let n=new Set(s),l=-1,r=-1,o;for(let i=0,a=e.length;i<a;i+=1){let m=e[i];n.has(m.name)&&l===-1&&(l=i),m.name===t&&(r=i,o=m)}l!==-1&&r!==-1&&l<r&&(e.splice(r,1),e.splice(l,0,o))}var S="src/**/*.{jsx,tsx,ts,js,mjs,cjs}",h="node_modules/**/*.{jsx,tsx,ts,js,mjs,cjs}",E=(0,g.createUnplugin)((e={})=>{var n,l;let t=(0,b.createFilter)(((n=e.filter)==null?void 0:n.include)||S,((l=e.filter)==null?void 0:l.exclude)||h),s;return{name:"solid-labels",transformInclude(r){return t(r)},async transform(r,o){let i=["jsx"];/\.[mc]?tsx?$/i.test(o)&&i.push("typescript");let a=await f.transformAsync(r,{plugins:[[c.default,{disabled:e.disabled,dev:s==="development"||e.dev}]],parserOpts:{plugins:i},filename:x.default.basename(o),ast:!1,sourceMaps:!0,configFile:!1,babelrc:!1,sourceFileName:o});if(a)return{code:a.code||"",map:a.map}},vite:{enforce:"pre",configResolved(r){s=r.mode!=="production"?"development":"production",N(r.plugins,"solid-labels",["astro:jsx","solid","solid-start-file-system-router"])}}}}),T=E;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import type { Options } from '
|
|
4
|
+
"sourcesContent": ["import type { Options } from 'solid-labels/babel';\nimport solidLabelsBabel from 'solid-labels/babel';\nimport * as babel from '@babel/core';\nimport type { Plugin } from 'vite';\nimport type { FilterPattern } from '@rollup/pluginutils';\nimport { createFilter } from '@rollup/pluginutils';\nimport type { TransformResult } from 'unplugin';\nimport { createUnplugin } from 'unplugin';\nimport path from 'path';\n\nexport interface SolidLabelsPluginFilter {\n include?: FilterPattern;\n exclude?: FilterPattern;\n}\n\nexport interface SolidLabelsPluginOptions extends Options {\n filter?: SolidLabelsPluginFilter;\n}\n\n// From: https://github.com/bluwy/whyframe/blob/master/packages/jsx/src/index.js#L27-L37\nfunction repushPlugin(plugins: Plugin[], pluginName: string, pluginNames: string[]): void {\n const namesSet = new Set(pluginNames);\n\n let baseIndex = -1;\n let targetIndex = -1;\n let targetPlugin: Plugin;\n for (let i = 0, len = plugins.length; i < len; i += 1) {\n const current = plugins[i];\n if (namesSet.has(current.name) && baseIndex === -1) {\n baseIndex = i;\n }\n if (current.name === pluginName) {\n targetIndex = i;\n targetPlugin = current;\n }\n }\n if (baseIndex !== -1 && targetIndex !== -1 && baseIndex < targetIndex) {\n plugins.splice(targetIndex, 1);\n plugins.splice(baseIndex, 0, targetPlugin!);\n }\n}\n\nconst DEFAULT_INCLUDE = 'src/**/*.{jsx,tsx,ts,js,mjs,cjs}';\nconst DEFAULT_EXCLUDE = 'node_modules/**/*.{jsx,tsx,ts,js,mjs,cjs}';\n\nconst solidLabelsPlugin = createUnplugin((options: SolidLabelsPluginOptions = {}) => {\n const filter = createFilter(\n options.filter?.include || DEFAULT_INCLUDE,\n options.filter?.exclude || DEFAULT_EXCLUDE,\n );\n\n let env: string;\n\n return {\n name: 'solid-labels',\n transformInclude(id): boolean {\n return filter(id);\n },\n async transform(code, id): Promise<TransformResult> {\n const plugins: NonNullable<NonNullable<babel.TransformOptions['parserOpts']>['plugins']> = ['jsx'];\n if (/\\.[mc]?tsx?$/i.test(id)) {\n plugins.push('typescript');\n }\n const result = await babel.transformAsync(code, {\n plugins: [\n [solidLabelsBabel, {\n disabled: options.disabled,\n dev: env === 'development' || options.dev,\n }],\n ],\n parserOpts: {\n plugins,\n },\n filename: path.basename(id),\n ast: false,\n sourceMaps: true,\n configFile: false,\n babelrc: false,\n sourceFileName: id,\n });\n\n if (result) {\n return {\n code: result.code || '',\n map: result.map,\n };\n }\n return undefined;\n },\n vite: {\n enforce: 'pre',\n configResolved(config): void {\n env = config.mode !== 'production' ? 'development' : 'production';\n\n // run our plugin before the following plugins:\n repushPlugin(config.plugins as Plugin[], 'solid-labels', [\n // https://github.com/withastro/astro/blob/main/packages/astro/src/vite-plugin-jsx/index.ts#L173\n 'astro:jsx',\n // https://github.com/solidjs/vite-plugin-solid/blob/master/src/index.ts#L305\n 'solid',\n // https://github.com/solidjs/solid-start/blob/main/packages/start/vite/plugin.js#L118\n 'solid-start-file-system-router',\n ]);\n },\n },\n };\n});\n\nexport default solidLabelsPlugin;\n"],
|
|
5
5
|
"mappings": ";AACA,OAAO,sBAAsB;AAC7B,YAAY,WAAW;AAGvB,SAAS,oBAAoB;AAE7B,SAAS,sBAAsB;AAC/B,OAAO,UAAU;AAYjB,SAAS,aAAa,SAAmB,YAAoB,aAA6B;AACxF,QAAM,WAAW,IAAI,IAAI,WAAW;AAEpC,MAAI,YAAY;AAChB,MAAI,cAAc;AAClB,MAAI;AACJ,WAAS,IAAI,GAAG,MAAM,QAAQ,QAAQ,IAAI,KAAK,KAAK,GAAG;AACrD,UAAM,UAAU,QAAQ,CAAC;AACzB,QAAI,SAAS,IAAI,QAAQ,IAAI,KAAK,cAAc,IAAI;AAClD,kBAAY;AAAA,IACd;AACA,QAAI,QAAQ,SAAS,YAAY;AAC/B,oBAAc;AACd,qBAAe;AAAA,IACjB;AAAA,EACF;AACA,MAAI,cAAc,MAAM,gBAAgB,MAAM,YAAY,aAAa;AACrE,YAAQ,OAAO,aAAa,CAAC;AAC7B,YAAQ,OAAO,WAAW,GAAG,YAAa;AAAA,EAC5C;AACF;AAEA,IAAM,kBAAkB;AACxB,IAAM,kBAAkB;AAExB,IAAM,oBAAoB,eAAe,CAAC,UAAoC,CAAC,MAAM;AA7CrF;AA8CE,QAAM,SAAS;AAAA,MACb,aAAQ,WAAR,mBAAgB,YAAW;AAAA,MAC3B,aAAQ,WAAR,mBAAgB,YAAW;AAAA,EAC7B;AAEA,MAAI;AAEJ,SAAO;AAAA,IACL,MAAM;AAAA,IACN,iBAAiB,IAAa;AAC5B,aAAO,OAAO,EAAE;AAAA,IAClB;AAAA,IACA,MAAM,UAAU,MAAM,IAA8B;AAClD,YAAM,UAAqF,CAAC,KAAK;AACjG,UAAI,gBAAgB,KAAK,EAAE,GAAG;AAC5B,gBAAQ,KAAK,YAAY;AAAA,MAC3B;AACA,YAAM,SAAS,MAAY,qBAAe,MAAM;AAAA,QAC9C,SAAS;AAAA,UACP,CAAC,kBAAkB;AAAA,YACjB,UAAU,QAAQ;AAAA,YAClB,KAAK,QAAQ,iBAAiB,QAAQ;AAAA,UACxC,CAAC;AAAA,QACH;AAAA,QACA,YAAY;AAAA,UACV;AAAA,QACF;AAAA,QACA,UAAU,KAAK,SAAS,EAAE;AAAA,QAC1B,KAAK;AAAA,QACL,YAAY;AAAA,QACZ,YAAY;AAAA,QACZ,SAAS;AAAA,QACT,gBAAgB;AAAA,MAClB,CAAC;AAED,UAAI,QAAQ;AACV,eAAO;AAAA,UACL,MAAM,OAAO,QAAQ;AAAA,UACrB,KAAK,OAAO;AAAA,QACd;AAAA,MACF;AACA,aAAO;AAAA,IACT;AAAA,IACA,MAAM;AAAA,MACJ,SAAS;AAAA,MACT,eAAe,QAAc;AAC3B,cAAM,OAAO,SAAS,eAAe,gBAAgB;AAGrD,qBAAa,OAAO,SAAqB,gBAAgB;AAAA;AAAA,UAEvD;AAAA;AAAA,UAEA;AAAA;AAAA,UAEA;AAAA,QACF,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAED,IAAO,cAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import p from"solid-labels/babel";import*as m from"@babel/core";import{createFilter as d}from"@rollup/pluginutils";import{createUnplugin as c}from"unplugin";import f from"path";function b(t,a,n){let o=new Set(n),l=-1,e=-1,r;for(let s=0,i=t.length;s<i;s+=1){let u=t[s];o.has(u.name)&&l===-1&&(l=s),u.name===a&&(e=s,r=u)}l!==-1&&e!==-1&&l<e&&(t.splice(e,1),t.splice(l,0,r))}var g="src/**/*.{jsx,tsx,ts,js,mjs,cjs}",x="node_modules/**/*.{jsx,tsx,ts,js,mjs,cjs}",P=c((t={})=>{var o,l;let a=d(((o=t.filter)==null?void 0:o.include)||g,((l=t.filter)==null?void 0:l.exclude)||x),n;return{name:"solid-labels",transformInclude(e){return a(e)},async transform(e,r){let s=["jsx"];/\.[mc]?tsx?$/i.test(r)&&s.push("typescript");let i=await m.transformAsync(e,{plugins:[[p,{disabled:t.disabled,dev:n==="development"||t.dev}]],parserOpts:{plugins:s},filename:f.basename(r),ast:!1,sourceMaps:!0,configFile:!1,babelrc:!1,sourceFileName:r});if(i)return{code:i.code||"",map:i.map}},vite:{enforce:"pre",configResolved(e){n=e.mode!=="production"?"development":"production",b(e.plugins,"solid-labels",["astro:jsx","solid","solid-start-file-system-router"])}}}}),y=P;export{y as default};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAMzD,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,MAAM,WAAW,wBAAyB,SAAQ,OAAO;IACvD,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAClC;AA4BD,QAAA,MAAM,iBAAiB,wEA6DrB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unplugin-solid-labels",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"eslint-config-lxsmnsyc": "^0.6.5",
|
|
22
22
|
"pridepack": "2.5.1",
|
|
23
23
|
"rollup": "^4.0.2",
|
|
24
|
+
"solid-labels": "0.16.0",
|
|
24
25
|
"tslib": "^2.6.2",
|
|
25
26
|
"typescript": "^5.2.2",
|
|
26
27
|
"vite": "^4.5.0"
|
|
@@ -28,11 +29,11 @@
|
|
|
28
29
|
"dependencies": {
|
|
29
30
|
"@babel/core": "^7.23.2",
|
|
30
31
|
"@rollup/pluginutils": "^5.0.2",
|
|
31
|
-
"babel-plugin-solid-labels": "0.15.1",
|
|
32
32
|
"unplugin": "^1.3.1"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"rollup": "^3 || 4",
|
|
36
|
+
"solid-labels": "^0.15",
|
|
36
37
|
"vite": "^3 || ^4"
|
|
37
38
|
},
|
|
38
39
|
"peerDependenciesMeta": {
|
|
@@ -84,5 +85,5 @@
|
|
|
84
85
|
"typesVersions": {
|
|
85
86
|
"*": {}
|
|
86
87
|
},
|
|
87
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "3e5c19b50fff525e53d1afe3d8a432b144b382d8"
|
|
88
89
|
}
|