Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .changeset/funny-bikes-sink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@stephansama/types-github-action-env": major
"@stephansama/github-env": major
---

renamed github actions environment package
Comment on lines +2 to +6
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Make the rename note explicit.

The generated release notes here do not tell consumers what to migrate from and to. Please name both packages so the major bump is actionable.

Proposed fix
-renamed github actions environment package
+Renamed `@stephansama/github-env` to `@stephansama/types-github-action-env`.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"@stephansama/types-github-action-env": major
"@stephansama/github-env": major
---
renamed github actions environment package
"@stephansama/types-github-action-env": major
"@stephansama/github-env": major
---
Renamed `@stephansama/github-env` to `@stephansama/types-github-action-env`.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~6-~6: The official name of this software platform is spelled with a capital “H”.
Context: ...hansama/github-env": major --- renamed github actions environment package

(GITHUB)

🪛 markdownlint-cli2 (0.21.0)

[warning] 6-6: First line in a file should be a top-level heading

(MD041, first-line-heading, first-line-h1)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.changeset/funny-bikes-sink.md around lines 2 - 6, Update the release note
to explicitly state the rename from `@stephansama/types-github-action-env` to
`@stephansama/github-env` so consumers know what to migrate; replace the generic
line "renamed github actions environment package" with a clear sentence like
"Renamed package `@stephansama/types-github-action-env` → `@stephansama/github-env`;
update imports and package.json to use `@stephansama/github-env`" so both package
names (`@stephansama/types-github-action-env` and `@stephansama/github-env`) are
present and actionable.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ All packages are packaged underneath the `@stephansama` scope (for example: `@st
| [catppuccin-xsl](core/catppuccin-xsl/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Fcatppuccin-xsl?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/catppuccin-xsl?labelColor=211F1F) | Catppuccin styles for various xsl formats |
| [create-stephansama-example](core/example/README.md) | ![npm version image](https://img.shields.io/npm/v/create-stephansama-example?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/create-stephansama-example?labelColor=211F1F) | Download an example from the @stephansama/packages examples |
| [find-makefile-targets](core/find-makefile-targets/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Ffind-makefile-targets?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/find-makefile-targets?labelColor=211F1F) | Find makefile targets used to pipe into fzf |
| [github-env](core/github-env/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Fgithub-env?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/github-env?labelColor=211F1F) | Additional environment variable types for GitHub CI |
| [github-env](core/github-env/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Fgithub-env?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/github-env?labelColor=211F1F) | \[Deprecated] Additional environment variable types for GitHub CI |
| [multipublish](core/multipublish/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Fmultipublish?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/multipublish?labelColor=211F1F) | Publish packages to multiple providers easily |
| [prettier-plugin-handlebars](core/prettier-plugin-handlebars/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Fprettier-plugin-handlebars?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/prettier-plugin-handlebars?labelColor=211F1F) | Prettier plugin that automatically assigns the default parser for various handlebars files |
| [remark-asciinema](core/remark-asciinema/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Fremark-asciinema?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/remark-asciinema?labelColor=211F1F) | A remark plugin that transforms Asciinema links into embedded players or screenshots. |
Expand All @@ -63,6 +63,7 @@ All packages are packaged underneath the `@stephansama` scope (for example: `@st
| [typed-events](core/typed-events/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Ftyped-events?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/typed-events?labelColor=211F1F) | Typed events store using standard schema |
| [typed-nocodb-api](core/typed-nocodb-api/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Ftyped-nocodb-api?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/typed-nocodb-api?labelColor=211F1F) | Typed API client for NocoDB using Zod |
| [typed-templates](core/typed-templates/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Ftyped-templates?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/typed-templates?labelColor=211F1F) | Use standard schema to validate and use handlebar template directories |
| [types-github-action-env](core/types-github-action-env/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Ftypes-github-action-env?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/types-github-action-env?labelColor=211F1F) | environment variable types for GitHub Action environment |
| [types-lhci](core/types-lhci/README.md) | ![npm version image](https://img.shields.io/npm/v/%40stephansama%2Ftypes-lhci?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F) | ![npm downloads](https://img.shields.io/npm/dw/@stephansama/types-lhci?labelColor=211F1F) | types for lhci configuration |

<!-- WORKSPACE end -->
Expand Down
32 changes: 3 additions & 29 deletions core/github-env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,6 @@
[![NPM Version](https://img.shields.io/npm/v/%40stephansama%2Fgithub-env?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F)](https://www.npmx.dev/package/@stephansama/github-env)
[![npm downloads](https://img.shields.io/npm/dw/@stephansama/github-env?labelColor=211F1F)](https://www.npmx.dev/package/@stephansama/github-env)

Additional environment variable types for GitHub CI

## Installation

To use these type definitions, add the package to your `devDependencies`:

```sh
pnpm install --save-dev @stephansama/github-env
```

## Usage

In order to enable the GitHub environment variables into your local scope you can either add the following to your `tsconfig.json`

```json
{
"compilerOptions": {
"types": ["@stephansama/github-env"]
}
}
```

or add the following reference to any typescript file

```ts
/// <reference types="@stephansama/github-env" />
```

🎉 Now you have access to GitHub environment variables in your TypeScript files!
> \[!CAUTION]
>
> please use `@stephansama/types-github-action-env` instead
23 changes: 3 additions & 20 deletions core/github-env/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
{
"name": "@stephansama/github-env",
"version": "0.1.6",
"description": "Additional environment variable types for GitHub CI",
"keywords": [
"actions",
"env",
"environment-variables",
"github",
"github-env",
"process",
"types",
"typescript"
],
"description": "[Deprecated] Additional environment variable types for GitHub CI",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🌐 Web query:

Does npm show package deprecation warnings from the descriptionfield in package.json, or isnpm deprecate required to warn users during install/update?

💡 Result:

npm does not generate npm WARN deprecated ... messages from the description field in package.json.

To show a deprecation warning during install/update, the package/version must be marked deprecated in the npm registry, which is what npm deprecate <pkg>[@<range>] "<message>" does (“update the npm registry entry … providing a deprecation warning to all who attempt to install it”). [1] The npm unpublish policy also describes deprecation as publishing “a clear warning message … every time the package is downloaded.” [2]

So: npm deprecate (or an equivalent registry-side deprecation) is required for install/update warnings; editing description won’t do it. [1] [2]

Sources: [1] npm docs: npm deprecate command, [2] npm docs: unpublish policy (recommends npm deprecate and notes it shows warnings).


Publish a deprecation notice via npm deprecate for the old package.

The [Deprecated] description prefix won't trigger install-time warnings. Use npm deprecate @stephansama/github-env`` to publish a deprecation notice that warns users during install/update and directs them to @stephansama/types-github-action-env.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@core/github-env/package.json` at line 4, Run an npm deprecation for the old
package name to surface install-time warnings: execute npm deprecate
`@stephansama/github-env` "Package deprecated — use
`@stephansama/types-github-action-env` instead" (or similar message directing
users), and optionally update the package.json "description" value in this
repository to remove the misleading "[Deprecated]" prefix; ensure the
deprecation text clearly points users to `@stephansama/types-github-action-env`.

"keywords": [],
"homepage": "https://packages.stephansama.info/api/@stephansama/github-env",
"repository": {
"type": "git",
Expand All @@ -25,15 +16,7 @@
"url": "https://stephansama.info"
},
"type": "module",
"types": "./src/env.d.ts",
"files": [
"src"
],
"scripts": {
"prelint": "eslint ./",
"lint": "publint",
"type-check": "tsc --noEmit"
},
"scripts": {},
"packageManager": "pnpm@10.29.3",
"publishConfig": {
"access": "public",
Expand Down
44 changes: 44 additions & 0 deletions core/types-github-action-env/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# @stephansama/github-env
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The title of the changelog still refers to the old package name. It should be updated to the new package name, @stephansama/types-github-action-env, to avoid confusion.

Suggested change
# @stephansama/github-env
# @stephansama/types-github-action-env

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Rename the changelog header to the new package.

Line 1 still labels this file as @stephansama/github-env, which will misidentify the published changelog for core/types-github-action-env.

Proposed fix
-# `@stephansama/github-env`
+# `@stephansama/types-github-action-env`
+
+Formerly published as `@stephansama/github-env`.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# @stephansama/github-env
# `@stephansama/types-github-action-env`
Formerly published as `@stephansama/github-env`.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@core/types-github-action-env/CHANGELOG.md` at line 1, Replace the first-line
changelog header "# `@stephansama/github-env`" with the correct package name
header "# core/types-github-action-env" so the file identifies the published
changelog for the core/types-github-action-env package; ensure the new header
remains the top-level Markdown heading.


## 0.1.6

### Patch Changes

- 5d6ed23: switch from npmjs to npmx

## 0.1.5

### Patch Changes

- a307d76: updated dependencies

## 0.1.4

### Patch Changes

- 17e55fe: Updated developer experience and readmes

## 0.1.3

### Patch Changes

- 59750e2: migrated to tsdown

## 0.1.2

### Patch Changes

- 74e34e3: Added more plugins to auto readme. Removed patch dependencies.
- updated package.jsons with new packages directory structure

## 0.1.1

### Patch Changes

- cdfe284: Updated markdown readme script. removed typedoc from types package

## 0.1.0

### Minor Changes

- 86dce63: Created github environment package
36 changes: 36 additions & 0 deletions core/types-github-action-env/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# @stephansama/types-github-action-env

[![Source code](https://img.shields.io/badge/Source-666666?style=flat&logo=github&label=Github&labelColor=211F1F)](https://github.com/stephansama/packages/tree/main/core/github-env)
[![Documentation](https://img.shields.io/badge/Documentation-211F1F?style=flat&logo=Wikibooks&labelColor=211F1F)](https://packages.stephansama.info/api/@stephansama/github-env)
[![NPM Version](https://img.shields.io/npm/v/%40stephansama%2Fgithub-env?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F)](https://www.npmx.dev/package/@stephansama/github-env)
[![npm downloads](https://img.shields.io/npm/dw/@stephansama/github-env?labelColor=211F1F)](https://www.npmx.dev/package/@stephansama/github-env)
Comment on lines +3 to +6
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The badges in the README point to the old package name (@stephansama/github-env). This will lead users to incorrect links. Please update them to reflect the new package name, @stephansama/types-github-action-env, and the new directory path.

Suggested change
[![Source code](https://img.shields.io/badge/Source-666666?style=flat&logo=github&label=Github&labelColor=211F1F)](https://github.com/stephansama/packages/tree/main/core/github-env)
[![Documentation](https://img.shields.io/badge/Documentation-211F1F?style=flat&logo=Wikibooks&labelColor=211F1F)](https://packages.stephansama.info/api/@stephansama/github-env)
[![NPM Version](https://img.shields.io/npm/v/%40stephansama%2Fgithub-env?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F)](https://www.npmx.dev/package/@stephansama/github-env)
[![npm downloads](https://img.shields.io/npm/dw/@stephansama/github-env?labelColor=211F1F)](https://www.npmx.dev/package/@stephansama/github-env)
[![Source code](https://img.shields.io/badge/Source-666666?style=flat&logo=github&label=Github&labelColor=211F1F)](https://github.com/stephansama/packages/tree/main/core/types-github-action-env)
[![Documentation](https://img.shields.io/badge/Documentation-211F1F?style=flat&logo=Wikibooks&labelColor=211F1F)](https://packages.stephansama.info/api/@stephansama/types-github-action-env)
[![NPM Version](https://img.shields.io/npm/v/%40stephansama%2Ftypes-github-action-env?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F)](https://www.npmx.dev/package/@stephansama/types-github-action-env)
[![npm downloads](https://img.shields.io/npm/dw/@stephansama/types-github-action-env?labelColor=211F1F)](https://www.npmx.dev/package/@stephansama/types-github-action-env)


Additional environment variable types for GitHub CI

## Installation

To use these type definitions, add the package to your `devDependencies`:

```sh
pnpm install --save-dev @stephansama/types-github-action-env
```

## Usage

In order to enable the GitHub environment variables into your local scope you can either add the following to your `tsconfig.json`

```json
{
"compilerOptions": {
"types": ["@stephansama/types-github-action-env"]
}
}
```

or add the following reference to any typescript file

```ts
/// <reference types="@stephansama/types-github-action-env" />
```

🎉 Now you have access to GitHub environment variables in your TypeScript files!
42 changes: 42 additions & 0 deletions core/types-github-action-env/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "@stephansama/types-github-action-env",
"version": "0.1.6",
"description": "environment variable types for GitHub Action environment",
"keywords": [
"actions",
"env",
"environment-variables",
"github",
"github-env",
"process",
"types",
"typescript"
],
"homepage": "https://packages.stephansama.info/api/@stephansama/types-github-action-env",
"repository": {
"type": "git",
"url": "git+https://github.com/stephansama/packages.git",
"directory": "core/types-github-action-env"
},
"license": "MIT",
"author": {
"name": "Stephan Randle",
"email": "stephanrandle.dev@gmail.com",
"url": "https://stephansama.info"
},
"type": "module",
"types": "./src/env.d.ts",
"files": [
"src"
],
"scripts": {
"prelint": "eslint ./",
"lint": "publint",
"type-check": "tsc --noEmit"
},
"packageManager": "pnpm@10.29.3",
"publishConfig": {
"access": "public",
"provenance": true
}
}
File renamed without changes.
Loading