Skip to content

Commit 6bb6236

Browse files
committed
chore: fix github action workflows
fixup crossdeps Signed-off-by: Jakub Freisler <jakub@frsource.org>
1 parent ea37220 commit 6bb6236

File tree

8 files changed

+84
-33
lines changed

8 files changed

+84
-33
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,37 @@ jobs:
1111
matrix:
1212
node-version: [16]
1313
steps:
14-
- uses: google-github-actions/release-please-action@v2
14+
- uses: google-github-actions/release-please-action@v3.1.2
1515
id: release
1616
with:
1717
command: manifest
18+
token: '${{secrets.GITHUB_TOKEN}}'
1819
default-branch: master
20+
monorepo-tags: true
1921
- name: Checkout Repository
2022
if: ${{ steps.release.outputs.releases_created }}
2123
uses: actions/checkout@v2
2224
- uses: pnpm/action-setup@v2.2.2
25+
if: ${{ steps.release.outputs.releases_created }}
2326
with:
2427
version: 7
2528
- name: Use Node.js ${{ matrix.node-version }}
29+
if: ${{ steps.release.outputs.releases_created }}
2630
uses: actions/setup-node@v2
2731
with:
2832
node-version: ${{ matrix.node-version }}
2933
cache: 'pnpm'
3034
registry-url: 'https://registry.npmjs.org'
35+
env:
3136
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3237
- name: Install dependencies
38+
if: ${{ steps.release.outputs.releases_created }}
3339
run: pnpm install
3440
- name: Build packages to get cross-references working 🔧
41+
if: ${{ steps.release.outputs.releases_created }}
3542
run: pnpm build
3643
- name: Release package
44+
if: ${{ steps.release.outputs.releases_created }}
3745
run: pnpm release:ci
3846
env:
3947
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.release-please-manifest.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"packages/core": "0.10.0",
3+
"packages/docs": "0.7.0",
4+
"packages/plugin-autoplay": "0.4.3",
5+
"packages/plugin-custom-events": "0.4.3",
6+
"packages/plugin-mouse-drag": "0.4.1",
7+
"packages/plugin-scroll-snap-fallback": "0.3.0",
8+
"packages/react": "0.3.9",
9+
"packages/utils": "0.5.0",
10+
"packages/vue": "0.7.1"
11+
}

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@
55
"description": "Mobile & desktop-friendly, tiny, efficient (vanilaJS) carousel which takes advantage of CSS snap points (or polyfills it)!",
66
"author": "Jakub Freisler <jakub.freisler@frsource.org>",
77
"license": "MIT",
8+
"packageManager": "pnpm@7.2.0",
89
"scripts": {
9-
"release": "pnpm publish",
10-
"release:ci": "pnpm release --yes",
11-
"release:test": "pnpm release --no-git-tag-version --no-push --skip-npm",
12-
"start": "turbo run start --parallel --no-cache",
13-
"build": "turbo run build",
14-
"test": "turbo run test --parallel",
15-
"watch:test": "turbo run watch:test --parallel --no-cache",
16-
"coverage": "turbo run coverage --parallel",
17-
"lint": "concurrently 'turbo run lint --parallel' 'pnpm lint:text'",
10+
"release": "pnpm -r publish",
11+
"release:ci": "pnpm release",
12+
"release:test": "pnpm release:ci --dry-run --no-git-checks",
13+
"start": "pnpm -r --parallel --stream start",
14+
"build": "pnpm -r build",
15+
"test": "pnpm -r --parallel test",
16+
"watch:test": "pnpm -r --parallel --stream watch:test",
17+
"coverage": "pnpm -r --parallel coverage",
18+
"lint": "concurrently 'pnpm -r --parallel lint' 'pnpm lint:text'",
1819
"lint:text": "textlint CODE_OF_CONDUCT.md CONTRIBUTING.md README.md packages/*/README.md",
19-
"fix:lint": "concurrently 'turbo run fix:lint --parallel' 'pnpm lint:text --fix'",
20+
"fix:lint": "concurrently 'pnpm -r --parallel fix:lint' 'pnpm lint:text --fix'",
2021
"prepare": "husky install"
2122
},
2223
"keywords": [

packages/docs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
"access": "public"
4141
},
4242
"dependencies": {
43-
"@frsource/tiny-carousel-core": "workspace:^0.10.0",
44-
"@frsource/tiny-carousel-plugin-custom-events": "workspace:^0.4.3",
45-
"@frsource/tiny-carousel-plugin-scroll-snap-fallback": "workspace:^0.3.0",
46-
"@frsource/tiny-carousel-utils": "workspace:^0.5.0"
43+
"@frsource/tiny-carousel-core": "^0.10.0",
44+
"@frsource/tiny-carousel-plugin-custom-events": "^0.4.3",
45+
"@frsource/tiny-carousel-plugin-scroll-snap-fallback": "^0.3.0",
46+
"@frsource/tiny-carousel-utils": "^0.5.0"
4747
},
4848
"devDependencies": {
4949
"@vuepress/client": "2.0.0-beta.48",

packages/react/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"@babel/plugin-syntax-flow": "^7.17.12",
6060
"@babel/plugin-transform-react-jsx": "^7.17.12",
6161
"@frsource/tiny-carousel-core": "^0.10.0",
62+
"@frsource/tiny-carousel-utils": "^0.5.0",
6263
"@frsource/tiny-carousel-plugin-autoplay": "^0.4.3",
6364
"@frsource/tiny-carousel-plugin-custom-events": "^0.4.3",
6465
"@frsource/tiny-carousel-plugin-mouse-drag": "^0.4.1",
@@ -83,8 +84,8 @@
8384
"web-vitals": "^2.1.0"
8485
},
8586
"peerDependencies": {
86-
"@frsource/tiny-carousel-core": "^0.8.0",
87-
"@frsource/tiny-carousel-utils": "^0.4.0",
87+
"@frsource/tiny-carousel-core": "^0.10.0",
88+
"@frsource/tiny-carousel-utils": "^0.5.0",
8889
"react": "^17.0.0"
8990
}
9091
}

