diff --git a/package.json b/package.json index 072adf47b..7873aef66 100644 --- a/package.json +++ b/package.json @@ -44,9 +44,9 @@ "version:all:patch": "npm version patch --include-workspace-root --message \"chore(release): cut %s\"", "version:all:minor": "npm version minor --include-workspace-root --message \"chore(release): cut %s\"", "version:all:major": "npm version major --include-workspace-root --message \"chore(release): cut %s\"", - "release:check": "npm run release:prepare && npm run typecheck --workspace=@getpaseo/relay && npm run typecheck --workspace=@getpaseo/server && npm run typecheck --workspace=@getpaseo/cli && npm run build --workspace=@getpaseo/relay && npm run build --workspace=@getpaseo/server && npm run build --workspace=@getpaseo/cli && npm pack --dry-run --workspace=@getpaseo/relay && npm pack --dry-run --workspace=@getpaseo/server && npm pack --dry-run --workspace=@getpaseo/cli", - "release:publish:dry-run": "npm publish --dry-run --workspace=@getpaseo/relay --access public && npm publish --dry-run --workspace=@getpaseo/server --access public && npm publish --dry-run --workspace=@getpaseo/cli --access public", - "release:publish": "npm publish --workspace=@getpaseo/relay --access public && npm publish --workspace=@getpaseo/server --access public && npm publish --workspace=@getpaseo/cli --access public", + "release:check": "npm run release:prepare && npm run typecheck --workspace=@getpaseo/highlight && npm run typecheck --workspace=@getpaseo/relay && npm run typecheck --workspace=@getpaseo/server && npm run typecheck --workspace=@getpaseo/cli && npm run build --workspace=@getpaseo/highlight && npm run build --workspace=@getpaseo/relay && npm run build --workspace=@getpaseo/server && npm run build --workspace=@getpaseo/cli && npm pack --dry-run --workspace=@getpaseo/highlight && npm pack --dry-run --workspace=@getpaseo/relay && npm pack --dry-run --workspace=@getpaseo/server && npm pack --dry-run --workspace=@getpaseo/cli", + "release:publish:dry-run": "npm publish --dry-run --workspace=@getpaseo/highlight --access public && npm publish --dry-run --workspace=@getpaseo/relay --access public && npm publish --dry-run --workspace=@getpaseo/server --access public && npm publish --dry-run --workspace=@getpaseo/cli --access public", + "release:publish": "npm publish --workspace=@getpaseo/highlight --access public && npm publish --workspace=@getpaseo/relay --access public && npm publish --workspace=@getpaseo/server --access public && npm publish --workspace=@getpaseo/cli --access public", "release:push": "node scripts/push-current-release-tag.mjs", "draft-release:push": "node scripts/push-current-release-tag.mjs --draft-release", "draft-release:patch": "npm run version:all:patch && npm run release:check && npm run draft-release:push", diff --git a/packages/highlight/package.json b/packages/highlight/package.json index 4d084ca70..33f982c07 100644 --- a/packages/highlight/package.json +++ b/packages/highlight/package.json @@ -1,10 +1,15 @@ { "name": "@getpaseo/highlight", "version": "0.1.32", - "private": true, "type": "module", + "publishConfig": { + "access": "public" + }, "main": "./dist/index.js", - "types": "./src/index.ts", + "types": "./dist/index.d.ts", + "files": [ + "dist" + ], "scripts": { "build": "node -e \"require('node:fs').rmSync('dist',{ recursive: true, force: true })\" && tsc -p tsconfig.json --incremental false", "prepack": "npm run build",