Allow using types without initializing entire package
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- github-actions, node.js, typescript
- Ambito
- ci-cd, developer-experience, tooling
Direzione di ricerca
No files or tests are named. Start by inspecting the package configuration and type exports, then determine how the types can be consumed without install scripts or the Node.js 24 requirement; done means CI workflow authors can import the types independently.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
As a developer, I want to use github-script in my CI workflow. With large scripts, it becomes necessary to move from inline usage to importing from a separate file (i.e. script.ts). When developing, I want to make sure type safety is followed, so I want to import the typing provided by github-script.
github-script has multiple issues that make this nearly impossible in my dev environment:
- I don't allow install scripts, but
@actions/github-script@7.0.1has them;
The git-hosted package "@actions/github-script@7.0.1" needs to execute build scripts but is not in the "onlyBuiltDependencies" allowlist.
github-scriptwants node>=24. I'm in the process of upgrading the environment, but there are some blockers. If I only want types, I shouldn't need node>=24.
Could the types be released as a separate package, making it easier to develop github-script CI flows without having to trust a blackbox install scripts or having the latest node.
- Lingua principale
- TypeScript
- Stelle
- 5k
- Fork
- 586
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di actions/github-script
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
actions/github-script#728 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
actions/github-script#727 · 1 reazione ·
-
{ Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
actions/github-script#724 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
actions/github-script#723 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
actions/github-script#714 · 1 commento · 4 reazioni ·