create-blocklet 0.4.47 → 0.4.48

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.
@@ -0,0 +1,21 @@
1
+ name: 'Lint PR Title'
2
+
3
+ on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - reopened
8
+ - edited
9
+ - synchronize
10
+ branches:
11
+ - main
12
+ - dev
13
+ - master
14
+
15
+ jobs:
16
+ lint-title:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: ArcBlock/action-lint-pull-request-title@master
20
+ env:
21
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,20 @@
1
+ name: 'Version Check'
2
+
3
+ on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - reopened
8
+ - edited
9
+ - synchronize
10
+ branches:
11
+ - main
12
+ - master
13
+ jobs:
14
+ main:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: action-version-check
18
+ uses: arcblock/action-version-check@master
19
+ env:
20
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -28,8 +28,7 @@ if [ -f $VERSION ]; then
28
28
  V_PATCH=${BASE_LIST[2]}
29
29
  echo -e "${NOTICE_FLAG} Current version: ${WHITE}$BASE_STRING"
30
30
  echo -e "${NOTICE_FLAG} Latest commit hash: ${WHITE}$LATEST_HASH"
31
- V_MINOR=$((V_MINOR + 1))
32
- V_PATCH=0
31
+ V_PATCH=$((V_PATCH + 1))
33
32
  SUGGESTED_VERSION="$V_MAJOR.$V_MINOR.$V_PATCH"
34
33
  echo -ne "${QUESTION_FLAG} ${CYAN}Enter a version number [${WHITE}$SUGGESTED_VERSION${CYAN}]: "
35
34
  read INPUT_STRING
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-blocklet",
3
- "version": "0.4.47",
3
+ "version": "0.4.48",
4
4
  "exports": "./index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:blocklet/create-blocklet.git",
@@ -30,7 +30,7 @@
30
30
  "npm-run-all": "^4.1.5",
31
31
  "prettier": "^2.7.1",
32
32
  "vite": "^3.0.9",
33
- "vite-plugin-blocklet": "^0.4.47",
33
+ "vite-plugin-blocklet": "^0.4.48",
34
34
  "vite-plugin-html": "^3.2.0",
35
35
  "vite-plugin-solid": "^2.3.0"
36
36
  },
@@ -24,7 +24,7 @@
24
24
  "lint-staged": "^12.5.0",
25
25
  "prettier": "^2.7.1",
26
26
  "vite": "^3.0.9",
27
- "vite-plugin-blocklet": "^0.4.47",
27
+ "vite-plugin-blocklet": "^0.4.48",
28
28
  "vite-plugin-html": "^3.2.0",
29
29
  "vite-plugin-solid": "^2.3.0"
30
30
  },
@@ -44,7 +44,7 @@
44
44
  "prettier": "^2.7.1",
45
45
  "svelte": "^3.49.0",
46
46
  "vite": "^3.0.9",
47
- "vite-plugin-blocklet": "^0.4.47",
47
+ "vite-plugin-blocklet": "^0.4.48",
48
48
  "vite-plugin-html": "^3.2.0"
49
49
  },
50
50
  "lint-staged": {
@@ -25,7 +25,7 @@
25
25
  "prettier": "^2.7.1",
26
26
  "svelte": "^3.49.0",
27
27
  "vite": "^3.0.9",
28
- "vite-plugin-blocklet": "^0.4.47",
28
+ "vite-plugin-blocklet": "^0.4.48",
29
29
  "vite-plugin-html": "^3.2.0"
30
30
  },
31
31
  "lint-staged": {
@@ -47,7 +47,7 @@
47
47
  "npm-run-all": "^4.1.5",
48
48
  "prettier": "^2.7.1",
49
49
  "vite": "^3.0.9",
50
- "vite-plugin-blocklet": "^0.4.47"
50
+ "vite-plugin-blocklet": "^0.4.48"
51
51
  },
52
52
  "lint-staged": {
53
53
  "*.{mjs,js,vue}": [
@@ -26,7 +26,7 @@
26
26
  "lint-staged": "^12.5.0",
27
27
  "prettier": "^2.7.1",
28
28
  "vite": "^3.0.9",
29
- "vite-plugin-blocklet": "^0.4.47",
29
+ "vite-plugin-blocklet": "^0.4.48",
30
30
  "vite-plugin-html": "^3.2.0"
31
31
  },
32
32
  "lint-staged": {