capacitor-standard-version 1.0.18 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/FUNDING.yml +1 -0
- package/.github/workflows/build.yml +29 -0
- package/.github/workflows/bump_version.yml +35 -0
- package/CHANGELOG.md +37 -0
- package/package.json +6 -6
- package/renovate.json +6 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
github: riderx
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
name: Build source code and send to Capgo
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "*"
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
deploy:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
name: "Build code and release"
|
|
12
|
+
steps:
|
|
13
|
+
- name: Check out
|
|
14
|
+
uses: actions/checkout@v3
|
|
15
|
+
- uses: pnpm/action-setup@v2.2.4
|
|
16
|
+
with:
|
|
17
|
+
version: 7
|
|
18
|
+
- name: Install dependencies
|
|
19
|
+
id: install_code
|
|
20
|
+
run: pnpm i
|
|
21
|
+
- name: Lint
|
|
22
|
+
id: lint_code
|
|
23
|
+
run: pnpm lint
|
|
24
|
+
- name: Build
|
|
25
|
+
id: build_code
|
|
26
|
+
run: pnpm build
|
|
27
|
+
- uses: JS-DevTools/npm-publish@v1
|
|
28
|
+
with:
|
|
29
|
+
token: ${{ secrets.NPM_TOKEN }}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: Bump version
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
- development
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
bump-version:
|
|
11
|
+
if: "!startsWith(github.event.head_commit.message, 'chore(release):')"
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
name: "Bump version and create changelog with standard version"
|
|
14
|
+
steps:
|
|
15
|
+
- name: Check out
|
|
16
|
+
uses: actions/checkout@v3
|
|
17
|
+
with:
|
|
18
|
+
fetch-depth: 0
|
|
19
|
+
token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
|
|
20
|
+
- name: Git config
|
|
21
|
+
run: |
|
|
22
|
+
git config --local user.name "github-actions[bot]"
|
|
23
|
+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
|
24
|
+
- name: Create bump and changelog main
|
|
25
|
+
if: github.ref == 'refs/heads/main'
|
|
26
|
+
run: npx standard-version
|
|
27
|
+
- name: Create bump and changelog development
|
|
28
|
+
if: github.ref != 'refs/heads/main'
|
|
29
|
+
run: npx standard-version --prerelease alpha
|
|
30
|
+
- name: Push to origin
|
|
31
|
+
run: |
|
|
32
|
+
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
33
|
+
remote_repo="https://${GITHUB_ACTOR}:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git"
|
|
34
|
+
git pull $remote_repo $CURRENT_BRANCH
|
|
35
|
+
git push $remote_repo HEAD:$CURRENT_BRANCH --follow-tags --tags
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
## 1.1.0 (2022-11-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add auto CI for version and release ([7e6a687](https://github.com/Cap-go/capacitor-standard-version/commit/7e6a687b0017fb542b980aeeb22a3a1cc16070d0))
|
|
11
|
+
* add base config ([0f0cce5](https://github.com/Cap-go/capacitor-standard-version/commit/0f0cce54ff7b8d1d0724117e450f3341b0adae3d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* android error in replace ([78d7f0a](https://github.com/Cap-go/capacitor-standard-version/commit/78d7f0a13bf04236c2a156a76befd9139a52ef12))
|
|
17
|
+
* build Code for alpha beta rc ([ca12f87](https://github.com/Cap-go/capacitor-standard-version/commit/ca12f871c3a68afd6224485458a51a48f25f5832))
|
|
18
|
+
* build number ([b03a62b](https://github.com/Cap-go/capacitor-standard-version/commit/b03a62b5e3b34b2f6440cbbb4ba8c6de20e1595b))
|
|
19
|
+
* build number android ([d4bfccc](https://github.com/Cap-go/capacitor-standard-version/commit/d4bfcccc7a152f0e0b88b541312f0cc0149cc130))
|
|
20
|
+
* build number for beta ([fca24c8](https://github.com/Cap-go/capacitor-standard-version/commit/fca24c845e40dd749505483fb436263ced39296c))
|
|
21
|
+
* config order ([ad8011e](https://github.com/Cap-go/capacitor-standard-version/commit/ad8011ebe931bb74afdc1720dbfdbf0cbc18aea2))
|
|
22
|
+
* eslint + ios android build number ([5e4e339](https://github.com/Cap-go/capacitor-standard-version/commit/5e4e339c974ef447dfcf74d22caf3847f8e77877))
|
|
23
|
+
* ios ([5dcb248](https://github.com/Cap-go/capacitor-standard-version/commit/5dcb2487538e01c92c94751a1531bc8a73eeee2f))
|
|
24
|
+
* issue ios version ([949fc81](https://github.com/Cap-go/capacitor-standard-version/commit/949fc81d9a1e55e8f22fe288e57a60077df9eb01))
|
|
25
|
+
* issue ios version number ([f829ccc](https://github.com/Cap-go/capacitor-standard-version/commit/f829cccbfa6552f313d64d56d0d3e097b62d3e16))
|
|
26
|
+
* publish ([dcbfc2c](https://github.com/Cap-go/capacitor-standard-version/commit/dcbfc2c9676533f8279dfa7751beeec5a031ffaa))
|
|
27
|
+
* publish fix ([f839751](https://github.com/Cap-go/capacitor-standard-version/commit/f839751c80884d056645908994d1968267a19b1f))
|
|
28
|
+
* remove log ([1b0a854](https://github.com/Cap-go/capacitor-standard-version/commit/1b0a854c03823c0f9793e4a5864c42356f9051fb))
|
|
29
|
+
* remove not nessesary quotes ([84b541d](https://github.com/Cap-go/capacitor-standard-version/commit/84b541d3ba27fb21c802c8ff9f1117499470d4dd))
|
|
30
|
+
* remove skip CI ([90efad7](https://github.com/Cap-go/capacitor-standard-version/commit/90efad7424679f3649d9c9320d810403a37789f0))
|
|
31
|
+
* republish with readme ([a6d6375](https://github.com/Cap-go/capacitor-standard-version/commit/a6d6375c19b73fed2799ed089f6488f011318331))
|
|
32
|
+
* script without beta ([e6e4f39](https://github.com/Cap-go/capacitor-standard-version/commit/e6e4f39e1431c79034721878e1bfa67cf417d611))
|
|
33
|
+
* switch to typescript project ([15185eb](https://github.com/Cap-go/capacitor-standard-version/commit/15185eb4fbb904fb8e37b364425d4a512740af82))
|
|
34
|
+
* upgrade version number ([6bc6768](https://github.com/Cap-go/capacitor-standard-version/commit/6bc6768e6fd1b8429bb7f1f455a7d61298367fe6))
|
|
35
|
+
* use the complete arg system to be iso standard-version ([6364170](https://github.com/Cap-go/capacitor-standard-version/commit/63641706ad125199047b11dc9da080d28375c76b))
|
|
36
|
+
* version code ([9545f8f](https://github.com/Cap-go/capacitor-standard-version/commit/9545f8f0ca56fd8a2f9cedd4453c675c3ac24298))
|
|
37
|
+
* version code ([376a4de](https://github.com/Cap-go/capacitor-standard-version/commit/376a4defc5d8b63e6beadace893cbc5c1cb46ba0))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "capacitor-standard-version",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Default standard-version config for capacitor app",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"standard-version": "^9.3.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@types/adm-zip": "^0.
|
|
37
|
+
"@types/adm-zip": "^0.5.0",
|
|
38
38
|
"@types/fs-extra": "^9.0.13",
|
|
39
39
|
"@types/node": "^18.7.15",
|
|
40
40
|
"@typescript-eslint/eslint-plugin": "^5.36.1",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"eslint-plugin-import": "^2.26.0",
|
|
46
46
|
"eslint-plugin-jasmine": "^4.1.3",
|
|
47
47
|
"eslint-plugin-prettier": "^4.2.1",
|
|
48
|
-
"eslint-plugin-simple-import-sort": "^
|
|
48
|
+
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
49
49
|
"eslint-plugin-typescript-sort-keys": "^2.1.0",
|
|
50
|
-
"git-format-staged": "^
|
|
50
|
+
"git-format-staged": "^3.0.0",
|
|
51
51
|
"husky": "^7.0.4",
|
|
52
52
|
"nodemon": "^2.0.15",
|
|
53
53
|
"pkg": "^5.5.2",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"tsconfig-paths": "^3.14.0",
|
|
61
61
|
"typescript": "^4.6.2",
|
|
62
62
|
"webpack": "^5.70.0",
|
|
63
|
-
"webpack-cli": "^
|
|
63
|
+
"webpack-cli": "^5.0.0",
|
|
64
64
|
"webpack-node-externals": "^3.0.0"
|
|
65
65
|
}
|
|
66
|
-
}
|
|
66
|
+
}
|