@taskforcehq/taskforce 0.3.300 → 0.3.301

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.
@@ -8,13 +8,13 @@
8
8
  <link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png" />
9
9
  <link rel="apple-touch-icon" href="/taskforce/favicon/apple-touch-icon.png" />
10
10
  <title>Taskforce Dashboard</title>
11
- <script type="module" crossorigin src="/taskforce/assets/index-Bzqy5QGm.js"></script>
11
+ <script type="module" crossorigin src="/taskforce/assets/index-xBWLPOEb.js"></script>
12
12
  <link rel="modulepreload" crossorigin href="/taskforce/assets/vendor-react-CKJs5o3c.js">
13
13
  <link rel="modulepreload" crossorigin href="/taskforce/assets/vendor-icons-QZyhEwgT.js">
14
14
  <link rel="modulepreload" crossorigin href="/taskforce/assets/vendor-markdown-BUxTU7dS.js">
15
15
  <link rel="modulepreload" crossorigin href="/taskforce/assets/vendor-dnd-DRzYolkg.js">
16
16
  <link rel="modulepreload" crossorigin href="/taskforce/assets/vendor-router-BbWMxlnO.js">
17
- <link rel="stylesheet" crossorigin href="/taskforce/assets/index-DxRiI3tY.css">
17
+ <link rel="stylesheet" crossorigin href="/taskforce/assets/index-BiiF1cLQ.css">
18
18
  </head>
19
19
  <body>
20
20
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taskforcehq/taskforce",
3
- "version": "0.3.300",
3
+ "version": "0.3.301",
4
4
  "description": "Mission Command center for AI-powered task management (beta - under active development)",
5
5
  "author": "Taskforce HQ <hello@taskforcehq.ai> (https://taskforcehq.ai)",
6
6
  "license": "MIT",
@@ -60,6 +60,8 @@
60
60
  "check:localization-strings": "node scripts/check-localization-strings.mjs",
61
61
  "version:next": "node scripts/release-version.mjs --dry-run",
62
62
  "version:bump": "node scripts/release-version.mjs",
63
+ "deploy:staging": "bash scripts/deploy-staging.sh",
64
+ "deploy:prod": "bash scripts/deploy-prod.sh",
63
65
  "test:localization": "vitest run src/__tests__/localizationCatalogs.test.ts",
64
66
  "check:runtime-boundaries": "node scripts/check-runtime-boundaries.mjs",
65
67
  "test:workflow-readiness": "npm run check:workflows && vitest src/__tests__/workflowSimulation.test.ts src/__tests__/workflowExportMatrix.test.ts src/__tests__/workflowExportSnapshots.test.ts src/__tests__/workflowDocumentFixtures.test.ts src/__tests__/structuredCommentValidation.test.ts src/__tests__/structuredDocValidation.test.ts src/__tests__/workflowV2Policy.test.ts src/__tests__/workflowGeneration.test.ts src/__tests__/templates.test.ts",
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
+ cd "$ROOT_DIR"
6
+
7
+ BUMP_TYPE="${1:-patch}"
8
+ ORIGINAL_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
9
+
10
+ case "$BUMP_TYPE" in
11
+ patch|minor|major)
12
+ ;;
13
+ *)
14
+ echo "Invalid version bump '$BUMP_TYPE'. Use patch, minor, or major." >&2
15
+ exit 1
16
+ ;;
17
+ esac
18
+
19
+ if ! git diff --quiet || ! git diff --cached --quiet; then
20
+ echo "Working tree is not clean. Commit or stash changes before deploying to production." >&2
21
+ exit 1
22
+ fi
23
+
24
+ git checkout main
25
+ git pull --ff-only origin main
26
+ git merge --no-ff --no-commit staging
27
+ npm version "$BUMP_TYPE" --no-git-tag-version
28
+
29
+ VERSION="$(node -p "JSON.parse(require('fs').readFileSync('package.json','utf8')).version")"
30
+
31
+ git add package.json package-lock.json
32
+ git commit -m "chore(release): v${VERSION}"
33
+ git tag "v${VERSION}"
34
+ git push origin main
35
+ git push origin "v${VERSION}"
36
+
37
+ if [[ "$ORIGINAL_BRANCH" != "main" ]]; then
38
+ git checkout "$ORIGINAL_BRANCH"
39
+ fi
40
+
41
+ echo "Promoted staging to main, bumped version to ${VERSION}, and pushed tag v${VERSION}."
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
+ cd "$ROOT_DIR"
6
+
7
+ ORIGINAL_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
8
+
9
+ if ! git diff --quiet || ! git diff --cached --quiet; then
10
+ echo "Working tree is not clean. Commit or stash changes before deploying to staging." >&2
11
+ exit 1
12
+ fi
13
+
14
+ git checkout staging
15
+ git pull --ff-only origin staging
16
+ git merge --no-ff dev -m "chore(release): promote dev to staging"
17
+ git push origin staging
18
+
19
+ if [[ "$ORIGINAL_BRANCH" != "staging" ]]; then
20
+ git checkout "$ORIGINAL_BRANCH"
21
+ fi
22
+
23
+ echo "Promoted dev to staging."