Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Dec 6, 2020
1 parent 657386e commit e55c2f5
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,17 @@ jobs:

- run: npm version $RELEASE_VERSION --no-git-tag-version

- name: Generate oclif.manifest.json
run: oclif-dev manifest

- name: Compile the source code
run: node esbuild.js

- name: Copy package.json
run: cp package.json dist/package.json

- name: Copy files for release
run: |
cp package.json dist/
cp package.lock dist/
cp oclif.manifest.json dist/
- name: Publish
run: cd dist && npm publish --access public
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
*-debug.log
*-error.log
/.nyc_output
/dist
/lib
/tmp
node_modules
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ lift
# Usage
<!-- usage -->
```sh-session
$ npm install -g lift
$ npm install -g @mnapoli/lift
$ lift COMMAND
running command...
$ lift (-v|--version|version)
lift/0.0.1 darwin-x64 node-v15.3.0
@mnapoli/lift/0.0.1 darwin-x64 node-v15.3.0
$ lift --help [COMMAND]
USAGE
$ lift COMMAND
Expand Down
3 changes: 3 additions & 0 deletions dist/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lift
oclif.manifest.json
package-lock.json
18 changes: 5 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@mnapoli/lift",
"version": "0.0.1",
"license": "proprietary",
"homepage": "https://github.com/mnapoli/lift",
"bin": {
"lift": "lift"
},
Expand Down Expand Up @@ -43,11 +44,6 @@
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"homepage": "https://github.com/mnapoli/lift",
"keywords": [
"oclif"
],
"license": "proprietary",
"main": "lib/index.js",
"oclif": {
"commands": "./lib/commands",
Expand All @@ -60,12 +56,8 @@
"scripts": {
"postpack": "rm -f oclif.manifest.json",
"posttest": "eslint . --ext .ts --config .eslintrc",
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme",
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif-dev readme && git add README.md"
"prepack": "rm -rf lib && tsc -b && oclif-dev manifest",
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\""
},
"types": "lib/index.d.ts",
"pkg": {
"scripts": "./lib/**/*.js"
}
"types": "lib/index.d.ts"
}

0 comments on commit e55c2f5

Please sign in to comment.