Skip to content

Commit d76ba3c

Browse files
Fix readme for v1.2 changes
1 parent 55e2e5d commit d76ba3c

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

.github/workflows/npm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
run: yarn test
2929
working-directory: core
3030

31+
- name: Copy Readme
32+
run: cp README.md core
33+
3134
- name: Publish
3235
uses: JS-DevTools/npm-publish@v1
3336
with:

.gitignore

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
77
lerna-debug.log*
8-
98
# Diagnostic reports (https://nodejs.org/api/report.html)
109
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
1110

@@ -103,11 +102,13 @@ dist
103102
# TernJS port file
104103
.tern-port
105104

105+
.idea/
106+
.jekyll-cache/
107+
.scannerwork/
106108
.vscode/
107109
.vs/
108110
bin/
109111
obj/
110-
.idea/
111-
.scannerwork
112-
/docs/_site
113-
.jekyll-cache
112+
docs/_site/
113+
114+
core/README.md

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Please be sure to read and follow ecoAPM's [Contribution Guidelines](CONTRIBUTIN
123123

124124
### Building / Testing locally
125125

126+
From the `core` directory:
126127
1. `npm install` or `yarn install` to download all dependencies
127128
2. `npm run build` or `yarn build` will compile `xunit.ts` and its tests to the `dist` directory
128129
3. `npm run test` or `yarn test` will run all unit tests in `dist/tests`
@@ -131,6 +132,6 @@ Please be sure to read and follow ecoAPM's [Contribution Guidelines](CONTRIBUTIN
131132
### Missing an assertion?
132133

133134
Create an issue or submit a pull request!
134-
1. Add a new function to `src/Assertions`
135-
2. Add tests for both the positive and negative cases in `tests/Assertions`
136-
3. Add a field for the assertion to `src/Assertions/index.ts`
135+
1. Add a new function to `core/src/Assertions`
136+
2. Add tests for both the positive and negative cases in `core/tests/Assertions`
137+
3. Add a field for the assertion to `core/src/Assertions/index.ts`

core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "xunit.ts",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "A unit testing framework for TypeScript, following standard xUnit patterns",
55
"main": "dist/xunit.js",
66
"author": "ecoAPM LLC",
@@ -37,4 +37,4 @@
3737
"bin": {
3838
"xunit": "dist/cli.js"
3939
}
40-
}
40+
}

0 commit comments

Comments
 (0)