Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: esperecyan/VRMConverterForVRChat
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.0.0
Choose a base ref
...
head repository: esperecyan/VRMConverterForVRChat
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Mar 3, 2019

  1. Copy the full SHA
    c414941 View commit details
  2. v4.0.1

    esperecyan committed Mar 3, 2019
    Copy the full SHA
    a92e07a View commit details

Commits on Mar 4, 2019

  1. Copy the full SHA
    9fdcb12 View commit details
  2. v4.0.2

    esperecyan committed Mar 4, 2019
    Copy the full SHA
    931663a View commit details

Commits on Mar 5, 2019

  1. Copy the full SHA
    08d94b0 View commit details
  2. v4.0.3

    esperecyan committed Mar 5, 2019
    Copy the full SHA
    dae0fed View commit details

Commits on Mar 14, 2019

  1. Copy the full SHA
    4223444 View commit details
  2. Copy the full SHA
    cff75f8 View commit details
  3. MToon 1.7 への置換において、Render Queue が引き継がれないバグを修正 (6dc556 の不備)

    スクリプトから Material.shader を変更すると、Material.renderQueue は規定値にリセットされる。
    <https://docs.unity3d.com/ja/2017.4/ScriptReference/Material-renderQueue.html>
    esperecyan committed Mar 14, 2019
    Copy the full SHA
    1714922 View commit details
  4. v4.0.4

    esperecyan committed Mar 14, 2019
    Copy the full SHA
    7d092a6 View commit details

Commits on Mar 17, 2019

  1. Copy the full SHA
    a920fbb View commit details

Commits on Mar 24, 2019

  1. Copy the full SHA
    9fbb700 View commit details
  2. VRChat上で、マテリアルのRender Queueが無視されるバグに対処

    シェーダーを複製し、シェーダーを書き換えて指定するようにした。
    
    参照:
    Use with VRChat – Type74
    <http://type74.lsrv.jp/use-with-vrchat/>
    「VRChatで利用する場合、現在のVRCの仕様(?)でファイルに記載されているRenderTypeとRenderQueue(=FromShaderの値)を使うので、Inspectorで設定した値になるようにファイルで指定したシェーダーを用意する必要があります。」
    esperecyan committed Mar 24, 2019
    Copy the full SHA
    cfb9061 View commit details
  3. Copy the full SHA
    2de6914 View commit details
  4. Copy the full SHA
    b14d3cc View commit details
  5. Copy the full SHA
    3f485d4 View commit details

Commits on Mar 25, 2019

  1. Copy the full SHA
    683f8ed View commit details
  2. Copy the full SHA
    39c9516 View commit details
  3. v5.0.1

    esperecyan committed Mar 25, 2019
    Copy the full SHA
    3f4621f View commit details

Commits on Mar 27, 2019

  1. VRMSpringBoneとDynamicBoneで揺れるボーンが異なっていた問題を修正

    VRMSpringBoneはRoot Bonesとその子孫に作用し、DynamicBoneはRootの子孫に作用する。
    esperecyan committed Mar 27, 2019
    Copy the full SHA
    548ea37 View commit details
  2. Copy the full SHA
    d8aadd8 View commit details

Commits on Mar 29, 2019

  1. Copy the full SHA
    181e670 View commit details
  2. Copy the full SHA
    394d487 View commit details
  3. Copy the full SHA
    ad281de View commit details
  4. Copy the full SHA
    1c54c42 View commit details
  5. Copy the full SHA
    e7b3f66 View commit details
  6. Copy the full SHA
    0390805 View commit details
  7. v6.0.1

    esperecyan committed Mar 29, 2019
    Copy the full SHA
    0a7d02d View commit details

Commits on Mar 30, 2019

  1. Copy the full SHA
    f91d8fc View commit details
  2. Copy the full SHA
    fa74dcb View commit details

Commits on Apr 5, 2019

  1. オートアイムーブメント用のダミーメッシュがファイルとして保存されていなかったバグを修正 (a920fb の不備)

    これによって、元のアバターにBodyという名前のオブジェクトが存在しない場合、Blinkが設定されたメッシュがBodyの場合に、アバターが鏡に映らなくなっていた。
    
    https://twitter.com/esperecyan/status/1114150695815401472
    esperecyan committed Apr 5, 2019
    Copy the full SHA
    feb4d6b View commit details
  2. Copy the full SHA
    ff043a3 View commit details
  3. Copy the full SHA
    510b758 View commit details
  4. v6.0.2

    esperecyan committed Apr 5, 2019
    Copy the full SHA
    a4c7043 View commit details

