Skip to content

Commit b9f3bf6

Browse files
committed
chore: initial commit
0 parents  commit b9f3bf6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+16346
-0
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 4
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false
14+
15+
[manifest.json]
16+
indent_size = 2

.github/workflows/commitlint.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Lint Commit Messages
2+
on: [pull_request]
3+
4+
jobs:
5+
commitlint:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
with:
10+
fetch-depth: 0
11+
- uses: wagoid/commitlint-github-action@v5
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Nightly Build
2+
on:
3+
push:
4+
branches:
5+
- develop
6+
jobs:
7+
deployNightly:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: 16
14+
- run: HUSKY=0 npm ci
15+
- run: npm run build
16+
- name: Deploy nightly branch
17+
run: sh ./publish-nightly.sh
18+
env:
19+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/workflow.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
on: push
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v3
8+
- uses: actions/setup-node@v3
9+
with:
10+
node-version: 16
11+
- run: HUSKY=0 npm ci
12+
- run: npm run build
13+
- name: Release
14+
env:
15+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
16+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
run: npm run semantic-release

.gitignore

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
/[Ll]ibrary/
2+
/[Tt]emp/
3+
/[Oo]bj/
4+
/[Bb]uild/
5+
/[Bb]uilds/
6+
/[Ll]ogs/
7+
/[Uu]ser[Ss]ettings/
8+
CodeCoverage/
9+
UIElementsSchema/
10+
11+
# MemoryCaptures can get excessive in size.
12+
# They also could contain extremely sensitive data
13+
/[Mm]emoryCaptures/
14+
15+
# Recordings can get excessive in size
16+
/[Rr]ecordings/
17+
18+
/[Aa]ssets/AssetStoreTools*
19+
20+
# Autogenerated Jetbrains Rider plugin
21+
/[Aa]ssets/Plugins/Editor/JetBrains*
22+
23+
# Visual Studio cache directory
24+
.vs/
25+
26+
# Gradle cache directory
27+
.gradle/
28+
29+
# Autogenerated VS/MD/Consulo solution and project files
30+
ExportedObj/
31+
.consulo/
32+
*.csproj
33+
*.unityproj
34+
*.sln
35+
*.suo
36+
*.tmp
37+
*.user
38+
*.userprefs
39+
*.pidb
40+
*.booproj
41+
*.svd
42+
*.pdb
43+
*.mdb
44+
*.opendb
45+
*.VC.db
46+
47+
# Unity3D generated meta files
48+
*.pidb.meta
49+
*.pdb.meta
50+
*.mdb.meta
51+
52+
# Unity3D Generated File On Crash Reports
53+
sysinfo.txt
54+
55+
# Builds
56+
*.apk
57+
*.aab
58+
*.unitypackage
59+
*.app
60+
61+
# Crashlytics generated file
62+
crashlytics-build.properties
63+
64+
# Packed Addressables
65+
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*
66+
67+
# Temporary auto-generated Android Assets
68+
/[Aa]ssets/[Ss]treamingAssets/aa.meta
69+
/[Aa]ssets/[Ss]treamingAssets/aa/*
70+
71+
# Node.js
72+
node_modules
73+
dist
74+
dist.zip

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16.17.0

.oyster.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"description": "A simple inventory micro-framework built with extendability in mind",
3+
"displayName": "Elastic Inventory",
4+
"keywords": [
5+
"unity3d",
6+
"unity package",
7+
"upm",
8+
"inventory",
9+
"inventory management"
10+
],
11+
"oysterVersion": "3.0.0",
12+
"packageName": "com.fluid.elastic-inventory",
13+
"packageScope": "com.fluid",
14+
"unityVersion": "2022.2",
15+
"author": {
16+
"name": "Ash Blue",
17+
"email": "ash@clevercrowgames.com",
18+
"url": "https://blueashes.com"
19+
},
20+
"repo": {
21+
"gitUrl": "https://github.com/ashblue/unity-elastic-inventory",
22+
"gitUrlNoHttp": "github.com/ashblue/unity-elastic-inventory"
23+
}
24+
}

.releaserc

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"plugins": [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/release-notes-generator",
5+
"@semantic-release/changelog",
6+
[
7+
"@semantic-release/npm",
8+
{
9+
"npmPublish": false
10+
}
11+
],
12+
[
13+
"@semantic-release/exec",
14+
{
15+
"publishCmd": "npm run build"
16+
}
17+
],
18+
[
19+
"@semantic-release/npm",
20+
{
21+
"pkgRoot": "Assets/com.fluid.elastic-inventory"
22+
}
23+
],
24+
[
25+
"@semantic-release/git",
26+
{
27+
"assets": [
28+
"CHANGELOG.md",
29+
"package.json",
30+
"package-lock.json",
31+
"npm-shrinkwrap.json",
32+
"Assets/**/*"
33+
]
34+
}
35+
],
36+
"@semantic-release/github"
37+
]
38+
}

.vsconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": "1.0",
3+
"components": [
4+
"Microsoft.VisualStudio.Workload.ManagedGame"
5+
]
6+
}

0 commit comments

Comments
 (0)