Skip to content

Commit

Permalink
Build and use local libauth
Browse files Browse the repository at this point in the history
  • Loading branch information
bitjson committed Jan 18, 2024
1 parent 0fd1469 commit 863eaca
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"CHECKSIG",
"CHECKSIGVERIFY",
"Codecov",
"corepack",
"Dreyzehner",
"EQUALVERIFY",
"filechooser",
Expand Down
8 changes: 7 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ module.exports = {
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['coverage', 'dist', 'libauth', '.eslintrc.cjs'],
ignorePatterns: [
'coverage',
'dist',
'libauth',
'playwright-report',
'.eslintrc.cjs',
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'import', 'react-refresh'],
settings: {
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
submodules: 'recursive'
- uses: actions/setup-node@v4
with:
node-version: 20
Expand All @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
submodules: 'recursive'
- uses: actions/setup-node@v4
with:
node-version: 20
Expand All @@ -45,7 +45,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
submodules: 'recursive'
- uses: actions/setup-node@v4
with:
node-version: 20
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Read more about it in [the blog post](https://blog.bitjson.com/bitauth-ide-write

Pull Requests are welcome!

This application requires [Yarn](https://yarnpkg.com/) for development. If you don't have Yarn, make sure you have `Node.js` installed, then run `npm install -g yarn`. Once Yarn is installed, recursive-clone `bitauth-ide` and run the `start` package script:
This application requires [Yarn](https://yarnpkg.com/) for development. With `Node.js` installed, the `yarn` package manager can be installed by running `corepack enable`. Once `yarn` is installed:

```sh
# note the use of --recursive to clone submodules
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"workbox-window": "^7.0.0"
},
"scripts": {
"postinstall": "cd libauth && yarn && yarn build",
"start": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
Expand Down

0 comments on commit 863eaca

Please sign in to comment.