Commits on Apr 11, 2019

  1. Revert "VRMSpringBoneとDynamicBoneで揺れるボーンが異なっていた問題を修正"

    This reverts commit 548ea37.
    
    DynamicBoneはRootにも作用すると思われるため。
    esperecyan committed Apr 11, 2019
    Copy the full SHA
    1212314 View commit details
  2. v6.0.3

    esperecyan committed Apr 11, 2019
    Copy the full SHA
    fdd03e5 View commit details

Commits on Apr 13, 2019

  1. VRC_Avatar DescriptorコンポーネントのDefault Animation SetをFemale固定に

    ちかげまるさん <https://twitter.com/chikagemaru_any> の調査より、Female以外には不具合があることが分かったため。
    また、下記ツイートも参照。
    
    キノスラさんのツイート: “・男の子でもVRC_Avatar Descriptorの設定はFemaleにしておいた方が良さげ。Maleだと脚の開き方とかジャンプポーズに違和感が。 ・DynamicBoneの動きがUnity上で揺らした時とはだいぶ違う。” 
    <https://twitter.com/cinosura_/status/1063106430947930112>
    esperecyan committed Apr 13, 2019
    Copy the full SHA
    9e9a9a2 View commit details
  2. Copy the full SHA
    c21fe2d View commit details
  3. 肩の上下位置を指定して変換する機能を追加し、VRoidのなで肩補正機能を削除した

    淵の白雲さんのツイート: “@esperecyan VRM Converterのなで肩修正機能で逆にいかり肩になってしまった場合はどこを調整すればいいですか? rigを編集しようにもfbx本体が見つからなくて困っています… ”
    <https://twitter.com/fuchi_shira/status/1069057530754609153>
    100の人さんのツイート: “うーん……VRoid以外でいかり肩をどうにかしたいってツイートも見かけましたし、肩の上下をスライドバーで設定できるようにしてみましょうかね… ”
    <https://twitter.com/esperecyan/status/1069112132317270017>
    esperecyan committed Apr 13, 2019
    Copy the full SHA
    55926de View commit details
  4. Copy the full SHA
    4a1498f View commit details
  5. Copy the full SHA
    ef8bac7 View commit details
  6. v7.0.0

    esperecyan committed Apr 13, 2019
    Copy the full SHA
    274f615 View commit details

Commits on Apr 21, 2019

  1. VRChat上では true 固定のため、DynamicBone.m_DistantDisable の設定を行わないようにした

    参照:
    [VRChat] DynamicBoneがパフォーマンスに与える影響の調査報告 | DOLL PROFILEDOLL PROFILE <https://www.doll-profile.com/blog/131>
    esperecyan committed Apr 21, 2019
    Copy the full SHA
    e4f847d View commit details

Commits on Apr 27, 2019

  1. 揺れ物の変換について、リフレクションを利用するようにした

    参照:
    C# リフレクションを無理矢理用いて、ジェネリックコレクションを扱う — s-kita’s blog
    <http://s-kita.hatenablog.com/entry/20091114/1258207948>
    esperecyan committed Apr 27, 2019
    Copy the full SHA
    13685b4 View commit details
  2. Copy the full SHA
    4baba00 View commit details
  3. Copy the full SHA
    7aa4b41 View commit details

Commits on Apr 28, 2019

  1. VRMBlendShapeのNEUTRALに対応

    f
    esperecyan committed Apr 28, 2019
    Copy the full SHA
    765f640 View commit details
  2. 他のVRMBlendShapeで、Blink、およびNEUTRALと同一のシェイプキーを使用している場合に限り、シェイプキーを複製

    これにより、同一シェイプキーの使用時にBlink、NEUTRALが動作しなくなっていたバグ (9fbb70 の不備) も解消
    esperecyan committed Apr 28, 2019
    Copy the full SHA
    1eec2fd View commit details
  3. Copy the full SHA
    af08735 View commit details
  4. Copy the full SHA
    0ab0bee View commit details
