diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..ed38eee --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,4 @@ +# Each line is a file pattern followed by one or more owners. +# Owners will be requested for review when someone opens a pull request. + +* @Depra-Inc/api-developers \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..94d35c5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,27 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '[Bug Report Title]' +labels: 'bug' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Additional context** +Add any other context about the problem here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..10afb7c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '[Feature Request Title]' +labels: 'enhancement' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..1bfcaeb --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,16 @@ +# Description + +Please include a summary of the change and which issue is fixed or what was added to the project. + +# How Has This Been Tested? + +Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. + +# Checklist + +- [ ] My code follows the style guidelines of this project +- [ ] I have performed a self-review of my own code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding changes to the documentation +- [ ] I have added tests that demonstrate the new feature or bugfix +- [ ] New and existing unit and integrations tests pass locally with my changes \ No newline at end of file diff --git a/.github/workflows/cd-github.yml b/.github/workflows/cd-github.yml new file mode 100644 index 0000000..72c5167 --- /dev/null +++ b/.github/workflows/cd-github.yml @@ -0,0 +1,14 @@ +name: CD GitHub Packages + +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + deploy: + uses: Depra-Inc/Workflows/.github/workflows/cd-github.yml@main + secrets: + node_auth_token: ${{secrets.GITHUB_TOKEN}} + discord_webhook: ${{secrets.DISCORD_WEBHOOK}} \ No newline at end of file diff --git a/.github/workflows/cd-npm.yml b/.github/workflows/cd-npm.yml new file mode 100644 index 0000000..10bd170 --- /dev/null +++ b/.github/workflows/cd-npm.yml @@ -0,0 +1,14 @@ +name: CD NPM + +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + deploy: + uses: Depra-Inc/Workflows/.github/workflows/cd-npm.yml@main + secrets: + node_auth_token: ${{secrets.NPM_AUTH_TOKEN}} + discord_webhook: ${{secrets.DISCORD_WEBHOOK}} \ No newline at end of file diff --git a/Runtime/Depra.Ecs.Components.asmdef b/Runtime/Depra.Ecs.Components.asmdef index 2ffae92..e63059c 100644 --- a/Runtime/Depra.Ecs.Components.asmdef +++ b/Runtime/Depra.Ecs.Components.asmdef @@ -1,3 +1,16 @@ -{ - "name": "Depra.Ecs.Components" +{ + "name": "Depra.Ecs.Components", + "rootNamespace": "Depra.Ecs.Components", + "references": [], + "includePlatforms": [], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": true, + "precompiledReferences": [ + "Depra.Ecs.dll" + ], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false } \ No newline at end of file diff --git a/Runtime/RigidbodyForceMode.cs b/Runtime/RigidbodyForceMode.cs new file mode 100644 index 0000000..0f70354 --- /dev/null +++ b/Runtime/RigidbodyForceMode.cs @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: Apache-2.0 +// © 2023 Nikolay Melnikov + +using UnityEngine; + +namespace Depra.Ecs.Components +{ + public struct RigidbodyForceMode + { + public ForceMode Value; + } +} \ No newline at end of file diff --git a/Runtime/RigidbodyForceMode.cs.meta b/Runtime/RigidbodyForceMode.cs.meta new file mode 100644 index 0000000..d341bc4 --- /dev/null +++ b/Runtime/RigidbodyForceMode.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: 72350332764048fd83f9e98b47c54a2a +timeCreated: 1700346939 \ No newline at end of file diff --git a/package.json b/package.json index c5ba7a1..85ef6c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.depra.ecs.components", - "version": "0.0.5", + "version": "0.0.6", "displayName": "Depra.Ecs.Components", "description": "Components for Unity types.", "unity": "2022.3",