Skip to content

Conversation

@Aylur
Copy link
Owner

@Aylur Aylur commented Jul 15, 2024

v2 of AGS, which is going to be a CLI tool to scaffold and run projects using Astal in gjs

  • setup a project directory with the init command which will also generate typescript types, setup env files and a tsconfig.json
  • regenerate types with types command, when adding new libraries
  • introduces a dependency on
    • go (self-explanatory, its a go program)
    • node and npm for type generation
  • the entry point can be either app.js, app.ts, app.jsx, app.tsx
  • TypeScript support ootb
  • JSX support ootb

Marking these as fixed/stale/obsolete as of v2

Closes #577 #563 #554 #549 #547 #542 #541 #540 #537 #534 #533 #514 #497 #477 #472 #471 Aylur/astal#79 #458 #446 #444 #443 #432 #418 #417 #416 #414 #413 #409 #408 #407 #403 #395 #391 #386 #379 #374 #372 #364 #362 #347 #338 #325 #317 #316 #314 #295 #294 #284 #275 #260 #235 #226 #224 Aylur/astal#80 #188 #184 #64 #62 #246 #327 #346 #366 #367 #397 #436 #465 #458 #487 #494 #500 #508 #524 #548 #566 #571 #578 #585

If your issue/PR was about a feature that is still not implemented in the next version (in Astal), please open it again there.

Aylur added 3 commits July 20, 2024 14:25
* merge existing tsconfig.json if it exists
* target older browser to support nested css
* added ags-bundle a go program to distribute esbuild
* added colored output
* migrated to typescript
* fixed ts-for-gir version
* made type generation non verbose
@Joao-Queiroga
Copy link

Is there any estimate on when this will be merged?

Aylur and others added 9 commits October 19, 2024 13:16
beta.16 does not seem to pick up .gir files correctly
[v2] nix: make inputs follow nixpkgs
its not being used as a config but as a target directory so it make
sense to rename it to directory
`ags types --tsconfig` updates/writes tsconfig.json and env.d.ts
allow bundling and running apps from non root entries
fix tsconfig resolution
@Aylur Aylur merged commit f9d6718 into main Nov 13, 2024
1 check passed
@Aylur Aylur deleted the v2 branch November 13, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hyprland client has outdated types

5 participants