Skip to content

Commit

Permalink
Copy the rest of the package files to the dist artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
huntharo committed Sep 18, 2021
1 parent 3afdef2 commit 386cab3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ jobs:
- name: Build All TypeScript
run: npm run build:publish --if-present

- name: Copy other files for publishing - microapps-publish
run: cd src/microapps-publish && npx tscp

- name: Copy other files for publishing - microapps-datalib
run: cd src/common/microapps-datalib && npx tscp

- name: Run Lint
run: npm run lint

Expand Down
1 change: 1 addition & 0 deletions src/common/microapps-datalib/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tsconfig.tsbuildinfo
7 changes: 4 additions & 3 deletions src/common/microapps-datalib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "@pwrdrvr/microapps-datalib",
"version": "0.0.0",
"description": "Data library for the microapps framework",
"types": "dist/index.d.ts",
"types": "index.d.ts",
"module": "true",
"main": "dist/index.js",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down Expand Up @@ -39,6 +39,7 @@
"chai": "^4.3.4",
"dynamodb-local": "^0.0.31",
"mocha": "^8.3.0",
"node-fetch": "^2.6.1"
"node-fetch": "^2.6.1",
"typescript-cp": "^0.1.4"
}
}
5 changes: 3 additions & 2 deletions src/microapps-publish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pwrdrvr/microapps-publish",
"version": "0.0.0",
"description": "Publish tool for deploying apps and updates",
"main": "dist/src/index.js",
"main": "src/index.js",
"source": "src/index.ts",
"bin": {
"microapps-publish": "dist/src/index.js"
Expand Down Expand Up @@ -54,6 +54,7 @@
"@types/fs-extra": "^9.0.11",
"@types/js-yaml": "^4.0.1",
"@types/mime-types": "^2.1.0",
"@types/source-map-support": "^0.5.4"
"@types/source-map-support": "^0.5.4",
"typescript-cp": "^0.1.4"
}
}

0 comments on commit 386cab3

Please sign in to comment.