Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"fix-core-dts-zod-compat",
"fix-scaffold-template-versions",
"fix-types-prebuild-plugin-zod-compat",
"remove-workspace-prepublish-guard",
"scaffold-hook-interfaces-to-types",
"workspace-publish-guards",
"zodlike-export-path-fix"
Expand Down
20 changes: 20 additions & 0 deletions .changeset/remove-workspace-prepublish-guard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@stackwright/build-scripts": patch
"@stackwright/ui-shadcn": patch
"@stackwright/mcp": patch
"@stackwright/sbom-generator": patch
"@stackwright/core": patch
"@stackwright/nextjs": patch
"@stackwright/icons": patch
"@stackwright/hooks-registry": patch
"@stackwright/types": patch
"launch-stackwright": patch
"@stackwright/collections": patch
"@stackwright/maplibre": patch
"@stackwright/themes": patch
"@stackwright/scaffold-core": patch
"@stackwright/cli": patch
"@stackwright/otters": patch
---

Remove `prepublishOnly` workspace: specifier guard that conflicted with `pnpm publish`'s automatic `workspace:*` → semver resolution. The guard checked the local `package.json` for `workspace:*` entries and rejected them, but `pnpm publish` rewrites those specifiers inside the tarball at publish time without modifying the local file — so the guard always produced false positives and blocked all publishes.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ pnpm test:core

**CI enforces linting and formatting. Run these before every push:**

**If you changed any `package.json`:** run `pnpm install` from the repo root and stage the updated `pnpm-lock.yaml` alongside your changes. CI runs with `--frozen-lockfile` and will fail if the lockfile is out of sync with `package.json`.

