@coderline/alphatab 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0 (develop, build 1610)
2
+ * alphaTab v1.7.1 (, build 24)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
package/dist/alphaTab.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0 (develop, build 1610)
2
+ * alphaTab v1.7.1 (, build 24)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -1,33 +1,2 @@
1
- import { Plugin as Plugin_2 } from 'vite';
2
-
3
- export declare function alphaTab(options?: AlphaTabVitePluginOptions): Plugin_2<any>[];
4
-
5
- declare interface AlphaTabVitePluginOptions {
6
- /**
7
- * The location where alphaTab can be found.
8
- * (default: node_modules/@coderline/alphatab/dist)
9
- */
10
- alphaTabSourceDir?: string;
11
- /**
12
- * The location where assets of alphaTab should be placed.
13
- * Set it to false to disable the copying of assets like fonts.
14
- * (default: compiler.options.output.path)
15
- */
16
- assetOutputDir?: string | false;
17
- /**
18
- * Whether alphaTab should configure the audio worklet support in Vite.
19
- * This might break support for audio playback unless audio worklet support is added
20
- * through other means to Vite.
21
- * (default: true)
22
- */
23
- audioWorklets?: boolean;
24
- /**
25
- * Whether alphaTab should configure the web worklet support in Vite.
26
- * This might break support for audio playback and background unless audio worklet support is added
27
- * through other means to Vite.
28
- * (default: true)
29
- */
30
- webWorkers?: boolean;
31
- }
32
-
33
- export { }
1
+ export { alphaTab } from './vite/alphaTab.vite';
2
+ export type { AlphaTabVitePluginOptions } from './vite/AlphaTabVitePluginOptions';
@@ -1,3 +1,3 @@
1
- const plugin = require('./alphaTab.vite.core.js');
1
+ const plugin = require('./vite/alphaTab.core.js');
2
2
  console.warn('[alphaTab] The use of alphaTab.vite.js via @coderline/alphatab is deprecated. Please use the new @coderline/alphatab-vite npm package.');
3
3
  module.exports = plugin;
@@ -1,4 +1,4 @@
1
- import { alphaTab } from './alphaTab.vite.core.mjs';
1
+ import { alphaTab } from './vite/alphaTab.vite.mjs';
2
2
 
3
3
  console.warn('[alphaTab] The use of alphaTab.vite.mjs via @coderline/alphatab is deprecated. Please use the new @coderline/alphatab-vite npm package.');
4
4
  export { alphaTab };
