Skip to content

Commit

Permalink
Merge pull request #412 from atls/feat/pack-defaults
Browse files Browse the repository at this point in the history
Feat: pack defaults
  • Loading branch information
Nelfimov authored Sep 17, 2024
2 parents 55d4822 + 03a668d commit 483da5e
Show file tree
Hide file tree
Showing 65 changed files with 1,837 additions and 1,578 deletions.
2 changes: 1 addition & 1 deletion .github/actions/checks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ runs:
run: |
source .env
export NODE_OPTIONS
yarn workspaces changed foreach -vtp --no-private dlx jsr publish --dry-run
yarn workspaces changed foreach -vtp --jobs=2 --no-private dlx jsr publish --dry-run
2 changes: 1 addition & 1 deletion .github/actions/commit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
rm $temp_file
- name: Commit changes
uses: planetscale/[email protected].44
uses: planetscale/[email protected].45
env:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/publish-jsr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ runs:
run: |
source .env
export NODE_OPTIONS
yarn workspaces changed foreach -vtp --no-private dlx jsr publish
yarn workspaces changed foreach -vtp --jobs=2 --no-private dlx jsr publish
2 changes: 1 addition & 1 deletion .github/actions/publish-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ runs:
run: |
source .env
export NODE_OPTIONS
yarn workspaces changed foreach -vtp --no-private npm publish --access public
yarn workspaces changed foreach -vtp --jobs=2 --no-private npm publish --access public
env:
YARN_NPM_AUTH_TOKEN: ${{ inputs.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .github/actions/release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
run: |
source .env
export NODE_OPTIONS
yarn workspaces changed foreach exec \
yarn workspaces changed foreach -vtp --jobs=2 exec \
'bash -c "VERSION=$npm_package_version; \
NAME=$npm_package_name; \
if [ ! -z \"\$VERSION\" ]; then \
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ runs:
run: |
source .env
export NODE_OPTIONS
yarn workspaces changed foreach -tpv --no-private version patch -i
yarn workspaces changed foreach -ptv --jobs=2 --no-private version patch -i
env:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
6 changes: 4 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,25 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to NPM
if: ${{ !cancelled() }}
id: npm
uses: ./.github/actions/publish-npm
with:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish to JSR
if: ${{ !cancelled() }}
id: jsr
uses: ./.github/actions/publish-jsr

- name: Create release
if: steps.npm.outcome == 'success' || steps.jsr.outcome == 'success'
if: ${{ !cancelled() }}
uses: ./.github/actions/release
with:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

- name: Commit changes
if: steps.npm.outcome == 'success' || steps.jsr.outcome == 'success'
if: ${{ !cancelled() }}
uses: ./.github/actions/commit
with:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@ package.tgz
fsevents-patch-*.zip
@esbuild-*-npm-*.zip
@rollup-rollup-*-*-npm-*.zip
.idea
5 changes: 0 additions & 5 deletions .idea/.gitignore

This file was deleted.

20 changes: 0 additions & 20 deletions .idea/atls-raijin.iml

This file was deleted.

1 change: 1 addition & 0 deletions .idea/compiler.xml

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

6 changes: 0 additions & 6 deletions .idea/git_toolbox_blame.xml

This file was deleted.

15 changes: 0 additions & 15 deletions .idea/git_toolbox_prj.xml

This file was deleted.

1 change: 1 addition & 0 deletions .idea/inspectionProfiles/Project_Default.xml

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

6 changes: 0 additions & 6 deletions .idea/jsLibraryMappings.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/modules.xml

This file was deleted.

3 changes: 1 addition & 2 deletions .idea/vcs.xml

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

Loading

0 comments on commit 483da5e

Please sign in to comment.