@dimensional-innovations/tool-config 1.2.2 → 1.2.3
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": "@dimensional-innovations/tool-config",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Universal configuration package for ESLint, Prettier, Stylelint, and semantic-release with auto-detection for React, Vue, Svelte, Solid, Astro, Angular, and more",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
package/src/detectors.js
CHANGED
|
@@ -38,7 +38,7 @@ function detectSvelteMetaFramework(deps) {
|
|
|
38
38
|
*/
|
|
39
39
|
function detectBaseFramework(deps) {
|
|
40
40
|
if (deps.react || deps['react-dom']) return 'react'
|
|
41
|
-
if (deps.vue || deps['@vue/runtime-core']) return 'vue'
|
|
41
|
+
if (deps.vue || deps['@vue/runtime-core'] || deps['vue-router'] || deps.pinia) return 'vue'
|
|
42
42
|
if (deps['@angular/core']) return 'angular'
|
|
43
43
|
if (deps.svelte) return 'svelte'
|
|
44
44
|
if (deps['solid-js']) return 'solid'
|
|
@@ -59,6 +59,10 @@ test:
|
|
|
59
59
|
# Release job - runs semantic-release on main branch
|
|
60
60
|
release:
|
|
61
61
|
stage: release
|
|
62
|
+
before_script:
|
|
63
|
+
# Install git (required by semantic-release)
|
|
64
|
+
- apk add --no-cache git
|
|
65
|
+
- npm ci --cache .npm --prefer-offline
|
|
62
66
|
script:
|
|
63
67
|
- npm run release
|
|
64
68
|
only:
|