create-soybean 0.8.2 → 0.8.4

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/README.md ADDED
@@ -0,0 +1,8 @@
1
+ # create-soybean
2
+
3
+ SoybeanJS's command line to create different project templates
4
+
5
+ ## currently support
6
+
7
+ - template-ts-lib: use unbuild to build TypeScript library
8
+ - template-vue: create a vue project quickly with eslint, simple-git-hooks and lint-staged
package/package.json CHANGED
@@ -1,13 +1,20 @@
1
1
  {
2
2
  "name": "create-soybean",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "description": "SoybeanJS's command line to create different project templates",
5
5
  "author": {
6
6
  "name": "Soybean",
7
- "email": "honghuangdc@gmail.com",
8
- "url": "https://github.com/honghuangdc"
7
+ "email": "soybeanjs@outlook.com",
8
+ "url": "https://github.com/soybeanjs"
9
9
  },
10
10
  "license": "MIT",
11
+ "homepage": "https://github.com/soybeanjs/cli/tree/main/packages/create-soybean",
12
+ "repository": {
13
+ "url": "https://github.com/soybeanjs/cli.git"
14
+ },
15
+ "bugs": {
16
+ "url": "https://github.com/soybeanjs/cli/issues"
17
+ },
11
18
  "publishConfig": {
12
19
  "registry": "https://registry.npmjs.org/"
13
20
  },
@@ -1,8 +1,9 @@
1
+ import { URL, fileURLToPath } from 'node:url';
1
2
  import { defineBuildConfig } from 'unbuild';
2
3
 
3
4
  export default defineBuildConfig({
4
5
  alias: {
5
- '@': './src'
6
+ '@': fileURLToPath(new URL('./src', import.meta.url))
6
7
  },
7
8
  entries: ['src/index'],
8
9
  clean: true,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ts-lib-starter",
3
3
  "type": "module",
4
- "version": "0.8.2",
4
+ "version": "0.8.4",
5
5
  "private": true,
6
6
  "exports": {
7
7
  ".": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "template-vue",
3
3
  "type": "module",
4
- "version": "0.8.2",
4
+ "version": "0.8.4",
5
5
  "private": true,
6
6
  "scripts": {
7
7
  "dev": "vite",