@razorwind/stylelint 0.0.9 → 0.0.11
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 +7 -2
- package/dist/index.cjs +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/runtime.d.cts +1 -1
- package/dist/runtime.d.mts +1 -1
- package/dist/{types-DdjS21Bx.d.cts → types-B_vjFK2X.d.cts} +4 -3
- package/dist/types-B_vjFK2X.d.cts.map +1 -0
- package/dist/{types-DdjS21Bx.d.mts → types-B_vjFK2X.d.mts} +4 -3
- package/dist/types-B_vjFK2X.d.mts.map +1 -0
- package/package.json +5 -5
- package/dist/types-DdjS21Bx.d.cts.map +0 -1
- package/dist/types-DdjS21Bx.d.mts.map +0 -1
package/README.md
CHANGED
|
@@ -108,7 +108,8 @@ export default defineConfig({
|
|
|
108
108
|
|
|
109
109
|
Generating writes `stylelint/design-system/index.mjs` (the plugin, with the
|
|
110
110
|
design-system manifest inlined) and an `INSTALL.md` listing every rule and its
|
|
111
|
-
default severity.
|
|
111
|
+
default severity. Multi-theme token sets generate one shared plugin and guide,
|
|
112
|
+
not separate files per theme. Wire the plugin into `stylelint.config.mjs`:
|
|
112
113
|
|
|
113
114
|
```js
|
|
114
115
|
import designSystem from "./stylelint/design-system/index.mjs";
|
|
@@ -140,13 +141,17 @@ reviewable exception:
|
|
|
140
141
|
|
|
141
142
|
| Option | Default | Description |
|
|
142
143
|
| --------------- | ------------------------------------- | ------------------------------------------------------------------------------- |
|
|
143
|
-
| `stylelintPath` | `"stylelint/design-system/index.mjs"` | Output
|
|
144
|
+
| `stylelintPath` | `"stylelint/design-system/index.mjs"` | Output filename of the generated plugin module, not a directory. |
|
|
144
145
|
| `prefix` | `"design-system"` | Rule namespace used in `stylelint.config.*`. |
|
|
145
146
|
| `runtimeImport` | `"@razorwind/stylelint/runtime"` | Module the generated file imports the runtime from. |
|
|
146
147
|
| `cssVarPrefix` | initials of the schema name | Prefix of the token CSS variables, matching `@razorwind/css`. `false` for none. |
|
|
147
148
|
| `tailwind` | `true` | Include the `@razorwind/tailwindcss` guardrails as `tailwind-*` rules. |
|
|
148
149
|
| `installGuide` | generated | Override the generated `INSTALL.md`. |
|
|
149
150
|
|
|
151
|
+
Relative `stylelintPath` values resolve against the generation cwd. Include a full
|
|
152
|
+
filename when placing the module in a directory, for example
|
|
153
|
+
`stylelint({ stylelintPath: "stylelint/design-system/index.ts" })`.
|
|
154
|
+
|
|
150
155
|
### Rules
|
|
151
156
|
|
|
152
157
|
Every rule reads its allowlist, matches and examples from the design system,
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./runtime-D4YzdLS9.cjs");let t=require("@razorwind/core/plugin"),n=require("@razorwind/core/utils"),r=require("node:
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require("./runtime-D4YzdLS9.cjs");let t=require("@razorwind/core/plugin"),n=require("@razorwind/core/utils"),r=require("node:fs/promises"),i=require("node:path"),a=require("@razorwind/eslint"),o=require("@razorwind/tailwindcss/generate"),s=require("@razorwind/tailwindcss/stylelint");function c(e){return Object.values(e??{}).map(e=>({family:e.family??e.title??e.name,...e.role?{role:e.role}:{}}))}function l(e){return!!e&&(0,n.resolveTokenSets)(e).length>0}function u(e,t={}){let r=t.prefix??a.DEFAULT_PREFIX,i=t.cssVarPrefix===!1?void 0:t.cssVarPrefix??(0,n.cssVarPrefixFromName)(e.name),o={name:e.name??a.DEFAULT_PREFIX,version:`0.0.0`,prefix:r,...i?{cssVarPrefix:i}:{},themes:l(e.tokens)?(0,n.resolveTokenSets)(e.tokens).map(e=>e.id).filter(e=>e!=="default"):[],tokens:l(e.tokens)?(0,a.collectManifestTokens)(e.tokens,i):[],components:(0,a.collectManifestComponents)(e.components),fonts:c(e.fonts)},s=t.tailwind===!1?void 0:d(e,r);return s&&(o.tailwind=s),o}function d(e,t){let n=(0,s.buildGuardrailTheme)(l(e.tokens)?(0,o.flattenThemeTokens)(e.tokens):[],{fonts:e.fonts,name:e.name,prefix:t});return Object.keys(n.namespaces).length>0?n:void 0}function f(e,t={}){let n=t.runtimeImport??`@razorwind/stylelint/runtime`;return`// Generated by @razorwind/stylelint. Do not edit by hand: re-run
|
|
2
2
|
// Razorwind generate when design tokens change.
|
|
3
3
|
//
|
|
4
4
|
// import designSystem from "./<path-to-this-file>";
|
|
@@ -16,7 +16,7 @@ export const rules = designSystem.rules;
|
|
|
16
16
|
export const defaultSeverity = designSystem.defaultSeverity;
|
|
17
17
|
|
|
18
18
|
export default designSystem.config;
|
|
19
|
-
`}function
|
|
19
|
+
`}function p(t){let{stylelintPath:n,manifest:r}=t,{rules:i,defaultSeverity:a}=e.t(r),o=Object.keys(i).map(e=>{let t=i[e];return`| \`${t.ruleName}\` | ${a[e]??`off`} | ${t.meta.description} |`}).join(`
|
|
20
20
|
`);return`# Installing the Stylelint Design-System Plugin
|
|
21
21
|
|
|
22
22
|
Generated by \`@razorwind/stylelint\` from ${[`${r.tokens.length} tokens`,`${r.components.length} components`,`${r.fonts.length} fonts`].join(`, `)}.
|
|
@@ -72,4 +72,4 @@ ${o}
|
|
|
72
72
|
## Regenerate
|
|
73
73
|
|
|
74
74
|
Re-run Razorwind generate when the design system changes so \`${n}\` stays in sync.
|
|
75
|
-
`}async function
|
|
75
|
+
`}async function m(e,t={},a=process.cwd()){let o=u(e,t);if(o.tokens.length===0&&o.components.length===0)return{};let s=t.stylelintPath??`stylelint/design-system/index.mjs`;if((await(0,r.stat)((0,i.resolve)(a,s)).catch(e=>{if(e.code!==`ENOENT`)throw e}))?.isDirectory())throw Error(`stylelintPath must be a filename, not an existing directory: "${s}". Set stylelintPath to "${(0,i.join)(s,`index.mjs`)}" instead.`);let c=(0,i.join)((0,i.dirname)(s),`INSTALL.md`),l={name:`razorwind-stylelint`};return{[s]:(0,n.createDocument)(s,f(o,t),l,void 0,`javascript`),[c]:(0,n.createDocument)(c,t.installGuide??p({stylelintPath:s,manifest:o}),l,void 0,`markdown`)}}var h=(0,t.definePlugin)(e=>({name:`stylelint`,themeGeneration:`combined`,generate:async(t,n)=>m(t,e??{},n.cwd)}));exports.DEFAULT_PREFIX=a.DEFAULT_PREFIX,exports.buildManifest=u,exports.default=h,exports.generateStylelintPlugin=m,exports.renderStylelintInstallMd=p,exports.renderStylelintPlugin=f;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DesignSystemRuleId, c as ManifestComponent, d as StylelintPluginOptions, f as TokenCategory, i as DesignSystemOptions, l as ManifestFont, n as CoreRuleId, o as DesignSystemSeverity, p as TokenUsageDomains, r as DesignSystemManifest, s as FallbackUsage, t as ComponentRole, u as ManifestToken } from "./types-
|
|
1
|
+
import { a as DesignSystemRuleId, c as ManifestComponent, d as StylelintPluginOptions, f as TokenCategory, i as DesignSystemOptions, l as ManifestFont, n as CoreRuleId, o as DesignSystemSeverity, p as TokenUsageDomains, r as DesignSystemManifest, s as FallbackUsage, t as ComponentRole, u as ManifestToken } from "./types-B_vjFK2X.cjs";
|
|
2
2
|
import { GeneratorFunctionResult } from "@power-plant/core";
|
|
3
3
|
import { Schema } from "@razorwind/core/schema";
|
|
4
4
|
import { DEFAULT_PREFIX } from "@razorwind/eslint";
|
|
@@ -30,7 +30,7 @@ declare function renderStylelintInstallMd(options: {
|
|
|
30
30
|
* Generate a Stylelint plugin whose rules are derived from the schema's
|
|
31
31
|
* design tokens, components and fonts.
|
|
32
32
|
*/
|
|
33
|
-
declare function generateStylelintPlugin(spec: Schema, options?: StylelintPluginOptions): Promise<GeneratorFunctionResult<Schema, StylelintPluginOptions>>;
|
|
33
|
+
declare function generateStylelintPlugin(spec: Schema, options?: StylelintPluginOptions, cwd?: string): Promise<GeneratorFunctionResult<Schema, StylelintPluginOptions>>;
|
|
34
34
|
/**
|
|
35
35
|
* Razorwind plugin: generate a Stylelint plugin that keeps stylesheets
|
|
36
36
|
* aligned with the design system. It ports the
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/manifest.ts","../src/index.ts"],"mappings":";;;;;;;;;;;;iBAsDgB,cACd,MAAM,QACN,UAAS,yBACR;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/manifest.ts","../src/index.ts"],"mappings":";;;;;;;;;;;;iBAsDgB,cACd,MAAM,QACN,UAAS,yBACR;;;;;;;iBCDa,sBACd,UAAU,sBACV,UAAS,KAAK;;;;;iBA6BA,yBAAyB;EACvC;EACA,UAAU;;;;;;iBA+EU,wBACpB,MAAM,QACN,UAAS,wBACT,eACC,QAAQ,wBAAwB,QAAQ"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DesignSystemRuleId, c as ManifestComponent, d as StylelintPluginOptions, f as TokenCategory, i as DesignSystemOptions, l as ManifestFont, n as CoreRuleId, o as DesignSystemSeverity, p as TokenUsageDomains, r as DesignSystemManifest, s as FallbackUsage, t as ComponentRole, u as ManifestToken } from "./types-
|
|
1
|
+
import { a as DesignSystemRuleId, c as ManifestComponent, d as StylelintPluginOptions, f as TokenCategory, i as DesignSystemOptions, l as ManifestFont, n as CoreRuleId, o as DesignSystemSeverity, p as TokenUsageDomains, r as DesignSystemManifest, s as FallbackUsage, t as ComponentRole, u as ManifestToken } from "./types-B_vjFK2X.mjs";
|
|
2
2
|
import { DEFAULT_PREFIX } from "@razorwind/eslint";
|
|
3
3
|
import { GeneratorFunctionResult } from "@power-plant/core";
|
|
4
4
|
import { Schema } from "@razorwind/core/schema";
|
|
@@ -30,7 +30,7 @@ declare function renderStylelintInstallMd(options: {
|
|
|
30
30
|
* Generate a Stylelint plugin whose rules are derived from the schema's
|
|
31
31
|
* design tokens, components and fonts.
|
|
32
32
|
*/
|
|
33
|
-
declare function generateStylelintPlugin(spec: Schema, options?: StylelintPluginOptions): Promise<GeneratorFunctionResult<Schema, StylelintPluginOptions>>;
|
|
33
|
+
declare function generateStylelintPlugin(spec: Schema, options?: StylelintPluginOptions, cwd?: string): Promise<GeneratorFunctionResult<Schema, StylelintPluginOptions>>;
|
|
34
34
|
/**
|
|
35
35
|
* Razorwind plugin: generate a Stylelint plugin that keeps stylesheets
|
|
36
36
|
* aligned with the design system. It ports the
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as e}from"./runtime-CZCP4myF.mjs";import{definePlugin as t}from"@razorwind/core/plugin";import{createDocument as n,cssVarPrefixFromName as r,resolveTokenSets as i}from"@razorwind/core/utils";import{dirname as
|
|
1
|
+
import{t as e}from"./runtime-CZCP4myF.mjs";import{definePlugin as t}from"@razorwind/core/plugin";import{createDocument as n,cssVarPrefixFromName as r,resolveTokenSets as i}from"@razorwind/core/utils";import{stat as a}from"node:fs/promises";import{dirname as o,join as s,resolve as c}from"node:path";import{DEFAULT_PREFIX as l,collectManifestComponents as u,collectManifestTokens as d}from"@razorwind/eslint";import{flattenThemeTokens as f}from"@razorwind/tailwindcss/generate";import{buildGuardrailTheme as p}from"@razorwind/tailwindcss/stylelint";function m(e){return Object.values(e??{}).map(e=>({family:e.family??e.title??e.name,...e.role?{role:e.role}:{}}))}function h(e){return!!e&&i(e).length>0}function g(e,t={}){let n=t.prefix??l,a=t.cssVarPrefix===!1?void 0:t.cssVarPrefix??r(e.name),o={name:e.name??l,version:`0.0.0`,prefix:n,...a?{cssVarPrefix:a}:{},themes:h(e.tokens)?i(e.tokens).map(e=>e.id).filter(e=>e!=="default"):[],tokens:h(e.tokens)?d(e.tokens,a):[],components:u(e.components),fonts:m(e.fonts)},s=t.tailwind===!1?void 0:_(e,n);return s&&(o.tailwind=s),o}function _(e,t){let n=p(h(e.tokens)?f(e.tokens):[],{fonts:e.fonts,name:e.name,prefix:t});return Object.keys(n.namespaces).length>0?n:void 0}function v(e,t={}){let n=t.runtimeImport??`@razorwind/stylelint/runtime`;return`// Generated by @razorwind/stylelint. Do not edit by hand: re-run
|
|
2
2
|
// Razorwind generate when design tokens change.
|
|
3
3
|
//
|
|
4
4
|
// import designSystem from "./<path-to-this-file>";
|
|
@@ -16,7 +16,7 @@ export const rules = designSystem.rules;
|
|
|
16
16
|
export const defaultSeverity = designSystem.defaultSeverity;
|
|
17
17
|
|
|
18
18
|
export default designSystem.config;
|
|
19
|
-
`}function
|
|
19
|
+
`}function y(t){let{stylelintPath:n,manifest:r}=t,{rules:i,defaultSeverity:a}=e(r),o=Object.keys(i).map(e=>{let t=i[e];return`| \`${t.ruleName}\` | ${a[e]??`off`} | ${t.meta.description} |`}).join(`
|
|
20
20
|
`);return`# Installing the Stylelint Design-System Plugin
|
|
21
21
|
|
|
22
22
|
Generated by \`@razorwind/stylelint\` from ${[`${r.tokens.length} tokens`,`${r.components.length} components`,`${r.fonts.length} fonts`].join(`, `)}.
|
|
@@ -72,5 +72,5 @@ ${o}
|
|
|
72
72
|
## Regenerate
|
|
73
73
|
|
|
74
74
|
Re-run Razorwind generate when the design system changes so \`${n}\` stays in sync.
|
|
75
|
-
`}async function
|
|
75
|
+
`}async function b(e,t={},r=process.cwd()){let i=g(e,t);if(i.tokens.length===0&&i.components.length===0)return{};let l=t.stylelintPath??`stylelint/design-system/index.mjs`;if((await a(c(r,l)).catch(e=>{if(e.code!==`ENOENT`)throw e}))?.isDirectory())throw Error(`stylelintPath must be a filename, not an existing directory: "${l}". Set stylelintPath to "${s(l,`index.mjs`)}" instead.`);let u=s(o(l),`INSTALL.md`),d={name:`razorwind-stylelint`};return{[l]:n(l,v(i,t),d,void 0,`javascript`),[u]:n(u,t.installGuide??y({stylelintPath:l,manifest:i}),d,void 0,`markdown`)}}var x=t(e=>({name:`stylelint`,themeGeneration:`combined`,generate:async(t,n)=>b(t,e??{},n.cwd)}));export{l as DEFAULT_PREFIX,g as buildManifest,x as default,b as generateStylelintPlugin,y as renderStylelintInstallMd,v as renderStylelintPlugin};
|
|
76
76
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":["buildTailwindTheme","createDesignSystemPlugin","collectManifestFonts","fonts","font","hasTokens","tokens","resolveTokenSets","buildManifest","prefix","options","DEFAULT_PREFIX","cssVarPrefix","cssVarPrefixFromName","spec","manifest","set","id","collectManifestTokens","collectManifestComponents","tailwind","buildTailwind","theme","buildGuardrailTheme","flattenThemeTokens","renderStylelintPlugin","runtimeImport","renderStylelintInstallMd","rows","rules","rule","defaultSeverity","stylelintPath","generateStylelintPlugin","
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["buildTailwindTheme","createDesignSystemPlugin","collectManifestFonts","fonts","font","hasTokens","tokens","resolveTokenSets","buildManifest","prefix","options","DEFAULT_PREFIX","cssVarPrefix","cssVarPrefixFromName","spec","manifest","set","id","collectManifestTokens","collectManifestComponents","tailwind","buildTailwind","theme","buildGuardrailTheme","flattenThemeTokens","renderStylelintPlugin","runtimeImport","renderStylelintInstallMd","rows","rules","rule","defaultSeverity","stylelintPath","generateStylelintPlugin","stat","resolve","cwd","error","join","installPath","dirname","meta","createDocument","src_default","definePlugin","config"],"sources":[],"mappings":""}
|
package/dist/runtime.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DesignSystemRuleId, c as ManifestComponent, f as TokenCategory, i as DesignSystemOptions, l as ManifestFont, n as CoreRuleId, o as DesignSystemSeverity, p as TokenUsageDomains, r as DesignSystemManifest, s as FallbackUsage, t as ComponentRole, u as ManifestToken } from "./types-
|
|
1
|
+
import { a as DesignSystemRuleId, c as ManifestComponent, f as TokenCategory, i as DesignSystemOptions, l as ManifestFont, n as CoreRuleId, o as DesignSystemSeverity, p as TokenUsageDomains, r as DesignSystemManifest, s as FallbackUsage, t as ComponentRole, u as ManifestToken } from "./types-B_vjFK2X.cjs";
|
|
2
2
|
import { StylelintGuardrailRule } from "@razorwind/tailwindcss/stylelint-runtime";
|
|
3
3
|
//#region src/runtime/postcss.d.ts
|
|
4
4
|
interface Node {
|
package/dist/runtime.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as DesignSystemRuleId, c as ManifestComponent, f as TokenCategory, i as DesignSystemOptions, l as ManifestFont, n as CoreRuleId, o as DesignSystemSeverity, p as TokenUsageDomains, r as DesignSystemManifest, s as FallbackUsage, t as ComponentRole, u as ManifestToken } from "./types-
|
|
1
|
+
import { a as DesignSystemRuleId, c as ManifestComponent, f as TokenCategory, i as DesignSystemOptions, l as ManifestFont, n as CoreRuleId, o as DesignSystemSeverity, p as TokenUsageDomains, r as DesignSystemManifest, s as FallbackUsage, t as ComponentRole, u as ManifestToken } from "./types-B_vjFK2X.mjs";
|
|
2
2
|
import { StylelintGuardrailRule } from "@razorwind/tailwindcss/stylelint-runtime";
|
|
3
3
|
//#region src/runtime/postcss.d.ts
|
|
4
4
|
interface Node {
|
|
@@ -6,8 +6,9 @@ import { GuardrailRuleId as TailwindGuardrailRuleId, GuardrailTheme as TailwindG
|
|
|
6
6
|
*/
|
|
7
7
|
interface StylelintPluginOptions {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Filename of the generated Stylelint plugin module, not an output directory.
|
|
10
|
+
* Relative paths are resolved against the generation cwd. For a module in
|
|
11
|
+
* a directory, include the filename (for example, `stylelint/design-system/index.mjs`).
|
|
11
12
|
*
|
|
12
13
|
* @defaultValue "stylelint/design-system/index.mjs"
|
|
13
14
|
*/
|
|
@@ -133,4 +134,4 @@ interface DesignSystemOptions {
|
|
|
133
134
|
}
|
|
134
135
|
//#endregion
|
|
135
136
|
export { DesignSystemRuleId as a, ManifestComponent as c, StylelintPluginOptions as d, TokenCategory as f, DesignSystemOptions as i, ManifestFont as l, CoreRuleId as n, DesignSystemSeverity as o, TokenUsageDomains as p, DesignSystemManifest as r, FallbackUsage as s, ComponentRole as t, ManifestToken as u };
|
|
136
|
-
//# sourceMappingURL=types-
|
|
137
|
+
//# sourceMappingURL=types-B_vjFK2X.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-B_vjFK2X.d.cts","names":[],"sources":["../src/types.ts"],"mappings":";;;;;;UA2CiB;;;;;;;;EAQf;;;;;;;EAQA;;;;;;EAOA;;;;;;;;EASA;;;;;;;;EASA;;;;;EAMA;;;;;;UAOe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;EACA,QAAQ;;EAER,YAAY;EACZ,OAAO;;EAEP,WAAW;;;;;;KAOD;KAaA,6BAA6B;;KAG7B,qBAAqB,aAAa;KAElC;;;;;UAMK;;;;;;EAMf;;;;;;EAMA;;;;;;;EAOA;;;;;;EAMA;;;;;;KAOU;;UAGK;;EAEf;;EAEA;;EAEA,WAAW,QAAQ,OAAO,oBAAoB;;EAE9C,aAAa;;;;;;EAMb,gBAAgB"}
|
|
@@ -6,8 +6,9 @@ import { GuardrailRuleId as TailwindGuardrailRuleId, GuardrailTheme as TailwindG
|
|
|
6
6
|
*/
|
|
7
7
|
interface StylelintPluginOptions {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Filename of the generated Stylelint plugin module, not an output directory.
|
|
10
|
+
* Relative paths are resolved against the generation cwd. For a module in
|
|
11
|
+
* a directory, include the filename (for example, `stylelint/design-system/index.mjs`).
|
|
11
12
|
*
|
|
12
13
|
* @defaultValue "stylelint/design-system/index.mjs"
|
|
13
14
|
*/
|
|
@@ -133,4 +134,4 @@ interface DesignSystemOptions {
|
|
|
133
134
|
}
|
|
134
135
|
//#endregion
|
|
135
136
|
export { DesignSystemRuleId as a, ManifestComponent as c, StylelintPluginOptions as d, TokenCategory as f, DesignSystemOptions as i, ManifestFont as l, CoreRuleId as n, DesignSystemSeverity as o, TokenUsageDomains as p, DesignSystemManifest as r, FallbackUsage as s, ComponentRole as t, ManifestToken as u };
|
|
136
|
-
//# sourceMappingURL=types-
|
|
137
|
+
//# sourceMappingURL=types-B_vjFK2X.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types-B_vjFK2X.d.mts","names":[],"sources":["../src/types.ts"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razorwind/stylelint",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Razorwind Stylelint plugin generator to create stylelint rules that can be used as design system guidelines.",
|
|
6
6
|
"repository": {
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@power-plant/core": "^0.0.93",
|
|
83
83
|
"@power-plant/dtcg-schema": "^0.0.1",
|
|
84
|
-
"@razorwind/core": "^0.0.
|
|
85
|
-
"@razorwind/eslint": "^0.0.
|
|
86
|
-
"@razorwind/tailwindcss": "^0.0.
|
|
84
|
+
"@razorwind/core": "^0.0.86",
|
|
85
|
+
"@razorwind/eslint": "^0.0.11",
|
|
86
|
+
"@razorwind/tailwindcss": "^0.0.84"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": { "stylelint": "^16.8.2 || ^17.0.0" },
|
|
89
89
|
"peerDependenciesMeta": { "stylelint": { "optional": true } },
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"typescript": "^6.0.3"
|
|
94
94
|
},
|
|
95
95
|
"publishConfig": { "access": "public" },
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "9d4e4b72eaf0b91c50891bad43ae6ec5d231952a"
|
|
97
97
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types-DdjS21Bx.d.cts","names":[],"sources":["../src/types.ts"],"mappings":";;;;;;UA2CiB;;;;;;;EAOf;;;;;;;EAQA;;;;;;EAOA;;;;;;;;EASA;;;;;;;;EASA;;;;;EAMA;;;;;;UAOe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;EACA,QAAQ;;EAER,YAAY;EACZ,OAAO;;EAEP,WAAW;;;;;;KAOD;KAaA,6BAA6B;;KAG7B,qBAAqB,aAAa;KAElC;;;;;UAMK;;;;;;EAMf;;;;;;EAMA;;;;;;;EAOA;;;;;;EAMA;;;;;;KAOU;;UAGK;;EAEf;;EAEA;;EAEA,WAAW,QAAQ,OAAO,oBAAoB;;EAE9C,aAAa;;;;;;EAMb,gBAAgB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types-DdjS21Bx.d.mts","names":[],"sources":["../src/types.ts"],"mappings":""}
|