From 2d30a2128234821b12af62f49eba8bc00f1f2f31 Mon Sep 17 00:00:00 2001 From: Soybean Date: Mon, 11 Dec 2023 09:56:29 +0800 Subject: [PATCH] fix(projects): fix export files --- packages/create-soybean/package.json | 3 ++- pnpm-lock.yaml | 14 ++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/packages/create-soybean/package.json b/packages/create-soybean/package.json index f7341d5..a723593 100644 --- a/packages/create-soybean/package.json +++ b/packages/create-soybean/package.json @@ -1,5 +1,6 @@ { "name": "create-soybean", + "type": "module", "version": "1.0.0-beta.6", "description": "SoybeanJS's command line to create different project templates", "author": { @@ -22,7 +23,7 @@ "create-soybean": "dist/index.mjs", "create-soy": "dist/index.mjs" }, - "files": ["dist", "template-ts-lib", "template-vue"], + "files": ["dist", "template-*"], "scripts": { "build": "pnpm typecheck && pnpm build-only", "build-only": "unbuild", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 61f5e3b..c13be44 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2550,7 +2550,7 @@ packages: file-entry-cache: 6.0.1 find-up: 5.0.0 glob-parent: 6.0.2 - globals: 13.23.0 + globals: 13.24.0 graphemer: 1.4.0 ignore: 5.3.0 imurmurhash: 0.1.4 @@ -2894,12 +2894,6 @@ packages: engines: {node: '>=4'} dev: true - /globals@13.23.0: - resolution: {integrity: sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.20.2 - /globals@13.24.0: resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} engines: {node: '>=8'} @@ -4649,7 +4643,7 @@ packages: dependencies: postcss: 8.4.32 postcss-value-parser: 4.2.0 - svgo: 3.0.5 + svgo: 3.1.0 dev: true /postcss-unique-selectors@6.0.0(postcss@8.4.32): @@ -5283,8 +5277,8 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - /svgo@3.0.5: - resolution: {integrity: sha512-HQKHEo73pMNOlDlBcLgZRcHW2+1wo7bFYayAXkGN0l/2+h68KjlfZyMRhdhaGvoHV2eApOovl12zoFz42sT6rQ==} + /svgo@3.1.0: + resolution: {integrity: sha512-R5SnNA89w1dYgNv570591F66v34b3eQShpIBcQtZtM5trJwm1VvxbIoMpRYY3ybTAutcKTLEmTsdnaknOHbiQA==} engines: {node: '>=14.0.0'} hasBin: true dependencies: