@swell-consultancy/container 0.0.11 → 0.1.0

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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -98,3 +98,9 @@ Scale your business with expert support from [Keith Mifsud](https://keith-mifsud
98
98
  the [Swell Consultancy team](https://swell-consultancy.com). We become your partner in building systems that run your
99
99
  business.
100
100
 
101
+ ## Releases
102
+
103
+ Merging a PR into `main` publishes a patch by default. Use `release:minor` or `release:major` for a larger bump.
104
+ The workflow versions the package in CI, publishes to npm with provenance, then publishes the matching GitHub Release and tag.
105
+ If a run stops after drafting, check npm and the draft's target commit before retrying. If npm already has the intended
106
+ artifact, finalize its matching draft. If npm has no such version, remove the stale draft and rerun the failed workflow.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swell-consultancy/container",
3
- "version": "0.0.11",
3
+ "version": "0.1.0",
4
4
  "description": "A simple DI container for TypeScript projects.",
5
5
  "author": "Keith Mifsud <mifsud.k@gmail.com> (https://keith-mifsud.me)",
6
6
  "license": "Apache-2.0",
@@ -14,7 +14,7 @@
14
14
  "sideEffects": false,
15
15
  "repository": {
16
16
  "type": "git",
17
- "url": "https://github.com/Swell-Consultancy/swell-container.git"
17
+ "url": "git+https://github.com/Swell-Consultancy/swell-container.git"
18
18
  },
19
19
  "bugs": {
20
20
  "url": "https://github.com/Swell-Consultancy/swell-container/issues"
@@ -37,7 +37,8 @@
37
37
  "LICENSE"
38
38
  ],
39
39
  "publishConfig": {
40
- "access": "public"
40
+ "access": "public",
41
+ "registry": "https://registry.npmjs.org/"
41
42
  },
42
43
  "scripts": {
43
44
  "build": "tsdown src/index.ts --format esm,cjs --dts",
@@ -54,7 +55,7 @@
54
55
  "container",
55
56
  "typescript"
56
57
  ],
57
- "packageManager": "pnpm@11.12.0",
58
+ "packageManager": "pnpm@12.18.0",
58
59
  "devDependencies": {
59
60
  "@arethetypeswrong/cli": "^0.18.5",
60
61
  "publint": "^0.3.21",