Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Bug Report
description: Report a reproducible bug or unexpected behavior
labels: ["bug"]
labels: [ "bug" ]
body:
- type: textarea
id: description
attributes:
label: Description
description: Describe the bug, including expected and actual behavior
description: Describe the bug, including expected and actual behavior.
validations:
required: true

- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: Provide a list of steps to reproduce the bug
description: Provide a list of steps to reproduce the bug.
placeholder: |
1. Run `blueprint ...`
2. Enter `...`
Expand All @@ -27,14 +27,14 @@ body:
attributes:
label: Environment
description: Provide relevant environment details (OS, runtime, etc).
placeholder: "`node -v && uname -a` e.g., Ubuntu 25.04, Node 22.16.0"
placeholder: "e.g., Ubuntu 25.04, Node 22.16.0"
validations:
required: false

- type: textarea
id: logs
attributes:
label: Logs or Screenshots
description: Include relevant logs, stack traces, or screenshots
description: Include relevant logs, stack traces, or screenshots.
validations:
required: false
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/docs_update.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Docs Update
description: Suggest an update or improvement to the documentation
labels: ["documentation"]
labels: [ "documentation" ]
body:
- type: textarea
id: suggestion
attributes:
label: Suggested Update
description: Describe the proposed documentation update or fix
description: Describe the proposed documentation update or fix.
validations:
required: true

- type: textarea
id: context
attributes:
label: Additional Context
description: Add any other relevant information or context
description: Add any other relevant information or context.
validations:
required: false
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Feature Request
description: Suggest an idea or enhancement
labels: ["enhancement"]
labels: [ "enhancement" ]
body:
- type: textarea
id: summary
attributes:
label: Feature Summary
description: Clearly describe the feature you’d like to see added
description: Clearly describe the feature you’d like to see added.
validations:
required: true

- type: textarea
id: usecase
attributes:
label: Use Case
description: Explain why this feature is useful or what problem it solves
description: Explain why this feature is useful or what problem it solves.
validations:
required: true

Expand All @@ -30,6 +30,6 @@ body:
id: additional
attributes:
label: Additional Context
description: Add any other context or screenshots here
description: Add any other context or screenshots here.
validations:
required: false
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ body:
id: description
attributes:
label: Description
description: Provide a detailed description of the issue or question
description: Provide a detailed description of the issue or question.
validations:
required: true
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ Please ensure the following items are completed before requesting review:
* [ ] Updated `CHANGELOG.md` with relevant changes
* [ ] Documented the contribution in `README.md`
* [ ] Added tests to demonstrate correct behavior (both positive and negative cases)
* [ ] All tests pass successfully (`yarn test`)
* [ ] All tests pass successfully
* [ ] Code passes linting checks (`yarn lint`)
39 changes: 0 additions & 39 deletions .github/workflows/acceptance.yaml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Publish to NPM

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: { }

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
environment: deploy
if: github.repository == 'ton-org/create-ton'

permissions:
contents: read
id-token: write # required for npm provenance when publishing with trusted publishing.

steps:
- name: Fetch Sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: '1.3.14'
no-cache: true

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Build
run: bun run build

- name: Setup Node
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
package-manager-cache: false

- name: Publish
run: npm publish --access public
43 changes: 43 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Run linter

on:
push:
branches:
- master
pull_request:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: { }

jobs:
test:
name: Lint
runs-on: ubuntu-latest

permissions:
contents: read

steps:
- name: Fetch Sources
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: '1.3.14'

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Run formatter
run: bun run fmt:check

- name: Run linter
run: bun run lint
47 changes: 0 additions & 47 deletions .github/workflows/publish.yml

This file was deleted.

84 changes: 0 additions & 84 deletions .github/workflows/qa.yaml

This file was deleted.

Loading
Loading