-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1247 from xeroxinteractive/next
Release dependency updates + Vitest
- Loading branch information
Showing
22 changed files
with
1,970 additions
and
2,356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"name": "eslint-typescript", | ||
"devDependencies": { | ||
"@types/node": "18.16.18", | ||
"@types/node": "18.17.3", | ||
"@xerox/eslint-config": "workspace:*", | ||
"typescript": "5.1.3" | ||
"typescript": "5.1.6" | ||
}, | ||
"private": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,8 @@ | |
"lint": "eslint ./packages/**/*.js && prettier ./**/*.json --check --ignore-path .gitignore && pnpm --filter './packages/*' run lint", | ||
"format": "eslint ./packages/**/*.js --format && prettier ./**/*.json --write --ignore-path .gitignore", | ||
"deploy": "auto shipit", | ||
"test": "jest" | ||
"test": "vitest", | ||
"audit": "pnpm audit --prod --audit-level moderate" | ||
}, | ||
"eslintConfig": { | ||
"parserOptions": { | ||
|
@@ -28,47 +29,52 @@ | |
}, | ||
"prettier": "./packages/xerox-prettier-config/index.js", | ||
"devDependencies": { | ||
"@auto-it/core": "10.46.0", | ||
"@auto-it/slack": "10.46.0", | ||
"auto": "10.46.0", | ||
"browserslist": "4.21.9", | ||
"@auto-it/core": "11.0.0", | ||
"@auto-it/slack": "11.0.0", | ||
"auto": "11.0.0", | ||
"browserslist": "4.21.10", | ||
"enhanced-resolve": "5.15.0", | ||
"eslint": "8.42.0", | ||
"jest": "29.5.0", | ||
"jest-package-audit": "5.0.3", | ||
"lerna": "7.0.2", | ||
"prettier": "2.8.8", | ||
"stylelint": "15.7.0" | ||
"eslint": "8.46.0", | ||
"lerna": "7.1.4", | ||
"prettier": "3.0.1", | ||
"stylelint": "15.10.2", | ||
"vitest": "0.34.1" | ||
}, | ||
"resolutions": { | ||
"yargs-parser@<13.1.2": "^13.1.2", | ||
"yargs-parser@>=15.0.0 <15.0.1": "^15.0.1", | ||
"yargs-parser@>=18.0.0 <18.1.2": "^18.1.2", | ||
"yargs-parser@>=20.0.0 <20.2.0": "^20.2.0", | ||
"mem@<4.0.0": "^4.0.0", | ||
"y18n@<3.2.2": "^3.2.2", | ||
"y18n@>=4.0.0 <4.0.1": "^4.0.1", | ||
"y18n@>=5.0.0 <5.0.5": "^5.0.5", | ||
"hosted-git-info@<2.8.9": "^2.8.9", | ||
"hosted-git-info@>=3.0.0 <3.0.8": "^3.0.8", | ||
"glob-parent@<5.1.2": "^5.1.2", | ||
"trim-newlines@<3.0.1": "^3.0.1", | ||
"trim-newlines@>=4.0.0 <4.0.1": "^4.0.1", | ||
"trim@<0.0.3": "^0.0.3", | ||
"handlebars@<4.7.7": "^4.7.7", | ||
"normalize-url@<4.5.1": "^4.5.1", | ||
"normalize-url@>=5.0.0 <5.3.1": "^5.3.1", | ||
"normalize-url@>=6.0.0 <6.0.1": "^6.0.1", | ||
"@npmcli/git@<2.0.8": "^2.0.8", | ||
"path-parse@<1.0.7": "^1.0.7", | ||
"tar@<6.1.1": "^6.1.1", | ||
"json-schema@<0.4.0": "^0.4.0", | ||
"@npmcli/arborist@<2.8.2": "^2.8.2", | ||
"node-fetch@<2.6.7": "^2.6.7", | ||
"minimist@<1.2.6": "^1.2.6", | ||
"npm@<8.11.0": "^8.11.0", | ||
"minimatch@<3.0.5": "^3.0.5", | ||
"json5@<1.0.2": "^1.0.2" | ||
}, | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]", | ||
"pnpm": { | ||
"overrides": { | ||
"yargs-parser@<13.1.2": "^13.1.2", | ||
"yargs-parser@>=15.0.0 <15.0.1": "^15.0.1", | ||
"yargs-parser@>=18.0.0 <18.1.2": "^18.1.2", | ||
"yargs-parser@>=20.0.0 <20.2.0": "^20.2.0", | ||
"mem@<4.0.0": "^4.0.0", | ||
"y18n@<3.2.2": "^3.2.2", | ||
"y18n@>=4.0.0 <4.0.1": "^4.0.1", | ||
"y18n@>=5.0.0 <5.0.5": "^5.0.5", | ||
"hosted-git-info@<2.8.9": "^2.8.9", | ||
"hosted-git-info@>=3.0.0 <3.0.8": "^3.0.8", | ||
"glob-parent@<5.1.2": "^5.1.2", | ||
"trim-newlines@<3.0.1": "^3.0.1", | ||
"trim-newlines@>=4.0.0 <4.0.1": "^4.0.1", | ||
"trim@<0.0.3": "^0.0.3", | ||
"handlebars@<4.7.7": "^4.7.7", | ||
"normalize-url@<4.5.1": "^4.5.1", | ||
"normalize-url@>=5.0.0 <5.3.1": "^5.3.1", | ||
"normalize-url@>=6.0.0 <6.0.1": "^6.0.1", | ||
"@npmcli/git@<2.0.8": "^2.0.8", | ||
"path-parse@<1.0.7": "^1.0.7", | ||
"tar@<6.1.1": "^6.1.1", | ||
"json-schema@<0.4.0": "^0.4.0", | ||
"@npmcli/arborist@<2.8.2": "^2.8.2", | ||
"node-fetch@<2.6.7": "^2.6.7", | ||
"minimist@<1.2.6": "^1.2.6", | ||
"npm@<8.11.0": "^8.11.0", | ||
"minimatch@<3.0.5": "^3.0.5", | ||
"json5@<1.0.2": "^1.0.2", | ||
"semver@<5.7.2": "^5.7.2", | ||
"semver@>6.3.0 <6.3.1": "^6.3.1", | ||
"semver@>=7.0.0 <7.5.2": "^7.5.2", | ||
"word-wrap@<1.2.4": "^1.2.4" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...x-eslint-config/__tests__/configs.test.js → ...-eslint-config/__tests__/configs.test.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...-eslint-config/__tests__/fixtures.test.js → ...eslint-config/__tests__/fixtures.test.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
packages/xerox-stylelint-config/__tests__/configs.test.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { test, expect } from 'vitest'; | ||
import styelint from 'stylelint'; | ||
|
||
test.each(['index.cjs', 'sass.cjs'])('%s config valid', async (filename) => { | ||
await expect( | ||
styelint.lint({ | ||
code: 'a {}', | ||
config: { | ||
extends: `./${filename}`, | ||
}, | ||
configBasedir: new URL('../', import.meta.url).pathname, | ||
}) | ||
).resolves.toBeTruthy(); | ||
}); |
File renamed without changes.
Oops, something went wrong.