diff --git a/README.md b/README.md index f1a54a4..f3ab2fa 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Stylelint Conqueror Config SCSS +# Stylelint Config Conqueror SCSS ![ESM Only](https://img.shields.io/badge/ESM-only-gray?labelColor=fe0) ![CodeQL](https://img.shields.io/github/actions/workflow/status/Conqueror-Site-Builder/stylelint-config-conqueror-scss/codeql.yml?label=CodeQL) @@ -11,33 +11,21 @@ ## Table of Contents - [Table of Contents](#table-of-contents) - -- [**Stop Wasting Time on Repository Build-up!**](#stop-wasting-time-on-repository-build-up) - - [Getting Started](#getting-started) - - [Features](#features) - - [Package.json scripts](#packagejson-scripts) - -- [If You're Building a Website](#if-youre-building-a-website) - - [Conqueror](#conqueror) - - [Browtest](#browtest) - - [Husky](#husky) - - [Authors](#authors) - - [Contributors](#contributors) - - [Contributing](#contributing) - - [Versioning](#versioning) - - [License](#license) - - [Acknowledgments](#acknowledgments) +> \[!TIP] +> Nice addition for [**Conqueror**](https://github.com/Conqueror-Site-Builder/conqueror) +> or [**Conqueror Repo Template**](https://github.com/Conqueror-Site-Builder/conqueror-repo-template)! + ## Getting Started ## Features @@ -84,27 +72,6 @@ - **`commit`**: Runs **Commitizen**, **Commitlint**, and **Husky** to create commits according to **Conventional Commits** standards. -## If You're Building a Website - -### Conqueror - -If you want to create a website then [**Conqueror**](https://github.com/Conqueror-Site-Builder/conqueror) -is more suitable for you. - - - - - -### Browtest - -[**Browtest**](https://github.com/Conqueror-Site-Builder/browtest) -is an application for testing in (**WebKit**) Safari, (**Gecko**) Firefox and -(**Chromium**) Edge and Chrome, will allow you to quickly and easily view -the site in all the necessary browsers, also it will be a salvation for -those who do not have the opportunity to buy **Apple** products. - ## Husky This repository uses **.husky** as a submodule. diff --git a/index.js b/index.js index e7c38a1..f3f344d 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,7 @@ -//* Copyright (c) 2024 Conqueror Site Builder +// Copyright (c) 2024 Conqueror Site Builder + +import experimental from './utils/experimental.js'; +import nonStandard from './utils/non-standard.js'; export default { extends: ['stylelint-config-standard-scss'], @@ -307,7 +310,7 @@ export default { 'order/properties-alphabetical-order': null, 'order/properties-order': [ [ - //* All + // All 'all', 'page', 'appearance', @@ -322,7 +325,7 @@ export default { 'orphans', 'widows', 'clear', - //* Position + // Position 'float', 'inline-start', 'inline-end', @@ -340,7 +343,7 @@ export default { 'left', 'z-index', 'display', - //* Columns + // Columns 'columns', 'column-width', 'column-count', @@ -350,7 +353,7 @@ export default { 'column-rule-width', 'column-rule-style', 'column-rule-color', - //* Flex + // Flex 'flex', 'flex-grow', 'flex-shrink', @@ -359,7 +362,7 @@ export default { 'flex-direction', 'flex-wrap', 'order', - //* Grid + // Grid 'grid', 'grid-area', 'grid-auto-columns', @@ -378,30 +381,27 @@ export default { 'gap', 'column-gap', 'row-gap', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/masonry-auto-flow - 'masonry-auto-flow', - //* Table + nonStandard.masonryAutoFlow, + // Table 'border-collapse', 'border-spacing', 'caption-side', 'empty-cells', 'table-layout', 'vertical-align', - //* Alignment + // Alignment 'place-content', 'place-items', 'place-self', 'align-content', 'align-items', 'align-self', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/align-tracks - 'align-tracks', + nonStandard.alignTracks, 'justify-content', 'justify-items', 'justify-self', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/justify-tracks - 'justify-tracks', - //* Mask + nonStandard.justifyTracks, + // Mask 'mask', 'mask-border', 'mask-border-source', @@ -419,7 +419,7 @@ export default { 'mask-clip', 'mask-composite', 'mask-type', - //* Overflow + // Overflow 'overflow', 'overflow-clip-margin', 'overflow-y', @@ -428,22 +428,22 @@ export default { 'overflow-inline', 'overflow-wrap', 'overflow-anchor', - //* Shape + // Shape 'shape-outside', 'shape-margin', 'shape-image-threshold', - //* Container + // Container 'container', 'container-name', 'container-type', - //* Contain + // Contain 'contain', 'contain-intrinsic-size', 'contain-intrinsic-block-size', 'contain-intrinsic-inline-size', 'contain-intrinsic-height', 'contain-intrinsic-width', - //* Margin + // Margin 'margin', 'margin-trim', 'margin-block', @@ -456,13 +456,13 @@ export default { 'margin-right', 'margin-bottom', 'margin-left', - //* Outline + // Outline 'outline', 'outline-width', 'outline-style', 'outline-color', 'outline-offset', - //* Border + // Border 'border', 'border-width', 'border-style', @@ -533,7 +533,7 @@ export default { 'border-image-width', 'border-image-outset', 'border-image-repeat', - //* Sizes + // Sizes 'aspect-ratio', 'box-sizing', 'height', @@ -552,7 +552,7 @@ export default { 'box-decoration-break', 'box-shadow', - //* Inner + // Inner 'padding', 'padding-block', 'padding-block-start', @@ -564,7 +564,7 @@ export default { 'padding-right', 'padding-bottom', 'padding-left', - //* Fonts + // Fonts 'src', 'font', 'font-family', @@ -573,8 +573,7 @@ export default { 'font-weight', 'font-style', 'font-display', - //! https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth - 'font-smooth', + experimental.fontSmooth, 'font-feature-settings', 'font-kerning', 'font-language-override', @@ -594,7 +593,7 @@ export default { 'font-variant-numeric', 'font-variant-position', 'font-variation-settings', - //* Text + // Text 'text-overflow', 'text-rendering', 'text-indent', @@ -606,13 +605,11 @@ export default { 'text-wrap', 'text-align', 'text-align-last', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust - 'text-size-adjust', + nonStandard.textSizeAdjust, 'text-combine-upright', 'text-decoration', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-skip - 'text-decoration-skip', + nonStandard.textDecorationSkip, 'text-decoration-skip-ink', 'text-decoration-thickness', 'text-decoration-line', @@ -626,41 +623,36 @@ export default { 'text-underline-position', 'text-underline-offset', - //* Typography + // Typography 'direction', 'writing-mode', 'word-wrap', 'word-spacing', 'word-break', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/initial-letter - 'initial-letter', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/initial-letter-align - 'initial-letter-align', + nonStandard.initialLetter, + nonStandard.initialLetterAlign, 'line-break', 'line-height', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/line-height-step - 'line-height-step', + nonStandard.lineHeightStep, 'letter-spacing', 'white-space', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/white-space-collapse - 'white-space-collapse', + nonStandard.whiteSpaceCollapse, 'hyphens', 'hyphenate-character', 'hyphenate-limit-chars', 'tab-size', 'hanging-punctuation', 'ruby-position', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/ruby-align - 'ruby-align', + nonStandard.rubyAlign, 'unicode-bidi', 'unicode-range', 'forced-color-adjust', - //* Color + // Color 'color-scheme', 'color', 'accent-color', 'caret-color', - //* SVG + // SVG 'fill', 'fill-rule', 'fill-opacity', @@ -672,36 +664,36 @@ export default { 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', - //* Other + // Other 'clip-path', 'clip-rule', 'color-interpolation-filters', 'flood-color', 'flood-opacity', 'lighting-color', - //* List + // List 'list-style', 'list-style-type', 'list-style-position', 'list-style-image', - //* Marker + // Marker 'marker', 'marker-start', 'marker-mid', 'marker-end', - //* Paint + // Paint 'paint-order', - //* Other + // Other 'stop-color', 'stop-opacity', - //* Offset + // Offset 'offset', 'offset-position', 'offset-path', 'offset-distance', 'offset-rotate', 'offset-anchor', - //* Background + // Background 'background', 'background-image', 'background-color', @@ -714,26 +706,23 @@ export default { 'background-attachment', 'background-clip', 'background-blend-mode', - //* Image + // Image 'object-fit', 'object-position', 'image-orientation', 'image-rendering', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/image-resolution - 'image-resolution', - //* Filters + nonStandard.imageResolution, + // Filters 'opacity', 'visibility', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/content-visibility - 'content-visibility', + nonStandard.contentVisibility, 'backface-visibility', 'isolation', 'filter', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/overlay - 'overlay', + nonStandard.overlay, 'backdrop-filter', 'mix-blend-mode', - //* Transform + // Transform 'transform', 'transform-box', 'transform-origin', @@ -743,15 +732,14 @@ export default { 'rotate', 'perspective', 'perspective-origin', - //* Transition + // Transition 'transition', 'transition-property', 'transition-duration', 'transition-timing-function', 'transition-delay', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/transition-behavior - 'transition-behavior', - //* Animation + nonStandard.transitionBehavior, + // Animation 'animation', 'animation-name', 'animation-duration', @@ -761,49 +749,38 @@ export default { 'animation-direction', 'animation-fill-mode', 'animation-play-state', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timeline - 'animation-timeline', + nonStandard.animationTimeline, 'animation-composition', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/animation-range - 'animation-range', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/animation-range-start - 'animation-range-start', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/animation-end - 'animation-range-end', + nonStandard.animationRange, + nonStandard.animationRangeStart, + nonStandard.animationRangeEnd, 'will-change', - //* Timeline - //? https://developer.mozilla.org/en-US/docs/Web/CSS/timeline-scope - 'timeline-scope', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/view-timeline - 'view-timeline', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/view-timeline-name - 'view-timeline-name', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/view-timeline-axis - 'view-timeline-axis', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/view-timeline-inset - 'view-timeline-inset', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/view-transition-name - 'view-transition-name', - //* Other + // View Timeline + nonStandard.timelineScope, + nonStandard.viewTimeline, + nonStandard.viewTimelineName, + nonStandard.viewTimelineAxis, + nonStandard.viewTimelineInset, + nonStandard.viewTransitionName, + // Other 'cursor', 'pointer-events', 'touch-action', 'user-select', 'user-zoom', - //! https://developer.mozilla.org/en-US/docs/Web/CSS/zoom - 'zoom', + experimental.zoom, 'resize', - //* Math + // Math 'math-depth', 'math-shift', 'math-style', - //* Overscroll + // Overscroll 'overscroll-behavior', 'overscroll-behavior-y', 'overscroll-behavior-x', 'overscroll-behavior-block', 'overscroll-behavior-inline', - //* Scroll + // Scroll 'scroll-behavior', 'scroll-margin', 'scroll-margin-block', @@ -830,13 +807,10 @@ export default { 'scroll-snap-type', 'scroll-snap-align', 'scroll-snap-stop', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-timeline - 'scroll-timeline', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-timeline-axis - 'scroll-timeline-axis', - //? https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-timeline-name - 'scroll-timeline-name', - //* Scrollbar + nonStandard.scrollTimeline, + nonStandard.scrollTimelineAxis, + nonStandard.scrollTimelineName, + // Scrollbar 'scrollbar-width', 'scrollbar-gutter', 'scrollbar-color', diff --git a/package-lock.json b/package-lock.json index 9a2c8ce..1b81829 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,14 +1,15 @@ { - "name": "@conqueror/config-stylelint-scss", + "name": "stylelint-config-conqueror-scss", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@conqueror/config-stylelint-scss", + "name": "stylelint-config-conqueror-scss", "version": "1.0.0", "license": "MIT", "dependencies": { + "@eslint/eslintrc": "*", "stylelint-config-standard-scss": "*" }, "devDependencies": { @@ -18,6 +19,7 @@ "@semantic-release/git": "*", "chai": "*", "conventional-changelog-conventionalcommits": "*", + "cross-env": "7.0.3", "cz-conventional-changelog": "*", "editorconfig-checker": "*", "eslint": "*", @@ -42,7 +44,7 @@ "stylelint-prettier": "*" }, "engines": { - "node": ">=20.11.0" + "node": ">=18.12.0" }, "peerDependencies": { "stylelint": "*", @@ -585,7 +587,6 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", - "dev": true, "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -608,7 +609,6 @@ "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -624,7 +624,6 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -633,14 +632,12 @@ "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" }, "node_modules/@eslint/eslintrc/node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -1915,7 +1912,6 @@ "version": "8.11.3", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", - "dev": true, "bin": { "acorn": "bin/acorn" }, @@ -1927,7 +1923,6 @@ "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } @@ -2897,8 +2892,7 @@ "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, "node_modules/concat-stream": { "version": "2.0.0", @@ -3070,6 +3064,24 @@ "typescript": ">=4" } }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -4105,7 +4117,6 @@ "version": "3.4.3", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -4161,7 +4172,6 @@ "version": "9.6.1", "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", - "dev": true, "dependencies": { "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", @@ -4330,8 +4340,7 @@ "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" }, "node_modules/fast-levenshtein": { "version": "2.0.6", @@ -5001,7 +5010,6 @@ "version": "13.24.0", "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", - "dev": true, "dependencies": { "type-fest": "^0.20.2" }, @@ -16658,7 +16666,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, "engines": { "node": ">=8" }, @@ -17295,7 +17302,6 @@ "version": "0.20.2", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, "engines": { "node": ">=10" }, diff --git a/package.json b/package.json index 0c2f8c4..e4203c7 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,6 @@ { "type": "module", "exports": "./index.js", - "scripts": { - "init": "npm i && husky install && git submodule init && git submodule update", - "format": "prettier . --write", - "lint:formatting": "prettier . --check", - "lint:editorconfig": "editorconfig-checker", - "lint:md": "remark . --quiet", - "lint:js": "eslint **/*.js --fix", - "test": "mocha", - "commit": "cz" - }, - "homepage": "https://github.com/Conqueror-Site-Builder/stylelint-config-conqueror-scss#readme", - "repository": { - "type": "git", - "url": "https://github.com/Conqueror-Site-Builder/stylelint-config-conqueror-scss.git" - }, - "bugs": { - "url": "https://github.com/Conqueror-Site-Builder/stylelint-config-conqueror-scss/issues" - }, "author": "Conqueror Site Builder", "name": "stylelint-config-conqueror-scss", "description": "Extended config for Stylelint with property sorting", @@ -33,8 +15,27 @@ "scss", "stylelint" ], + "homepage": "https://github.com/Conqueror-Site-Builder/stylelint-config-conqueror-scss#readme", + "repository": { + "type": "git", + "url": "https://github.com/Conqueror-Site-Builder/stylelint-config-conqueror-scss.git" + }, + "bugs": { + "url": "https://github.com/Conqueror-Site-Builder/stylelint-config-conqueror-scss/issues" + }, + "scripts": { + "init": "npm i && husky install && git submodule init && git submodule update", + "format": "prettier . --write", + "lint:formatting": "prettier . --check", + "lint:editorconfig": "editorconfig-checker", + "lint:md": "remark . --quiet", + "lint:js": "eslint **/*.js --fix", + "test": "mocha", + "commit": "cz" + }, "files": [ - "index.js" + "index.js", + "utils" ], "engines": { "node": ">=18.12.0" @@ -50,6 +51,7 @@ "@semantic-release/git": "*", "chai": "*", "conventional-changelog-conventionalcommits": "*", + "cross-env": "*", "cz-conventional-changelog": "*", "editorconfig-checker": "*", "eslint": "*", diff --git a/utils/experimental.js b/utils/experimental.js new file mode 100644 index 0000000..9ff83e6 --- /dev/null +++ b/utils/experimental.js @@ -0,0 +1,10 @@ +// Copyright (c) 2024 Conqueror Site Builder + +const experimental = { + // https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth + fontSmooth: 'font-smooth', + // https://developer.mozilla.org/en-US/docs/Web/CSS/zoom + zoom: 'zoom', +}; + +export default experimental; diff --git a/utils/non-standard.js b/utils/non-standard.js new file mode 100644 index 0000000..c44c176 --- /dev/null +++ b/utils/non-standard.js @@ -0,0 +1,71 @@ +// Copyright (c) 2024 Conqueror Site Builder + +const nonStandard = { + // Grid + // https://developer.mozilla.org/en-US/docs/Web/CSS/masonry-auto-flow + masonryAutoFlow: 'masonry-auto-flow', + // Alignment + // https://developer.mozilla.org/en-US/docs/Web/CSS/align-tracks + alignTracks: 'align-tracks', + // https://developer.mozilla.org/en-US/docs/Web/CSS/justify-tracks + justifyTracks: 'justify-tracks', + // Text + // https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust + textSizeAdjust: 'text-size-adjust', + // https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration-skip + textDecorationSkip: 'text-decoration-skip', + // Typography + // https://developer.mozilla.org/en-US/docs/Web/CSS/initial-letter + initialLetter: 'initial-letter', + // https://developer.mozilla.org/en-US/docs/Web/CSS/initial-letter-align + initialLetterAlign: 'initial-letter-align', + // https://developer.mozilla.org/en-US/docs/Web/CSS/line-height-step + lineHeightStep: 'line-height-step', + // https://developer.mozilla.org/en-US/docs/Web/CSS/white-space-collapse + whiteSpaceCollapse: 'white-space-collapse', + // https://developer.mozilla.org/en-US/docs/Web/CSS/ruby-align + rubyAlign: 'ruby-align', + // Image + // https://developer.mozilla.org/en-US/docs/Web/CSS/image-resolution + imageResolution: 'image-resolution', + // Transition + // https://developer.mozilla.org/en-US/docs/Web/CSS/transition-behavior + transitionBehavior: 'transition-behavior', + // Animation + // https://developer.mozilla.org/en-US/docs/Web/CSS/animation-timeline + animationTimeline: 'animation-timeline', + // Animation Range + // https://developer.mozilla.org/en-US/docs/Web/CSS/animation-range + animationRange: 'animation-range', + // https://developer.mozilla.org/en-US/docs/Web/CSS/animation-range-start + animationRangeStart: 'animation-range-start', + // https://developer.mozilla.org/en-US/docs/Web/CSS/animation-end + animationRangeEnd: 'animation-range-end', + // View Timeline + // https://developer.mozilla.org/en-US/docs/Web/CSS/timeline-scope + timelineScope: 'timeline-scope', + // https://developer.mozilla.org/en-US/docs/Web/CSS/view-timeline + viewTimeline: 'view-timeline', + // https://developer.mozilla.org/en-US/docs/Web/CSS/view-timeline-name + viewTimelineName: 'view-timeline-name', + // https://developer.mozilla.org/en-US/docs/Web/CSS/view-timeline-axis + viewTimelineAxis: 'view-timeline-axis', + // https://developer.mozilla.org/en-US/docs/Web/CSS/view-timeline-inset + viewTimelineInset: 'view-timeline-inset', + // https://developer.mozilla.org/en-US/docs/Web/CSS/view-transition-name + viewTransitionName: 'view-transition-name', + // Scroll Timeline + // https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-timeline + scrollTimeline: 'scroll-timeline', + // https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-timeline-axis + scrollTimelineAxis: 'scroll-timeline-axis', + // https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-timeline-name + scrollTimelineName: 'scroll-timeline-name', + // Other + // https://developer.mozilla.org/en-US/docs/Web/CSS/overlay + overlay: 'overlay', + // https://developer.mozilla.org/en-US/docs/Web/CSS/content-visibility + contentVisibility: 'content-visibility', +}; + +export default nonStandard;