Skip to content

Commit

Permalink
setup monorepo (#247)
Browse files Browse the repository at this point in the history
* docs(changeset): Update package info
  • Loading branch information
cometkim authored Dec 20, 2023
1 parent e034039 commit c5855c7
Show file tree
Hide file tree
Showing 52 changed files with 535 additions and 440 deletions.
5 changes: 3 additions & 2 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"projectName": "nanobundle",
"projectName": "espub",
"projectOwner": "cometkim",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
"README.md",
"packages/nanobundle/README.md"
],
"imageSize": 100,
"commit": true,
Expand Down
5 changes: 5 additions & 0 deletions .changeset/rude-forks-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nanobundle": patch
---

Update package info
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
.yarn/** linguist-vendored
.yarn/releases/* binary linguist-vendored

*.typegen.ts linguist-generated
6 changes: 5 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
pull_request:
branches:
- main
paths-ignore:
- '**/*.md'
schedule:
- cron: "42 1 * * 3"

Expand All @@ -22,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ javascript ]
language: [ javascript-typescript ]

steps:
- name: Checkout
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Integration
name: "[nanobundle] Integration"

on:
pull_request:
Expand Down Expand Up @@ -26,7 +26,7 @@ jobs:
run: yarn install --immutable

- name: Type Check
run: yarn type-check
run: yarn workspace nanobundle type-check

test:
name: Running unit tests
Expand All @@ -45,6 +45,8 @@ jobs:
run: yarn install --immutable

- name: Execute Tests
run: yarn test run --coverage
run: yarn workspace nanobundle test run --coverage

- uses: codecov/codecov-action@v3
with:
directory: packages/nanobundle
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
run: yarn install --immutable

- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
uses: cometkim/yarn-changeset-action@v1
with:
publish: yarn changeset publish
autoPublish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
Loading

0 comments on commit c5855c7

Please sign in to comment.