From e2d06b8d05c7d344f68386669b82c2e0638dc6c6 Mon Sep 17 00:00:00 2001 From: Cloyd Lau <31238760+cloydlau@users.noreply.github.com> Date: Wed, 6 Sep 2023 16:59:03 +0800 Subject: [PATCH] release: v0.10.12 --- package.json | 3 ++- scripts/postinstall.mts | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fd8927f..518fc12 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "json-editor-vue", "PascalCasedName": "JsonEditorVue", - "version": "0.10.11", + "version": "0.10.12", "private": false, "description": "JSON editor & viewer for Vue 2.6/2.7/3 & Nuxt 2/3.", "author": "Cloyd Lau", @@ -35,6 +35,7 @@ "files": [ "dist", "docs", + "scripts", "nuxt.ts" ], "scripts": { diff --git a/scripts/postinstall.mts b/scripts/postinstall.mts index 8815917..e97672a 100644 --- a/scripts/postinstall.mts +++ b/scripts/postinstall.mts @@ -1,6 +1,9 @@ import process from 'node:process' import spawn from 'cross-spawn' +console.log(123, process.env.INIT_CWD) +console.log(456, process.cwd()) + // simple-git-hooks might not be installed when installing json-editor-vue as a dependency if (process.env.INIT_CWD !== process.cwd()) { process.exit()