fg-devkit 1.12.9 → 1.12.11

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "toolchain": {
3
- "packageManager": "pnpm@11.9.0",
3
+ "packageManager": "pnpm@11.18.0",
4
4
  "node": {
5
5
  "nvmrc": "22",
6
6
  "engines": ">=22.13.0",
@@ -15,10 +15,10 @@
15
15
  "@lexical/list": "0.30.0",
16
16
  "@lexical/rich-text": "0.30.0",
17
17
  "@piwikpro/vue-piwik-pro": "1.7.1",
18
- "@sentry/browser": "10.68.0",
18
+ "@sentry/browser": "10.69.0",
19
19
  "@sentry/tracing": "7.120.4",
20
- "@sentry/vue": "10.68.0",
21
- "@sentry/wasm": "10.68.0",
20
+ "@sentry/vue": "10.69.0",
21
+ "@sentry/wasm": "10.69.0",
22
22
  "@tailwindcss/postcss": "4.3.3",
23
23
  "@tanstack/vue-query": "5.101.4",
24
24
  "@types/leaflet": "1.9.21",
@@ -27,7 +27,7 @@
27
27
  "@vuelidate/core": "2.0.3",
28
28
  "@vuelidate/validators": "2.0.4",
29
29
  "@vueuse/components": "12.7.0",
30
- "@vueuse/core": "14.3.0",
30
+ "@vueuse/core": "14.4.0",
31
31
  "chart.js": "4.5.1",
32
32
  "content-disposition-header": "0.6.0",
33
33
  "date-fns": "4.4.0",
@@ -60,11 +60,11 @@
60
60
  "@eslint/js": "9.39.1",
61
61
  "@intlify/unplugin-vue-i18n": "11.2.4",
62
62
  "@playwright/test": "1.62.0",
63
- "@storybook/addon-a11y": "10.5.4",
64
- "@storybook/addon-docs": "10.5.4",
65
- "@storybook/addon-vitest": "10.5.4",
66
- "@storybook/vue3": "10.5.4",
67
- "@storybook/vue3-vite": "10.5.4",
63
+ "@storybook/addon-a11y": "10.5.5",
64
+ "@storybook/addon-docs": "10.5.5",
65
+ "@storybook/addon-vitest": "10.5.5",
66
+ "@storybook/vue3": "10.5.5",
67
+ "@storybook/vue3-vite": "10.5.5",
68
68
  "@tanstack/vue-query-devtools": "6.1.38",
69
69
  "@tsconfig/node22": "22.0.5",
70
70
  "@types/lodash-es": "4.17.12",
@@ -77,13 +77,13 @@
77
77
  "@vuepic/vue-datepicker": "6.0.3",
78
78
  "arg": "5.0.2",
79
79
  "babel-eslint": "10.1.0",
80
- "eslint-plugin-storybook": "10.5.4",
80
+ "eslint-plugin-storybook": "10.5.5",
81
81
  "globals": "15.11.0",
82
82
  "jsdom": "26.1.0",
83
- "postcss": "8.5.23",
83
+ "postcss": "8.5.25",
84
84
  "sass": "1.102.0",
85
85
  "start-server-and-test": "2.1.3",
86
- "storybook": "10.5.4",
86
+ "storybook": "10.5.5",
87
87
  "tsx": "4.23.1",
88
88
  "vega": "6.3.1",
89
89
  "vite-plugin-dts": "4.5.4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fg-devkit",
3
- "version": "1.12.9",
3
+ "version": "1.12.11",
4
4
  "description": "Shared configs, scripts, and DX tooling for Vue / TypeScript frontend repos",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -106,24 +106,24 @@
106
106
  "@inquirer/input": "5.1.2",
107
107
  "@inquirer/select": "5.2.1",
108
108
  "@intlify/eslint-plugin-vue-i18n": "4.5.1",
109
- "@typescript-eslint/eslint-plugin": "8.62.0",
110
- "@typescript-eslint/parser": "8.62.0",
111
- "@vitest/eslint-plugin": "1.6.20",
109
+ "@typescript-eslint/eslint-plugin": "8.65.0",
110
+ "@typescript-eslint/parser": "8.65.0",
111
+ "@vitest/eslint-plugin": "1.6.24",
112
112
  "@vue/eslint-config-prettier": "10.2.0",
113
113
  "@vue/eslint-config-typescript": "14.9.0",
114
114
  "@vue/tsconfig": "0.9.1",
115
- "eslint": "10.5.0",
115
+ "eslint": "10.8.0",
116
116
  "eslint-plugin-prettier": "5.5.6",
117
- "eslint-plugin-vue": "10.9.2",
117
+ "eslint-plugin-vue": "10.10.0",
118
118
  "fallow": "2.101.0",
119
119
  "git-cliff": "2.13.1",
120
- "lefthook": "2.1.9",
120
+ "lefthook": "2.1.10",
121
121
  "npm-check-updates": "22.2.7",
122
- "prettier": "3.8.4",
123
- "tsx": "4.22.4",
122
+ "prettier": "3.9.6",
123
+ "tsx": "4.23.1",
124
124
  "typescript": "5.9.3",
125
125
  "vue-eslint-parser": "10.4.1",
126
- "vue-tsc": "3.3.5"
126
+ "vue-tsc": "3.3.8"
127
127
  },
128
128
  "devDependencies": {
129
129
  "cz-git": "1.13.1",
@@ -34,13 +34,13 @@
34
34
  "@tanstack/vue-query-devtools": "6.1.38",
35
35
  "@types/node": "22.16.5",
36
36
  "@vitejs/plugin-vue": "6.0.8",
37
- "fg-devkit": "1.12.9",
37
+ "fg-devkit": "1.12.11",
38
38
  "start-server-and-test": "2.1.3",
39
39
  "tailwindcss": "4.3.3",
40
40
  "tsx": "4.23.1",
41
41
  "vite": "7.3.5"
42
42
  },
43
- "packageManager": "pnpm@11.9.0",
43
+ "packageManager": "pnpm@11.18.0",
44
44
  "engines": {
45
45
  "node": ">=22.13.0"
46
46
  }
@@ -14,9 +14,21 @@ const cwd = process.cwd()
14
14
  const packageJsonPath = path.join(cwd, 'package.json')
15
15
  const workspaceYamlPath = path.join(cwd, 'pnpm-workspace.yaml')
16
16
 
17
+ /** Strip surrounding single/double quotes from YAML scalar keys/values. */
18
+ function unquoteYamlScalar(value) {
19
+ if (
20
+ (value.startsWith("'") && value.endsWith("'")) ||
21
+ (value.startsWith('"') && value.endsWith('"'))
22
+ ) {
23
+ return value.slice(1, -1)
24
+ }
25
+ return value
26
+ }
27
+
17
28
  function getOverridePackageName(overrideKey) {
18
- const match = overrideKey.match(/^(@[^/]+\/[^@]+|[^@]+)@/)
19
- return match ? match[1] : overrideKey
29
+ const key = unquoteYamlScalar(overrideKey.trim())
30
+ const match = key.match(/^(@[^/]+\/[^@]+|[^@]+)@/)
31
+ return match ? match[1] : key
20
32
  }
21
33
 
22
34
  /** Read flat `overrides:` entries from pnpm-workspace.yaml (no YAML dependency). */
@@ -33,7 +45,9 @@ function readWorkspaceOverrides(yamlPath) {
33
45
  if (/^\S/.test(line)) break
34
46
  const match = line.match(/^ ([^:]+):\s*(.+?)\s*$/)
35
47
  if (match) {
36
- overrides[match[1].trim()] = match[2].trim()
48
+ const key = unquoteYamlScalar(match[1].trim())
49
+ const value = unquoteYamlScalar(match[2].trim())
50
+ overrides[key] = value
37
51
  }
38
52
  }
39
53
  return overrides