Skip to content

Commit

Permalink
feat!: provide and v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Milfred committed May 7, 2024
1 parent dc02d4c commit 5f8aa41
Show file tree
Hide file tree
Showing 7 changed files with 3,614 additions and 2,242 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/release-package.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release Please and Publish

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write
packages: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node

- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}

- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
if: ${{ steps.release.outputs.release_created }}

- run: yarn
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ steps.release.outputs.release_created }}

- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
11 changes: 8 additions & 3 deletions components/LongRead/LongReadController.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<!--
Last modified: 2023/11/02 09:42:59
-->
<template>
<div class="c-long-read-controller">
<slot v-bind="slotBindings"></slot>
Expand Down Expand Up @@ -67,6 +64,14 @@ export const data = reactive({
export default {
name: 'LongReadController',
provide() {
return {
longReadController: { data, actions: {
scrollToTarget: this.scrollToTarget,
} },
};
},
data() {
return {
targetElements: [],
Expand Down
3 changes: 0 additions & 3 deletions components/LongRead/LongReadTarget.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<!--
Last modified: 2023/07/24 09:20:30
-->
<template>
<div
v-if="
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "exit 0"
},
"devDependencies": {
"@limbo-works/lint-configs": "^1.0.1",
"nuxt": "^3.6.2"
"@limbo-works/lint-configs": "^1.0.3",
"nuxt": "^3.11.2"
}
}
13 changes: 13 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "node",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
Loading

0 comments on commit 5f8aa41

Please sign in to comment.