Skip to content

Commit

Permalink
v17.1.4
Browse files Browse the repository at this point in the history
* Fix docs on targetElement
* Add publish script
* Switch to yarn berry
  • Loading branch information
tonysamperi committed Jun 24, 2024
1 parent 7f93eb4 commit 5580890
Show file tree
Hide file tree
Showing 9 changed files with 14,201 additions and 10,258 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
key: ${{ runner.os }}-angular-build-${{ hashFiles('dist') }}
restore-keys: |
${{ runner.os }}-angular-build-
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Static HTML export with Nuxt
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
# puppeteer not launching cause of missing shared library
- run: npm i -g yarn
- run: yarn --check-files
- run: corepack enable
- run: yarn install
- run: npm run test:ci
- run: npm run build
31 changes: 31 additions & 0 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Publish on NPM

on:
release:
types: [ created ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.9.0
registry-url: https://registry.npmjs.org/
- run: npm i -g yarn
- run: corepack enable
- run: yarn install
- run: npm run build
- run: |
pkgversion=$(node -p -e "require('./package.json').version")
if [[ $pkgversion == *"beta"* ]]; then
npm run publish:beta
else
npm publish
fi
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ testem.log
Thumbs.db

package-lock.json
/.yarn/install-state.gz
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#17.1.4
* Fix docs on targetElement

#17.1.3
* Remove development background rule causing graphic bug in certain scenarios (closes [#16](https://github.com/tonysamperi/ngx-float-ui/issues/16))

Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-float-ui-repo",
"version": "17.1.3",
"version": "17.1.4",
"build": 0,
"license": "MIT",
"description": "ngx-float-ui is an Angular wrapper for @floating-ui",
Expand Down Expand Up @@ -84,11 +84,12 @@
"plugin-log": "^0.1.0",
"prismjs": "^1.29.0",
"puppeteer": "^21.0.1",
"semver": "^7.3.8",
"semver": "^7.6.2",
"through2": "^4.0.2",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"tslint-consistent-codestyle": "^1.16.0",
"typescript": "~5.2.2"
}
}
},
"packageManager": "yarn@4.3.1"
}
4 changes: 2 additions & 2 deletions projects/ngx-float-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-float-ui",
"version": "17.1.3",
"version": "17.1.4",
"license": "MIT",
"description": "ngx-float-ui is an Angular wrapper for Floating UI",
"homepage": "https://tonysamperi.github.io/ngx-float-ui",
Expand Down Expand Up @@ -38,4 +38,4 @@
"sass": "./_index.scss"
}
}
}
}
Loading

0 comments on commit 5580890

Please sign in to comment.