Skip to content

Commit c0730f3

Browse files
authored
Merge branch 'main' into copilot/fix-4342
2 parents 5353b24 + b7a624e commit c0730f3

File tree

120 files changed

+11279
-8575
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+11279
-8575
lines changed

.config/.lintstagedrc.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ export default {
1212
// ensure that security vulnerabilities are fixed before committing - we need to skip `dev` for the moment as there are some unsolveable conflicts
1313
'package-lock.json': 'npm audit fix --omit=dev',
1414
// ensure that lock file is up to date
15-
'**/package.json': () => 'npm install --package-lock-only --ignore-scripts',
15+
'**/package.json': [
16+
() => 'npm install --package-lock-only --ignore-scripts',
17+
'npx npm-package-json-lint'
18+
],
1619
};

.github/workflows/01-build-outputs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ jobs:
5353
- name: 🔨 Build outputs
5454
run: npm run build-outputs
5555

56+
- name: 📦 Validate Package Publishing
57+
run: |
58+
npm run lint-packages
59+
npm run lint-docs-file-references
60+
5661
- name: ⏫ Upload outputs
5762
uses: actions/upload-artifact@v4
5863
with:

.npmpackagejsonlintrc.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"rules": {
3+
"require-name": "error",
4+
"require-version": "error",
5+
"require-description": "error",
6+
"require-license": "error",
7+
"require-repository": "error",
8+
"valid-values-license": ["error", ["Apache-2.0"]],
9+
"require-files": "warning",
10+
"no-duplicate-properties": "error",
11+
"prefer-absolute-version-devDependencies": "off",
12+
"prefer-property-order": ["warning", [
13+
"name",
14+
"version",
15+
"type",
16+
"description",
17+
"repository",
18+
"homepage",
19+
"bugs",
20+
"author",
21+
"license",
22+
"private",
23+
"main",
24+
"types",
25+
"module",
26+
"exports",
27+
"files",
28+
"scripts",
29+
"dependencies",
30+
"devDependencies",
31+
"peerDependencies",
32+
"publishConfig"
33+
]]
34+
}
35+
}

README.md

Lines changed: 18 additions & 2 deletions
-6 Bytes
1.91 KB
-2 Bytes
1.81 KB
1.91 KB
1.92 KB

0 commit comments

Comments
 (0)