nuxt-spec 0.3.1 → 0.3.2
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/bin/setup.js +1 -1
- package/bin/update.js +1 -1
- package/nuxt.config.ts +5 -0
- package/package.json +2 -1
package/bin/setup.js
CHANGED
package/bin/update.js
CHANGED
|
@@ -4,7 +4,7 @@ import { execSync } from 'node:child_process'
|
|
|
4
4
|
import { getPackageManager, hasJsonKey, promptUser, showMessage } from 'elrh-cosca'
|
|
5
5
|
import { getPlaywrightInstallCmd, getUpdateCmd } from './helpers/commands.js'
|
|
6
6
|
|
|
7
|
-
const TARGET_VERSION = '0.3.
|
|
7
|
+
const TARGET_VERSION = '0.3.2'
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* CLI tool to update existing `nuxt-spec` installation.
|
package/nuxt.config.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
// @nuxt/hints module is included by default
|
|
2
|
+
// set NUXT_SPEC_HINTS_ENABLED=false to exclude it
|
|
3
|
+
const hintsEnabled = process.env.NUXT_SPEC_HINTS_ENABLED !== 'false'
|
|
4
|
+
|
|
1
5
|
export default defineNuxtConfig({
|
|
2
6
|
modules: [
|
|
3
7
|
'@nuxt/eslint',
|
|
4
8
|
'@nuxt/test-utils/module',
|
|
9
|
+
...(hintsEnabled ? ['@nuxt/hints'] : []),
|
|
5
10
|
],
|
|
6
11
|
|
|
7
12
|
// exclude file used for explicit exports (nuxt-spec/components) from Nuxt resolution
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-spec",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Test-pack layer for Nuxt Applications",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@nuxt/eslint": "~1.17.0",
|
|
42
|
+
"@nuxt/hints": "1.1.4",
|
|
42
43
|
"@nuxt/test-utils": "4.1.0",
|
|
43
44
|
"@vitejs/plugin-vue": "~6.0.8",
|
|
44
45
|
"@vitest/browser": "4.1.10",
|