File tree Expand file tree Collapse file tree 6 files changed +11
-10
lines changed Expand file tree Collapse file tree 6 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " nuxt-compile-markdown" ,
3+ "type" : " module" ,
34 "version" : " 0.0.0" ,
45 "packageManager" : " pnpm@8.6.12" ,
56 "description" : " My new Nuxt module" ,
6- "repository" : " nuxt-modules/compile-markdown" ,
77 "license" : " MIT" ,
8- "type " : " module " ,
8+ "repository " : " nuxt-modules/compile-markdown " ,
99 "exports" : {
1010 "." : {
1111 "types" : " ./dist/types.d.ts" ,
Original file line number Diff line number Diff line change 11export default defineNuxtRouteMiddleware ( ( to ) => {
2+ // eslint-disable-next-line no-console
23 console . log ( '[log middleware] Going to ' , to . path )
34} )
Original file line number Diff line number Diff line change 11{
2- "private" : true ,
32 "name" : " nuxt-compile-markdown-playground" ,
43 "type" : " module" ,
4+ "private" : true ,
55 "scripts" : {
66 "dev" : " nuxi dev" ,
77 "build" : " nuxi build" ,
Original file line number Diff line number Diff line change 1- import { describe , it , expect } from 'vitest'
21import { fileURLToPath } from 'node:url'
3- import { setup , $fetch } from '@nuxt/test-utils'
2+ import { describe , expect , it } from 'vitest'
3+ import { $fetch , setup } from '@nuxt/test-utils'
44
55describe ( 'ssr' , async ( ) => {
66 await setup ( {
Original file line number Diff line number Diff line change 1+ <script setup>
2+ </script >
3+
14<template >
25 <div >basic</div >
36</template >
4-
5- <script setup>
6- </script >
Original file line number Diff line number Diff line change 11{
22 "name" : " basic" ,
3- "private " : true ,
4- "type " : " module "
3+ "type " : " module " ,
4+ "private " : true
55}
You can’t perform that action at this time.
0 commit comments