Added empty .npmignore to override .gitignore
This commit is contained in:
parent
6acf0ff047
commit
0f7ac7ba8b
3
.github/workflows/push-to-npm.yml
vendored
3
.github/workflows/push-to-npm.yml
vendored
@ -42,12 +42,15 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
API_URL: "localhost:8080"
|
API_URL: "localhost:8080"
|
||||||
working-directory: "front"
|
working-directory: "front"
|
||||||
|
|
||||||
# We build the front to generate the typings of iframe_api, then we copy those typings in a separate package.
|
# We build the front to generate the typings of iframe_api, then we copy those typings in a separate package.
|
||||||
- name: Copy typings to package dir
|
- name: Copy typings to package dir
|
||||||
run: cp front/dist/src/iframe_api.d.ts front/packages/iframe-api-typings/iframe_api.d.ts
|
run: cp front/dist/src/iframe_api.d.ts front/packages/iframe-api-typings/iframe_api.d.ts
|
||||||
|
|
||||||
- name: Install dependencies in package
|
- name: Install dependencies in package
|
||||||
run: yarn install
|
run: yarn install
|
||||||
working-directory: "front/packages/iframe-api-typings"
|
working-directory: "front/packages/iframe-api-typings"
|
||||||
|
|
||||||
- name: Publish package
|
- name: Publish package
|
||||||
run: yarn publish
|
run: yarn publish
|
||||||
working-directory: "front/packages/iframe-api-typings"
|
working-directory: "front/packages/iframe-api-typings"
|
||||||
|
0
front/packages/iframe-api-typings/.npmignore
Normal file
0
front/packages/iframe-api-typings/.npmignore
Normal file
Loading…
Reference in New Issue
Block a user