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
5 changes: 0 additions & 5 deletions .babelrc

This file was deleted.

31 changes: 31 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copy to `.env` and fill in as needed. Real environment variables take precedence.
#
# Build-time: this file is loaded by `npm run build` (tsdown) and baked into the bundle.
# Runtime: the CLI does NOT read this file when it runs; set those vars in your shell.

# --- Build-time ---

# Amplitude API key baked into release builds for anonymous telemetry.
# Leave empty for local builds (telemetry stays off).
KONTENT_CLI_AMPLITUDE_API_KEY=

# Base Kontent.ai domain; all endpoint URLs derive from it (app.<domain>, manage.<domain>).
# Baked into the build from here; defaults to kontent.ai (production). Use
# devkontentmasters.com for dev. A runtime KONTENT_URL in your shell overrides it.
KONTENT_URL=devkontentmasters.com

# Auth0 tenant baked into the build; defaults here target the QA/dev tenant.
# A runtime KONTENT_AUTH0_* var in your shell overrides each. The requested
# scope is not configurable (fixed requirement of the CLI).
KONTENT_AUTH0_DOMAIN=login.devkontentmasters.com
KONTENT_AUTH0_CLIENT_ID=
KONTENT_AUTH0_AUDIENCE=https://app.kenticocloud.com/

# --- Runtime (export in your shell; shown here for reference) ---

# Telemetry opt-out (set to 1/true to disable). DO_NOT_TRACK is the standard equivalent.
KONTENT_DO_NOT_TRACK=
DO_NOT_TRACK=

# Verbose telemetry logging for debugging.
KONTENT_TELEMETRY_DEBUG=
156 changes: 0 additions & 156 deletions .eslintrc.js

This file was deleted.

5 changes: 1 addition & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
# Users referenced in this file will automatically be requested as reviewers for PRs that modify the given paths.
# See https://help.github.com/articles/about-code-owners/

* @IvanKiral @winklertomas @kontent-ai/javascript-maintainers
* @IvanKiral @kontent-ai/developer-relations
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Bug report
about: Create a report to help us improve

---

### Brief bug description

What went wrong?

### Repro steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

### Expected behavior

What is the correct behavior?

### Test environment

- Platform/OS: [e.g. .NET Core 2.1, iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

### Additional context

Add any other context about the problem here.

### Screenshots

Add links to screenshots, if possible.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project

---

### Motivation

Why is this feature required? What problems does it solve?

### Proposed solution

An ideal solution for the above problems.

### Additional context

Add any other context, screenshots, or reference links about the feature request here.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Question
about: Ask a question

---

### Question

What do you want to ask?

### Reference

* URL
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/spike.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Spike
about: Suggest an analysis of a problem

---

### Expected result

What do we want to explore and why? Which questions do we want to answer with this spike?

### Additional context

Add any other context or guidelines here.

### Resources

* URL
17 changes: 17 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
### Motivation

Which issue does this fix? Fixes #`issue number`

If no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious?

### Checklist

- [ ] Code follows coding conventions held in this repo
- [ ] Automated tests have been added
- [ ] Tests are passing
- [ ] Docs have been updated (if applicable)
- [ ] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

### How to test

If manual testing is required, what are the steps?
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
branches: [main]
pull_request:

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup pnpm
uses: pnpm/action-setup@v5
- name: Use Node.js from .nvmrc file
uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm typecheck
- name: ESLint
run: pnpm lint
- name: Biome
run: pnpm biome:check
- name: Build
run: pnpm build
28 changes: 0 additions & 28 deletions .github/workflows/publish.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/test.yml

This file was deleted.

Loading