Skip to content

Commit 9fcb655

Browse files
authored
Merge pull request #19 from ashblue/develop
Release
2 parents de794e9 + 7f41e82 commit 9fcb655

26 files changed

+11308
-7422
lines changed

.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

.github/workflows/nightly-build.yml

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: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,30 @@
1-
[Ll]ibrary/
2-
[Tt]emp/
3-
[Oo]bj/
4-
[Bb]uild/
5-
[Bb]uilds/
6-
Assets/AssetStoreTools*
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*
722

823
# Visual Studio cache directory
9-
/.vs/
24+
.vs/
25+
26+
# Gradle cache directory
27+
.gradle/
1028

1129
# Autogenerated VS/MD/Consulo solution and project files
1230
ExportedObj/
@@ -22,18 +40,33 @@ ExportedObj/
2240
*.booproj
2341
*.svd
2442
*.pdb
43+
*.mdb
44+
*.opendb
45+
*.VC.db
2546

2647
# Unity3D generated meta files
2748
*.pidb.meta
2849
*.pdb.meta
50+
*.mdb.meta
2951

3052
# Unity3D Generated File On Crash Reports
3153
sysinfo.txt
3254

3355
# Builds
3456
*.apk
57+
*.aab
3558
*.unitypackage
36-
/Logs/Packages-Update.log
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/*
3770

3871
# Node.js
3972
node_modules

.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: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"description": "A simple spell check utility for use in the Unity Editor",
3+
"displayName": "Unity Simple Spellcheck",
4+
"keywords": [
5+
"spelling",
6+
"spell check",
7+
"unity editor",
8+
"unity textarea"
9+
],
10+
"oysterVersion": "3.0.0",
11+
"packageName": "com.fluid.simple-spellcheck",
12+
"packageScope": "com.fluid",
13+
"unityVersion": "",
14+
"author": {
15+
"name": "Ash Blue",
16+
"email": "ash@clevercrowgames.com",
17+
"url": "https://twitter.com/ashbluewd"
18+
},
19+
"repo": {
20+
"gitUrl": "https://github.com/ashblue/unity-simple-spellcheck",
21+
"gitUrlNoHttp": "github.com/ashblue/unity-simple-spellcheck"
22+
}
23+
}

.releaserc

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,36 @@
33
"@semantic-release/commit-analyzer",
44
"@semantic-release/release-notes-generator",
55
"@semantic-release/changelog",
6+
[
7+
"@semantic-release/npm",
8+
{
9+
"npmPublish": false
10+
}
11+
],
612
[
713
"@semantic-release/exec",
814
{
9-
"verifyConditionsCmd": "npm run build",
10-
"prepareCmd": "npm run build"
15+
"publishCmd": "npm run build"
1116
}
1217
],
13-
"@semantic-release/git",
1418
[
1519
"@semantic-release/npm",
1620
{
17-
"pkgRoot": "dist"
21+
"pkgRoot": "Assets/com.fluid.simple-spellcheck"
1822
}
1923
],
2024
[
21-
"@semantic-release/github",
25+
"@semantic-release/git",
2226
{
2327
"assets": [
24-
{
25-
"path": "dist.zip",
26-
"label": "Package Build"
27-
}
28+
"CHANGELOG.md",
29+
"package.json",
30+
"package-lock.json",
31+
"npm-shrinkwrap.json",
32+
"Assets/**/*"
2833
]
2934
}
30-
]
35+
],
36+
"@semantic-release/github"
3137
]
3238
}

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

Assets/com.fluid.simple-spellcheck/Editor/Resources/SpellCheck/Logs.uxml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
name="no-results"
77
class="hide"
88
text="No spelling errors found"
9+
enabledRichText="true"
910
/>
1011
<VisualElement name="log-container" />
1112
</VisualElement>

0 commit comments

Comments
 (0)