From 3aafd17e4b43edb2c42632606d0c464354e1b4ad Mon Sep 17 00:00:00 2001 From: kujirahand Date: Thu, 23 May 2024 23:49:54 +0900 Subject: [PATCH] =?UTF-8?q?npm=20exec=20cnako3=E3=81=A7=E3=82=B3=E3=83=9E?= =?UTF-8?q?=E3=83=B3=E3=83=89=E3=81=8C=E5=AE=9F=E8=A1=8C=E3=81=A7=E3=81=8D?= =?UTF-8?q?=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20#1667?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/cnako3 | 5 +++-- core | 2 +- src/cnako3.mts | 1 + src/plugin_caniuse.mjs | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bin/cnako3 b/bin/cnako3 index 0254a3c4..ec965f1f 100755 --- a/bin/cnako3 +++ b/bin/cnako3 @@ -1,4 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash + ROOT_DIR=$( cd $(dirname "$0") cd .. @@ -9,7 +10,7 @@ NAKO_JS=$SRC_DIR/cnako3.mjs # check compiled file if [ ! -e "$NAKO_JS" ]; then - cd $ROOT_DIR && npm run build + cd $ROOT_DIR && npm install && npm run build fi # run cnako3.js diff --git a/core b/core index b8129452..f7c35a50 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit b81294521a7869144c5c6edcf6c176ddec17aa32 +Subproject commit f7c35a5022097ad02a26e182209cacf14f36bf76 diff --git a/src/cnako3.mts b/src/cnako3.mts index 6630d441..0e9715cf 100755 --- a/src/cnako3.mts +++ b/src/cnako3.mts @@ -1,3 +1,4 @@ +#!/usr/bin/env node /** * コマンドライン版のなでしこ3 */ diff --git a/src/plugin_caniuse.mjs b/src/plugin_caniuse.mjs index 30b7bb7c..87bdc3b4 100644 --- a/src/plugin_caniuse.mjs +++ b/src/plugin_caniuse.mjs @@ -11,7 +11,7 @@ const PluginCaniuse = { value: { pluginName: 'plugin_caniuse', // プラグインの名前 description: '対応ブラウザを判定するためのプラグイン', // 説明 - pluginVersion: '3.6.0', // プラグインのバージョン + pluginVersion: '3.6.1', // プラグインのバージョン nakoRuntime: ['wnako'], // 対象ランタイム nakoVersion: '3.6.0' // 要求なでしこバージョン }