packages/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"test:vue3": "pnpm test:unit",
2222
"test:unit": "vue-cli-service test:unit",
2323
"watch:test": "vue-cli-service test:unit --watch",
24-
"coverage": "vue-cli-service test:unit --coverage",
24+
"fixme.coverage": "vue-cli-service test:unit --coverage",
2525
"lint": "vue-cli-service lint",
2626
"fix:lint": "vue-cli-service lint --fix"
2727
},

pnpm-lock.yaml

Lines changed: 8 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release-please-config.json

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,42 @@
11
{
2+
"sequential-calls": true,
23
"plugins": ["node-workspace"],
34
"packages": {
4-
"packages/core": {},
5-
"packages/docs": {},
6-
"packages/plugin-autoplay": {},
7-
"packages/plugin-custom-events": {},
8-
"packages/plugin-mouse-drag": {},
9-
"packages/plugin-scroll-snap-fallback": {},
10-
"packages/react": {},
11-
"packages/utils": {},
12-
"packages/vue": {}
5+
"packages/core": {
6+
"path": "packages/core",
7+
"component": "@frsource/tiny-carousel-core"
8+
},
9+
"packages/docs": {
10+
"component": "@frsource/tiny-carousel-docs",
11+
"path": "packages/docs"
12+
},
13+
"packages/plugin-autoplay": {
14+
"component": "@frsource/tiny-carousel-plugin-autoplay",
15+
"path": "packages/plugin-autoplay"
16+
},
17+
"packages/plugin-custom-events": {
18+
"component": "@frsource/tiny-carousel-plugin-custom-events",
19+
"path": "packages/plugin-custom-events"
20+
},
21+
"packages/plugin-mouse-drag": {
22+
"component": "@frsource/tiny-carousel-plugin-mouse-drag",
23+
"path": "packages/plugin-mouse-drag"
24+
},
25+
"packages/plugin-scroll-snap-fallback": {
26+
"component": "@frsource/tiny-carousel-plugin-scroll-snap-fallback",
27+
"path": "packages/plugin-scroll-snap-fallback"
28+
},
29+
"packages/react": {
30+
"component": "@frsource/tiny-carousel-react",
31+
"path": "packages/react"
32+
},
33+
"packages/utils": {
34+
"component": "@frsource/tiny-carousel-utils",
35+
"path": "packages/utils"
36+
},
37+
"packages/vue": {
38+
"component": "@frsource/tiny-carousel-vue",
39+
"path": "packages/vue"
40+
}
1341
}
1442
}

0 commit comments

Comments
 (0)