@devaloop/devalang 0.1.1 → 0.1.2

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Devaloop Labs
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Devaloop Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
package/README.md CHANGED
@@ -1,251 +1,251 @@
1
- <div align="center">
2
- <img src="https://devalang.com/images/devalang-logo-min.png" alt="Devalang Logo" width="100" />
3
- </div>
4
-
5
- ![Rust](https://img.shields.io/badge/Made%20with-Rust-orange?logo=rust)
6
- ![TypeScript](https://img.shields.io/badge/Built%20with-TypeScript-blue?logo=typescript)
7
- ![Node.js](https://img.shields.io/badge/Node.js-16%2B-brightgreen?logo=node.js)
8
-
9
- ![Project Status](https://img.shields.io/badge/status-preview-blue)
10
- ![Version](https://img.shields.io/npm/v/@devaloop/devalang)
11
- ![License: MIT](https://img.shields.io/badge/license-MIT-green)
12
-
13
- ![Linux](https://img.shields.io/badge/linux-supported-blue?logo=linux)
14
- ![macOS](https://img.shields.io/badge/macOS-supported-blue?logo=apple)
15
- ![Windows](https://img.shields.io/badge/windows-supported-blue?logo=windows)
16
-
17
- ![npm](https://img.shields.io/npm/dt/@devaloop/devalang)
18
- ![crates](https://img.shields.io/crates/d/devalang)
19
-
20
- # 🦊 Devalang — Write music with code
21
-
22
- Devalang is a compact domain-specific language (DSL) for music makers, sound designers, and creative coders.
23
- Compose loops, control samples, synthesize audio, and render your ideas — all in clean, readable text.
24
-
25
- Whether you're prototyping a beat, building generative music, or performing live, Devalang gives you rhythmic precision with the elegance of code.
26
-
27
- From studio sketches to live sets, Devalang puts musical ideas into motion.
28
-
29
- > **🚀 v0.1.0 - Complete Rewriting**
30
- >
31
- >
32
- > **NEW**: [Devalang Playground V2.0 is now available](https://playground.devalang.com) — Try it in your browser!
33
-
34
- ---
35
-
36
- ## 📚 Quick Access
37
-
38
- - [▶️ Playground](https://playground.devalang.com) — Try Devalang in your browser
39
- - [📖 Documentation](https://docs.devalang.com) — Complete language reference
40
- - [🧩 VSCode Extension](https://marketplace.visualstudio.com/items?itemName=devaloop.devalang-vscode) — Syntax highlighting & snippets
41
- - [📜 Changelog](./docs/CHANGELOG.md) — Version history
42
- - [💡 Examples](./examples/)
43
- - [🌐 Website](https://devalang.com) — Project homepage
44
- - [📦 npm Package](https://www.npmjs.com/package/@devaloop/devalang)
45
- - [📦 Rust Crate](https://crates.io/crates/devalang)
46
-
47
- ---
48
-
49
- ## ⚡ Quick Start
50
-
51
- ### Try in Your Browser
52
-
53
- > **[Launch the Playground](https://playground.devalang.com)** to try Devalang without installing anything.
54
-
55
- ### Install via npm (Recommended)
56
-
57
- ```bash
58
- npm install -g @devaloop/devalang
59
- ```
60
-
61
- ### Install via Cargo (Rust)
62
-
63
- ```bash
64
- cargo install devalang
65
- ```
66
-
67
- ### Create Your First Project
68
-
69
- ```bash
70
- # Initialize a new project
71
- devalang init my-project
72
-
73
- # Navigate to the project
74
- cd my-project
75
-
76
- # Check syntax
77
- devalang check --entry examples/index.deva
78
-
79
- # Build audio files
80
- devalang build --path examples/index.deva --formats wav mid
81
-
82
- # Play audio (live mode)
83
- devalang play --live --input examples/index.deva
84
- ```
85
-
86
- ---
87
-
88
- ## 🎵 Your First Devalang Script
89
-
90
- Create a file `hello.deva`:
91
-
92
- ```deva
93
- # Set the tempo
94
- bpm 120
95
-
96
- # Load a bank of sounds
97
- bank devaloop.808 as drums
98
-
99
- # Create a simple drum pattern
100
- pattern kickPattern with drums.kick = "x--- x--- x--- x---"
101
- pattern snarePattern with drums.snare = "---- x--- ---- x---"
102
- pattern hihatPattern with drums.hihat = "x-x- x-x- x-x- x-x-"
103
-
104
- # Play the patterns
105
- call kickPattern
106
- call snarePattern
107
- call hihatPattern
108
- ```
109
-
110
- ### Build the audio
111
-
112
- ```bash
113
- # Build to WAV
114
- devalang build --path hello.deva --formats wav
115
-
116
- # Output: ./output/audio/hello.wav
117
- ```
118
-
119
- # Play the audio
120
-
121
- ```bash
122
- # Play the audio file
123
- devalang play --input hello.deva
124
-
125
- # Play live (repeats and watch until stopped)
126
- devalang play --live --input hello.deva
127
- ```
128
-
129
- ---
130
-
131
- ## 🚀 Features
132
-
133
- ### 🎵 **Core Language**
134
- - ✅ **Lexer & Parser** — Complete tokenization and AST generation
135
- - ✅ **Patterns** — Rhythmic notation with swing, humanize, velocity
136
- - ✅ **Synths** — Built-in synthesizers with ADSR envelopes
137
- - ✅ **Filters** — Lowpass, highpass, bandpass audio filtering
138
- - ✅ **Effects** — Reverb, delay, distortion, drive, chorus
139
- - ✅ **Variables** — `let`, `const`, `var` with scoping
140
- - ✅ **Groups & Spawn** — Organize and parallelize execution
141
- - ✅ **Loops & Conditions** — `for`, `if`, `else` control flow
142
- - ✅ **Triggers** — Conditional audio triggering
143
- - ✅ **Events** — Event system with `on` and `emit`
144
-
145
- ### 🛠️ **CLI Tools**
146
- - ✅ `devalang init` — Scaffold new projects (3 templates)
147
- - ✅ `devalang build` — Compile to WAV/MIDI
148
- - ✅ `devalang check` — Validate syntax
149
- - ✅ `devalang play` — Audio playback
150
- - ✅ `devalang addon` — Manage addons (install, list, discover)
151
- - ✅ `devalang login/logout` — Authentication
152
- - ✅ `devalang telemetry` — Privacy controls
153
-
154
- ### 🌐 **WASM API**
155
- - ✅ `render_audio()` — Browser audio rendering
156
- - ✅ `render_midi_array()` — MIDI export
157
- - ✅ `debug_render()` — Debug information
158
- - ✅ `parse()` — Parse Devalang code
159
- - ✅ TypeScript types included
160
-
161
- ### 📦 **Output Formats**
162
- - ✅ **WAV** — 16/24/32-bit audio export
163
- - ✅ **MIDI** — Standard MIDI file export
164
- - ⚠️ **MP3/FLAC** — Planned for v0.1.1
165
-
166
- ### 🎯 **Performance**
167
- - ⚡ **Fast builds** — 7-10ms for typical projects
168
- - ⚡ **Low latency** — Optimized audio engine
169
- - ⚡ **Release builds** — 5-6x faster than debug
170
-
171
- ### 📚 **Learning Resources**
172
- - ✅ **Online Docs** — Complete language reference
173
- - ✅ **VSCode Extension** — Syntax highlighting
174
-
175
- ---
176
-
177
- ## 💡 Why Devalang?
178
-
179
- - 🎹 **Prototype audio ideas** without opening a DAW
180
- - 💻 **Integrate sound** into code-based workflows
181
- - 🎛️ **Control audio parameters** with readable syntax
182
- - 🧪 **Build musical logic** with variables and conditions
183
- - 🔄 **Create patterns** with expressive notation
184
- - 🎨 **Live code** with fast iteration cycles
185
- - 📦 **Version control** your music with git
186
-
187
- ---
188
-
189
- ## 📖 Documentation
190
-
191
- **[Visit docs.devalang.com](https://docs.devalang.com)** for:
192
- - Complete syntax reference
193
- - API documentation
194
- - WASM integration guide
195
- - CLI command reference
196
- - Advanced tutorials
197
- - Best practices
198
-
199
- ---
200
-
201
- ## 🔧 Development
202
-
203
- ### Build from Source
204
-
205
- ```bash
206
- # Clone the repository
207
- git clone https://github.com/devaloop-labs/devalang.git
208
- cd devalang
209
-
210
- # Build CLI (Rust)
211
- cargo build --release --features cli
212
-
213
- # Build WASM
214
- cargo build --release --features wasm --lib
215
-
216
- # Build TypeScript
217
- npm install
218
- npm run ts:build
219
-
220
- # Run tests
221
- cargo test --features cli
222
- npm test
223
- ```
224
-
225
- ## 🤝 Contributing
226
-
227
- We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
228
-
229
- ### Ways to Contribute
230
-
231
- - 🐛 **Report bugs** via [GitHub Issues](https://github.com/devaloop-labs/devalang/issues)
232
- - 💡 **Suggest features** in discussions
233
- - 📝 **Improve docs** with pull requests
234
- - 🎵 **Share examples** of your creations
235
- - 🧪 **Write tests** for new features
236
-
237
- ---
238
-
239
- ## 📜 License
240
-
241
- MIT License — See [LICENSE](./LICENSE) for details.
242
-
243
- Copyright (c) 2025 Devaloop
244
-
245
- ---
246
-
247
- <div align="center">
248
- <strong>Made with ❤️ by the Devaloop team</strong>
249
- <br />
250
- <sub>Star ⭐ the repo if you like it!</sub>
251
- </div>
1
+ <div align="center">
2
+ <img src="https://devalang.com/images/devalang-logo-min.png" alt="Devalang Logo" width="100" />
3
+ </div>
4
+
5
+ ![Rust](https://img.shields.io/badge/Made%20with-Rust-orange?logo=rust)
6
+ ![TypeScript](https://img.shields.io/badge/Built%20with-TypeScript-blue?logo=typescript)
7
+ ![Node.js](https://img.shields.io/badge/Node.js-16%2B-brightgreen?logo=node.js)
8
+
9
+ ![Project Status](https://img.shields.io/badge/status-preview-blue)
10
+ ![Version](https://img.shields.io/npm/v/@devaloop/devalang)
11
+ ![License: MIT](https://img.shields.io/badge/license-MIT-green)
12
+
13
+ ![Linux](https://img.shields.io/badge/linux-supported-blue?logo=linux)
14
+ ![macOS](https://img.shields.io/badge/macOS-supported-blue?logo=apple)
15
+ ![Windows](https://img.shields.io/badge/windows-supported-blue?logo=windows)
16
+
17
+ ![npm](https://img.shields.io/npm/dt/@devaloop/devalang)
18
+ ![crates](https://img.shields.io/crates/d/devalang)
19
+
20
+ # 🦊 Devalang — Write music with code
21
+
22
+ Devalang is a compact domain-specific language (DSL) for music makers, sound designers, and creative coders.
23
+ Compose loops, control samples, synthesize audio, and render your ideas — all in clean, readable text.
24
+
25
+ Whether you're prototyping a beat, building generative music, or performing live, Devalang gives you rhythmic precision with the elegance of code.
26
+
27
+ From studio sketches to live sets, Devalang puts musical ideas into motion.
28
+
29
+ > **🚀 v0.1.0 - Complete Rewriting**
30
+ >
31
+ >
32
+ > **NEW**: [Devalang Playground V2.0 is now available](https://playground.devalang.com) — Try it in your browser!
33
+
34
+ ---
35
+
36
+ ## 📚 Quick Access
37
+
38
+ - [▶️ Playground](https://playground.devalang.com) — Try Devalang in your browser
39
+ - [📖 Documentation](https://docs.devalang.com) — Complete language reference
40
+ - [🧩 VSCode Extension](https://marketplace.visualstudio.com/items?itemName=devaloop.devalang-vscode) — Syntax highlighting & snippets
41
+ - [📜 Changelog](./docs/CHANGELOG.md) — Version history
42
+ - [💡 Examples](./examples/)
43
+ - [🌐 Website](https://devalang.com) — Project homepage
44
+ - [📦 npm Package](https://www.npmjs.com/package/@devaloop/devalang)
45
+ - [📦 Rust Crate](https://crates.io/crates/devalang)
46
+
47
+ ---
48
+
49
+ ## ⚡ Quick Start
50
+
51
+ ### Try in Your Browser
52
+
53
+ > **[Launch the Playground](https://playground.devalang.com)** to try Devalang without installing anything.
54
+
55
+ ### Install via npm (Recommended)
56
+
57
+ ```bash
58
+ npm install -g @devaloop/devalang
59
+ ```
60
+
61
+ ### Install via Cargo (Rust)
62
+
63
+ ```bash
64
+ cargo install devalang
65
+ ```
66
+
67
+ ### Create Your First Project
68
+
69
+ ```bash
70
+ # Initialize a new project
71
+ devalang init my-project
72
+
73
+ # Navigate to the project
74
+ cd my-project
75
+
76
+ # Check syntax
77
+ devalang check --entry examples/index.deva
78
+
79
+ # Build audio files
80
+ devalang build --path examples/index.deva --formats wav mid
81
+
82
+ # Play audio (live mode)
83
+ devalang play --live --input examples/index.deva
84
+ ```
85
+
86
+ ---
87
+
88
+ ## 🎵 Your First Devalang Script
89
+
90
+ Create a file `hello.deva`:
91
+
92
+ ```deva
93
+ # Set the tempo
94
+ bpm 120
95
+
96
+ # Load a bank of sounds
97
+ bank devaloop.808 as drums
98
+
99
+ # Create a simple drum pattern
100
+ pattern kickPattern with drums.kick = "x--- x--- x--- x---"
101
+ pattern snarePattern with drums.snare = "---- x--- ---- x---"
102
+ pattern hihatPattern with drums.hihat = "x-x- x-x- x-x- x-x-"
103
+
104
+ # Play the patterns
105
+ call kickPattern
106
+ call snarePattern
107
+ call hihatPattern
108
+ ```
109
+
110
+ ### Build the audio
111
+
112
+ ```bash
113
+ # Build to WAV
114
+ devalang build --path hello.deva --formats wav
115
+
116
+ # Output: ./output/audio/hello.wav
117
+ ```
118
+
119
+ # Play the audio
120
+
121
+ ```bash
122
+ # Play the audio file
123
+ devalang play --input hello.deva
124
+
125
+ # Play live (repeats and watch until stopped)
126
+ devalang play --live --input hello.deva
127
+ ```
128
+
129
+ ---
130
+
131
+ ## 🚀 Features
132
+
133
+ ### 🎵 **Core Language**
134
+ - ✅ **Lexer & Parser** — Complete tokenization and AST generation
135
+ - ✅ **Patterns** — Rhythmic notation with swing, humanize, velocity
136
+ - ✅ **Synths** — Built-in synthesizers with ADSR envelopes
137
+ - ✅ **Filters** — Lowpass, highpass, bandpass audio filtering
138
+ - ✅ **Effects** — Reverb, delay, distortion, drive, chorus
139
+ - ✅ **Variables** — `let`, `const`, `var` with scoping
140
+ - ✅ **Groups & Spawn** — Organize and parallelize execution
141
+ - ✅ **Loops & Conditions** — `for`, `if`, `else` control flow
142
+ - ✅ **Triggers** — Conditional audio triggering
143
+ - ✅ **Events** — Event system with `on` and `emit`
144
+
145
+ ### 🛠️ **CLI Tools**
146
+ - ✅ `devalang init` — Scaffold new projects (3 templates)
147
+ - ✅ `devalang build` — Compile to WAV/MIDI
148
+ - ✅ `devalang check` — Validate syntax
149
+ - ✅ `devalang play` — Audio playback
150
+ - ✅ `devalang addon` — Manage addons (install, list, discover)
151
+ - ✅ `devalang login/logout` — Authentication
152
+ - ✅ `devalang telemetry` — Privacy controls
153
+
154
+ ### 🌐 **WASM API**
155
+ - ✅ `render_audio()` — Browser audio rendering
156
+ - ✅ `render_midi_array()` — MIDI export
157
+ - ✅ `debug_render()` — Debug information
158
+ - ✅ `parse()` — Parse Devalang code
159
+ - ✅ TypeScript types included
160
+
161
+ ### 📦 **Output Formats**
162
+ - ✅ **WAV** — 16/24/32-bit audio export
163
+ - ✅ **MIDI** — Standard MIDI file export
164
+ - ⚠️ **MP3/FLAC** — Planned for v0.1.1
165
+
166
+ ### 🎯 **Performance**
167
+ - ⚡ **Fast builds** — 7-10ms for typical projects
168
+ - ⚡ **Low latency** — Optimized audio engine
169
+ - ⚡ **Release builds** — 5-6x faster than debug
170
+
171
+ ### 📚 **Learning Resources**
172
+ - ✅ **Online Docs** — Complete language reference
173
+ - ✅ **VSCode Extension** — Syntax highlighting
174
+
175
+ ---
176
+
177
+ ## 💡 Why Devalang?
178
+
179
+ - 🎹 **Prototype audio ideas** without opening a DAW
180
+ - 💻 **Integrate sound** into code-based workflows
181
+ - 🎛️ **Control audio parameters** with readable syntax
182
+ - 🧪 **Build musical logic** with variables and conditions
183
+ - 🔄 **Create patterns** with expressive notation
184
+ - 🎨 **Live code** with fast iteration cycles
185
+ - 📦 **Version control** your music with git
186
+
187
+ ---
188
+
189
+ ## 📖 Documentation
190
+
191
+ **[Visit docs.devalang.com](https://docs.devalang.com)** for:
192
+ - Complete syntax reference
193
+ - API documentation
194
+ - WASM integration guide
195
+ - CLI command reference
196
+ - Advanced tutorials
197
+ - Best practices
198
+
199
+ ---
200
+
201
+ ## 🔧 Development
202
+
203
+ ### Build from Source
204
+
205
+ ```bash
206
+ # Clone the repository
207
+ git clone https://github.com/devaloop-labs/devalang.git
208
+ cd devalang
209
+
210
+ # Build CLI (Rust)
211
+ cargo build --release --features cli
212
+
213
+ # Build WASM
214
+ cargo build --release --features wasm --lib
215
+
216
+ # Build TypeScript
217
+ npm install
218
+ npm run ts:build
219
+
220
+ # Run tests
221
+ cargo test --features cli
222
+ npm test
223
+ ```
224
+
225
+ ## 🤝 Contributing
226
+
227
+ We welcome contributions! See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
228
+
229
+ ### Ways to Contribute
230
+
231
+ - 🐛 **Report bugs** via [GitHub Issues](https://github.com/devaloop-labs/devalang/issues)
232
+ - 💡 **Suggest features** in discussions
233
+ - 📝 **Improve docs** with pull requests
234
+ - 🎵 **Share examples** of your creations
235
+ - 🧪 **Write tests** for new features
236
+
237
+ ---
238
+
239
+ ## 📜 License
240
+
241
+ MIT License — See [LICENSE](./LICENSE) for details.
242
+
243
+ Copyright (c) 2025 Devaloop
244
+
245
+ ---
246
+
247
+ <div align="center">
248
+ <strong>Made with ❤️ by the Devaloop team</strong>
249
+ <br />
250
+ <sub>Star ⭐ the repo if you like it!</sub>
251
+ </div>
@@ -44,10 +44,10 @@ async function main() {
44
44
  console.log('🎵 Devalang TypeScript API Example\n');
45
45
  // 1. Parse Devalang code
46
46
  console.log('1️⃣ Parsing code...');
47
- const parseResult = await devalang.parse('example.deva', `
48
- bpm 120
49
- let s = synth sine {}
50
- s -> note(C4, { duration: 500 })
47
+ const parseResult = await devalang.parse('example.deva', `
48
+ bpm 120
49
+ let s = synth sine {}
50
+ s -> note(C4, { duration: 500 })
51
51
  `);
52
52
  if (parseResult.success) {
53
53
  console.log(`✅ Parsed ${parseResult.statements.length} statements\n`);
@@ -58,13 +58,13 @@ async function main() {
58
58
  }
59
59
  // 2. Render audio
60
60
  console.log('2️⃣ Rendering audio...');
61
- const audioCode = `
62
- bpm 120
63
- let mySynth = synth sine {
64
- attack: 0.01,
65
- release: 0.3
66
- }
67
- mySynth -> note(A4, { duration: 1000, velocity: 80 })
61
+ const audioCode = `
62
+ bpm 120
63
+ let mySynth = synth sine {
64
+ attack: 0.01,
65
+ release: 0.3
66
+ }
67
+ mySynth -> note(A4, { duration: 1000, velocity: 80 })
68
68
  `;
69
69
  const audioBuffer = await devalang.renderAudio(audioCode, {
70
70
  sampleRate: 44100,
@@ -81,12 +81,12 @@ async function main() {
81
81
  console.log(` - BPM: ${debugResult.bpm}\n`);
82
82
  // 4. Export MIDI
83
83
  console.log('4️⃣ Exporting MIDI...');
84
- const midiCode = `
85
- bpm 140
86
- let piano = synth sine {}
87
- piano -> note(C4, { duration: 500 })
88
- piano -> note(E4, { duration: 500 })
89
- piano -> note(G4, { duration: 1000 })
84
+ const midiCode = `
85
+ bpm 140
86
+ let piano = synth sine {}
87
+ piano -> note(C4, { duration: 500 })
88
+ piano -> note(E4, { duration: 500 })
89
+ piano -> note(G4, { duration: 1000 })
90
90
  `;
91
91
  const midiBytes = await devalang.renderMidi(midiCode, {
92
92
  bpm: 140
@@ -1 +1 @@
1
- {"version":3,"file":"bump.d.ts","sourceRoot":"","sources":["../../../src/typescript/scripts/version/bump.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,wBAAsB,WAAW,CAC/B,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,EACzC,MAAM,GAAE,MAAe,GACtB,OAAO,CAAC,MAAM,CAAC,CA8FjB"}
1
+ {"version":3,"file":"bump.d.ts","sourceRoot":"","sources":["../../../src/typescript/scripts/version/bump.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,wBAAsB,WAAW,CAC/B,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,EACzC,MAAM,GAAE,MAAe,GACtB,OAAO,CAAC,MAAM,CAAC,CA0GjB"}
@@ -108,14 +108,22 @@ async function bumpVersion(type, preTag = 'beta') {
108
108
  };
109
109
  fs.writeFileSync(projectVersionPath, JSON.stringify(projectVersion, null, 2) + '\n');
110
110
  console.log(`✅ Updated project-version.json to ${newVersion}`);
111
- // Git commit
112
- try {
113
- (0, child_process_1.execSync)(`git add ${packageJsonPath} ${cargoTomlPath} ${projectVersionPath}`, { stdio: 'inherit' });
114
- (0, child_process_1.execSync)(`git commit -m "chore: bump version to ${newVersion}"`, { stdio: 'inherit' });
115
- console.log(`✅ Created git commit for version ${newVersion}`);
111
+ // Update installer/windows/devalang.wxs (WiX installer)
112
+ const wixFilePath = path.join(rootPath, 'installer', 'windows', 'devalang.wxs');
113
+ if (fs.existsSync(wixFilePath)) {
114
+ try {
115
+ let wixContent = fs.readFileSync(wixFilePath, 'utf-8');
116
+ // Update ProductVersion in the <?define ?> section
117
+ wixContent = wixContent.replace(/<\?define ProductVersion="[\d\.]+\-?[a-z\.]*\d*" \?>/, `<` + `?define ProductVersion="${newVersion}" ?` + `>`);
118
+ fs.writeFileSync(wixFilePath, wixContent);
119
+ console.log(`✅ Updated installer/windows/devalang.wxs to ${newVersion}`);
120
+ }
121
+ catch (error) {
122
+ console.warn('⚠️ Could not update installer/windows/devalang.wxs:', error);
123
+ }
116
124
  }
117
- catch (error) {
118
- console.warn('⚠️ Could not create git commit (you may need to commit manually)');
125
+ else {
126
+ console.warn('⚠️ installer/windows/devalang.wxs not found, skipping');
119
127
  }
120
128
  return newVersion;
121
129
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bump.js","sourceRoot":"","sources":["../../../src/typescript/scripts/version/bump.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,kCAiGC;AA/GD,uCAAyB;AACzB,2CAA6B;AAC7B,iDAAyC;AASzC;;GAEG;AACI,KAAK,UAAU,WAAW,CAC/B,IAAyC,EACzC,SAAiB,MAAM;IAEvB,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IAExD,wBAAwB;IACxB,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;IAC5D,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IACxD,MAAM,kBAAkB,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,sBAAsB,CAAC,CAAC;IAEvE,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1E,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,CAAC;IAE3C,gBAAgB;IAChB,MAAM,YAAY,GAAG,cAAc,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC;IAC7E,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,MAAM,IAAI,KAAK,CAAC,2BAA2B,cAAc,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,YAAY,CAAC;IAChD,IAAI,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC/B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AEvD,mDAAmD;YACnD,UAAU,GAAG,UAAU,CAAC,OAAO,CAC7B,sDAAsD,EACtD,GAAG,GAAG,2BAA2B,UAAU,KAAK,GAAG,GAAG,CACvD,CAAC;YAEF,EAAE,CAAC,aAAa,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;YAC1C,OAAO,CAAC,GAAG,CAAC,+CAA+C,UAAU,EAAE,CAAC,CAAC;QAC3E,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,IAAI,CAAC,sDAAsD,EAAE,KAAK,CAAC,CAAC;QAC9E,CAAC;IACH,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,IAAI,CAAC,wDAAwD,CAAC,CAAC;IACzE,CAAC;IAED,OAAO,UAAU,CAAC;AACpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../src/typescript/scripts/version/sync.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CA+CjD"}
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../src/typescript/scripts/version/sync.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAoEjD"}
@@ -77,5 +77,22 @@ async function syncVersion() {
77
77
  projectVersion.channel = channel;
78
78
  fs.writeFileSync(projectVersionPath, JSON.stringify(projectVersion, null, 2) + '\n');
79
79
  console.log(`✅ Synchronized project-version.json to ${version}`);
80
+ // Update installer/windows/devalang.wxs (WiX installer)
81
+ const wixFilePath = path.join(rootPath, 'installer', 'windows', 'devalang.wxs');
82
+ if (fs.existsSync(wixFilePath)) {
83
+ try {
84
+ let wixContent = fs.readFileSync(wixFilePath, 'utf-8');
85
+ // Update ProductVersion in the <?define ?> section
86
+ wixContent = wixContent.replace(/<\?define ProductVersion="[\d\.]+\-?[a-z\.]*\d*" \?>/, `<` + `?define ProductVersion="${version}" ?` + `>`);
87
+ fs.writeFileSync(wixFilePath, wixContent);
88
+ console.log(`✅ Synchronized installer/windows/devalang.wxs to ${version}`);
89
+ }
90
+ catch (error) {
91
+ console.warn('⚠️ Could not update installer/windows/devalang.wxs:', error);
92
+ }
93
+ }
94
+ else {
95
+ console.warn('⚠️ installer/windows/devalang.wxs not found, skipping');
96
+ }
80
97
  }
81
98
  //# sourceMappingURL=sync.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sync.js","sourceRoot":"","sources":["../../../src/typescript/scripts/version/sync.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,kCA+CC;AArDD,uCAAyB;AACzB,2CAA6B;AAE7B;;GAEG;AACI,KAAK,UAAU,WAAW;IAC/B,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;IAExD,uCAAuC;IACvC,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC;IAC5D,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1E,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC;IAEpC,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACtD,CAAC;IAED,iCAAiC;IACjC,MAAM,YAAY,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC3C,IAAI,OAAO,GAA4C,QAAQ,CAAC;IAEhE,IAAI,YAAY,EAAE,CAAC;QACjB,IAAI,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;YAAE,OAAO,GAAG,OAAO,CAAC;aAC5C,IAAI,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;YAAE,OAAO,GAAG,MAAM,CAAC;;YA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sDAAsD,EACtD,GAAG,GAAG,2BAA2B,OAAO,KAAK,GAAG,GAAG,CACpD,CAAC;YAEF,EAAE,CAAC,aAAa,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;YAC1C,OAAO,CAAC,GAAG,CAAC,oDAAoD,OAAO,EAAE,CAAC,CAAC;QAC7E,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,IAAI,CAAC,sDAAsD,EAAE,KAAK,CAAC,CAAC;QAC9E,CAAC;IACH,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,IAAI,CAAC,wDAAwD,CAAC,CAAC;IACzE,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@devaloop/devalang",
3
3
  "private": false,
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "description": "Write music like code. Devalang is a domain-specific language (DSL) for sound designers and music hackers. Compose, automate, and control sound — in plain text.",
6
6
  "main": "out-tsc/index.js",
7
7
  "types": "./out-tsc/index.d.ts",