@woodsportal/hubspot-kit 1.0.42-dev.2 → 1.0.42-dev.3

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/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@woodsportal/hubspot-kit",
3
- "version": "1.0.42-dev.2",
3
+ "version": "1.0.42-dev.3",
4
+ "packageManager": "pnpm@10.12.1",
4
5
  "description": "WoodsCLI — HubSpot CMS dev kit by WoodsPortal. wp CLI, Vite presets, module-config overlay, and theme/module build pipelines.",
5
6
  "type": "module",
6
7
  "main": "./dist/index.js",
@@ -55,8 +56,8 @@
55
56
  "test:examples": "node examples/smoke/run-matrix.mjs --tier static",
56
57
  "test:dist-pack": "node --test scripts/dist-cli-pack-smoke.test.mjs",
57
58
  "lint": "eslint src",
58
- "verify": "npm run typecheck && npm run test && npm run test:examples && npm run build && npm run test:dist-pack",
59
- "prepublishOnly": "npm run verify"
59
+ "verify": "pnpm run typecheck && pnpm run test && pnpm run test:examples && pnpm run build && pnpm run test:dist-pack",
60
+ "prepublishOnly": "pnpm run verify"
60
61
  },
61
62
  "engines": {
62
63
  "node": ">=20"
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env bash
2
+ # WoodsPortal CodeBuild: activate pnpm via Corepack and install dependencies.
3
+ # Copy to frontend repo scripts/ — CodeBuild clones the source repo, not infra.
4
+ set -euo pipefail
5
+
6
+ MODE="${1:-}"
7
+ ROOT="${CI_PNPM_ROOT:-.}"
8
+ cd "$ROOT"
9
+
10
+ corepack enable
11
+ PM="$(node -p "require('./package.json').packageManager || 'pnpm@10.12.1'")"
12
+ corepack prepare "$PM" --activate
13
+ pnpm -v
14
+
15
+ if [ "$MODE" = "--frozen" ] && [ -f pnpm-lock.yaml ]; then
16
+ pnpm install --frozen-lockfile
17
+ elif [ "$MODE" = "--no-frozen" ]; then
18
+ rm -f pnpm-lock.yaml
19
+ pnpm install
20
+ else
21
+ if [ -f pnpm-lock.yaml ]; then
22
+ pnpm install --frozen-lockfile
23
+ else
24
+ pnpm install
25
+ fi
26
+ fi