Showing with 14,904 additions and 14,469 deletions.
  1. +207 −0 .editorconfig
  2. +2 −0 .gitattributes
  3. +73 −0 .github/workflows/build-and-deploy.yaml
  4. +4 −0 .gitignore
  5. +2 −2 MToon/MToon/Resources/Shaders.meta → .root-folder-GUID_VRMConverterForVRChat.meta
  6. +3 −0 .vpm/.eslintrc.yaml
  7. +161 −0 .vpm/build.js
  8. +6,413 −0 .vpm/package-lock.json
  9. +18 −0 .vpm/package.json
  10. +22 −0 .vpm/partial-manifests.yaml
  11. +5 −0 .vpm/registry-template.yaml
  12. +6 −0 .vscode/extensions.json
  13. +4 −0 .vscode/settings.json
  14. +0 −20 BoneInfo.cs
  15. +1 −0 CHANGELOG.md
  16. +2 −3 MToon/MToon/Resources/Shaders/MToonCore.cginc.meta → CHANGELOG.md.meta
  17. +3 −0 Documentation~/readme.md
  18. +0 −19 DynamicBoneParameters.cs
  19. +0 −567 Editor/BlendShapeReplacer.cs
  20. +1 −1 MToon/MToon/Resources.meta → Editor/Components.meta
  21. +796 −0 Editor/Components/BlendShapeReplacer.cs
  22. 0 Editor/{ → Components}/BlendShapeReplacer.cs.meta
  23. +89 −0 Editor/Components/ComponentsReplacer.cs
  24. 0 Editor/{ → Components}/ComponentsReplacer.cs.meta
  25. +43 −0 Editor/Components/GeometryCorrector.cs
  26. 0 Editor/{ → Components}/GeometryCorrector.cs.meta
  27. +248 −0 Editor/Components/VRChatsBugsWorkaround.cs
  28. 0 Editor/{ → Components}/VRChatsBugsWorkaround.cs.meta
  29. +0 −18 Editor/ComponentsRemover.cs
  30. +0 −118 Editor/ComponentsReplacer.cs
  31. +163 −101 Editor/Converter.cs
  32. +513 −0 Editor/Duplicator.cs
  33. +2 −3 Editor/{ComponentsRemover.cs.meta → Duplicator.cs.meta}
  34. +30 −0 Editor/Esperecyan.Unity.VRMConverterForVRChat.Editor.asmdef
  35. +7 −0 Editor/Esperecyan.Unity.VRMConverterForVRChat.Editor.asmdef.meta
  36. +0 −48 Editor/Exporter.cs
  37. +0 −67 Editor/GeometryCorrector.cs
  38. +0 −2,093 Editor/HANDGUN.anim
  39. +0 −9 Editor/HANDGUN.anim.meta
  40. BIN Editor/Ionic.Zip.dll
  41. +0 −34 Editor/Ionic.Zip.dll.meta
  42. +202 −145 Editor/Locales.cs
  43. +0 −11 Editor/LocalizableAttribute.cs
  44. +0 −2,093 Editor/ROCKNROLL.anim
  45. +0 −9 Editor/ROCKNROLL.anim.meta
  46. +0 −37 Editor/ResultDialog.cs
  47. +0 −116 Editor/SwayingObjectsConverter.cs
  48. +0 −116 Editor/SwayingObjectsConverter.cs.bak
  49. +0 −8 Editor/SwayingObjectsConverter.cs.bak.meta
  50. +0 −12 Editor/SwayingObjectsConverter.cs.meta
  51. +0 −2,093 Editor/THUMBSUP.anim
  52. +0 −9 Editor/THUMBSUP.anim.meta
  53. +1 −1 MToon.meta → Editor/UI.meta
  54. +78 −0 Editor/UI/ErrorDialog.cs
  55. +2 −3 BoneInfo.cs.meta → Editor/UI/ErrorDialog.cs.meta
  56. +96 −63 Editor/{ → UI}/Menu.cs
  57. 0 Editor/{ → UI}/Menu.cs.meta
  58. +41 −0 Editor/UI/ResultDialog.cs
  59. 0 Editor/{ → UI}/ResultDialog.cs.meta
  60. +321 −0 Editor/UI/VRChatToVRMWizard.cs
  61. +2 −3 Editor/{Exporter.cs.meta → UI/VRChatToVRMWizard.cs.meta}
  62. +709 −0 Editor/UI/Wizard.cs
  63. 0 Editor/{ → UI}/Wizard.cs.meta
  64. +1 −3 MToon/MToon.meta → Editor/Utilities.meta
  65. +145 −0 Editor/Utilities/CombineMeshesAndSubMeshes.cs
  66. +2 −3 DynamicBoneParameters.cs.meta → Editor/Utilities/CombineMeshesAndSubMeshes.cs.meta
  67. +95 −90 Editor/{ → Utilities}/Gettext .cs
  68. 0 Editor/{ → Utilities}/Gettext .cs.meta
  69. +24 −0 Editor/Utilities/LocalizableAttribute.cs
  70. 0 Editor/{ → Utilities}/LocalizableAttribute.cs.meta
  71. +117 −0 Editor/Utilities/SkinnedMeshUtility.cs
  72. +11 −0 Editor/Utilities/SkinnedMeshUtility.cs.meta
  73. +655 −0 Editor/Utilities/VRChatUtility.cs
  74. 0 Editor/{ → Utilities}/VRChatUtility.cs.meta
  75. +11 −0 Editor/Utilities/Writer.cs
  76. +11 −0 Editor/Utilities/Writer.cs.meta
  77. +0 −2,093 Editor/VICTORY.anim
  78. +0 −9 Editor/VICTORY.anim.meta
  79. +8 −0 Editor/VRChatToVRM.meta
  80. +41 −0 Editor/VRChatToVRM/ExpressionPreset.cs
  81. +11 −0 Editor/VRChatToVRM/ExpressionPreset.cs.meta
  82. +29 −0 Editor/VRChatToVRM/VRChatExpressionBinding.cs
  83. +11 −0 Editor/VRChatToVRM/VRChatExpressionBinding.cs.meta
  84. +181 −0 Editor/VRChatToVRM/VRChatExpressionsReplacer.cs
  85. +11 −0 Editor/VRChatToVRM/VRChatExpressionsReplacer.cs.meta
  86. +300 −0 Editor/VRChatToVRM/VRChatToVRMConverter.cs
  87. +11 −0 Editor/VRChatToVRM/VRChatToVRMConverter.cs.meta
  88. +0 −125 Editor/VRChatUtility.cs
  89. +0 −465 Editor/VRChatsBugsWorkaround.cs
  90. +14 −0 Editor/VRMBlendShapeClip.cs
  91. +11 −0 Editor/VRMBlendShapeClip.cs.meta
  92. +211 −101 Editor/VRMUtility.cs
  93. +0 −33 Editor/VRoidUtility.cs
  94. +0 −12 Editor/VRoidUtility.cs.meta
  95. +0 −240 Editor/Wizard.cs
  96. +0 −141 Editor/blink.controller
  97. +0 −9 Editor/blink.controller.meta
  98. +0 −363 LICENSE
  99. +355 −0 LICENSE.md
  100. +1 −2 LICENSE.meta → LICENSE.md.meta
  101. +0 −38 MToon/.gitignore
  102. +0 −21 MToon/LICENSE
  103. +0 −134 MToon/MToon/Resources/Shaders/MToon.shader
  104. +0 −8 MToon/MToon/Resources/Shaders/MToon.shader.meta
  105. +0 −216 MToon/MToon/Resources/Shaders/MToonCore.cginc
  106. +0 −19 MToon/MToon/Resources/Shaders/MToonSM3.cginc
  107. +0 −8 MToon/MToon/Resources/Shaders/MToonSM3.cginc.meta
  108. +0 −37 MToon/MToon/Resources/Shaders/MToonSM4.cginc
  109. +0 −8 MToon/MToon/Resources/Shaders/MToonSM4.cginc.meta
  110. +0 −10 MToon/MToon/Samples.meta
  111. +0 −10 MToon/MToon/Samples/Materials.meta
  112. +0 −108 MToon/MToon/Samples/Materials/Ex_OutlineWidth_Screen.mat
  113. +0 −108 MToon/MToon/Samples/Materials/Ex_OutlineWidth_World.mat
  114. +0 −76 MToon/MToon/Samples/Materials/Ground.mat
  115. +0 −127 MToon/MToon/Samples/Materials/Toon.mat
  116. +0 −1,984 MToon/MToon/Samples/OutlineWidthModes.unity
  117. +0 −5 MToon/README.md
  118. +0 −18 SpringBoneParameters.cs
  119. +0 −12 SpringBoneParameters.cs.meta
  120. +8 −0 animations.meta
  121. +1,970 −0 animations/FX.controller
  122. +2 −2 MToon/MToon/Samples/Materials/Toon.mat.meta → animations/FX.controller.meta
  123. +121 −0 animations/LICENSE.txt
  124. +7 −0 animations/LICENSE.txt.meta
  125. +95 −0 animations/VRCEmote.asset
  126. +2 −2 MToon/MToon/Samples/Materials/Ex_OutlineWidth_Screen.mat.meta → animations/VRCEmote.asset.meta
  127. +79 −0 animations/VRCExpressionParameters.asset
  128. +2 −2 .../Samples/Materials/Ex_OutlineWidth_World.mat.meta → animations/VRCExpressionParameters.asset.meta
  129. +45 −0 animations/VRCExpressionsMenu.asset
  130. +2 −2 MToon/MToon/Samples/Materials/Ground.mat.meta → animations/VRCExpressionsMenu.asset.meta
  131. +4 −0 npm.cmd
  132. +1 −1 MToon/MToon/Samples/OutlineWidthModes.unity.meta → npm.cmd.meta
  133. +20 −0 package.json
  134. +7 −0 package.json.meta
  135. +2 −2 readme.url
