@8ms/helpers 2.3.23 → 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/.yarnrc.yml CHANGED
@@ -1,2 +1,2 @@
1
- nodeLinker: node-modules
2
- yarnPath: .yarn/releases/yarn-4.12.0.cjs
1
+ nodeLinker: node-modules
2
+ yarnPath: .yarn/releases/yarn-4.12.0.cjs
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
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "2.3.23",
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"
@@ -9,9 +9,7 @@
9
9
  "types": "dist/index.d.ts",
10
10
  "scripts": {
11
11
  "build": "tsdown",
12
- "jest": "jest --watch",
13
- "preview": "yarn build && npm pack --dry-run",
14
- "publish": "yarn build && npm pack && npm publish *.tgz --access public --registry https://registry.npmjs.org"
12
+ "jest": "jest --watch"
15
13
  },
16
14
  "packageManager": "yarn@4.12.0",
17
15
  "engines": {
package/tsdown.config.ts CHANGED
@@ -1,11 +1,11 @@
1
- import {defineConfig} from "tsdown";
2
-
3
- export default defineConfig({
4
- entry : ["src/**/index.ts", "src/**/index.tsx"],
5
- outDir : "dist",
6
- format : ["esm"],
7
- dts : true,
8
- clean : true,
9
- exports: true, // auto-generates the exports map in package.json
10
- skipNodeModulesBundle: true, // don't inline dependencies, let the consumer resolve them
11
- });
1
+ import {defineConfig} from "tsdown";
2
+
3
+ export default defineConfig({
4
+ entry : ["src/**/index.ts", "src/**/index.tsx"],
5
+ outDir : "dist",
6
+ format : ["esm"],
7
+ dts : true,
8
+ clean : true,
9
+ exports: true, // auto-generates the exports map in package.json
10
+ skipNodeModulesBundle: true, // don't inline dependencies, let the consumer resolve them
11
+ });
package/.env DELETED
@@ -1,11 +0,0 @@
1
- ONEPASSWORD_SERVICE_TOKEN=ops_eyJzaWduSW5BZGRyZXNzIjoiOG1zLjFwYXNzd29yZC5jb20iLCJ1c2VyQXV0aCI6eyJtZXRob2QiOiJTUlBnLTQwOTYiLCJhbGciOiJQQkVTMmctSFMyNTYiLCJpdGVyYXRpb25zIjo2NTAwMDAsInNhbHQiOiJYNWV0b0tWd0NXek1GdTc4Z3h0WW93In0sImVtYWlsIjoiNWE1azd4ZTNicWVsMkAxcGFzc3dvcmRzZXJ2aWNlYWNjb3VudHMuY29tIiwic3JwWCI6IjlmMmY3MjI4MTBmM2JlYjVlODZmYmRmN2MzMjMyNWJhZGQ4NDk3NGRlY2M5NjE4ZGQ1OGViNTA0NzUzNmEzMjQiLCJtdWsiOnsiYWxnIjoiQTI1NkdDTSIsImV4dCI6dHJ1ZSwiayI6IjBIVXFUX2R6VmZvcEt4VW1pNi1mSHU3Sll6emI2S0NVSGFJVjk2VWNXODAiLCJrZXlfb3BzIjpbImVuY3J5cHQiLCJkZWNyeXB0Il0sImt0eS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