Skip to content

Commit 4cc46f8

Browse files
committed
docs: Fix README npm deployment location
- Should copy to `javascript/` rather than `javascript/dist/`
1 parent e252639 commit 4cc46f8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
# Cucumber Expressions
2+
13
[![test-go](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-go.yml/badge.svg)](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-go.yml)
24
[![test-java](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-java.yml/badge.svg)](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-java.yml)
35
[![test-javascript](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-javascript.yml/badge.svg)](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-javascript.yml)
46
[![test-python](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-python.yml/badge.svg)](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-python.yml)
57
[![test-ruby](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-ruby.yml/badge.svg)](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-ruby.yml)
68
[![test-dotnet](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-dotnet.yml/badge.svg)](https://github.com/cucumber/cucumber-expressions/actions/workflows/test-dotnet.yml)
79

8-
# Cucumber Expressions
9-
1010
Cucumber Expressions is an alternative to [Regular Expressions](https://en.wikipedia.org/wiki/Regular_expression)
1111
with a more intuitive syntax.
1212

javascript/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ storybook-static
1717
*-go
1818
*.iml
1919
.vscode-test
20+
# Root README copied on build
21+
README.md
2022

2123
# stryker temp files
2224
.stryker-tmp

javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"scripts": {
2222
"build:cjs": "tsc --build tsconfig.build-cjs.json && cp package.cjs.json dist/cjs/package.json",
2323
"build:esm": "tsc --build tsconfig.build-esm.json",
24-
"build": "npm run build:cjs && npm run build:esm && cp ../README.md dist",
24+
"build": "npm run build:cjs && npm run build:esm && cp ./../README.md ./",
2525
"test": "mocha && npm run test:cjs",
2626
"test:cjs": "npm run build:cjs && mocha --no-config dist/cjs/test",
2727
"stryker": "cross-env CUCUMBER_EXPRESSIONS_TEST_DATA_DIR=$(pwd)/../testdata stryker run",

0 commit comments

Comments
 (0)