Compare commits

..

8 commits

Author SHA1 Message Date
Ayo
832afc1128 chore: add vite build app monorepo script 2026-04-05 15:31:10 +02:00
Ayo
4f3897bfaf chore(lib): move vite config to lib dir 2026-04-04 01:22:04 +02:00
Ayo
d4228c60f3 chore: update publish scripts 2026-04-03 23:46:24 +02:00
Ayo
7b9529bddb chore: add publish:lib script 2026-04-03 23:35:22 +02:00
Ayo
ba91f1ec50 chore: remove publish in release script 2026-04-03 23:34:34 +02:00
Ayo
debc9495ae chore: release v0.4.31
Some checks failed
Release / release (push) Has been cancelled
2026-04-03 23:33:25 +02:00
Ayo
f4763e711c chore: move lib publish script 2026-04-03 23:33:13 +02:00
Ayo
788fc2dfe1 chore: add publish script 2026-04-03 23:31:43 +02:00
3 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@ayo-run/mnswpr",
"version": "0.4.30",
"version": "0.4.31",
"description": "Classic Minesweeper browser game",
"author": "Ayo",
"type": "module",
@ -10,7 +10,6 @@
},
"homepage": "https://mnswpr.com",
"scripts": {
"publish": "npm publish",
"release": "bumpp && node ../scripts/release.js"
},
"main": "mnswpr.js",

View file

@ -4,7 +4,7 @@ import { defineConfig } from 'vite'
export default defineConfig({
build: {
lib: {
entry: resolve(import.meta.dirname, './lib/mnswpr.js'),
entry: resolve(import.meta.dirname, './mnswpr.js'),
name: 'mnswpr',
fileName: 'mnswpr'
}

View file

@ -14,9 +14,11 @@
"test": "echo \"Warn: no test specified\"",
"dev": "vite app",
"start": "vite app",
"build": "vite build app",
"build:lib": "vite build lib",
"release:lib": "pnpm -F @ayo-run/mnswpr run release",
"publish:lib": "cd lib && npm publish",
"build:preview": "pnpm -F app run build:preview",
"build:lib": "vite build lib --config vite-lib.config.js",
"release": "pnpm -F @ayo-run/mnswpr release",
"prepare": "husky",
"lint": "eslint .",
"lint:fix": "eslint . --fix"