207 changes: 207 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_size = 4
guidelines = 120

[{*.meta,*.cs,*.anim,*.yaml}]
indent_style = space

[{*.meta,*.anim}]
trim_trailing_whitespace = false
indent_size = 2



[*.cs]
#### .NET コーディング規則 ####
# https://docs.microsoft.com/visualstudio/ide/editorconfig-code-style-settings-reference

# UnityEngine.Objectに対してnullを判定する演算子を使わない
dotnet_diagnostic.UNT0008.severity = error

### 言語規則 ###

## .NET コード スタイルの設定

# this. と Me. の設定
dotnet_style_qualification_for_event = true:warning
dotnet_style_qualification_for_field = true:warning
dotnet_style_qualification_for_method = true:warning
dotnet_style_qualification_for_property = true:warning
# メンバーアクセス簡略化の提案を無効に (staticメンバーに対応したコードスタイルオプションはない)
dotnet_diagnostic.IDE0002.severity = none

# 言語キーワードと BCL の種類の設定
dotnet_style_predefined_type_for_locals_parameters_members = true:warning
dotnet_style_predefined_type_for_member_access = true:warning

# 修飾子設定
dotnet_style_require_accessibility_modifiers = always:warning
csharp_preferred_modifier_order = public, private, protected, internal, static, extern, new, virtual, abstract, sealed, override, readonly, unsafe, volatile, async:warning

