fabrique 2.0.20 → 2.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fabrique",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI to build a library",
|
|
6
6
|
"keywords": [],
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@inquirer/prompts": "^8.7.
|
|
23
|
+
"@inquirer/prompts": "^8.7.4",
|
|
24
24
|
"chalk": "^6.0.1",
|
|
25
25
|
"commander": "^15.0.0",
|
|
26
26
|
"zod": "^4.6.7"
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: PR Code Quality
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
types:
|
|
6
|
+
- opened
|
|
7
|
+
- reopened
|
|
8
|
+
- ready_for_review
|
|
9
|
+
- synchronize
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: pr-code-quality-${{ github.event.pull_request.number }}
|
|
13
|
+
cancel-in-progress: true
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
check:
|
|
17
|
+
name: Check
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
# Run only for non-draft PRs: skipped while a PR is a draft
|
|
20
|
+
if: github.event.pull_request.draft == false
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- name: Checkout repository
|
|
24
|
+
uses: actions/checkout@v7
|
|
25
|
+
|
|
26
|
+
- name: Enable Corepack
|
|
27
|
+
run: corepack enable
|
|
28
|
+
|
|
29
|
+
- name: Setup Node.js
|
|
30
|
+
uses: actions/setup-node@v7
|
|
31
|
+
with:
|
|
32
|
+
node-version: '24'
|
|
33
|
+
cache: 'yarn'
|
|
34
|
+
|
|
35
|
+
- name: Install dependencies
|
|
36
|
+
run: yarn install --immutable
|
|
37
|
+
|
|
38
|
+
- name: Check code quality
|
|
39
|
+
run: yarn fb:check
|
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"=== FB: BUILD ===": "",
|
|
8
8
|
"fb:build": "fabrique build",
|
|
9
|
+
"=== FB: TEST ===": "",
|
|
10
|
+
"fb:test": "vitest run",
|
|
11
|
+
"fb:test:coverage": "vitest run --coverage",
|
|
12
|
+
"fb:bench": "vitest bench",
|
|
9
13
|
"=== FB: CODE QUALITY ===": "",
|
|
10
14
|
"fb:format": "yarn fb:format:fix",
|
|
11
15
|
"fb:format:check": "prettier --check --ignore-unknown --config .prettierrc \"./**/*.{js,jsx,ts,tsx,html,css,scss,json,md}\"",
|
|
@@ -14,11 +18,7 @@
|
|
|
14
18
|
"fb:check:types": "tsc -p tsconfig.json --noEmit",
|
|
15
19
|
"=== FB: RELEASE ===": "",
|
|
16
20
|
"fb:manual:release": "fabrique release",
|
|
17
|
-
"fb:ci:release": "fabrique ci release"
|
|
18
|
-
"=== FB: TEST ===": "",
|
|
19
|
-
"fb:test": "vitest run",
|
|
20
|
-
"fb:test:coverage": "vitest run --coverage",
|
|
21
|
-
"fb:bench": "vitest bench"
|
|
21
|
+
"fb:ci:release": "fabrique ci release"
|
|
22
22
|
},
|
|
23
23
|
"description": "{{description}}",
|
|
24
24
|
"keywords": [],
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
"@vitest/coverage-istanbul": "^5.0.5",
|
|
35
35
|
"prettier": "^3.9.10",
|
|
36
36
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
37
|
-
"typedoc": "^0.28.20",
|
|
38
37
|
"typescript": "^7.0.2",
|
|
39
38
|
"vite": "^8.3.4",
|
|
40
39
|
"vitest": "^5.0.5"
|