Skip to content

feat: Add SCSS parsing support #270

feat: Add SCSS parsing support

feat: Add SCSS parsing support #270

Triggered via pull request April 10, 2025 21:36
@nzakasnzakas
synchronize #112
scss
Status Failure
Total duration 1m 17s
Artifacts

ci.yml

on: pull_request
Verify Files
16s
Verify Files
Test Types
18s
Test Types
Verify JSR Publish
29s
Verify JSR Publish
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

80 errors
Verify Files: dist/esm/index.js#L796
Property 'descriptors' is missing in type '{ prelude: string; }' but required in type 'AtruleSyntax'.
Verify Files: dist/esm/index.js#L802
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssVariable"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify Files: dist/esm/index.js#L803
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssDeclaration"; parse: () => { type: string; loc: any; variable: any; value: any; }; structure: { variable: StringConstructor; value: string[]; }; walkContext: "declaration"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify Files: dist/esm/index.js#L804
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssPlaceholderSelector"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify Files: dist/esm/index.js#L805
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Selector"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify Files: dist/esm/index.js#L806
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Value"; parse: () => { type: string; loc: any; children: any; }; structure: { children: any[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify Files: dist/esm/index.js#L807
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "StyleSheet"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; walkContext: "stylesheet"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify Files
Process completed with exit code 2.
Test (ubuntu-latest, 22.x): dist/esm/index.js#L796
Property 'descriptors' is missing in type '{ prelude: string; }' but required in type 'AtruleSyntax'.
Test (ubuntu-latest, 22.x): dist/esm/index.js#L802
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssVariable"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 22.x): dist/esm/index.js#L803
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssDeclaration"; parse: () => { type: string; loc: any; variable: any; value: any; }; structure: { variable: StringConstructor; value: string[]; }; walkContext: "declaration"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 22.x): dist/esm/index.js#L804
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssPlaceholderSelector"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 22.x): dist/esm/index.js#L805
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Selector"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 22.x): dist/esm/index.js#L806
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Value"; parse: () => { type: string; loc: any; children: any; }; structure: { children: any[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 22.x): dist/esm/index.js#L807
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "StyleSheet"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; walkContext: "stylesheet"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 22.x)
Process completed with exit code 2.
Test (macOS-latest, lts/*): dist/esm/index.js#L796
Property 'descriptors' is missing in type '{ prelude: string; }' but required in type 'AtruleSyntax'.
Test (macOS-latest, lts/*): dist/esm/index.js#L802
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssVariable"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (macOS-latest, lts/*): dist/esm/index.js#L803
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssDeclaration"; parse: () => { type: string; loc: any; variable: any; value: any; }; structure: { variable: StringConstructor; value: string[]; }; walkContext: "declaration"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (macOS-latest, lts/*): dist/esm/index.js#L804
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssPlaceholderSelector"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (macOS-latest, lts/*): dist/esm/index.js#L805
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Selector"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (macOS-latest, lts/*): dist/esm/index.js#L806
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Value"; parse: () => { type: string; loc: any; children: any; }; structure: { children: any[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (macOS-latest, lts/*): dist/esm/index.js#L807
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "StyleSheet"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; walkContext: "stylesheet"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (macOS-latest, lts/*)
Process completed with exit code 2.
Test (ubuntu-latest, 20.x): dist/esm/index.js#L796
Property 'descriptors' is missing in type '{ prelude: string; }' but required in type 'AtruleSyntax'.
Test (ubuntu-latest, 20.x): dist/esm/index.js#L802
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssVariable"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 20.x): dist/esm/index.js#L803
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssDeclaration"; parse: () => { type: string; loc: any; variable: any; value: any; }; structure: { variable: StringConstructor; value: string[]; }; walkContext: "declaration"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 20.x): dist/esm/index.js#L804
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssPlaceholderSelector"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 20.x): dist/esm/index.js#L805
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Selector"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 20.x): dist/esm/index.js#L806
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Value"; parse: () => { type: string; loc: any; children: any; }; structure: { children: any[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 20.x): dist/esm/index.js#L807
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "StyleSheet"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; walkContext: "stylesheet"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 20.x)
Process completed with exit code 2.
Test Types: dist/esm/index.js#L796
Property 'descriptors' is missing in type '{ prelude: string; }' but required in type 'AtruleSyntax'.
Test Types: dist/esm/index.js#L802
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssVariable"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test Types: dist/esm/index.js#L803
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssDeclaration"; parse: () => { type: string; loc: any; variable: any; value: any; }; structure: { variable: StringConstructor; value: string[]; }; walkContext: "declaration"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test Types: dist/esm/index.js#L804
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssPlaceholderSelector"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test Types: dist/esm/index.js#L805
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Selector"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test Types: dist/esm/index.js#L806
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Value"; parse: () => { type: string; loc: any; children: any; }; structure: { children: any[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test Types: dist/esm/index.js#L807
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "StyleSheet"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; walkContext: "stylesheet"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test Types
Process completed with exit code 2.
Test (ubuntu-latest, 18.x): dist/esm/index.js#L796
Property 'descriptors' is missing in type '{ prelude: string; }' but required in type 'AtruleSyntax'.
Test (ubuntu-latest, 18.x): dist/esm/index.js#L802
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssVariable"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.x): dist/esm/index.js#L803
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssDeclaration"; parse: () => { type: string; loc: any; variable: any; value: any; }; structure: { variable: StringConstructor; value: string[]; }; walkContext: "declaration"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.x): dist/esm/index.js#L804
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssPlaceholderSelector"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.x): dist/esm/index.js#L805
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Selector"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.x): dist/esm/index.js#L806
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Value"; parse: () => { type: string; loc: any; children: any; }; structure: { children: any[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.x): dist/esm/index.js#L807
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "StyleSheet"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; walkContext: "stylesheet"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.x)
Process completed with exit code 2.
Test (ubuntu-latest, 23.x): dist/esm/index.js#L796
Property 'descriptors' is missing in type '{ prelude: string; }' but required in type 'AtruleSyntax'.
Test (ubuntu-latest, 23.x): dist/esm/index.js#L802
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssVariable"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 23.x): dist/esm/index.js#L803
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssDeclaration"; parse: () => { type: string; loc: any; variable: any; value: any; }; structure: { variable: StringConstructor; value: string[]; }; walkContext: "declaration"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 23.x): dist/esm/index.js#L804
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssPlaceholderSelector"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 23.x): dist/esm/index.js#L805
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Selector"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 23.x): dist/esm/index.js#L806
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Value"; parse: () => { type: string; loc: any; children: any; }; structure: { children: any[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 23.x): dist/esm/index.js#L807
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "StyleSheet"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; walkContext: "stylesheet"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 23.x)
Process completed with exit code 2.
Test (ubuntu-latest, 18.18.0): dist/esm/index.js#L796
Property 'descriptors' is missing in type '{ prelude: string; }' but required in type 'AtruleSyntax'.
Test (ubuntu-latest, 18.18.0): dist/esm/index.js#L802
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssVariable"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.18.0): dist/esm/index.js#L803
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssDeclaration"; parse: () => { type: string; loc: any; variable: any; value: any; }; structure: { variable: StringConstructor; value: string[]; }; walkContext: "declaration"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.18.0): dist/esm/index.js#L804
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssPlaceholderSelector"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.18.0): dist/esm/index.js#L805
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Selector"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.18.0): dist/esm/index.js#L806
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Value"; parse: () => { type: string; loc: any; children: any; }; structure: { children: any[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.18.0): dist/esm/index.js#L807
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "StyleSheet"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; walkContext: "stylesheet"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (ubuntu-latest, 18.18.0)
Process completed with exit code 2.
Verify JSR Publish: dist/esm/index.js#L796
Property 'descriptors' is missing in type '{ prelude: string; }' but required in type 'AtruleSyntax'.
Verify JSR Publish: dist/esm/index.js#L802
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssVariable"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify JSR Publish: dist/esm/index.js#L803
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssDeclaration"; parse: () => { type: string; loc: any; variable: any; value: any; }; structure: { variable: StringConstructor; value: string[]; }; walkContext: "declaration"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify JSR Publish: dist/esm/index.js#L804
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssPlaceholderSelector"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify JSR Publish: dist/esm/index.js#L805
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Selector"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify JSR Publish: dist/esm/index.js#L806
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Value"; parse: () => { type: string; loc: any; children: any; }; structure: { children: any[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify JSR Publish: dist/esm/index.js#L807
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "StyleSheet"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; walkContext: "stylesheet"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Verify JSR Publish
Process completed with exit code 2.
Test (windows-latest, lts/*): dist/esm/index.js#L796
Property 'descriptors' is missing in type '{ prelude: string; }' but required in type 'AtruleSyntax'.
Test (windows-latest, lts/*): dist/esm/index.js#L802
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssVariable"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (windows-latest, lts/*): dist/esm/index.js#L803
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssDeclaration"; parse: () => { type: string; loc: any; variable: any; value: any; }; structure: { variable: StringConstructor; value: string[]; }; walkContext: "declaration"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (windows-latest, lts/*): dist/esm/index.js#L804
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "ScssPlaceholderSelector"; parse: () => { type: string; loc: any; name: any; }; structure: { name: StringConstructor; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (windows-latest, lts/*): dist/esm/index.js#L805
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Selector"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (windows-latest, lts/*): dist/esm/index.js#L806
Property 'walkContext' is missing in type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "Value"; parse: () => { type: string; loc: any; children: any; }; structure: { children: any[][]; }; }>' but required in type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (windows-latest, lts/*): dist/esm/index.js#L807
Type 'Readonly<{ __proto__: any; generate: (node: any) => void; name: "StyleSheet"; parse: () => { type: string; loc: any; children: any; }; structure: { children: string[][]; }; walkContext: "stylesheet"; }>' is not assignable to type 'NodeSyntaxConfig<CssNodeCommon>'.
Test (windows-latest, lts/*)
Process completed with exit code 1.