Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.0 release #1031

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 31 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:

jobs:
vue-coverage:
runs-on: [ubuntu-latest]
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -22,49 +22,57 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile
- name: Build
run: yarn build
run: pnpm build
- name: Test
run: yarn test
run: pnpm test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

vue:
runs-on: [ubuntu-latest]
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2-beta
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.0.1
with:
version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"

- name: Install
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile
- name: Build
run: yarn build
run: pnpm build
- name: Test
run: yarn test
run: pnpm test
vue-2:
runs-on: [ubuntu-latest]
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2-beta
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.0.1
with:
version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"

- name: Install
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile
- name: Build
run: yarn build:vue2
run: pnpm build:vue2
- name: Test
run: yarn test:vue2
run: pnpm test:vue2
49 changes: 24 additions & 25 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,36 @@ name: github pages

on:
push:
paths:
paths:
- "docs/**"
branches:
- master
- master

jobs:
build-deploy:
runs-on: [ubuntu-latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.0.1
with:
version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: pnpm install --frozen-lockfile

- uses: sergioramos/yarn-actions/install@master
with:
frozen-lockfile: true

- run: yarn

- run: yarn build --version=2
- run: pnpm build --version=2

- run: yarn docs:build
env:
DOCS_BASE: /vue-composable/
- name: Deploy
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./docs/.vuepress/dist
- run: pnpm docs:build
env:
DOCS_BASE: /vue-composable/

- name: Deploy
uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./docs/.vuepress/dist
4 changes: 4 additions & 0 deletions packages/axios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,9 @@
"@types/node": "^16.4.7",
"@vue/runtime-core": "^3.0.7",
"typescript": "^4.2.4"
},
"peerDependencies": {
"@vue/composition-api": "^1.0.0-beta.14",
"axios": "^0.22.0"
}
}
5 changes: 5 additions & 0 deletions packages/cookie/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,10 @@
"@types/node": "^16.4.7",
"@vue/runtime-core": "^3.0.7",
"typescript": "^4.2.4"
},
"peerDependencies": {
"@vue/composition-api": "^1.0.0-beta.14",
"@types/js-cookie": "^2.2.6",
"js-cookie": "^2.2.1"
}
}
5 changes: 4 additions & 1 deletion packages/vue-composable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@
"peerDependencies2": {
"@vue/composition-api": "^1.0.0-beta.14",
"vue": "^2.6.10"
},
"peerDependencies": {
"vue": "^3.0.0"
}
}
}
Loading