Skip to content

Commit

Permalink
Make this package npm installable from GitHub (sergiodxa#198)
Browse files Browse the repository at this point in the history
`npm i sergiodxa/remix-utils` (to install from GitHub) will now result
in a working installation.

---------

Co-authored-by: Sergio Xalambrí <hello@sergiodxa.com>
  • Loading branch information
lpsinger and sergiodxa authored Jul 3, 2023
1 parent cf030c6 commit 7b2fe04
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,5 @@ jobs:
- name: Install dependencies
uses: bahmutov/npm-install@v1

- name: Build
run: npm run build

- name: Lint
run: npm run lint
2 changes: 0 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:

- run: npm install

- run: npm run build

- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"main": "./build/index.js",
"sideEffects": false,
"scripts": {
"prepare": "npm run build",
"build": "npm run build:browser && npm run build:main",
"build:browser": "tsc --project tsconfig.json --module ESNext --outDir ./browser",
"build:main": "tsc --project tsconfig.json --module CommonJS --outDir ./build",
Expand Down

0 comments on commit 7b2fe04

Please sign in to comment.