diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e73bb36..c97490c 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -21,15 +21,15 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'yarn' - - uses: ./.github/actions/build - - run: yarn lint-strict - - run: yarn test + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: "yarn" + - uses: ./.github/actions/build + - run: yarn lint-strict + - run: yarn test publish-npm: needs: test diff --git a/.gitignore b/.gitignore index 3b95952..0576690 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,9 @@ lib/ coverage/ *.local + +# CSS build files +css/ + +# Stylelint +.stylelintcache diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..61c3bc7 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +.yarn diff --git a/.prettierrc b/.prettierrc index bf357fb..c25723e 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,3 +1,12 @@ { - "trailingComma": "all" + "plugins": ["prettier-plugin-css-order"], + "overrides": [ + { + "files": ["tsconfig.json"], + "options": { + "parser": "json5", + "quoteProps": "preserve" + } + } + ] } diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000..11bc081 --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,14 @@ +{ + "extends": ["stylelint-config-standard", "stylelint-config-standard-scss"], + "reportDescriptionlessDisables": true, + "reportInvalidScopeDisables": true, + "reportNeedlessDisables": true, + "rules": { + "comment-empty-line-before": null, + "no-unknown-animations": true, + "scss/at-function-pattern": null, + "scss/at-mixin-pattern": null, + "scss/dollar-variable-pattern": null, + "scss/operator-no-newline-after": null + } +} diff --git a/.yarnrc.yml b/.yarnrc.yml index 804bac1..63f53b4 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -17,6 +17,9 @@ packageExtensions: peerDependencies: "@babel/core": "*" "@typescript-eslint/parser": "*" + prettier-plugin-css-order@2: + peerDependencies: + postcss: "*" plugins: - path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs diff --git a/README.md b/README.md index 7d5717e..bfff42d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # super-duper-parakeet + just general stuff. name suggested by github diff --git a/package.json b/package.json index da14af4..1109f84 100644 --- a/package.json +++ b/package.json @@ -10,11 +10,17 @@ }, "types": "lib/src/index.d.ts", "scripts": { - "clean": "rm -rf lib/", + "all-prettier": "prettier --write .", + "build-css": "sass sass:css", + "css": "yarn build-css --watch", + "clean": "rm -rf lib/ css/", "build": "tsc --pretty", "watch": "tsc --pretty -w", - "lint": "eslint . --ext ts --ext tsx --ext js", - "lint-strict": "yarn lint --max-warnings 0", + "lint-js": "eslint . --ext ts,tsx,js", + "lint-css": "stylelint \"sass/**/*.{css,scss}\" --cache", + "lint-strict-js": "yarn lint-js --max-warnings 0", + "lint-strict": "yarn lint-strict-js && yarn lint-css", + "lint": "yarn lint-js && yarn lint-css", "test-nc": "jest", "test": "yarn test-nc --coverage" }, @@ -84,12 +90,18 @@ "nanoid": "^4.0.0", "newtype-ts": "^0.3.4", "next": "13.1.6", + "postcss": "^8.4.31", "prettier": "^3.0.0", + "prettier-plugin-css-order": "^2.0.0", "putout": "^30.7.0", "react": "^18.0.0", "react-dom": "^18.0.0", "react-query": "^3.13.12", "react-test-renderer": "^18.0.0", + "sass": "^1.68.0", + "stylelint": "^15.10.3", + "stylelint-config-standard": "^34.0.0", + "stylelint-config-standard-scss": "^11.0.0", "ts-jest": "^29.1.0", "ts-node": "^10.1.0", "ts-toolbelt": "^9.6.0", diff --git a/sass/_bare-button.scss b/sass/_bare-button.scss new file mode 100644 index 0000000..284be2f --- /dev/null +++ b/sass/_bare-button.scss @@ -0,0 +1,9 @@ +@mixin bareButton { + border: 0; + background: none; + padding: 0; + color: inherit; + font-weight: inherit; + letter-spacing: inherit; + text-transform: inherit; +} diff --git a/src/readonly-overrides.d.ts b/src/readonly-overrides.d.ts index 273e6cb..ca6cdc5 100644 --- a/src/readonly-overrides.d.ts +++ b/src/readonly-overrides.d.ts @@ -6,8 +6,8 @@ interface ObjectConstructor { values(o: Readonly<{ [s: string]: T } | ArrayLike>): T[]; /** - * Returns an array of key/values of the enumerable properties of an object - * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. - */ + * Returns an array of key/values of the enumerable properties of an object + * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object. + */ entries(o: Readonly<{ [s: string]: T } | ArrayLike>): [string, T][]; } diff --git a/tsconfig.json b/tsconfig.json index d88bd0e..8a8dddf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,14 @@ "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "jsx": "react", - "lib": ["es2019", "es2020.bigint", "es2020.string", "es2020.symbol.wellknown", "dom", "dom.iterable"], + "lib": [ + "es2019", + "es2020.bigint", + "es2020.string", + "es2020.symbol.wellknown", + "dom", + "dom.iterable", + ], "module": "commonjs", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, @@ -19,9 +26,5 @@ "target": "es2019", }, "exclude": ["node_modules", "lib"], - "include": [ - ".*", - "*", - "**/*", - ] + "include": [".*", "*", "**/*"], } diff --git a/yarn.lock b/yarn.lock index 5bc77b3..4773140 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1405,38 +1405,38 @@ __metadata: languageName: node linkType: hard -"@csstools/css-parser-algorithms@npm:^2.1.1": - version: 2.1.1 - resolution: "@csstools/css-parser-algorithms@npm:2.1.1" +"@csstools/css-parser-algorithms@npm:^2.3.1": + version: 2.3.2 + resolution: "@csstools/css-parser-algorithms@npm:2.3.2" peerDependencies: - "@csstools/css-tokenizer": ^2.1.1 - checksum: 0ba3f3d38b99c933d12c6cb7fc348a9c0056a1e23b8a4b7e66b79295b5071bc443c4c3ed87ad7f155ce7e76e49c20c582dc27d804c9a45c82e5bd37585870d60 + "@csstools/css-tokenizer": ^2.2.1 + checksum: 71663a00369014727ac89ae738f0acd1341b2dc1474ff16799a6f4d24674c55c3ddb89d70c8f1ffc4e03508b18a621830f8f8a51707fda6cc5ea48f1a53cc559 languageName: node linkType: hard -"@csstools/css-tokenizer@npm:^2.1.1": - version: 2.1.1 - resolution: "@csstools/css-tokenizer@npm:2.1.1" - checksum: d6ac4b08d7fdfc146755542f00b208af7248efd6cf2eb0f0f7d2ba3583a81f08ed9be6047d78b046925708b5bd0886f487edeeee2f90f0f34030dcbef4122d0e +"@csstools/css-tokenizer@npm:^2.2.0": + version: 2.2.1 + resolution: "@csstools/css-tokenizer@npm:2.2.1" + checksum: ebd9f65b253037d3a575ded45dbe41c12e71d83d6aa8a6a3a9fc2427862a805678df2a825cd19cf36b587be93f5cb1bd0932bb5c362d227ed9533db35b1fc6fa languageName: node linkType: hard -"@csstools/media-query-list-parser@npm:^2.0.4": - version: 2.0.4 - resolution: "@csstools/media-query-list-parser@npm:2.0.4" +"@csstools/media-query-list-parser@npm:^2.1.4": + version: 2.1.5 + resolution: "@csstools/media-query-list-parser@npm:2.1.5" peerDependencies: - "@csstools/css-parser-algorithms": ^2.1.1 - "@csstools/css-tokenizer": ^2.1.1 - checksum: 059b1e9bb78fc55888d5c51b55ae6a3aa89b7fde14d846a659bc2bc7f01b5a85d4baf02d36b59a44e5157a5a8eb283b24918d567eda34667e5776befbf122983 + "@csstools/css-parser-algorithms": ^2.3.2 + "@csstools/css-tokenizer": ^2.2.1 + checksum: 119c27951377781c06c0b68ee6f7815c71d7623e439da0d5009f2101a6cd996f60b3fd60466d7059b8f7a936fbc9fbd2306ba953fa2daf9728a710881971ab08 languageName: node linkType: hard -"@csstools/selector-specificity@npm:^2.2.0": - version: 2.2.0 - resolution: "@csstools/selector-specificity@npm:2.2.0" +"@csstools/selector-specificity@npm:^3.0.0": + version: 3.0.0 + resolution: "@csstools/selector-specificity@npm:3.0.0" peerDependencies: - postcss-selector-parser: ^6.0.10 - checksum: 97c89f23b3b527d7bd51ed299969ed2b9fbb219a367948b44aefec228b8eda6ae0ad74fe8a82f9aac8ff32cfd00bb6d0c98d1daeab2e8fc6d5c4af25e5be5673 + postcss-selector-parser: ^6.0.13 + checksum: 4a2dfe69998a499155d9dab4c2a0e7ae7594d8db98bb8a487d2d5347c0c501655051eb5eacad3fe323c86b0ba8212fe092c27fc883621e6ac2a27662edfc3528 languageName: node linkType: hard @@ -3751,12 +3751,18 @@ __metadata: nanoid: ^4.0.0 newtype-ts: ^0.3.4 next: 13.1.6 + postcss: ^8.4.31 prettier: ^3.0.0 + prettier-plugin-css-order: ^2.0.0 putout: ^30.7.0 react: ^18.0.0 react-dom: ^18.0.0 react-query: ^3.13.12 react-test-renderer: ^18.0.0 + sass: ^1.68.0 + stylelint: ^15.10.3 + stylelint-config-standard: ^34.0.0 + stylelint-config-standard-scss: ^11.0.0 ts-jest: ^29.1.0 ts-node: ^10.1.0 ts-toolbelt: ^9.6.0 @@ -4253,10 +4259,10 @@ __metadata: languageName: node linkType: hard -"@types/minimist@npm:^1.2.0": - version: 1.2.2 - resolution: "@types/minimist@npm:1.2.2" - checksum: b8da83c66eb4aac0440e64674b19564d9d86c80ae273144db9681e5eeff66f238ade9515f5006ffbfa955ceff8b89ad2bd8ec577d7caee74ba101431fb07045d +"@types/minimist@npm:^1.2.2": + version: 1.2.3 + resolution: "@types/minimist@npm:1.2.3" + checksum: 666ea4f8c39dcbdfbc3171fe6b3902157c845cc9cb8cee33c10deb706cda5e0cc80f98ace2d6d29f6774b0dc21180c96cd73c592a1cbefe04777247c7ba0e84b languageName: node linkType: hard @@ -4933,13 +4939,13 @@ __metadata: languageName: node linkType: hard -"anymatch@npm:^3.0.3": - version: 3.1.2 - resolution: "anymatch@npm:3.1.2" +"anymatch@npm:^3.0.3, anymatch@npm:~3.1.2": + version: 3.1.3 + resolution: "anymatch@npm:3.1.3" dependencies: normalize-path: ^3.0.0 picomatch: ^2.0.4 - checksum: 985163db2292fac9e5a1e072bf99f1b5baccf196e4de25a0b0b81865ebddeb3b3eb4480734ef0a2ac8c002845396b91aa89121f5b84f93981a4658164a9ec6e9 + checksum: 3e044fd6d1d26545f235a9fe4d7a534e2029d8e59fa7fd9f2a6eb21230f6b5380ea1eaf55136e60cbf8e613544b3b766e7a6fa2102e2a3a117505466e3025dc2 languageName: node linkType: hard @@ -5353,6 +5359,13 @@ __metadata: languageName: node linkType: hard +"binary-extensions@npm:^2.0.0": + version: 2.2.0 + resolution: "binary-extensions@npm:2.2.0" + checksum: ccd267956c58d2315f5d3ea6757cf09863c5fc703e50fbeb13a7dc849b812ef76e3cf9ca8f35a0c48498776a7478d7b4a0418e1e2b8cb9cb9731f2922aaad7f8 + languageName: node + linkType: hard + "boolbase@npm:^1.0.0": version: 1.0.0 resolution: "boolbase@npm:1.0.0" @@ -5379,7 +5392,7 @@ __metadata: languageName: node linkType: hard -"braces@npm:^3.0.2": +"braces@npm:^3.0.2, braces@npm:~3.0.2": version: 3.0.2 resolution: "braces@npm:3.0.2" dependencies: @@ -5541,14 +5554,15 @@ __metadata: languageName: node linkType: hard -"camelcase-keys@npm:^6.2.2": - version: 6.2.2 - resolution: "camelcase-keys@npm:6.2.2" +"camelcase-keys@npm:^7.0.0": + version: 7.0.2 + resolution: "camelcase-keys@npm:7.0.2" dependencies: - camelcase: ^5.3.1 - map-obj: ^4.0.0 - quick-lru: ^4.0.1 - checksum: 43c9af1adf840471e54c68ab3e5fe8a62719a6b7dbf4e2e86886b7b0ff96112c945736342b837bd2529ec9d1c7d1934e5653318478d98e0cf22c475c04658e2a + camelcase: ^6.3.0 + map-obj: ^4.1.0 + quick-lru: ^5.1.1 + type-fest: ^1.2.1 + checksum: b5821cc48dd00e8398a30c5d6547f06837ab44de123f1b3a603d0a03399722b2fc67a485a7e47106eb02ef543c3b50c5ebaabc1242cde4b63a267c3258d2365b languageName: node linkType: hard @@ -5559,7 +5573,7 @@ __metadata: languageName: node linkType: hard -"camelcase@npm:^6.2.0": +"camelcase@npm:^6.2.0, camelcase@npm:^6.3.0": version: 6.3.0 resolution: "camelcase@npm:6.3.0" checksum: 8c96818a9076434998511251dcb2761a94817ea17dbdc37f47ac080bd088fc62c7369429a19e2178b993497132c8cbcf5cc1f44ba963e76782ba469c0474938d @@ -5660,6 +5674,25 @@ __metadata: languageName: node linkType: hard +"chokidar@npm:>=3.0.0 <4.0.0": + version: 3.5.3 + resolution: "chokidar@npm:3.5.3" + dependencies: + anymatch: ~3.1.2 + braces: ~3.0.2 + fsevents: ~2.3.2 + glob-parent: ~5.1.2 + is-binary-path: ~2.1.0 + is-glob: ~4.0.1 + normalize-path: ~3.0.0 + readdirp: ~3.6.0 + dependenciesMeta: + fsevents: + optional: true + checksum: b49fcde40176ba007ff361b198a2d35df60d9bb2a5aab228279eb810feae9294a6b4649ab15981304447afe1e6ffbf4788ad5db77235dc770ab777c6e771980c + languageName: node + linkType: hard + "chownr@npm:^2.0.0": version: 2.0.0 resolution: "chownr@npm:2.0.0" @@ -5910,15 +5943,20 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^8.1.3": - version: 8.1.3 - resolution: "cosmiconfig@npm:8.1.3" +"cosmiconfig@npm:^8.2.0": + version: 8.3.6 + resolution: "cosmiconfig@npm:8.3.6" dependencies: - import-fresh: ^3.2.1 + import-fresh: ^3.3.0 js-yaml: ^4.1.0 - parse-json: ^5.0.0 + parse-json: ^5.2.0 path-type: ^4.0.0 - checksum: b3d277bc3a8a9e649bf4c3fc9740f4c52bf07387481302aa79839f595045368903bf26ea24a8f7f7b8b180bf46037b027c5cb63b1391ab099f3f78814a147b2b + peerDependencies: + typescript: ">=4.9.5" + peerDependenciesMeta: + typescript: + optional: true + checksum: dc339ebea427898c9e03bf01b56ba7afbac07fc7d2a2d5a15d6e9c14de98275a9565da949375aee1809591c152c0a3877bb86dbeaf74d5bd5aaa79955ad9e7a0 languageName: node linkType: hard @@ -5949,10 +5987,19 @@ __metadata: languageName: node linkType: hard -"css-functions-list@npm:^3.1.0": - version: 3.1.0 - resolution: "css-functions-list@npm:3.1.0" - checksum: 8a7c9d4ae57cb2f01500263e65a21372048d359ca7aa6430a32a736fe2a421decfebe45e579124b9a158ec68aba2eadcd733e568495a7698240d9607d31f681b +"css-declaration-sorter@npm:^7.1.1": + version: 7.1.1 + resolution: "css-declaration-sorter@npm:7.1.1" + peerDependencies: + postcss: ^8.0.9 + checksum: 6a840049f661bc26957af8cf70c22a9a0e9e6e253bae9a61bf1988dcb1265d5deebbe24921c3e0237bd8a009790c454c6808497db272b745b44c1d72cd31cdc1 + languageName: node + linkType: hard + +"css-functions-list@npm:^3.2.0": + version: 3.2.0 + resolution: "css-functions-list@npm:3.2.0" + checksum: fe912ea852fad500aef9a4f04db9a0371c7b0eb1ac1a45fbd8df0156ae0538cee7492ebd620b9bb502fe5bf2b5ed3bf3c16b6659cf67c7144eff0b597bcc3891 languageName: node linkType: hard @@ -6093,13 +6140,20 @@ __metadata: languageName: node linkType: hard -"decamelize@npm:^1.1.0, decamelize@npm:^1.2.0": +"decamelize@npm:^1.1.0": version: 1.2.0 resolution: "decamelize@npm:1.2.0" checksum: ad8c51a7e7e0720c70ec2eeb1163b66da03e7616d7b98c9ef43cce2416395e84c1e9548dd94f5f6ffecfee9f8b94251fc57121a8b021f2ff2469b2bae247b8aa languageName: node linkType: hard +"decamelize@npm:^5.0.0": + version: 5.0.1 + resolution: "decamelize@npm:5.0.1" + checksum: 7c3b1ed4b3e60e7fbc00a35fb248298527c1cdfe603e41dfcf05e6c4a8cb9efbee60630deb677ed428908fb4e74e322966c687a094d1478ddc9c3a74e9dc7140 + languageName: node + linkType: hard + "decimal.js@npm:^10.4.2": version: 10.4.3 resolution: "decimal.js@npm:10.4.3" @@ -7728,7 +7782,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.2, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.1": +"fast-glob@npm:^3.2.2, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.1": version: 3.3.1 resolution: "fast-glob@npm:3.3.1" dependencies: @@ -7932,19 +7986,19 @@ __metadata: languageName: node linkType: hard -fsevents@^2.3.2: - version: 2.3.2 - resolution: "fsevents@npm:2.3.2" +"fsevents@^2.3.2, fsevents@npm:~2.3.2": + version: 2.3.3 + resolution: "fsevents@npm:2.3.3" dependencies: node-gyp: latest - checksum: 97ade64e75091afee5265e6956cb72ba34db7819b4c3e94c431d4be2b19b8bb7a2d4116da417950c3425f17c8fe693d25e20212cac583ac1521ad066b77ae31f + checksum: 11e6ea6fea15e42461fc55b4b0e4a0a3c654faa567f1877dbd353f39156f69def97a69936d1746619d656c4b93de2238bf731f6085a03a50cabf287c9d024317 conditions: os=darwin languageName: node linkType: hard -"fsevents@patch:fsevents@^2.3.2#~builtin": - version: 2.3.2 - resolution: "fsevents@patch:fsevents@npm%3A2.3.2#~builtin::version=2.3.2&hash=df0bf1" +"fsevents@patch:fsevents@^2.3.2#~builtin, fsevents@patch:fsevents@~2.3.2#~builtin": + version: 2.3.3 + resolution: "fsevents@patch:fsevents@npm%3A2.3.3#~builtin::version=2.3.3&hash=df0bf1" dependencies: node-gyp: latest conditions: os=darwin @@ -8080,7 +8134,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"glob-parent@npm:^5.1.2": +"glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2": version: 5.1.2 resolution: "glob-parent@npm:5.1.2" dependencies: @@ -8459,7 +8513,14 @@ fsevents@^2.3.2: languageName: node linkType: hard -"import-fresh@npm:^3.1.0, import-fresh@npm:^3.2.1": +"immutable@npm:^4.0.0": + version: 4.3.4 + resolution: "immutable@npm:4.3.4" + checksum: de3edd964c394bab83432429d3fb0b4816b42f56050f2ca913ba520bd3068ec3e504230d0800332d3abc478616e8f55d3787424a90d0952e6aba864524f1afc3 + languageName: node + linkType: hard + +"import-fresh@npm:^3.1.0, import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0": version: 3.3.0 resolution: "import-fresh@npm:3.3.0" dependencies: @@ -8502,6 +8563,13 @@ fsevents@^2.3.2: languageName: node linkType: hard +"indent-string@npm:^5.0.0": + version: 5.0.0 + resolution: "indent-string@npm:5.0.0" + checksum: e466c27b6373440e6d84fbc19e750219ce25865cb82d578e41a6053d727e5520dc5725217d6eb1cc76005a1bb1696a0f106d84ce7ebda3033b963a38583fb3b3 + languageName: node + linkType: hard + "infer-owner@npm:^1.0.4": version: 1.0.4 resolution: "infer-owner@npm:1.0.4" @@ -8637,6 +8705,15 @@ fsevents@^2.3.2: languageName: node linkType: hard +"is-binary-path@npm:~2.1.0": + version: 2.1.0 + resolution: "is-binary-path@npm:2.1.0" + dependencies: + binary-extensions: ^2.0.0 + checksum: 84192eb88cff70d320426f35ecd63c3d6d495da9d805b19bc65b518984b7c0760280e57dbf119b7e9be6b161784a5a673ab2c6abe83abb5198a432232ad5b35c + languageName: node + linkType: hard + "is-boolean-object@npm:^1.1.0": version: 1.1.2 resolution: "is-boolean-object@npm:1.1.2" @@ -8746,7 +8823,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3": +"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1": version: 4.0.3 resolution: "is-glob@npm:4.0.3" dependencies: @@ -9817,10 +9894,10 @@ fsevents@^2.3.2: languageName: node linkType: hard -"known-css-properties@npm:^0.27.0": - version: 0.27.0 - resolution: "known-css-properties@npm:0.27.0" - checksum: 8584fcf0526f984fe5a358af20200dec3b944373dd005dc23a3ce988895e1acd03e7d69c49533dda07d6d9b6d53990ed1119bd9d3e927f17545f8764c434a5cd +"known-css-properties@npm:^0.28.0": + version: 0.28.0 + resolution: "known-css-properties@npm:0.28.0" + checksum: c9e0d6948e31386e872d348eb955e9db80edd58f9d7f7fc9b072180bfb26708a629d5942d4478f66fc766fb913c4552a220950730cef85f8c3bc9830e33b00c8 languageName: node linkType: hard @@ -10088,7 +10165,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"map-obj@npm:^4.0.0": +"map-obj@npm:^4.1.0": version: 4.3.0 resolution: "map-obj@npm:4.3.0" checksum: fbc554934d1a27a1910e842bc87b177b1a556609dd803747c85ece420692380827c6ae94a95cce4407c054fa0964be3bf8226f7f2cb2e9eeee432c7c1985684e @@ -10192,23 +10269,23 @@ fsevents@^2.3.2: languageName: node linkType: hard -"meow@npm:^9.0.0": - version: 9.0.0 - resolution: "meow@npm:9.0.0" +"meow@npm:^10.1.5": + version: 10.1.5 + resolution: "meow@npm:10.1.5" dependencies: - "@types/minimist": ^1.2.0 - camelcase-keys: ^6.2.2 - decamelize: ^1.2.0 + "@types/minimist": ^1.2.2 + camelcase-keys: ^7.0.0 + decamelize: ^5.0.0 decamelize-keys: ^1.1.0 hard-rejection: ^2.1.0 minimist-options: 4.1.0 - normalize-package-data: ^3.0.0 - read-pkg-up: ^7.0.1 - redent: ^3.0.0 - trim-newlines: ^3.0.0 - type-fest: ^0.18.0 - yargs-parser: ^20.2.3 - checksum: 99799c47247f4daeee178e3124f6ef6f84bde2ba3f37652865d5d8f8b8adcf9eedfc551dd043e2455cd8206545fd848e269c0c5ab6b594680a0ad4d3617c9639 + normalize-package-data: ^3.0.2 + read-pkg-up: ^8.0.0 + redent: ^4.0.0 + trim-newlines: ^4.0.2 + type-fest: ^1.2.2 + yargs-parser: ^20.2.9 + checksum: dd5f0caa4af18517813547dc66741dcbf52c4c23def5062578d39b11189fd9457aee5c1f2263a5cd6592a465023df8357e8ac876b685b64dbcf545e3f66c23a7 languageName: node linkType: hard @@ -10517,7 +10594,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"min-indent@npm:^1.0.0": +"min-indent@npm:^1.0.0, min-indent@npm:^1.0.1": version: 1.0.1 resolution: "min-indent@npm:1.0.1" checksum: bfc6dd03c5eaf623a4963ebd94d087f6f4bbbfd8c41329a7f09706b0cb66969c4ddd336abeb587bc44bc6f08e13bf90f0b374f9d71f9f01e04adc2cd6f083ef1 @@ -10904,7 +10981,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"normalize-package-data@npm:^3.0.0": +"normalize-package-data@npm:^3.0.2": version: 3.0.3 resolution: "normalize-package-data@npm:3.0.3" dependencies: @@ -10916,7 +10993,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"normalize-path@npm:^3.0.0": +"normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0": version: 3.0.0 resolution: "normalize-path@npm:3.0.0" checksum: 88eeb4da891e10b1318c4b2476b6e2ecbeb5ff97d946815ffea7794c31a89017c70d7f34b3c2ebf23ef4e9fc9fb99f7dffe36da22011b5b5c6ffa34f4873ec20 @@ -11338,7 +11415,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": +"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" checksum: 050c865ce81119c4822c45d3c84f1ced46f93a0126febae20737bd05ca20589c564d6e9226977df859ed5e03dc73f02584a2b0faad36e896936238238b0446cf @@ -11384,6 +11461,15 @@ fsevents@^2.3.2: languageName: node linkType: hard +"postcss-less@npm:^6.0.0": + version: 6.0.0 + resolution: "postcss-less@npm:6.0.0" + peerDependencies: + postcss: ^8.3.5 + checksum: 04ec95fc8637380e4633f0329ba3a65436360b57b289bb867ee25aada51e2e45a110cdb1eaa8e8c09c61009aff4207ef6bf21efd4e2ff12f6a7ffc6861a8647e + languageName: node + linkType: hard + "postcss-media-query-parser@npm:^0.2.3": version: 0.2.3 resolution: "postcss-media-query-parser@npm:0.2.3" @@ -11407,16 +11493,16 @@ fsevents@^2.3.2: languageName: node linkType: hard -"postcss-scss@npm:^4.0.3": - version: 4.0.6 - resolution: "postcss-scss@npm:4.0.6" +"postcss-scss@npm:^4.0.3, postcss-scss@npm:^4.0.7": + version: 4.0.9 + resolution: "postcss-scss@npm:4.0.9" peerDependencies: - postcss: ^8.4.19 - checksum: 133a1cba31e2e167f4e841e66ec6a798eaf44c7911f9182ade0b5b1e71a8198814aa390b8c9d5db6b01358115232e5b15b1a4f8c5198acfccfb1f3fdbd328cdf + postcss: ^8.4.29 + checksum: dc358bafc23d52ed3a9a29333808825deba213042be74ece6eae7a61c692f67d0e6691fa7005367b013c01c79562fbb9ef2fe4c0485075233931bd90715f5132 languageName: node linkType: hard -"postcss-selector-parser@npm:^6.0.11, postcss-selector-parser@npm:^6.0.13, postcss-selector-parser@npm:^6.0.9": +"postcss-selector-parser@npm:^6.0.13, postcss-selector-parser@npm:^6.0.9": version: 6.0.13 resolution: "postcss-selector-parser@npm:6.0.13" dependencies: @@ -11457,14 +11543,14 @@ fsevents@^2.3.2: languageName: node linkType: hard -"postcss@npm:^7.0.27 || ^8.0.0, postcss@npm:^8.4.22, postcss@npm:^8.4.6": - version: 8.4.23 - resolution: "postcss@npm:8.4.23" +"postcss@npm:^7.0.27 || ^8.0.0, postcss@npm:^8.4.27, postcss@npm:^8.4.31, postcss@npm:^8.4.6": + version: 8.4.31 + resolution: "postcss@npm:8.4.31" dependencies: nanoid: ^3.3.6 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: 8bb9d1b2ea6e694f8987d4f18c94617971b2b8d141602725fedcc2222fdc413b776a6e1b969a25d627d7b2681ca5aabb56f59e727ef94072e1b6ac8412105a2f + checksum: 1d8611341b073143ad90486fcdfeab49edd243377b1f51834dc4f6d028e82ce5190e4f11bb2633276864503654fb7cab28e67abdc0fbf9d1f88cad4a0ff0beea languageName: node linkType: hard @@ -11491,6 +11577,19 @@ fsevents@^2.3.2: languageName: node linkType: hard +"prettier-plugin-css-order@npm:^2.0.0": + version: 2.0.1 + resolution: "prettier-plugin-css-order@npm:2.0.1" + dependencies: + css-declaration-sorter: ^7.1.1 + postcss-less: ^6.0.0 + postcss-scss: ^4.0.3 + peerDependencies: + prettier: 3.x + checksum: 2e76f5f6af5aeceaa75f71fb79d6d23991bdd11bcf5d13cd31f5079c9a54e8baf8912a5f93715f1c84f498bc9e5b27780b9e5f6e48bc84a0e7b610a5af482579 + languageName: node + linkType: hard + "prettier@npm:^3.0.0, prettier@npm:^3.0.2": version: 3.0.3 resolution: "prettier@npm:3.0.3" @@ -11803,13 +11902,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"quick-lru@npm:^4.0.1": - version: 4.0.1 - resolution: "quick-lru@npm:4.0.1" - checksum: bea46e1abfaa07023e047d3cf1716a06172c4947886c053ede5c50321893711577cb6119360f810cc3ffcd70c4d7db4069c3cee876b358ceff8596e062bd1154 - languageName: node - linkType: hard - "quick-lru@npm:^5.1.1": version: 5.1.1 resolution: "quick-lru@npm:5.1.1" @@ -11931,6 +12023,17 @@ fsevents@^2.3.2: languageName: node linkType: hard +"read-pkg-up@npm:^8.0.0": + version: 8.0.0 + resolution: "read-pkg-up@npm:8.0.0" + dependencies: + find-up: ^5.0.0 + read-pkg: ^6.0.0 + type-fest: ^1.0.1 + checksum: fe4c80401656b40b408884457fffb5a8015c03b1018cfd8e48f8d82a5e9023e24963603aeb2755608d964593e046c15b34d29b07d35af9c7aa478be81805209c + languageName: node + linkType: hard + "read-pkg@npm:^5.2.0": version: 5.2.0 resolution: "read-pkg@npm:5.2.0" @@ -11943,6 +12046,18 @@ fsevents@^2.3.2: languageName: node linkType: hard +"read-pkg@npm:^6.0.0": + version: 6.0.0 + resolution: "read-pkg@npm:6.0.0" + dependencies: + "@types/normalize-package-data": ^2.4.0 + normalize-package-data: ^3.0.2 + parse-json: ^5.2.0 + type-fest: ^1.0.1 + checksum: 0cebdff381128e923815c643074a87011070e5fc352bee575d327d6485da3317fab6d802a7b03deeb0be7be8d3ad1640397b3d5d2f044452caf4e8d1736bf94f + languageName: node + linkType: hard + "readable-stream@npm:^3.6.0": version: 3.6.0 resolution: "readable-stream@npm:3.6.0" @@ -11954,6 +12069,15 @@ fsevents@^2.3.2: languageName: node linkType: hard +"readdirp@npm:~3.6.0": + version: 3.6.0 + resolution: "readdirp@npm:3.6.0" + dependencies: + picomatch: ^2.2.1 + checksum: 1ced032e6e45670b6d7352d71d21ce7edf7b9b928494dcaba6f11fba63180d9da6cd7061ebc34175ffda6ff529f481818c962952004d273178acd70f7059b320 + languageName: node + linkType: hard + "redent@npm:^3.0.0": version: 3.0.0 resolution: "redent@npm:3.0.0" @@ -11964,6 +12088,16 @@ fsevents@^2.3.2: languageName: node linkType: hard +"redent@npm:^4.0.0": + version: 4.0.0 + resolution: "redent@npm:4.0.0" + dependencies: + indent-string: ^5.0.0 + strip-indent: ^4.0.0 + checksum: 6944e7b1d8f3fd28c2515f5c605b9f7f0ea0f4edddf41890bbbdd4d9ee35abb7540c3b278f03ff827bd278bb6ff4a5bd8692ca406b748c5c1c3ce7355e9fbf8f + languageName: node + linkType: hard + "refa@npm:^0.11.0": version: 0.11.0 resolution: "refa@npm:0.11.0" @@ -12612,6 +12746,19 @@ fsevents@^2.3.2: languageName: node linkType: hard +"sass@npm:^1.68.0": + version: 1.68.0 + resolution: "sass@npm:1.68.0" + dependencies: + chokidar: ">=3.0.0 <4.0.0" + immutable: ^4.0.0 + source-map-js: ">=0.6.2 <2.0.0" + bin: + sass: sass.js + checksum: 65ccede83c96768beeb8dcaf67957b7c76b12ff1276bfd2849d7be151d46ba1400048a67717e6e5e4969bc75e87348e5530f5f272833f2e60a891c21a33d8ab0 + languageName: node + linkType: hard + "sax@npm:~1.2.4": version: 1.2.4 resolution: "sax@npm:1.2.4" @@ -12799,7 +12946,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"source-map-js@npm:^1.0.1, source-map-js@npm:^1.0.2": +"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.1, source-map-js@npm:^1.0.2": version: 1.0.2 resolution: "source-map-js@npm:1.0.2" checksum: c049a7fc4deb9a7e9b481ae3d424cc793cb4845daa690bc5a05d428bf41bf231ced49b4cf0c9e77f9d42fdb3d20d6187619fc586605f5eabe995a316da8d377c @@ -13060,6 +13207,15 @@ fsevents@^2.3.2: languageName: node linkType: hard +"strip-indent@npm:^4.0.0": + version: 4.0.0 + resolution: "strip-indent@npm:4.0.0" + dependencies: + min-indent: ^1.0.1 + checksum: 06cbcd93da721c46bc13caeb1c00af93a9b18146a1c95927672d2decab6a25ad83662772417cea9317a2507fb143253ecc23c4415b64f5828cef9b638a744598 + languageName: node + linkType: hard + "strip-json-comments@npm:^3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" @@ -13090,6 +13246,23 @@ fsevents@^2.3.2: languageName: node linkType: hard +"stylelint-config-recommended-scss@npm:^13.0.0": + version: 13.0.0 + resolution: "stylelint-config-recommended-scss@npm:13.0.0" + dependencies: + postcss-scss: ^4.0.7 + stylelint-config-recommended: ^13.0.0 + stylelint-scss: ^5.1.0 + peerDependencies: + postcss: ^8.3.3 + stylelint: ^15.10.0 + peerDependenciesMeta: + postcss: + optional: true + checksum: 5cbb771d756861ff11ee6fa85b8a58041798df9886a7621a9157caab308c965eeda75d7c532f01b620f632c282e0e32597d942cd6f18239dca949c6b78280ba8 + languageName: node + linkType: hard + "stylelint-config-recommended@npm:^12.0.0": version: 12.0.0 resolution: "stylelint-config-recommended@npm:12.0.0" @@ -13099,6 +13272,31 @@ fsevents@^2.3.2: languageName: node linkType: hard +"stylelint-config-recommended@npm:^13.0.0": + version: 13.0.0 + resolution: "stylelint-config-recommended@npm:13.0.0" + peerDependencies: + stylelint: ^15.10.0 + checksum: a56eb6d1a7c7f3a7a172b54bc34218859ba22a5a06816fb4d0964f66cb83cf372062f2c97830e994ad68243548e15fc49abf28887c3261ab1b471b3aa69f8e82 + languageName: node + linkType: hard + +"stylelint-config-standard-scss@npm:^11.0.0": + version: 11.0.0 + resolution: "stylelint-config-standard-scss@npm:11.0.0" + dependencies: + stylelint-config-recommended-scss: ^13.0.0 + stylelint-config-standard: ^34.0.0 + peerDependencies: + postcss: ^8.3.3 + stylelint: ^15.10.0 + peerDependenciesMeta: + postcss: + optional: true + checksum: b51102419a470478b201d5a584cc0d26a8207050bde091d99f29e56d9d3623bb765dd56dcc2a6eddbb1c7cfb5e4ef12a60506d60dd2a74d5f68f8751a2fc33de + languageName: node + linkType: hard + "stylelint-config-standard@npm:^33.0.0": version: 33.0.0 resolution: "stylelint-config-standard@npm:33.0.0" @@ -13110,21 +13308,47 @@ fsevents@^2.3.2: languageName: node linkType: hard -"stylelint@npm:^15.6.0": - version: 15.6.0 - resolution: "stylelint@npm:15.6.0" +"stylelint-config-standard@npm:^34.0.0": + version: 34.0.0 + resolution: "stylelint-config-standard@npm:34.0.0" + dependencies: + stylelint-config-recommended: ^13.0.0 + peerDependencies: + stylelint: ^15.10.0 + checksum: 536249800c04b48a9c354067765f042713982e8222be17bb897a27d26546e50adfb87e6f1e4541807d720de3554345da99ab470e13e8d7ab0ab326c73ae3df61 + languageName: node + linkType: hard + +"stylelint-scss@npm:^5.1.0": + version: 5.2.1 + resolution: "stylelint-scss@npm:5.2.1" + dependencies: + known-css-properties: ^0.28.0 + postcss-media-query-parser: ^0.2.3 + postcss-resolve-nested-selector: ^0.1.1 + postcss-selector-parser: ^6.0.13 + postcss-value-parser: ^4.2.0 + peerDependencies: + stylelint: ^14.5.1 || ^15.0.0 + checksum: 50fdff1f6af66b5f4afbb3e4dff0cfe9fbb58fe4649d71eb3feeca206706743f63779ee1f07063e33473f4e0c52389d3ea59b5282e47d90b21fd53ad8967e6a0 + languageName: node + linkType: hard + +"stylelint@npm:^15.10.3, stylelint@npm:^15.6.0": + version: 15.10.3 + resolution: "stylelint@npm:15.10.3" dependencies: - "@csstools/css-parser-algorithms": ^2.1.1 - "@csstools/css-tokenizer": ^2.1.1 - "@csstools/media-query-list-parser": ^2.0.4 - "@csstools/selector-specificity": ^2.2.0 + "@csstools/css-parser-algorithms": ^2.3.1 + "@csstools/css-tokenizer": ^2.2.0 + "@csstools/media-query-list-parser": ^2.1.4 + "@csstools/selector-specificity": ^3.0.0 balanced-match: ^2.0.0 colord: ^2.9.3 - cosmiconfig: ^8.1.3 - css-functions-list: ^3.1.0 + cosmiconfig: ^8.2.0 + css-functions-list: ^3.2.0 css-tree: ^2.3.1 debug: ^4.3.4 - fast-glob: ^3.2.12 + fast-glob: ^3.3.1 fastest-levenshtein: ^1.0.16 file-entry-cache: ^6.0.1 global-modules: ^2.0.0 @@ -13135,17 +13359,16 @@ fsevents@^2.3.2: import-lazy: ^4.0.0 imurmurhash: ^0.1.4 is-plain-object: ^5.0.0 - known-css-properties: ^0.27.0 + known-css-properties: ^0.28.0 mathml-tag-names: ^2.1.3 - meow: ^9.0.0 + meow: ^10.1.5 micromatch: ^4.0.5 normalize-path: ^3.0.0 picocolors: ^1.0.0 - postcss: ^8.4.22 - postcss-media-query-parser: ^0.2.3 + postcss: ^8.4.27 postcss-resolve-nested-selector: ^0.1.1 postcss-safe-parser: ^6.0.0 - postcss-selector-parser: ^6.0.11 + postcss-selector-parser: ^6.0.13 postcss-value-parser: ^4.2.0 resolve-from: ^5.0.0 string-width: ^4.2.3 @@ -13154,11 +13377,10 @@ fsevents@^2.3.2: supports-hyperlinks: ^3.0.0 svg-tags: ^1.0.0 table: ^6.8.1 - v8-compile-cache: ^2.3.0 - write-file-atomic: ^5.0.0 + write-file-atomic: ^5.0.1 bin: - stylelint: bin/stylelint.js - checksum: da246969361a141a06533c57b975f6a120b7e3c8591e20057a0e561397c151d0d13f8efa423663a5c5108dc0ea9b8e73756031ea54b281f578222d1e11737263 + stylelint: bin/stylelint.mjs + checksum: eb70dd0e4d500141f4868ddb7403ad7eb8732b02a3f2fe3907d0859369cedd395b60b0075da758b5be07de771c586b1bf64de4eead8159d46b0d16beff827e67 languageName: node linkType: hard @@ -13384,10 +13606,10 @@ fsevents@^2.3.2: languageName: node linkType: hard -"trim-newlines@npm:^3.0.0": - version: 3.0.1 - resolution: "trim-newlines@npm:3.0.1" - checksum: b530f3fadf78e570cf3c761fb74fef655beff6b0f84b29209bac6c9622db75ad1417f4a7b5d54c96605dcd72734ad44526fef9f396807b90839449eb543c6206 +"trim-newlines@npm:^4.0.2": + version: 4.1.1 + resolution: "trim-newlines@npm:4.1.1" + checksum: 5b09f8e329e8f33c1111ef26906332ba7ba7248cde3e26fc054bb3d69f2858bf5feedca9559c572ff91f33e52977c28e0d41c387df6a02a633cbb8c2d8238627 languageName: node linkType: hard @@ -13598,13 +13820,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"type-fest@npm:^0.18.0": - version: 0.18.1 - resolution: "type-fest@npm:0.18.1" - checksum: e96dcee18abe50ec82dab6cbc4751b3a82046da54c52e3b2d035b3c519732c0b3dd7a2fa9df24efd1a38d953d8d4813c50985f215f1957ee5e4f26b0fe0da395 - languageName: node - linkType: hard - "type-fest@npm:^0.20.2": version: 0.20.2 resolution: "type-fest@npm:0.20.2" @@ -13633,6 +13848,13 @@ fsevents@^2.3.2: languageName: node linkType: hard +"type-fest@npm:^1.0.1, type-fest@npm:^1.2.1, type-fest@npm:^1.2.2": + version: 1.4.0 + resolution: "type-fest@npm:1.4.0" + checksum: b011c3388665b097ae6a109a437a04d6f61d81b7357f74cbcb02246f2f5bd72b888ae33631b99871388122ba0a87f4ff1c94078e7119ff22c70e52c0ff828201 + languageName: node + linkType: hard + "typed-array-buffer@npm:^1.0.0": version: 1.0.0 resolution: "typed-array-buffer@npm:1.0.0" @@ -14003,13 +14225,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"v8-compile-cache@npm:^2.3.0": - version: 2.3.0 - resolution: "v8-compile-cache@npm:2.3.0" - checksum: adb0a271eaa2297f2f4c536acbfee872d0dd26ec2d76f66921aa7fc437319132773483344207bdbeee169225f4739016d8d2dbf0553913a52bb34da6d0334f8e - languageName: node - linkType: hard - "v8-to-istanbul@npm:^9.0.1": version: 9.1.0 resolution: "v8-to-istanbul@npm:9.1.0" @@ -14310,7 +14525,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"write-file-atomic@npm:^5.0.0": +"write-file-atomic@npm:^5.0.1": version: 5.0.1 resolution: "write-file-atomic@npm:5.0.1" dependencies: @@ -14384,7 +14599,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"yargs-parser@npm:^20.2.3": +"yargs-parser@npm:^20.2.9": version: 20.2.9 resolution: "yargs-parser@npm:20.2.9" checksum: 8bb69015f2b0ff9e17b2c8e6bfe224ab463dd00ca211eece72a4cd8a906224d2703fb8a326d36fdd0e68701e201b2a60ed7cf81ce0fd9b3799f9fe7745977ae3