Skip to content
Snippets Groups Projects
Verified Commit 7f8c75d1 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: commit save point

parent 1b94991b
No related branches found
No related tags found
No related merge requests found
Showing
with 2320 additions and 15 deletions
{
"name": "@schukai/monster",
"version": "0.1.15",
"version": "0.1.19",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@schukai/monster",
"version": "0.1.15",
"version": "0.1.19",
"license": "AGPL 3.0"
}
}
......
{
"name": "@schukai/monster",
"version": "0.1.15",
"version": "0.1.21",
"description": "Monster is a simple library for creating fast, robust and lightweight websites.",
"keywords": [
"framework",
......@@ -31,7 +31,6 @@
],
"main": "source/monster.js",
"module": "source/monster.js",
"type": "module",
"homepage": "https://monsterjs.org",
"repository": {
......
......@@ -8,10 +8,9 @@
# path and binaries
NODEJS ?= node
NPM ?= npm
EXECUTABLES = $(EXECUTABLES:-) $(npm);
NPM ?= pnpm
EXECUTABLES = $(EXECUTABLES:-) $(PNPM);
NODE_PACKAGES := $(shell find $(PROJECT_ROOT) -type f -name 'package.json' -not -path '*/node_modules/*')
NODE_MODULES := $(shell find $(PROJECT_ROOT) -type d -name 'node_modules' -prune)
......@@ -22,7 +21,7 @@ $(NODE_MODULES_MODIFIED): $(NODE_PACKAGES)
$(QUIET) for p in $(NODE_PACKAGES); do \
DIR=$$(dirname $$p); \
echo "Updating package: $${DIR}" ;\
npm install --prefix $${DIR} ;\
$(NPM) install --prefix $${DIR} ;\
done ; \
touch $(NODE_MODULES_MODIFIED)
......
......@@ -10,11 +10,14 @@ SPONGE ?= sponge
EXECUTABLES = $(EXECUTABLES:-) $(SPONGE);
.PHONY: build-node
.PHONY: node-build
## Build Node Components
build-node: next-patch-version $(PACKAGEMODIFIED)
node-build: next-patch-version $(NODE_MODULES_MODIFIED) $(NODE_PACKAGES)
$(ECHOMARKER) "Building Node Components"
$(ECHO) "Version: $(PROJECT_VERSION)"
$(ECHO) "Source Path: $(SOURCE_PATH)"
$(QUIET) $(JQ) '.version = "$(PROJECT_VERSION)"' $(PACKAGE_JSON) | $(SPONGE) $(PACKAGE_JSON)
$(QUIET) for p in $(NODE_PACKAGES); do \
$(JQ) '.version = "$(PROJECT_VERSION)"' $${p} | $(SPONGE) $${p}; \
done ; \
{
"name": "monster",
"version": "x.x.1",
"version": "0.1.19",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "monster",
"version": "x.x.1",
"version": "0.1.19",
"license": "see LICENSE file",
"devDependencies": {
"@peculiar/webcrypto": "^1.4.0",
......
{
"name": "monster",
"version": "x.x.1",
"version": "0.1.21",
"description": "monster",
"repository": {
"type": "git",
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment