@doikayt/typescript-build-config 0.1.33 → 0.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -664,6 +664,7 @@ Installed by [Quick start](#quick-start) step 1 (or manually: add
664
664
  | Alias | What it does |
665
665
  | --- | --- |
666
666
  | `mkrepo <name>` | Create a public repo in the `doikayt` org (guards against duplicates). |
667
+ | `rmrepo <name>` | Permanently delete a repo from the `doikayt` org. Shows what it found, then makes you type the full `owner/name` to confirm; there is no flag to skip that. |
667
668
  | `addpush [name]` | Wire up the current directory to an existing Codeberg repo (create it first with `mkrepo`) and push. Defaults `name` to the current directory. |
668
669
  | `dk-new` | `npm init -y` + `@doikayt` scope. |
669
670
  | `dk-init` | Scaffold the build config into the current project. |
@@ -718,3 +719,4 @@ MIT
718
719
 
719
720
 
720
721
  [![Remember the USS Liberty!](https://badge.techforpalestine.org/ceasefire-now)](https://techforpalestine.org/learn-more)
722
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doikayt/typescript-build-config",
3
- "version": "0.1.33",
3
+ "version": "0.1.38",
4
4
  "description": "Shared build configuration for TypeScript projects — ESLint, Prettier, tsconfig, and Playwright presets",
5
5
  "_comments": {
6
6
  "exports": "This block lists the config files that will be extended by files in in src/toplevel - which are copied to consuming project root folder. An example: eslint.config.js imports from '@doikayt/typescript-build-config/eslint'.",
@@ -39,7 +39,6 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@changesets/cli": "^2.29.8",
42
- "@doikayt/typescript-build-config": "^0.1.33",
43
42
  "@doikayt/update-markdown-toc": "^1.4.17",
44
43
  "@playwright/test": "^1.40.0"
45
44
  },
@@ -7,6 +7,19 @@ steps:
7
7
  - npm ci
8
8
  - npm run ci
9
9
  - if [ "$CI_PIPELINE_EVENT" = "pull_request" ]; then npx changeset status; fi
10
+ when:
11
+ - event: [push, pull_request, tag]
12
+
13
+ verify-npm-token:
14
+ image: node:22
15
+ commands:
16
+ - 'echo "//registry.npmjs.org/:_authToken=$NPM" > ~/.npmrc'
17
+ - npm whoami
18
+ environment:
19
+ NPM:
20
+ from_secret: NPM
21
+ when:
22
+ - event: manual
10
23
 
11
24
  release:
12
25
  image: node:22
@@ -15,7 +28,7 @@ steps:
15
28
  commands:
16
29
  - apt-get update && apt-get install -y --no-install-recommends git bash
17
30
  - npm ci
18
- - git fetch --tags --force
31
+ - 'if [ "$(git rev-parse --is-shallow-repository)" = true ]; then git fetch --unshallow --tags --force; else git fetch --tags --force; fi'
19
32
  - git config user.name "doikayt-release-bot"
20
33
  - git config user.email "doikayt-release-bot@codeberg.org"
21
34
  - bash scripts/auto-changeset.sh
@@ -24,7 +37,8 @@ steps:
24
37
  - 'git diff --staged --quiet || git commit -m "chore: release [CI SKIP]"'
25
38
  - git remote set-url origin "https://$CODEBERG_TOKEN@codeberg.org/$CI_REPO.git"
26
39
  - git push origin HEAD:main
27
- - NODE_AUTH_TOKEN="$NPM" npx changeset publish
40
+ - 'echo "//registry.npmjs.org/:_authToken=$NPM" > ~/.npmrc'
41
+ - npx changeset publish
28
42
  - git push origin --tags
29
43
  environment:
30
44
  CODEBERG_TOKEN: