Commit 4039b30
authored
Replace bun with Node.js (#9)
* Replace bun with Node.js (part 1)
- Update package.json scripts to use npm/node instead of bun
- Change shebang in src/index.ts from bun to node
- Add build script to compile TypeScript to JavaScript
- Update action.yml to run compiled .js files instead of .ts
- Remove bun.lock and add package-lock.json
- Update RELEASE.md documentation to reference npm
- Remove bun engine requirement from package.json
- Include compiled JavaScript files for GitHub Actions execution
Note: Workflow files will be updated in a follow-up commit
Addresses AU-14631
* Use tsx to run TypeScript directly, remove compiled files
- Add tsx as dev dependency to run TypeScript without compilation
- Update action.yml to use 'npx tsx' instead of 'node'
- Add step to install action dependencies in action.yml
- Remove all compiled .js, .d.ts, .js.map, .d.ts.map files from src/
- Add compiled files to .gitignore
- Remove build script from package.json (no longer needed)
This approach is cleaner as we don't need to commit compiled files.
Note: Workflow files still need to be updated separately due to OAuth scope limitations.
* fix import syntax1 parent 3fbe40c commit 4039b30
File tree
8 files changed
+971
-111
lines changed- src
- template
8 files changed
+971
-111
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
This file was deleted.
0 commit comments