# 式レベルの設定
dotnet_style_prefer_inferred_tuple_names = true:warning
dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
dotnet_style_prefer_auto_properties = true:warning
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning

# Null チェック設定
dotnet_style_coalesce_expression = true:warning
dotnet_style_null_propagation = true:warning

# ドキュメント化されていないプロパティ
# https://github.com/MicrosoftDocs/visualstudio-docs/issues/3641
dotnet_style_operator_placement_when_wrapping = beginning_of_line

## C# コード スタイルの設定

# var を優先
csharp_style_var_for_built_in_types = true:warning
csharp_style_var_when_type_is_apparent = true:warning

# 式のようなメンバー
csharp_style_expression_bodied_properties = true:warning
csharp_style_expression_bodied_accessors = true:warning

# パターン マッチング設定
csharp_style_pattern_matching_over_is_with_cast_check = true:warning
csharp_style_pattern_matching_over_as_with_null_check = true:warning

# インライン変数宣言
csharp_style_inlined_variable_declaration = true:warning

# 式レベルの設定
csharp_prefer_simple_default_expression = true:warning

# コード ブロックの設定
csharp_prefer_braces = true:warning

# インデックスと範囲のユーザー設定
csharp_style_prefer_index_operator = false:error
csharp_style_prefer_range_operator = false:error

# その他のユーザー設定
csharp_using_directive_placement = outside_namespace:warning
csharp_style_prefer_switch_expression = false:error

### 書式規則 ###

## .NET 書式設定

# using の整理
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = false

## C# 書式設定

# 改行設定
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true

# インデント設定
csharp_indent_case_contents = true
csharp_indent_switch_labels = true
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents_when_block = false

# スペース設定
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_around_binary_operators = before_and_after
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_after_comma = true
csharp_space_before_comma = false
csharp_space_after_dot = false
csharp_space_before_dot = false
csharp_space_after_semicolon_in_for_statement = true
csharp_space_before_semicolon_in_for_statement = false
csharp_space_around_declaration_statements = false
csharp_space_before_open_square_brackets = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_square_brackets = false

# 折り返しの設定
csharp_preserve_single_line_statements = false
csharp_preserve_single_line_blocks = true

### 命名規則 ###

# 【camelCase】privateかつ非staticなフィールド、引数、ローカル変数
# 【PascalCase】上記以外
# インターフェース名には「I」を前置
# 型パラメータ名には「T」を前置

