Skip to content

Commit

Permalink
fix: build directory issues
Browse files Browse the repository at this point in the history
  • Loading branch information
BelfordZ committed Jun 1, 2019
1 parent 17b609f commit aa2a05c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- run: npm run build
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/jade-service-runner/build/typescript/.npmrc
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/jade-service-runner/build/generated-client/typescript/.npmrc
- run: npx semantic-release
- run: npm run publish

Expand All @@ -76,4 +76,4 @@ workflows:
- release:
filters: *filter-only-master
requires:
- hold
- hold
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ services
coverage
build
docs
src/generated-client
2 changes: 1 addition & 1 deletion examples/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ServiceRunner from "../src/generated-client/typescript/src";
import ServiceRunner from "../build/generated-client/typescript";
const client = new ServiceRunner({
transport: {
type: "http",
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@
"typescript": "^3.4.5"
},
"scripts": {
"test": "npx jest",
"build": "npm run build:typings && npm run build:client && npm run build:code && npm run build:docs",
"build:code": "npx tsc",
"build:typings": "npx open-rpc-typings --output-ts src/generated-types",
"build:client": "open-rpc-generator-client --ts-name=@etclabscore/jade-service-runner-client --rs-name=jade-service-runner-client -o src/generated-client",
"build:code": "tsc",
"build:typings": "open-rpc-typings --output-ts src/generated-types",
"build:client": "open-rpc-generator-client --ts-name=@etclabscore/jade-service-runner-client --rs-name=jade-service-runner-client -o build/generated-client",
"build:docs": "typedoc",
"publish": "npm run publish:typescript",
"publish:typescript": "cd src/generated-client/typescript && npm publish --access=public",
"publish:typescript": "cd build/generated-client/typescript && npm publish --access=public",
"start": "npm run build && node build/src/cli/index.js",
"start:client": "node build/client.js",
"test": "npm run test:lint && npm run test:unit",
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
"test:lint": "tslint -c tslint.json 'src/**/*.ts' --fix",
"test:unit": "jest --coverage"
Expand All @@ -62,7 +62,7 @@
"url": "git+https://github.com/etclabscore/jade-service-runner.git"
},
"author": "",
"license": "ISC",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/etclabscore/jade-service-runner/issues"
},
Expand Down

0 comments on commit aa2a05c

Please sign in to comment.