```bash
pnpm format # Auto-fix Prettier formatting
pnpm lint # Check ESLint (warnings are fine, errors are not)
Expand Down
10 changes: 10 additions & 0 deletions examples/stackwright-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# stackwright-docs

## 0.1.6-alpha.3

### Patch Changes

- Updated dependencies [adb13ae]
- @stackwright/ui-shadcn@0.1.3-alpha.1
- @stackwright/core@0.8.4-alpha.3
- @stackwright/nextjs@0.5.3-alpha.3
- @stackwright/icons@0.5.2-alpha.1

## 0.1.6-alpha.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/stackwright-docs/build-manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"format": "stackwright-build-manifest",
"version": "1.0.0",
"generated": "2026-04-16T15:01:00.915Z",
"generated": "2026-05-15T14:03:57.119Z",
"project": {
"name": "stackwright-docs",
"version": "0.1.2-alpha.1",
"version": "0.1.6-alpha.3",
"root": "/home/charles/git/peraspera/stackwright/examples/stackwright-docs",
"isMonorepo": false
},
Expand Down
8 changes: 4 additions & 4 deletions examples/stackwright-docs/cyclonedx.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"specVersion": "1.5",
"version": 1,
"metadata": {
"timestamp": "2026-04-16T15:01:00.915Z",
"timestamp": "2026-05-15T14:03:57.118Z",
"tools": [
{
"vendor": "Stackwright",
Expand All @@ -14,8 +14,8 @@
"component": {
"type": "application",
"name": "stackwright-docs",
"version": "0.1.2-alpha.1",
"purl": "pkg:npm/stackwright-docs@0.1.2-alpha.1"
"version": "0.1.6-alpha.3",
"purl": "pkg:npm/stackwright-docs@0.1.6-alpha.3"
}
},
"components": [
Expand Down Expand Up @@ -307,7 +307,7 @@
],
"dependencies": [
{
"ref": "pkg:npm/stackwright-docs@0.1.2-alpha.1",
"ref": "pkg:npm/stackwright-docs@0.1.6-alpha.3",
"dependsOn": [
"@radix-ui/react-accordion",
"@radix-ui/react-slot",
Expand Down
4 changes: 2 additions & 2 deletions examples/stackwright-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stackwright-docs",
"version": "0.1.6-alpha.2",
"version": "0.1.6-alpha.3",
"private": true,
"scripts": {
"prebuild": "stackwright-prebuild",
Expand All @@ -26,7 +26,7 @@
"next": "^16.2.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"tailwind-merge": "^3.5.0"
"tailwind-merge": "^3.6.0"
},
"devDependencies": {
"@playwright/browser-chromium": "^1.58.2",
Expand Down
10 changes: 5 additions & 5 deletions examples/stackwright-docs/spdx.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"spdxVersion": "SPDX-2.3",
"dataLicense": "CC0-1.0",
"SPDXID": "SPDXRef-DOCUMENT-0458494c",
"name": "stackwright-docs@0.1.2-alpha.1",
"documentNamespace": "https://stackwright.dev/spdx/stackwright-docs/2026-04-16T15:01:00.913Z",
"SPDXID": "SPDXRef-DOCUMENT-4daafef0",
"name": "stackwright-docs@0.1.6-alpha.3",
"documentNamespace": "https://stackwright.dev/spdx/stackwright-docs/2026-05-15T14:03:57.117Z",
"creationInfo": {
"created": "2026-04-16T15:01:00.913Z",
"created": "2026-05-15T14:03:57.117Z",
"creators": [
"Tool: @stackwright/sbom-generator",
"Tool-Version: 0.0.0"
Expand Down Expand Up @@ -360,7 +360,7 @@
],
"relationships": [
{
"spdxElementId": "SPDXRef-DOCUMENT-0458494c",
"spdxElementId": "SPDXRef-DOCUMENT-4daafef0",
"relationshipType": "DESCRIBES",
"relatedSpdxElement": "SPDXRef-Package-clsx"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/stackwright-docs/spdx.spdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
SPDXVersion: SPDX-2.3
DataLicense: CC0-1.0
SPDXID: SPDXRef-DOCUMENT-0458494c
DocumentName: stackwright-docs@0.1.2-alpha.1
DocumentNamespace: https://stackwright.dev/spdx/stackwright-docs/2026-04-16T15:01:00.913Z
SPDXID: SPDXRef-DOCUMENT-4daafef0
DocumentName: stackwright-docs@0.1.6-alpha.3
DocumentNamespace: https://stackwright.dev/spdx/stackwright-docs/2026-05-15T14:03:57.117Z

CreationInfo:
Created: 2026-04-16T15:01:00.913Z
Created: 2026-05-15T14:03:57.117Z
Creator: Tool: @stackwright/sbom-generator
Creator: Tool-Version: 0.0.0

Expand Down Expand Up @@ -129,7 +129,7 @@ PackageLicenseDeclared: NOASSERTION
PackageChecksum: SHA256: 039d2e92d475e4268b1babe22545c8cc507d46e9fc09aacaa75ee5925b885a10
ExternalRef: PACKAGE-MANAGER purl pkg:npm/tailwind-merge@3.5.0

Relationship: SPDXRef-DOCUMENT-0458494c DESCRIBES SPDXRef-Package-clsx
Relationship: SPDXRef-DOCUMENT-4daafef0 DESCRIBES SPDXRef-Package-clsx
Relationship: SPDXRef-Package-clsx CONTAINS SPDXRef-Package--radix-ui-react-accordion
Relationship: SPDXRef-Package-clsx CONTAINS SPDXRef-Package--radix-ui-react-slot
Relationship: SPDXRef-Package-clsx CONTAINS SPDXRef-Package--radix-ui-react-tabs
Expand Down
23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"@vitest/coverage-v8": "^4.1.3",
"@typescript-eslint/parser": "^8.59.3",
"@vitest/coverage-v8": "^4.1.6",
"eslint": "^9.39.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.5",
Expand All @@ -61,17 +61,18 @@
"lint-staged": "^16.4.0",
"playwright": "^1.58.2",
"prettier": "^3.8.3",
"turbo": "^2.9.3",
"turbo": "^2.9.14",
"typescript": "^6",
"vitest": "^4.1.3"
},
"pnpm": {
"overrides": {
"@types/node": "^24.1.0",
"csstype": "^3.2.0",
"typescript": "^5.8.3",
"typescript": "^6",
"tsup": "^8.5.0",
"react": "19.2.5",
"react-dom": "19.2.5",
"react": "19.2.6",
"react-dom": "19.2.6",
"vitest": "^4.1.3",
"rollup": ">=4.59.0",
"minimatch": ">=9.0.7",
Expand All @@ -84,16 +85,18 @@
"path-to-regexp": ">=8.4.0",
"diff": ">=4.0.4",
"tmp": ">=0.2.4",
"undici": "^7.0.0",
"undici": ">=7.24.0",
"tar": ">=6.2.1",
"flatted": ">=3.4.2",
"next": ">=16.2.5",
"hono": ">=4.12.14",
"@hono/node-server": ">=1.19.10",
"hono": ">=4.12.18",
"@hono/node-server": ">=1.19.13",
"basic-ftp": ">=5.3.1",
"express-rate-limit": ">=8.2.2",
"uuid": ">=14.0.0",
"fast-uri": ">=3.1.2"
"fast-uri": ">=3.1.2",
"js-yaml": ">=4.1.1",
"postcss": ">=8.5.10"
},
"onlyBuiltDependencies": [
"@swc/core",
Expand Down
9 changes: 9 additions & 0 deletions packages/build-scripts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @stackwright/build-scripts

## 0.7.2-alpha.3

### Patch Changes

- adb13ae: Remove `prepublishOnly` workspace: specifier guard that conflicted with `pnpm publish`'s automatic `workspace:*` → semver resolution. The guard checked the local `package.json` for `workspace:*` entries and rejected them, but `pnpm publish` rewrites those specifiers inside the tarball at publish time without modifying the local file — so the guard always produced false positives and blocked all publishes.
- Updated dependencies [adb13ae]
- @stackwright/sbom-generator@0.2.1-alpha.1
- @stackwright/types@1.5.0-alpha.3

## 0.7.2-alpha.2

### Patch Changes
Expand Down
5 changes: 2 additions & 3 deletions packages/build-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stackwright/build-scripts",
"version": "0.7.2-alpha.2",
"version": "0.7.2-alpha.3",
"description": "Build-time scripts for Stackwright projects (prebuild image processing, YAML compilation)",
"license": "MIT",
"repository": {
Expand All @@ -25,7 +25,7 @@
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"prepublishOnly": "pnpm run build && node -e \"const p=require('./package.json');const fields=[...Object.values(p.dependencies||{}),...Object.values(p.peerDependencies||{})];const bad=fields.filter(v=>String(v).includes('workspace:'));if(bad.length){console.error('ERR: workspace: specifiers found in publishable dep fields:',bad);process.exit(1)}\"",
"prepublishOnly": "pnpm run build",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
Expand All @@ -38,7 +38,6 @@
"@types/js-yaml": "^4.0",
"@types/node": "^25.6.2",
"tsup": "^8.5.1",
"typescript": "^5.8.3",
"vitest": "^4.0.18"
},
"engines": {
Expand Down
6 changes: 4 additions & 2 deletions packages/build-scripts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{
"compilerOptions": {
"target": "es2022",
"module": "commonjs",
"module": "esnext",
"lib": ["es2022"],
"outDir": "./dist",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"moduleResolution": "node"
"moduleResolution": "bundler",
"ignoreDeprecations": "6.0",
"types": ["node"]
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist"]
Expand Down
6 changes: 6 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @stackwright/cli

## 0.8.5-alpha.0

### Patch Changes

- adb13ae: Remove `prepublishOnly` workspace: specifier guard that conflicted with `pnpm publish`'s automatic `workspace:*` → semver resolution. The guard checked the local `package.json` for `workspace:*` entries and rejected them, but `pnpm publish` rewrites those specifiers inside the tarball at publish time without modifying the local file — so the guard always produced false positives and blocked all publishes.

## 0.8.4

### Patch Changes
Expand Down
8 changes: 3 additions & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stackwright/cli",
"version": "0.8.4",
"version": "0.8.5-alpha.0",
"description": "CLI for Stackwright framework",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -28,11 +28,10 @@
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"prepublishOnly": "node -e \"const p=require('./package.json');const fields=[...Object.values(p.dependencies||{}),...Object.values(p.peerDependencies||{})];const bad=fields.filter(v=>String(v).includes('workspace:'));if(bad.length){console.error('ERR: workspace: specifiers found in publishable dep fields:',bad);process.exit(1)}\""
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@inquirer/prompts": "^8.3.0",
"@inquirer/prompts": "^8.4.3",
"chalk": "^5.6.2",
"commander": "^14.0.3",
"fs-extra": "^11.3",
Expand All @@ -57,7 +56,6 @@
"@types/js-yaml": "^4.0",
"@types/node": "^25.6",
"tsup": "^8.5",
"typescript": "^5.0",
"vitest": "^4.0.18"
}
}
5 changes: 3 additions & 2 deletions packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "es2022",
"module": "commonjs",
"module": "esnext",
"lib": ["es2020"],
"outDir": "./dist",
"strict": true,
Expand All @@ -10,7 +10,8 @@
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"moduleResolution": "node"
"moduleResolution": "bundler",
"ignoreDeprecations": "6.0"
},
"include": [
"src/**/*"
Expand Down
8 changes: 8 additions & 0 deletions packages/collections/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @stackwright/collections

## 0.1.1-alpha.3

### Patch Changes

- adb13ae: Remove `prepublishOnly` workspace: specifier guard that conflicted with `pnpm publish`'s automatic `workspace:*` → semver resolution. The guard checked the local `package.json` for `workspace:*` entries and rejected them, but `pnpm publish` rewrites those specifiers inside the tarball at publish time without modifying the local file — so the guard always produced false positives and blocked all publishes.
- Updated dependencies [adb13ae]
- @stackwright/types@1.5.0-alpha.3

## 0.1.1-alpha.2

### Patch Changes
Expand Down
6 changes: 2 additions & 4 deletions packages/collections/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stackwright/collections",
"version": "0.1.1-alpha.2",
"version": "0.1.1-alpha.3",
"description": "CollectionProvider interface and file-backed implementation for Stackwright",
"license": "MIT",
"repository": {
Expand All @@ -24,16 +24,14 @@
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"prepublishOnly": "node -e \"const p=require('./package.json');const fields=[...Object.values(p.dependencies||{}),...Object.values(p.peerDependencies||{})];const bad=fields.filter(v=>String(v).includes('workspace:'));if(bad.length){console.error('ERR: workspace: specifiers found in publishable dep fields:',bad);process.exit(1)}\""
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@stackwright/types": "workspace:*"
},
"devDependencies": {
"@types/node": "^25.6.2",
"tsup": "^8.5.1",
"typescript": "^5.8.3",
"vitest": "^4.0.18"
}
}
4 changes: 1 addition & 3 deletions packages/collections/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"extends": "../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"baseUrl": "./src",
"lib": ["es2022"],
"module": "commonjs",
"moduleResolution": "node"
"types": ["node"]
},
"include": ["src/**/*", "test/**/*"],
"exclude": ["node_modules", "dist"]
Expand Down
Loading
Loading