Skip to content

Commit

Permalink
monorepo (#145)
Browse files Browse the repository at this point in the history
* monorepo

* monorepo

* monorepo

* monorepo

* monorepo

* Remove individual package-lock.json

* Fix doc

* Fix package.json

* Fix

* Fix

* Fix package-lock.json

* Fix

* Fix

* Fix

* npm install

* Revert

* Fix publish workflow
  • Loading branch information
mpppk authored Dec 11, 2024
1 parent e745fe3 commit 26bb863
Show file tree
Hide file tree
Showing 98 changed files with 18,806 additions and 19,918 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm run build
- run: npm test
- run: npm ci -w pkgs/typed-api-spec
- run: npm run build -w pkgs/typed-api-spec
- run: npm test -w pkgs/typed-api-spec
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/configure-pages@v5
- run: npm --prefix docs ci
- run: npm --prefix docs run build
- run: npm ci -w pkgs/docs
- run: npm run build -w pkgs/docs
4 changes: 2 additions & 2 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/configure-pages@v5
- run: npm --prefix docs ci
- run: npm --prefix docs run build
- run: npm ci -w pkgs/docs
- run: npm run build -w pkgs/docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
node-version: "22.x"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run build
- run: npm publish --access public
- run: npm run build -w pkgs/typed-api-spec
- run: npm publish -w pkgs/typed-api-spec --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dist
node_modules
coverage
coverage
dist
5 changes: 3 additions & 2 deletions .idea/typed-api-spec.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 26bb863

Please sign in to comment.