Skip to content

Commit

Permalink
[v0.0.6] Add workflows & templates; RigidbodyForceMode
Browse files Browse the repository at this point in the history
  • Loading branch information
g0dzZz-coder committed Nov 18, 2023
1 parent 6caafbd commit 17bc8ae
Show file tree
Hide file tree
Showing 10 changed files with 126 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -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
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -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.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -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.
16 changes: 16 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions .github/workflows/cd-github.yml
Original file line number Diff line number Diff line change
@@ -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}}
14 changes: 14 additions & 0 deletions .github/workflows/cd-npm.yml
Original file line number Diff line number Diff line change
@@ -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}}
17 changes: 15 additions & 2 deletions Runtime/Depra.Ecs.Components.asmdef
Original file line number Diff line number Diff line change
@@ -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
}
12 changes: 12 additions & 0 deletions Runtime/RigidbodyForceMode.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// SPDX-License-Identifier: Apache-2.0
// © 2023 Nikolay Melnikov <n.melnikov@depra.org>

using UnityEngine;

namespace Depra.Ecs.Components
{
public struct RigidbodyForceMode
{
public ForceMode Value;
}
}
3 changes: 3 additions & 0 deletions Runtime/RigidbodyForceMode.cs.meta

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 17bc8ae

Please sign in to comment.