Skip to content

Commit

Permalink
npm exec cnako3でコマンドが実行できない問題を修正 #1667
Browse files Browse the repository at this point in the history
  • Loading branch information
kujirahand committed May 23, 2024
1 parent 370fc9f commit 3aafd17
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions bin/cnako3
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash

ROOT_DIR=$(
cd $(dirname "$0")
cd ..
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core
Submodule core updated 1 files
+1 −1 src/nako_gen.mts
1 change: 1 addition & 0 deletions src/cnako3.mts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node
/**
* コマンドライン版のなでしこ3
*/
Expand Down
2 changes: 1 addition & 1 deletion src/plugin_caniuse.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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' // 要求なでしこバージョン
}
Expand Down

0 comments on commit 3aafd17

Please sign in to comment.