create-soybean 0.8.5 → 0.8.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-soybean",
3
- "version": "0.8.5",
3
+ "version": "0.8.7",
4
4
  "description": "SoybeanJS's command line to create different project templates",
5
5
  "author": {
6
6
  "name": "Soybean",
@@ -42,7 +42,7 @@
42
42
  "scripts": {
43
43
  "build": "pnpm typecheck && pnpm build-only",
44
44
  "build-only": "unbuild",
45
- "typecheck": "tsc --noEmit --skipLibCheck",
46
- "publish-pkg": "pnpm publish --access public --no-git-checks"
45
+ "publish-pkg": "pnpm publish --access public --no-git-checks",
46
+ "typecheck": "tsc --noEmit --skipLibCheck"
47
47
  }
48
48
  }
@@ -0,0 +1,46 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ jobs:
9
+ release:
10
+ permissions:
11
+ id-token: write
12
+ contents: write
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ with:
17
+ fetch-depth: 0
18
+
19
+ - name: Install pnpm
20
+ uses: pnpm/action-setup@v2
21
+
22
+ - name: Set node
23
+ uses: actions/setup-node@v3
24
+ with:
25
+ node-version: lts/*
26
+ cache: pnpm
27
+ registry-url: "https://registry.npmjs.org"
28
+
29
+ - run: npx githublogen
30
+ env:
31
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
32
+
33
+ - name: Install Dependencies
34
+ run: pnpm i
35
+
36
+ - name: PNPM build
37
+ run: pnpm run build
38
+
39
+ - name: Publish to NPM
40
+ run: pnpm -r publish --access public --no-git-checks
41
+ env:
42
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
43
+ NPM_CONFIG_PROVENANCE: true
44
+
45
+ - name: Sync Npmmirror
46
+ run: pnpm soy sync-npmmirror --syncName
@@ -5,6 +5,6 @@
5
5
  },
6
6
  "eslint.experimental.useFlatConfig": true,
7
7
  "editor.formatOnSave": false,
8
- "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "json", "jsonc", "json5"],
8
+ "eslint.validate": ["jsonc"],
9
9
  "prettier.enable": false
10
10
  }
@@ -28,7 +28,3 @@ coverage
28
28
  *.njsproj
29
29
  *.sln
30
30
  *.sw?
31
-
32
- package-lock.json
33
- yarn.lock
34
- pnpm-lock.yaml
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "ts-lib-starter",
3
3
  "type": "module",
4
- "version": "0.8.5",
4
+ "version": "0.8.7",
5
5
  "private": true,
6
+ "packageManager": "pnpm@8.12.0",
6
7
  "exports": {
7
8
  ".": {
8
9
  "types": "./dist/index.d.ts",
@@ -13,19 +14,19 @@
13
14
  "main": "dist/index.cjs",
14
15
  "module": "dist/index.mjs",
15
16
  "types": "dist/index.d.ts",
16
- "files": ["dist"],
17
+ "files": [
18
+ "dist"
19
+ ],
17
20
  "scripts": {
18
- "build": "run-s typecheck build-only",
19
- "build-only": "unbuild",
20
- "typecheck": "tsc --noEmit --skipLibCheck",
21
- "lint": "eslint . --fix",
22
- "commit": "soy git-commit",
21
+ "build": "unbuild",
23
22
  "cleanup": "soy cleanup",
24
- "update-pkg": "soy ncu",
25
- "release-pkg": "soy release",
23
+ "commit": "soy git-commit",
24
+ "lint": "eslint . --fix",
25
+ "prepare": "simple-git-hooks",
26
26
  "publish-pkg": "pnpm publish --access public",
27
- "release": "run-s release-pkg build publish-pkg",
28
- "prepare": "simple-git-hooks"
27
+ "release": "soy release",
28
+ "typecheck": "tsc --noEmit --skipLibCheck",
29
+ "update-pkg": "soy ncu"
29
30
  },
30
31
  "dependencies": {
31
32
  "cli-progress": "3.12.0",
@@ -36,13 +37,12 @@
36
37
  "ofetch": "1.3.3"
37
38
  },
38
39
  "devDependencies": {
39
- "@soybeanjs/cli": "0.8.2",
40
- "@soybeanjs/eslint-config": "1.0.5",
40
+ "@soybeanjs/cli": "0.8.6",
41
+ "@soybeanjs/eslint-config": "1.0.9",
41
42
  "@types/cli-progress": "3.11.5",
42
43
  "@types/node": "20.10.4",
43
44
  "eslint": "8.55.0",
44
45
  "lint-staged": "15.2.0",
45
- "npm-run-all": "4.1.5",
46
46
  "simple-git-hooks": "2.9.0",
47
47
  "tsx": "4.6.2",
48
48
  "typescript": "5.3.3",
@@ -1,6 +1,13 @@
1
1
  {
2
2
  "version": "0.2.0",
3
3
  "configurations": [
4
+ {
5
+ "type": "chrome",
6
+ "request": "launch",
7
+ "name": "Vue debugger",
8
+ "url": "http://localhost:9527",
9
+ "webRoot": "${workspaceFolder}"
10
+ },
4
11
  {
5
12
  "type": "node",
6
13
  "request": "launch",
@@ -5,19 +5,6 @@
5
5
  },
6
6
  "editor.formatOnSave": false,
7
7
  "eslint.experimental.useFlatConfig": true,
8
- "eslint.validate": [
9
- "javascript",
10
- "javascriptreact",
11
- "typescript",
12
- "typescriptreact",
13
- "vue",
14
- "html",
15
- "css",
16
- "json",
17
- "jsonc",
18
- "yaml",
19
- "toml",
20
- "markdown"
21
- ],
8
+ "eslint.validate": ["html", "css", "jsonc"],
22
9
  "prettier.enable": false
23
10
  }
@@ -28,7 +28,3 @@ coverage
28
28
  *.njsproj
29
29
  *.sln
30
30
  *.sw?
31
-
32
- package-lock.json
33
- yarn.lock
34
- pnpm-lock.yaml
@@ -1,37 +1,39 @@
1
1
  {
2
2
  "name": "template-vue",
3
3
  "type": "module",
4
- "version": "0.8.5",
4
+ "version": "0.8.7",
5
5
  "private": true,
6
+ "packageManager": "pnpm@8.12.0",
6
7
  "scripts": {
7
- "dev": "vite",
8
8
  "build": "run-s typecheck build-only",
9
9
  "build-only": "vite build",
10
- "preview": "vite preview",
11
- "lint": "eslint . --fix",
12
- "commit": "soy git-commit",
13
10
  "cleanup": "soy cleanup",
14
- "update-pkg": "soy ncu",
11
+ "commit": "soy git-commit",
12
+ "dev": "vite",
13
+ "lint": "eslint . --fix",
14
+ "prepare": "simple-git-hooks",
15
+ "preview": "vite preview",
15
16
  "typecheck": "vue-tsc --noEmit --skipLibCheck",
16
- "prepare": "simple-git-hooks"
17
+ "update-pkg": "soy ncu"
17
18
  },
18
19
  "dependencies": {
19
20
  "pinia": "2.1.7",
20
- "vue": "3.3.10",
21
+ "vue": "3.3.11",
21
22
  "vue-router": "4.2.5"
22
23
  },
23
24
  "devDependencies": {
24
- "@soybeanjs/cli": "0.8.2",
25
- "@soybeanjs/eslint-config": "1.0.5",
25
+ "@soybeanjs/cli": "0.8.5",
26
+ "@soybeanjs/eslint-config": "1.0.9",
26
27
  "@types/node": "20.10.4",
27
28
  "@vitejs/plugin-vue": "4.5.2",
28
29
  "@vitejs/plugin-vue-jsx": "3.1.0",
29
30
  "eslint": "8.55.0",
31
+ "eslint-plugin-vue": "9.19.2",
30
32
  "lint-staged": "15.2.0",
31
- "npm-run-all": "4.1.5",
32
33
  "simple-git-hooks": "2.9.0",
33
34
  "typescript": "5.3.3",
34
- "vite": "5.0.6",
35
+ "vite": "5.0.7",
36
+ "vue-eslint-parser": "9.3.2",
35
37
  "vue-tsc": "1.8.25"
36
38
  },
37
39
  "simple-git-hooks": {
@@ -9,9 +9,9 @@ defineProps<{
9
9
  <h1 class="green">{{ msg }}</h1>
10
10
  <h3>
11
11
  You’ve successfully created a project with
12
- <a href="https://vitejs.dev/" target="_blank" rel="noopener">Vite</a>
12
+ <a href="https://vitejs.dev/" target="_blank" rel="noopener noreferrer">Vite</a>
13
13
  +
14
- <a href="https://vuejs.org/" target="_blank" rel="noopener">Vue 3</a>
14
+ <a href="https://vuejs.org/" target="_blank" rel="noopener noreferrer">Vue 3</a>
15
15
  . What's next?
16
16
  </h3>
17
17
  </div>
@@ -15,7 +15,7 @@ import SupportIcon from './icons/IconSupport.vue';
15
15
  <template #heading>Documentation</template>
16
16
 
17
17
  Vue’s
18
- <a href="https://vuejs.org/" target="_blank" rel="noopener">official documentation</a>
18
+ <a href="https://vuejs.org/" target="_blank" rel="noopener noreferrer">official documentation</a>
19
19
  provides you with all information you need to get started.
20
20
  </WelcomeItem>
21
21
 
@@ -26,15 +26,15 @@ import SupportIcon from './icons/IconSupport.vue';
26
26
  <template #heading>Tooling</template>
27
27
 
28
28
  This project is served and bundled with
29
- <a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>
29
+ <a href="https://vitejs.dev/guide/features.html" target="_blank" rel="noopener noreferrer">Vite</a>
30
30
  . The recommended IDE setup is
31
- <a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
31
+ <a href="https://code.visualstudio.com/" target="_blank" rel="noopener noreferrer">VSCode</a>
32
32
  +
33
- <a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>
33
+ <a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener noreferrer">Volar</a>
34
34
  . If you need to test your components and web pages, check out
35
- <a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
35
+ <a href="https://www.cypress.io/" target="_blank" rel="noopener noreferrer">Cypress</a>
36
36
  and
37
- <a href="https://on.cypress.io/component" target="_blank">Cypress Component Testing</a>
37
+ <a href="https://on.cypress.io/component" target="_blank" rel="noopener noreferrer">Cypress Component Testing</a>
38
38
  .
39
39
 
40
40
  <br />
@@ -51,15 +51,15 @@ import SupportIcon from './icons/IconSupport.vue';
51
51
  <template #heading>Ecosystem</template>
52
52
 
53
53
  Get official tools and libraries for your project:
54
- <a href="https://pinia.vuejs.org/" target="_blank" rel="noopener">Pinia</a>
54
+ <a href="https://pinia.vuejs.org/" target="_blank" rel="noopener noreferrer">Pinia</a>
55
55
  ,
56
- <a href="https://router.vuejs.org/" target="_blank" rel="noopener">Vue Router</a>
56
+ <a href="https://router.vuejs.org/" target="_blank" rel="noopener noreferrer">Vue Router</a>
57
57
  ,
58
- <a href="https://test-utils.vuejs.org/" target="_blank" rel="noopener">Vue Test Utils</a>
58
+ <a href="https://test-utils.vuejs.org/" target="_blank" rel="noopener noreferrer">Vue Test Utils</a>
59
59
  , and
60
- <a href="https://github.com/vuejs/devtools" target="_blank" rel="noopener">Vue Dev Tools</a>
60
+ <a href="https://github.com/vuejs/devtools" target="_blank" rel="noopener noreferrer">Vue Dev Tools</a>
61
61
  . If you need more resources, we suggest paying
62
- <a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">Awesome Vue</a>
62
+ <a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener noreferrer">Awesome Vue</a>
63
63
  a visit.
64
64
  </WelcomeItem>
65
65
 
@@ -70,13 +70,15 @@ import SupportIcon from './icons/IconSupport.vue';
70
70
  <template #heading>Community</template>
71
71
 
72
72
  Got stuck? Ask your question on
73
- <a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>
73
+ <a href="https://chat.vuejs.org" target="_blank" rel="noopener noreferrer">Vue Land</a>
74
74
  , our official Discord server, or
75
- <a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener">StackOverflow</a>
75
+ <a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener noreferrer">
76
+ StackOverflow
77
+ </a>
76
78
  . You should also subscribe to
77
- <a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
79
+ <a href="https://news.vuejs.org" target="_blank" rel="noopener noreferrer">our mailing list</a>
78
80
  and follow the official
79
- <a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
81
+ <a href="https://twitter.com/vuejs" target="_blank" rel="noopener noreferrer">@vuejs</a>
80
82
  twitter account for latest news in the Vue world.
81
83
  </WelcomeItem>
82
84
 
@@ -87,7 +89,7 @@ import SupportIcon from './icons/IconSupport.vue';
87
89
  <template #heading>Support Vue</template>
88
90
 
89
91
  As an independent project, Vue relies on community backing for its sustainability. You can help us by
90
- <a href="https://vuejs.org/sponsor/" target="_blank" rel="noopener">becoming a sponsor</a>
92
+ <a href="https://vuejs.org/sponsor/" target="_blank" rel="noopener noreferrer">becoming a sponsor</a>
91
93
  .
92
94
  </WelcomeItem>
93
95
  </template>