Skip to content

Commit c68f1ac

Browse files
authored
Cleanup work (#691)
1 parent 3ba6656 commit c68f1ac

File tree

14 files changed

+103
-96
lines changed

14 files changed

+103
-96
lines changed

.github/workflows/build.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- develop
66
- master
77
pull_request:
8+
workflow_dispatch:
89

910
jobs:
1011
build_web:
@@ -29,7 +30,9 @@ jobs:
2930
node-version: '12.x'
3031
- uses: actions/setup-dotnet@v1
3132
with:
32-
dotnet-version: '5.0.x'
33+
dotnet-version: |
34+
5.0.x
35+
6.0.x
3336
- run: npm install
3437
- run: npm run build-csharp-ci
3538
- run: npm run test-csharp-ci

.github/workflows/publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
node-version: '12.x'
4141
- uses: actions/setup-dotnet@v1
4242
with:
43-
dotnet-version: '5.0.x'
43+
dotnet-version: |
44+
5.0.x
45+
6.0.x
4446
env:
4547
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}
4648
- run: npm install

.github/workflows/release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
node-version: '12.x'
4141
- uses: actions/setup-dotnet@v1
4242
with:
43-
dotnet-version: '5.0.x'
43+
dotnet-version: |
44+
5.0.x
45+
6.0.x
4446
env:
4547
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}
4648
- run: npm install

package-lock.json

+69-69
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -57,32 +57,32 @@
5757
"@types/css-font-loading-module": "0.0.7",
5858
"@types/jasmine": "^3.10.2",
5959
"@types/resize-observer-browser": "^0.1.6",
60-
"concurrently": "^6.3.0",
60+
"concurrently": "^6.5.1",
6161
"cors": "^2.8.5",
6262
"fs-extra": "^10.0.0",
63-
"karma": "^6.3.7",
63+
"karma": "^6.3.9",
6464
"karma-chrome-launcher": "^3.1.0",
6565
"karma-express-http-server": "0.0.1",
6666
"karma-jasmine": "^4.0.1",
6767
"karma-jasmine-html-reporter": "^1.7.0",
6868
"karma-rollup-preprocessor": "^7.0.7",
6969
"karma-spec-reporter": "0.0.32",
7070
"lodash": "^4.17.21",
71-
"multer": "^1.4.3",
71+
"multer": "^1.4.4",
7272
"rimraf": "^3.0.2",
73-
"rollup": "^2.59.0",
73+
"rollup": "^2.62.0",
7474
"rollup-plugin-copy": "^3.4.0",
75-
"rollup-plugin-dts": "^4.0.1",
75+
"rollup-plugin-dts": "^4.1.0",
7676
"rollup-plugin-license": "^2.6.0",
7777
"rollup-plugin-serve": "^1.1.0",
7878
"rollup-plugin-terser": "^7.0.2",
79-
"terser": "^5.9.0",
79+
"terser": "^5.10.0",
8080
"ts-node": "^10.4.0",
8181
"tslint": "^6.1.3",
8282
"tslint-config-prettier": "^1.18.0",
8383
"tslint-config-standard": "^9.0.0",
84-
"ttypescript": "^1.5.12",
85-
"typescript": "^4.4.4"
84+
"ttypescript": "^1.5.13",
85+
"typescript": "^4.5.4"
8686
},
8787
"files": [
8888
"/dist/alphaTab.js",

src.compiler/typescript/CloneEmitter.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ export default createEmitter('cloneable', (program, input) => {
325325
false,
326326
undefined,
327327
ts.factory.createNamedImports([
328-
ts.factory.createImportSpecifier(undefined, ts.factory.createIdentifier(name))
328+
ts.factory.createImportSpecifier(false, undefined, ts.factory.createIdentifier(name))
329329
])
330330
),
331331
ts.factory.createStringLiteral(module)
@@ -353,7 +353,7 @@ export default createEmitter('cloneable', (program, input) => {
353353
false,
354354
undefined,
355355
ts.factory.createNamedImports([
356-
ts.factory.createImportSpecifier(undefined, ts.factory.createIdentifier(input.name!.text))
356+
ts.factory.createImportSpecifier(false, undefined, ts.factory.createIdentifier(input.name!.text))
357357
])
358358
),
359359
ts.factory.createStringLiteral(toImportPath(sourceFileName))

0 commit comments

Comments
 (0)