@@ -1,57 +1,2 @@
1
- import type * as webpackTypes from 'webpack';
2
-
3
- export declare class AlphaTabWebPackPlugin {
4
- private _webPackWithAlphaTab;
5
- options: AlphaTabWebPackPluginOptions;
6
- constructor(options?: AlphaTabWebPackPluginOptions);
7
- apply(compiler: webpackTypes.Compiler): void;
8
- configureSoundFont(compiler: webpackTypes.Compiler): void;
9
- configure(compiler: webpackTypes.Compiler): void;
10
- configureAssetCopy(webPackWithAlphaTab: webPackWithAlphaTab, pluginName: string, compiler: webpackTypes.Compiler, compilation: webpackTypes.Compilation): void;
11
- }
12
-
13
- declare interface AlphaTabWebPackPluginOptions {
14
- /**
15
- * The location where alphaTab can be found.
16
- * (default: node_modules/@coderline/alphatab/dist)
17
- */
18
- alphaTabSourceDir?: string;
19
- /**
20
- * The location where assets of alphaTab should be placed.
21
- * Set it to false to disable the copying of assets like fonts.
22
- * (default: compiler.options.output.path)
23
- */
24
- assetOutputDir?: string | false;
25
- /**
26
- * Whether alphaTab should configure the audio worklet support in WebPack.
27
- * This might break support for audio playback unless audio worklet support is added
28
- * through other means to WebPack.
29
- * (default: true)
30
- */
31
- audioWorklets?: boolean;
32
- /**
33
- * Whether alphaTab should configure the web worklet support in WebPack.
34
- * This might break support for audio playback and background unless audio worklet support is added
35
- * through other means to WebPack.
36
- * (default: true)
37
- */
38
- webWorkers?: boolean;
39
- }
40
-
41
- declare type NormalModuleFactory = webpackTypes.Compilation['params']['normalModuleFactory'];
42
-
43
- declare type webPackWithAlphaTab = {
44
- webpack: webpackTypes.Compiler['webpack'];
45
- alphaTab: {
46
- registerWebWorkerRuntimeModule(pluginName: string, compilation: webpackTypes.Compilation): void;
47
- WebWorkerRuntimeModuleKey: string;
48
- createWebWorkerDependency(request: string, range: [number, number], publicPath: string | undefined): webpackTypes.dependencies.ModuleDependency;
49
- registerWebWorkerDependency(compilation: webpackTypes.Compilation, normalModuleFactory: NormalModuleFactory): void;
50
- registerWorkletRuntimeModule(pluginName: string, compilation: webpackTypes.Compilation): void;
51
- RuntimeGlobalWorkletGetStartupChunks: string;
52
- createWorkletDependency(request: string, range: [number, number], publicPath: string | undefined): webpackTypes.dependencies.ModuleDependency;
53
- registerWorkletDependency(compilation: webpackTypes.Compilation, normalModuleFactory: NormalModuleFactory): void;
54
- };
55
- };
56
-
57
- export { }
1
+ export { AlphaTabWebPackPlugin } from './webpack/alphaTab.webpack';
2
+ export type { AlphaTabWebPackPluginOptions } from './webpack/AlphaTabWebPackPluginOptions';
@@ -1,3 +1,3 @@
1
- const plugin = require('./alphaTab.webpack.core.js');
1
+ const plugin = require('./webpack/alphaTab.webpack.js');
2
2
  console.warn('[alphaTab] The use of alphaTab.webpack.js via @coderline/alphatab is deprecated. Please use the new @coderline/alphatab-webpack npm package.');
3
3
  module.exports = plugin;
@@ -1,3 +1,3 @@
1
- import { AlphaTabWebPackPlugin } from './alphaTab.webpack.core.mjs';
1
+ import { AlphaTabWebPackPlugin } from './webpack/alphaTab.webpack.mjs';
2
2
  console.warn('[alphaTab] The use of alphaTab.webpack.mjs via @coderline/alphatab is deprecated. Please use the new @coderline/alphatab-webpack npm package.');
3
3
  export { AlphaTabWebPackPlugin };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0 (develop, build 1610)
2
+ * alphaTab v1.7.1 (, build 24)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0 (develop, build 1610)
2
+ * alphaTab v1.7.1 (, build 24)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0 (develop, build 1610)
2
+ * alphaTab v1.7.1 (, build 24)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * alphaTab v1.7.0 (develop, build 1610)
2
+ * alphaTab v1.7.1 (, build 24)
3
3
  *
4
4
  * Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
5
5
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coderline/alphatab",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "alphaTab is a music notation and guitar tablature rendering library",
5
5
  "keywords": [
6
6
  "guitar",
@@ -69,12 +69,12 @@
69
69
  "chai": "^6.2.1",
70
70
  "chalk": "^5.6.2",
71
71
  "jest-snapshot": "^30.2.0",
72
- "mocha": "^11.7.4",
72
+ "mocha": "^11.7.5",
73
73
  "rimraf": "^6.1.0",
74
74
  "tslib": "^2.8.1",
75
75
  "tsx": "^4.20.6",
76
76
  "typescript": "^5.9.3",
77
- "vite": "^7.2.2",
77
+ "vite": "^7.2.6",
78
78
  "vite-plugin-static-copy": "^3.1.4"
79
79
  },
80
80
  "files": [