差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:dokuwiki:codemirror_plugin [2025/04/03 16:01] – [参考文献] ともやんlinux:dokuwiki:codemirror_plugin [2025/04/06 15:12] (現在) ともやん
行 1: 行 1:
 ====== CodeMirror Plugin ====== ====== CodeMirror Plugin ======
 本家: [[https://www.dokuwiki.org/plugin:codemirror|plugin:codemirror [DokuWiki]]]\\ 本家: [[https://www.dokuwiki.org/plugin:codemirror|plugin:codemirror [DokuWiki]]]\\
-ソースコード: [[https://gitlab.com/albertgasset/dokuwiki-plugin-codemirror|Albert Gasset / dokuwiki-plugin-codemirror · GitLab]]\\+ソースコード: [[git>cosmocode/dokuwiki-plugin-codemirror/|cosmocode/dokuwiki-plugin-codemirror: This project is now hosted on GitLab https://gitlab.com/albertgasset/dokuwiki-plugin-codemirror]]\\ 
 + [[glb>albertgasset/dokuwiki-plugin-codemirror/|Albert Gasset / dokuwiki-plugin-codemirror · GitLab]] (Old)\\ 
 + [[git>albertgasset/dokuwiki-plugin-codemirror/|albertgasset/dokuwiki-plugin-codemirror: This project is now hosted on GitLab https://gitlab.com/albertgasset/dokuwiki-plugin-codemirror]] (Old)\\
  
 ===== インストール (ソースコード) ===== ===== インストール (ソースコード) =====
 [[https://www.dokuwiki.org/plugin:codemirror|plugin:codemirror [DokuWiki]]]\\ [[https://www.dokuwiki.org/plugin:codemirror|plugin:codemirror [DokuWiki]]]\\
 +[[javascript:pnpm|pnpm - 高速、かつディスク容量効率が良いパッケージマネージャー]]\\
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<font color="#0087FF"><b>$</b></font> <font color="#26A269">deno</font> install <font color="#A347BA">-g</font> <font color="#A347BA">-A</font> npm:grunt-cli+<font color="#0087FF"><b>$</b></font> <font color="#26A269">pnpm</font> <font color="#A347BA">-g</font> install grunt-cli
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
-✅ Successfully installed grunt-cli +<span style="background-color:#A2734C"><font color="#171421"> WARN </font></span> <font color="#C01C28">6 deprecated subdependencies found:</font> are-we-there-yet@3.0.1, gauge@4.0.4, glob@7.2.3, inflight@1.0.6, npmlog@6.0.2, sourcemap-codec@1.4.8 
-/home/tomoyan/.deno/bin/grunt-cli+Packages: <font color="#26A269">+40</font> 
 +<font color="#26A269">++++++++++++++++++++++++++++++++++++++++</font> 
 +Progress: resolved <font color="#33C7DE">206</font>, reused <font color="#33C7DE">205</font>, downloaded <font color="#33C7DE">0</font>, added <font color="#33C7DE">0</font>, done 
 + 
 +<font color="#33C7DE">/home/tomoyan/.local/share/pnpm/global/5:</font> 
 +<font color="#26A269">+</font> grunt-cli <font color="#5E5C64">1.5.0</font> 
 + 
 +Done in 2.6s using pnpm v10.7.1
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
行 17: 行 27:
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<font color="#0087FF"><b>$</b></font> <font color="#26A269">git</font> clone https://github.com/albertgasset/dokuwiki-plugin-codemirror.git codemirror+<font color="#0087FF"><b>$</b></font> <font color="#26A269">git</font> clone https://github.com/cosmocode/dokuwiki-plugin-codemirror.git codemirror
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
 Cloning into &apos;codemirror&apos;... Cloning into &apos;codemirror&apos;...
-remote: Enumerating objects: 558, done. +remote: Enumerating objects: 616, done. 
-remote: Total 558 (delta 0), reused (delta 0), pack-reused 558 (from 1) +remote: Counting objects: 100% (17/17), done. 
-Receiving objects: 100% (558/558), 178.71 KiB | 563.00 KiB/s, done. +remote: Compressing objects: 100% (8/8), done. 
-Resolving deltas: 100% (310/310), done.< +remote: Total 616 (delta 5), reused 16 (delta 5), pack-reused 599 (from 1) 
-/pre></html></WRAP>+Receiving objects: 100% (616/616), 187.82 KiB | 515.00 KiB/s, done. 
 +Resolving deltas: 100% (337/337), done. 
 +</pre></html></WRAP>
 </WRAP> </WRAP>
  
行 31: 行 43:
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
 <font color="#0087FF"><b>$</b></font> <font color="#26A269">cd</font> <u style="text-decoration-style:solid">codemirror</u> <font color="#0087FF"><b>$</b></font> <font color="#26A269">cd</font> <u style="text-decoration-style:solid">codemirror</u>
-<font color="#0087FF"><b>$</b></font> <font color="#26A269">deno</font> install+<font color="#0087FF"><b>$</b></font> <font color="#26A269">pnpm</font> install 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre class=BSc> 
 +<span style="background-color:#A2734C"><font color="#171421"> WARN </font></span> <font color="#C01C28">17 deprecated subdependencies found:</font> are-we-there-yet@1.1.7, boom@2.10.1, cryptiles@2.0.5, gauge@2.7.4, glob@7.1.7, glob@7.2.3, har-validator@4.2.1, hawk@3.1.3, hoek@2.16.3, iltorb@2.4.5, inflight@1.0.6, npmlog@4.1.2, osenv@0.1.5, request@2.81.0, rimraf@2.7.1, sntp@1.0.9, uuid@3.4.0 
 +Packages: <font color="#26A269">+373</font> 
 +<font color="#26A269">++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</font> 
 +Progress: resolved <font color="#33C7DE">373</font>, reused <font color="#33C7DE">373</font>, downloaded <font color="#33C7DE">0</font>, added <font color="#33C7DE">373</font>, done 
 + 
 +<font color="#33C7DE">devDependencies:</font> 
 +<font color="#26A269">+</font> cm-show-invisibles <font color="#5E5C64">1.2.1</font> <font color="#5E5C64">(3.1.0 is available)</font> 
 +<font color="#26A269">+</font> codemirror <font color="#5E5C64">5.65.19</font> <font color="#5E5C64">(6.0.1 is available)</font> 
 +<font color="#26A269">+</font> grunt <font color="#5E5C64">1.6.1</font> 
 +<font color="#26A269">+</font> grunt-contrib-clean <font color="#5E5C64">1.1.0</font> <font color="#5E5C64">(2.0.1 is available)</font> 
 +<font color="#26A269">+</font> grunt-contrib-compress <font color="#5E5C64">1.6.0</font> <font color="#5E5C64">(2.0.0 is available)</font> 
 +<font color="#26A269">+</font> grunt-contrib-jshint <font color="#5E5C64">1.1.0</font> <font color="#5E5C64">(3.2.0 is available)</font> 
 +<font color="#26A269">+</font> grunt-contrib-less <font color="#5E5C64">1.4.1</font> <font color="#5E5C64">(3.0.0 is available)</font> 
 +<font color="#26A269">+</font> grunt-contrib-uglify <font color="#5E5C64">2.3.0</font> <font color="#5E5C64">(5.2.2 is available)</font> 
 +<font color="#26A269">+</font> grunt-contrib-watch <font color="#5E5C64">1.1.0</font> 
 + 
 +<font color="#A2734C">╭ Warning ───────────────────────────────────────────────────────────────────────────────────╮</font> 
 +<font color="#A2734C">│</font>                                                                                            <font color="#A2734C">│</font> 
 +<font color="#A2734C">│</font>   Ignored build scripts: iltorb.                                                           <font color="#A2734C">│</font> 
 +<font color="#A2734C">│</font>   Run &quot;pnpm approve-builds&quot; to pick which dependencies should be allowed to run scripts.   <font color="#A2734C">│</font> 
 +<font color="#A2734C">│</font>                                                                                            <font color="#A2734C">│</font> 
 +<font color="#A2734C">╰────────────────────────────────────────────────────────────────────────────────────────────╯</font> 
 + 
 +Done in 5.8s using pnpm v10.7.1 
 +</pre></html></WRAP> 
 +</WRAP> 
 + 
 +<WRAP color_term> 
 +<WRAP color_command><html><pre> 
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">grunt</font>
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
-<font color="#A2734C">Warning</font> The following packages are deprecated: +<u style="text-decoration-style:solid">Running &quot;jshint:scripts&quot; (jshint) task</u> 
-┠─ <font color="#8A8A8A">npm:glob@7.1.7 (Glob versions prior to v9 are no longer supported)</font+<font color="#26A269">&gt;&gt; </font>2 files lint free. 
-┠─ <font color="#8A8A8A">npm:rimraf@2.7.1 (Rimraf versions prior to v4 are no longer supported)</font> + 
-┠─ <font color="#8A8A8A">npm:npmlog@4.1.2 (This package is no longer supported.)</font+<u style="text-decoration-style:solid">Running &quot;clean:dist&quot; (cleantask</u
-┠─ <font color="#8A8A8A">npm:request@2.81.0 (request has been deprecated, see https://github.com/request/request/issues/3142)</font> +<font color="#26A269">&gt;&gt; </font>0 paths cleaned. 
-┠─ <font color="#8A8A8A">npm:inflight@1.0.6 (This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.)</font+ 
-┠─ <font color="#8A8A8A">npm:are-we-there-yet@1.1.7 (This package is no longer supported.)</font> +<u style="text-decoration-style:solid">Running &quot;less:styles&quot; (lesstask</u
-┠─ <font color="#8A8A8A">npm:gauge@2.7.4 (This package is no longer supported.)</font> +<font color="#26A269">&gt;&gt; </font>1 stylesheet created. 
-┠─ <font color="#8A8A8A">npm:har-validator@4.2.1 (this library is no longer supported)</font> +<font color="#26A269">&gt;&gt; </font>sourcemap created. 
-┠─ <font color="#8A8A8A">npm:uuid@3.4.0 (Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.)</font> + 
-┠─ <font color="#8A8A8A">npm:osenv@0.1.5 (This package is no longer supported.)</font> +<u style="text-decoration-style:solid">Running &quot;uglify:keymaps&quot; (uglifytask</u
-┠─ <font color="#8A8A8A">npm:hawk@3.1.3 (This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.)</font+<font color="#26A269">&gt;&gt; </font>3 sourcemaps created. 
-┠─ <font color="#8A8A8A">npm:cryptiles@2.0.5 (This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).)</font> +<font color="#26A269">&gt;&gt; </font>3 files created <font color="#196C46">275.24 kB</font><font color="#7D7D7D"> → </font><font color="#196C46">115.58 kB</font> 
-┠─ <font color="#8A8A8A">npm:sntp@1.0.9 (This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.)</font> + 
-┠─ <font color="#8A8A8A">npm:boom@2.10.(This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).)</font> +<u style="text-decoration-style:solid">Running &quot;uglify:modes&quot; (uglifytask</u
-┠─ <font color="#8A8A8A">npm:hoek@2.16.3 (This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).)</font> +<font color="#26A269">&gt;&gt; </font>121 sourcemaps created. 
-┖─ <font color="#8A8A8A">npm:iltorb@2.4.5 (The zlib module provides APIs for brotli compression/decompression starting with Node.js v10.16.0, please use it over iltorb)</font+<font color="#26A269">&gt;&gt; </font>121 files created <font color="#196C46">1.19 MB</font><font color="#7D7D7D"> → </font><font color="#196C46">653.89 kB</font> 
-<font color="#A2734C">Warning</font> The following packages contained npm lifecycle scripts (<font color="#8A8A8A">preinstall/install/postinstall</font>) that were not executed: + 
-┠─ <font color="#8A8A8A">npm:iltorb@2.4.5</font> +<u style="text-decoration-style:solid">Running &quot;uglify:scripts&quot; (uglifytask</u
-┃ +<font color="#26A269">&gt;&gt; </font>1 sourcemap created. 
-┠─ <i>This may cause the packages to not work correctly.</i> +<font color="#26A269">&gt;&gt; </font>1 file created <font color="#196C46">537.66 kB</font><font color="#7D7D7D"→ </font><font color="#196C46">250.3 kB</font
-┖─ <i>To run lifecycle scripts, use the `--allow-scripts` flag with `deno install`:</i+ 
-   <b>deno install --allow-scripts=npm:iltorb@2.4.5</b>+<font color="#26A269">Done.</font>
 </pre></html></WRAP> </pre></html></WRAP>
 +</WRAP>
 +
 +<WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
-<font color="#0087FF"><b>$</b></font> <font color="#26A269">deno</font> install <font color="#A347BA">-g</font> <font color="#A347BA">-A</font> npm:iltorb@2.4.5+<font color="#0087FF"><b>$</b></font> <font color="#26A269">grunt</font><font color="#999999"> dev</font>
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
-✅ Successfully installed iltorb +<u style="text-decoration-style:solid">Running &quot;clean:dist&quot; (clean) task</u> 
-/home/tomoyan/.deno/bin/iltorb+<font color="#26A269">&gt;&gt; </font>1 path cleaned. 
 + 
 +<u style="text-decoration-style:solid">Running &quot;less:styles&quot; (less) task</u> 
 +<font color="#26A269">&gt;&gt; </font>1 stylesheet created. 
 +<font color="#26A269">&gt;&gt; </font>1 sourcemap created. 
 + 
 +<u style="text-decoration-style:solid">Running &quot;uglify:keymaps&quot; (uglify) task</u> 
 +<font color="#26A269">&gt;&gt; </font>3 sourcemaps created. 
 +<font color="#26A269">&gt;&gt; </font>3 files created <font color="#196C46">275.24 kB</font><font color="#7D7D7D"> → </font><font color="#196C46">115.58 kB</font> 
 + 
 +<u style="text-decoration-style:solid">Running &quot;uglify:modes&quot; (uglify) task</u> 
 +<font color="#26A269">&gt;&gt; </font>121 sourcemaps created. 
 +<font color="#26A269">&gt;&gt; </font>121 files created <font color="#196C46">1.19 MB</font><font color="#7D7D7D"> → </font><font color="#196C46">653.89 kB</font> 
 + 
 +<u style="text-decoration-style:solid">Running &quot;uglify:scripts&quot; (uglify) task</u> 
 +<font color="#26A269">&gt;&gt; </font>1 sourcemap created. 
 +<font color="#26A269">&gt;&gt; </font>1 file created <font color="#196C46">537.66 kB</font><font color="#7D7D7D"> → </font><font color="#196C46">250.3 kB</font> 
 + 
 +<u style="text-decoration-style:solid">Running &quot;watch&quot; task</u> 
 +Waiting...
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
  • linux/dokuwiki/codemirror_plugin.1743663696.txt.gz
  • 最終更新: 2025/04/03 16:01
  • by ともやん