Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate alphaSkia #1292

Merged
merged 16 commits into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .eclintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* eslint-env node */
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: true,
};
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'latest'
node-version: 'lts/*'
- run: npm install
- run: npm run build-ci
- run: npm run test-ci
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'latest'
node-version: 'lts/*'
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6'
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'latest'
node-version: 'lts/*'
- uses: actions/setup-java@v3
with:
java-version: '19'
Expand All @@ -58,4 +58,4 @@ jobs:
- run: npm install
- run: npm run build-kotlin-ci
- run: npm run test-kotlin-ci
- run: ./src.kotlin/alphaTab/gradlew --stop
- run: ./src.kotlin/alphaTab/gradlew --stop
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@ jobs:
- run: node ./scripts/update-kotlin-version.js SNAPSHOT
- run: npm run build-kotlin-ci

- run: .\gradlew.bat publishAllPublicationsToSonatypeRepository
working-directory: ./src.kotlin/alphaTab/

- run: .\gradlew.bat closeAndReleaseSonatypeStagingRepository
- run: .\gradlew.bat publishAllPublicationsToSonatypeRepository closeAndReleaseSonatypeStagingRepository
working-directory: ./src.kotlin/alphaTab/

- run: .\gradlew.bat --stop
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'latest'
node-version: 'lts/*'
- run: npm install
- run: node ./scripts/update-version.js ${{github.run_number}}
- run: npm run build-ci
- uses: actions/setup-node@v3
with:
node-version: 'latest'
node-version: 'lts/*'
registry-url: https://registry.npmjs.org/
- name: Publish to NPM (release)
run: npm publish --access public
Expand All @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: 'latest'
node-version: 'lts/*'
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ private/
playground/
obj/
bin/
temp/
.idea/
.vs/
*.user
Expand Down
12 changes: 12 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extension": [
"ts"
],
"node-option": [
"experimental-specifier-resolution=node",
"import=tsx",
"no-warnings"
],
"spec": "test/**/*.test.ts",
"timeout": "10000"
}
11 changes: 6 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"files.exclude": {
"dist/lib.csharp/**": true,
"src.csharp/**": true,
"node_modules/**": true
}
"mochaExplorer.files": "test/**/*.test.ts",
"mochaExplorer.nodeArgv": [
"--experimental-specifier-resolution=node",
"--import=tsx"
],
"mochaExplorer.logpanel": true
}
154 changes: 0 additions & 154 deletions karma.conf.js

This file was deleted.

Loading