@8ms/helpers 2.3.22 → 2.3.24

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.
@@ -27,3 +27,15 @@ jobs:
27
27
  run: npm publish --access public
28
28
  env:
29
29
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30
+
31
+ - name: Verify publish
32
+ run: |
33
+ PACKAGE_VERSION=$(node -p "require('./package.json').version")
34
+ PUBLISHED_VERSION=$(npm view @8ms/helpers dist-tags.latest)
35
+ echo "Expected: $PACKAGE_VERSION"
36
+ echo "Published: $PUBLISHED_VERSION"
37
+ if [ "$PACKAGE_VERSION" != "$PUBLISHED_VERSION" ]; then
38
+ echo "❌ Publish verification failed — latest tag not updated"
39
+ exit 1
40
+ fi
41
+ echo "✅ Successfully published @8ms/helpers@$PACKAGE_VERSION"
Binary file
package/README.md CHANGED
@@ -12,3 +12,6 @@ As Luxon DateTime instance can't be passed between server and client side, this
12
12
 
13
13
  Query builder use:
14
14
  https://github.com/kysely-org/kysely
15
+
16
+
17
+ https://dev.to/mir_mursalin_ankur/publishing-your-first-npm-package-a-real-world-guide-that-actually-helps-4l4
@@ -1,6 +1,6 @@
1
1
  import "../../api-DGKJDAfb.mjs";
2
- import { getLuxonDate, getToday, getYesterday, getYmdString } from "../../date/index.mjs";
3
2
  import { get } from "../../axios/index.mjs";
3
+ import { getLuxonDate, getToday, getYesterday, getYmdString } from "../../date/index.mjs";
4
4
 
5
5
  //#region src/adverity/server/getJobs.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import "../../api-DGKJDAfb.mjs";
2
- import { ageGroups, devices, genders } from "../index.mjs";
3
2
  import { post } from "../../axios/index.mjs";
3
+ import { ageGroups, devices, genders } from "../index.mjs";
4
4
 
5
5
  //#region src/eskimi/server/getAgeGroup.ts
6
6
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "2.3.22",
4
+ "version": "2.3.24",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"