From 0b35fb9198ac34487ee98edb1c15b40eb1062553 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Thu, 13 Jan 2022 15:19:19 +0100 Subject: [PATCH] publish script --- package.json | 3 ++- pnpm-lock.yaml | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ff8b72c..9bb4b7b 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "package": "svelte-kit package", "preview": "svelte-kit preview", "check": "svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch" + "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch", + "publish": "rm -rf ./package && pnpm run check && pnpm run package && pnpm publish ./package" }, "devDependencies": { "@sveltejs/adapter-auto": "next", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 79df390..f1cae50 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,7 +18,7 @@ dependencies: devDependencies: '@sveltejs/adapter-auto': 1.0.0-next.10 - '@sveltejs/kit': 1.0.0-next.227_svelte@3.46.0 + '@sveltejs/kit': 1.0.0-next.228_svelte@3.46.0 bulma: 0.9.3 interactjs: 1.10.11 svelte: 3.46.0 @@ -99,8 +99,8 @@ packages: esbuild: 0.13.15 dev: true - /@sveltejs/kit/1.0.0-next.227_svelte@3.46.0: - resolution: {integrity: sha512-AyTM51Mo01sV7Z3k0yEjKeSVfN84cXqu4+63FiSNMSvalIO9UfBYcKqfRZDtR/nPvw1zFNCC2HFAvRJGKIY8Xw==} + /@sveltejs/kit/1.0.0-next.228_svelte@3.46.0: + resolution: {integrity: sha512-77e8G7CcmqHhMyAbtjrAWjRDDgFiZArFhujKGql5YM68TWx0cCoipqGdhK0m3EJ/t/NL+T2YuK/9nvtrSNEK6A==} engines: {node: '>=14.13'} hasBin: true peerDependencies: