Skip to content

Commit 579235e

Browse files
committed
Prepare for release
1 parent 5ab79dd commit 579235e

File tree

6 files changed

+9
-4
lines changed

6 files changed

+9
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,12 @@ jobs:
8686
if: steps.check-versions.outputs.should-publish == 'true' && contains(steps.check-versions.outputs.packages-to-publish, 'tools')
8787
working-directory: packages/xd-crossword-tools
8888
run: |
89+
# Convert workspace:* dependency to actual version number
90+
PARSER_VERSION=$(cd ../xd-crossword-tools-parser && node -p "require('./package.json').version")
91+
sed -i.bak "s/\"xd-crossword-tools-parser\": \"workspace:\*\"/\"xd-crossword-tools-parser\": \"^$PARSER_VERSION\"/" package.json
8992
npm publish --provenance --access public
93+
# Restore original package.json
94+
mv package.json.bak package.json
9095
env:
9196
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9297

.yarn/install-state.gz

-3 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "xd-crossword-monorepo",
33
"private": true,
4-
"version": "11.1.0",
4+
"version": "11.1.1",
55
"description": "Tools for taking different crossword file formats and converting them to xd, and for converting an xd file to useful JSON",
66
"scripts": {
77
"build": "yarn workspaces foreach -A run build",

packages/xd-crossword-tools-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xd-crossword-tools-parser",
3-
"version": "11.1.0",
3+
"version": "11.1.1",
44
"main": "dist/index.js",
55
"module": "./dist/index.mjs",
66
"types": "./dist/index.d.ts",

packages/xd-crossword-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xd-crossword-tools",
3-
"version": "11.1.0",
3+
"version": "11.1.1",
44
"main": "dist/index.js",
55
"module": "./dist/index.mjs",
66
"types": "./dist/index.d.ts",

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "site",
33
"private": true,
4-
"version": "11.1.0",
4+
"version": "11.1.1",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

0 commit comments

Comments
 (0)