Skip to content

Commit

Permalink
fix(http-service): properly handle type decls
Browse files Browse the repository at this point in the history
  • Loading branch information
fmal committed Oct 12, 2019
1 parent c4a8849 commit 86110d9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"babel-cli": "6.26.0",
"babel-eslint": "10.0.3",
"babel-plugin-add-module-exports": "1.0.2",
"cerebral": "5.1.1",
"cerebral": "5.2.0",
"cpy-cli": "2.0.0",
"cross-env": "6.0.3",
"eslint": "6.5.1",
Expand Down
10 changes: 6 additions & 4 deletions packages/@fmal/http-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,19 @@
"test:coverage": "npm test -- --coverage",
"lint": "eslint . --cache --fix --ext \".js,.ts\" --ignore-path ../../../.prettierignore",
"clean": "rimraf dist coverage ../../node_modules/@fmal/http-service",
"_babel": "babel src -x \".js,.ts\" --root-mode upward --copy-files",
"_babel": "babel src -x \".js,.ts\" --root-mode upward",
"prebuild": "npm run clean",
"postbuild": "cpy package.json ../../node_modules/@fmal/http-service && cpy factories/package.json ../../node_modules/@fmal/http-service/factories",
"copy:pkg": "cpy package.json ../../node_modules/@fmal/http-service && cpy factories/package.json ../../node_modules/@fmal/http-service/factories",
"copy:declarations": "cpy src/index.d.ts ../../node_modules/@fmal/http-service/dist/ts && cpy src/factories/index.d.ts ../../node_modules/@fmal/http-service/dist/ts/factories",
"postbuild": "run-p copy:*",
"build:cjs": "cross-env BABEL_ENV=cjs npm run _babel -- -d ../../node_modules/@fmal/http-service/dist/cjs",
"build:es": "cross-env BABEL_ENV=es npm run _babel -- -d ../../node_modules/@fmal/http-service/dist/es",
"build": "cross-env NODE_ENV=production run-p build:*",
"prepublishOnly": "rimraf dist && cpy '@fmal/http-service/dist/**/*' .. --cwd=../../node_modules --parents"
"prepublishOnly": "rimraf dist && cpy \"@fmal/http-service/dist/**/*\" .. --cwd=../../node_modules --parents"
},
"devDependencies": {
"@babel/cli": "7.6.4",
"cerebral": "5.1.1",
"cerebral": "5.2.0",
"cpy-cli": "2.0.0",
"cross-env": "6.0.3",
"eslint": "6.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/@fmal/test-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"build:cjs": "cross-env BABEL_ENV=cjs npm run _babel -- -d ../../node_modules/@fmal/test-lib/dist/cjs",
"build:es": "cross-env BABEL_ENV=es npm run _babel -- -d ../../node_modules/@fmal/test-lib/dist/es",
"build": "cross-env NODE_ENV=production run-p build:*",
"prepublishOnly": "rimraf dist && cpy '@fmal/test-lib/dist/**/*' .. --cwd=../../node_modules --parents"
"prepublishOnly": "rimraf dist && cpy \"@fmal/test-lib/dist/**/*\" .. --cwd=../../node_modules --parents"
},
"devDependencies": {
"@babel/cli": "7.6.4",
Expand Down
2 changes: 1 addition & 1 deletion plop-templates/package/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build:cjs": "cross-env BABEL_ENV=cjs npm run _babel -- -d ../../node_modules/@fmal/{{kebabCase name}}/dist/cjs",
"build:es": "cross-env BABEL_ENV=es npm run _babel -- -d ../../node_modules/@fmal/{{kebabCase name}}/dist/es",
"build": "cross-env NODE_ENV=production run-p build:*",
"prepublishOnly": "rimraf dist && cpy '@fmal/{{kebabCase name}}/dist/**/*' .. --cwd=../../node_modules --parents"
"prepublishOnly": "rimraf dist && cpy \"@fmal/{{kebabCase name}}/dist/**/*\" .. --cwd=../../node_modules --parents"
},
"devDependencies": {
"@babel/cli": "7.6.4",
Expand Down

0 comments on commit 86110d9

Please sign in to comment.