## 名前付けルール

dotnet_naming_rule.private_field_should_be_camel_case.severity = warning
dotnet_naming_rule.private_field_should_be_camel_case.symbols = private_field
dotnet_naming_rule.private_field_should_be_camel_case.style = camel_case

dotnet_naming_rule.parameter_or_local_should_be_camel_case.severity = warning
dotnet_naming_rule.parameter_or_local_should_be_camel_case.symbols = parameter_or_local
dotnet_naming_rule.parameter_or_local_should_be_camel_case.style = camel_case

dotnet_naming_rule.others_should_be_pascal_case.severity = warning
dotnet_naming_rule.others_should_be_pascal_case.symbols = others
dotnet_naming_rule.others_should_be_pascal_case.style = pascal_case

dotnet_naming_rule.private_static_field_should_be_camel_case.severity = warning
dotnet_naming_rule.private_static_field_should_be_camel_case.symbols = private_static_field
dotnet_naming_rule.private_static_field_should_be_camel_case.style = pascal_case

dotnet_naming_rule.interface_should_be_prefix_i.severity = warning
dotnet_naming_rule.interface_should_be_prefix_i.symbols = interface
dotnet_naming_rule.interface_should_be_prefix_i.style = prefix_i

dotnet_naming_rule.type_parameter_should_be_prefix_t.severity = warning
dotnet_naming_rule.type_parameter_should_be_prefix_t.symbols = type_parameter
dotnet_naming_rule.type_parameter_should_be_prefix_t.style = prefix_t

## 記号の仕様

dotnet_naming_symbols.private_field.applicable_kinds = field
dotnet_naming_symbols.private_field.applicable_accessibilities = private

dotnet_naming_symbols.parameter_or_local.applicable_kinds = parameter, local
dotnet_naming_symbols.parameter_or_local.applicable_accessibilities = *

dotnet_naming_symbols.others.applicable_kinds = *
dotnet_naming_symbols.others.applicable_accessibilities = *

dotnet_naming_symbols.private_static_field.applicable_kinds = field
dotnet_naming_symbols.private_static_field.applicable_accessibilities = private
dotnet_naming_symbols.private_static_field.required_modifiers = static

dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = *

dotnet_naming_symbols.type_parameter.applicable_kinds = type_parameter
dotnet_naming_symbols.type_parameter.applicable_accessibilities = *

## 命名スタイル

dotnet_naming_style.camel_case.capitalization = camel_case

dotnet_naming_style.pascal_case.capitalization = pascal_case

dotnet_naming_style.prefix_i.required_prefix = I
dotnet_naming_style.prefix_i.capitalization = pascal_case

dotnet_naming_style.prefix_t.required_prefix = T
dotnet_naming_style.prefix_t.capitalization = pascal_case
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* text eol=lf
* text encoding=utf-8
73 changes: 73 additions & 0 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
on:
release:
types:
- published
workflow_dispatch:
inputs:
releasedTagName:
description: 再実行を行うリリースタグ (「v」を前置したバージョン番号)
type: string
required: true

jobs:
build:
timeout-minutes: 60
permissions:
contents: write
runs-on: ubuntu-22.04
steps:
- name: メインブランチをチェックアウト
uses: actions/checkout@v4

- name: レジストリのキャッシュを展開
uses: dawidd6/action-download-artifact@72aaadce3bc708349fc665eee3785cbb1b6e51d0 #v3.1.1
with:
name: github-pages
path: ./registry/
if_no_artifact_found: warn

- uses: actions/setup-node@v4
with:
node-version: '20'

# https://docs.github.com/ja/actions/using-workflows/caching-dependencies-to-speed-up-workflows#example-using-the-cache-action
- name: Cache node modules
id: cache-npm
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit == 'false' }}
name: List the state of node modules
continue-on-error: true
run: npm list

- run: npm --prefix ./.vpm/ ci
- run: npm --prefix ./.vpm/ run build
env:
TAG_NAME: ${{ inputs.releasedTagName || github.event.release.tag_name }}

- name: GitHub Pages用のデータをアップロード
uses: actions/upload-pages-artifact@v3
with:
path: ./.vpm/registry/

deploy:
needs: build

timeout-minutes: 1
permissions:
pages: write
id-token: write
runs-on: ubuntu-22.04
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.vpm/node_modules/

# ローカルデバッグ
/.vpm/registry/

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .vpm/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
extends: '@esperecyan'
env:
node: true
Loading