Publish v0.0.4 + fix build

This commit is contained in:
visortelle 2023-12-24 19:08:08 +04:00
parent 99640bee0b
commit b0c5d8a1e5
No known key found for this signature in database
GPG Key ID: 97026AE67052C507
3 changed files with 786 additions and 50 deletions

View File

@ -12,6 +12,10 @@ build: ## Build the project.
npm i
npm run build
.PHONY: publish
package: ## Publish to VSCode marketplace
npm run publish
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
"name": "haskell-spotlight",
"description": "Search on Hackage, Hoogle, and more soon.",
"icon": "build/icon-192.png",
"version": "0.0.3",
"version": "0.0.4",
"publisher": "visortelle",
"displayName": "Haskell Spotlight",
"license": "MIT",
@ -50,14 +50,11 @@
"vscode:prepublish": "make build",
"build": "rm -rf build && webpack --config webpack.config.ts --env mode=production && cp -r ./assets/* ./build/",
"build:dev": "rm -rf build && webpack --config webpack.config.ts --env mode=development && cp -r ./assets/* ./build/",
"dev": "chokidar \"**/*\" -i \"node_modules/**/*\" -i \"build\" -c \"npm run build:dev\" --initial"
"dev": "chokidar \"**/*\" -i \"node_modules/**/*\" -i \"build\" -c \"npm run build:dev\" --initial",
"publish": "vsce package && vsce publish"
},
"devDependencies": {
"@haskell-spotlight/react-lib": "*",
"highlight.js": "^11.4.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-toastify": "^8.1.0",
"@swc/core": "^1.2.107",
"@types/node": "^12.12.0",
"@types/react": "^17.0.38",
@ -72,11 +69,15 @@
"chokidar-cli": "^3.0.0",
"crypto-browserify": "^3.12.0",
"css-loader": "^6.5.1",
"highlight.js": "^11.4.0",
"postcss-loader": "^6.2.1",
"postcss-rem-to-pixel": "^4.1.2",
"postcss-safe-important": "^1.2.1",
"postcss-selector-replace": "^1.0.2",
"raw-loader": "^4.0.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-toastify": "^8.1.0",
"stream-browserify": "^3.0.0",
"style-loader": "^3.3.1",
"swc-loader": "^0.1.15",
@ -87,5 +88,8 @@
"webpack": "^5.63.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.4.0"
},
"dependencies": {
"@vscode/vsce": "^2.22.0"
}
}
}