@coderline/alphatab-vite 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.
- package/dist/AlphaTabVitePluginOptions.cjs +38 -0
- package/dist/AlphaTabVitePluginOptions.d.ts +30 -0
- package/dist/AlphaTabVitePluginOptions.mjs +36 -0
- package/dist/alphaTab.vite.cjs +45 -0
- package/dist/alphaTab.vite.d.ts +1 -33
- package/dist/alphaTab.vite.mjs +2 -2328
- package/dist/alphaTabVitePlugin.cjs +57 -0
- package/dist/alphaTabVitePlugin.d.ts +5 -0
- package/dist/alphaTabVitePlugin.mjs +53 -0
- package/dist/bridge/asset.cjs +87 -0
- package/dist/bridge/asset.mjs +63 -0
- package/dist/bridge/build.cjs +242 -0
- package/dist/bridge/build.mjs +217 -0
- package/dist/bridge/config.cjs +38 -0
- package/dist/bridge/config.mjs +36 -0
- package/dist/bridge/constants.cjs +88 -0
- package/dist/bridge/constants.mjs +82 -0
- package/dist/bridge/fsUtils.cjs +60 -0
- package/dist/bridge/fsUtils.mjs +56 -0
- package/dist/bridge/index.cjs +69 -0
- package/dist/bridge/index.mjs +43 -0
- package/dist/bridge/optimizer.cjs +172 -0
- package/dist/bridge/optimizer.mjs +148 -0
- package/dist/bridge/plugins.cjs +51 -0
- package/dist/bridge/plugins.mjs +47 -0
- package/dist/bridge/resolve.cjs +75 -0
- package/dist/bridge/resolve.mjs +71 -0
- package/dist/bridge/typeUtils.cjs +38 -0
- package/dist/bridge/typeUtils.d.ts +3 -0
- package/dist/bridge/typeUtils.mjs +36 -0
- package/dist/bridge/utils.cjs +164 -0
- package/dist/bridge/utils.mjs +151 -0
- package/dist/bridge/worker.cjs +207 -0
- package/dist/bridge/worker.d.ts +10 -0
- package/dist/bridge/worker.mjs +180 -0
- package/dist/copyAssetsPlugin.cjs +168 -0
- package/dist/copyAssetsPlugin.d.ts +5 -0
- package/dist/copyAssetsPlugin.mjs +143 -0
- package/dist/importMetaPlugin.cjs +201 -0
- package/dist/importMetaPlugin.d.ts +5 -0
- package/dist/importMetaPlugin.mjs +197 -0
- package/dist/workerPlugin.cjs +224 -0
- package/dist/workerPlugin.d.ts +5 -0
- package/dist/workerPlugin.mjs +201 -0
- package/package.json +32 -19
- package/dist/alphaTab.vite.js +0 -2388
- package/dist/alphaTab.vite.min.mjs +0 -36
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* alphaTab Vite Plugin v1.7.1 (, build 24)
|
|
3
|
+
*
|
|
4
|
+
* Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
|
|
5
|
+
*
|
|
6
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
7
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
8
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
9
|
+
*
|
|
10
|
+
* This library uses code from Vite (https://github.com/vitejs/vite/), licensed under:
|
|
11
|
+
*
|
|
12
|
+
* MIT License
|
|
13
|
+
* Copyright (c) 2019-present, Yuxi (Evan) You and Vite contributors
|
|
14
|
+
*
|
|
15
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
16
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
17
|
+
* in the Software without restriction, including without limitation the rights
|
|
18
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
19
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
20
|
+
* furnished to do so, subject to the following conditions:
|
|
21
|
+
*
|
|
22
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
23
|
+
* copies or substantial portions of the Software.
|
|
24
|
+
*
|
|
25
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
26
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
27
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
28
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
29
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
30
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
31
|
+
* SOFTWARE.
|
|
32
|
+
*
|
|
33
|
+
* @preserve
|
|
34
|
+
* @license
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
'use strict';
|
|
38
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export interface AlphaTabVitePluginOptions {
|
|
5
|
+
/**
|
|
6
|
+
* The location where alphaTab can be found.
|
|
7
|
+
* (default: node_modules/@coderline/alphatab/dist)
|
|
8
|
+
*/
|
|
9
|
+
alphaTabSourceDir?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The location where assets of alphaTab should be placed.
|
|
12
|
+
* Set it to false to disable the copying of assets like fonts.
|
|
13
|
+
* (default: compiler.options.output.path)
|
|
14
|
+
*/
|
|
15
|
+
assetOutputDir?: string | false;
|
|
16
|
+
/**
|
|
17
|
+
* Whether alphaTab should configure the audio worklet support in Vite.
|
|
18
|
+
* This might break support for audio playback unless audio worklet support is added
|
|
19
|
+
* through other means to Vite.
|
|
20
|
+
* (default: true)
|
|
21
|
+
*/
|
|
22
|
+
audioWorklets?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Whether alphaTab should configure the web worklet support in Vite.
|
|
25
|
+
* This might break support for audio playback and background unless audio worklet support is added
|
|
26
|
+
* through other means to Vite.
|
|
27
|
+
* (default: true)
|
|
28
|
+
*/
|
|
29
|
+
webWorkers?: boolean;
|
|
30
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* alphaTab Vite Plugin v1.7.1 (, build 24)
|
|
3
|
+
*
|
|
4
|
+
* Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
|
|
5
|
+
*
|
|
6
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
7
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
8
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
9
|
+
*
|
|
10
|
+
* This library uses code from Vite (https://github.com/vitejs/vite/), licensed under:
|
|
11
|
+
*
|
|
12
|
+
* MIT License
|
|
13
|
+
* Copyright (c) 2019-present, Yuxi (Evan) You and Vite contributors
|
|
14
|
+
*
|
|
15
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
16
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
17
|
+
* in the Software without restriction, including without limitation the rights
|
|
18
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
19
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
20
|
+
* furnished to do so, subject to the following conditions:
|
|
21
|
+
*
|
|
22
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
23
|
+
* copies or substantial portions of the Software.
|
|
24
|
+
*
|
|
25
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
26
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
27
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
28
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
29
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
30
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
31
|
+
* SOFTWARE.
|
|
32
|
+
*
|
|
33
|
+
* @preserve
|
|
34
|
+
* @license
|
|
35
|
+
*/
|
|
36
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* alphaTab Vite Plugin v1.7.1 (, build 24)
|
|
3
|
+
*
|
|
4
|
+
* Copyright © 2025, Daniel Kuschny and Contributors, All rights reserved.
|
|
5
|
+
*
|
|
6
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
7
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
8
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
9
|
+
*
|
|
10
|
+
* This library uses code from Vite (https://github.com/vitejs/vite/), licensed under:
|
|
11
|
+
*
|
|
12
|
+
* MIT License
|
|
13
|
+
* Copyright (c) 2019-present, Yuxi (Evan) You and Vite contributors
|
|
14
|
+
*
|
|
15
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
16
|
+
* of this software and associated documentation files (the "Software"), to deal
|
|
17
|
+
* in the Software without restriction, including without limitation the rights
|
|
18
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
19
|
+
* copies of the Software, and to permit persons to whom the Software is
|
|
20
|
+
* furnished to do so, subject to the following conditions:
|
|
21
|
+
*
|
|
22
|
+
* The above copyright notice and this permission notice shall be included in all
|
|
23
|
+
* copies or substantial portions of the Software.
|
|
24
|
+
*
|
|
25
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
26
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
27
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
28
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
29
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
30
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
31
|
+
* SOFTWARE.
|
|
32
|
+
*
|
|
33
|
+
* @preserve
|
|
34
|
+
* @license
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
'use strict';
|
|
38
|
+
|
|
39
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
40
|
+
|
|
41
|
+
const alphaTabVitePlugin = require('./alphaTabVitePlugin.cjs');
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
exports.alphaTab = alphaTabVitePlugin.alphaTab;
|
package/dist/alphaTab.vite.d.ts
CHANGED
|
@@ -1,33 +1 @@
|
|
|
1
|
-
|
|
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 './alphaTabVitePlugin';
|