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", "name": "@schukai/monster",
"version": "0.1.15", "version": "0.1.19",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@schukai/monster", "name": "@schukai/monster",
"version": "0.1.15", "version": "0.1.19",
"license": "AGPL 3.0" "license": "AGPL 3.0"
} }
} }
......
{ {
"name": "@schukai/monster", "name": "@schukai/monster",
"version": "0.1.15", "version": "0.1.21",
"description": "Monster is a simple library for creating fast, robust and lightweight websites.", "description": "Monster is a simple library for creating fast, robust and lightweight websites.",
"keywords": [ "keywords": [
"framework", "framework",
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
], ],
"main": "source/monster.js", "main": "source/monster.js",
"module": "source/monster.js", "module": "source/monster.js",
"type": "module", "type": "module",
"homepage": "https://monsterjs.org", "homepage": "https://monsterjs.org",
"repository": { "repository": {
......
...@@ -8,10 +8,9 @@ ...@@ -8,10 +8,9 @@
# path and binaries # path and binaries
NODEJS ?= node NODEJS ?= node
NPM ?= npm NPM ?= pnpm
EXECUTABLES = $(EXECUTABLES:-) $(npm);
EXECUTABLES = $(EXECUTABLES:-) $(PNPM);
NODE_PACKAGES := $(shell find $(PROJECT_ROOT) -type f -name 'package.json' -not -path '*/node_modules/*') 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) NODE_MODULES := $(shell find $(PROJECT_ROOT) -type d -name 'node_modules' -prune)
...@@ -22,7 +21,7 @@ $(NODE_MODULES_MODIFIED): $(NODE_PACKAGES) ...@@ -22,7 +21,7 @@ $(NODE_MODULES_MODIFIED): $(NODE_PACKAGES)
$(QUIET) for p in $(NODE_PACKAGES); do \ $(QUIET) for p in $(NODE_PACKAGES); do \
DIR=$$(dirname $$p); \ DIR=$$(dirname $$p); \
echo "Updating package: $${DIR}" ;\ echo "Updating package: $${DIR}" ;\
npm install --prefix $${DIR} ;\ $(NPM) install --prefix $${DIR} ;\
done ; \ done ; \
touch $(NODE_MODULES_MODIFIED) touch $(NODE_MODULES_MODIFIED)
......
...@@ -10,11 +10,14 @@ SPONGE ?= sponge ...@@ -10,11 +10,14 @@ SPONGE ?= sponge
EXECUTABLES = $(EXECUTABLES:-) $(SPONGE); EXECUTABLES = $(EXECUTABLES:-) $(SPONGE);
.PHONY: build-node .PHONY: node-build
## Build Node Components ## Build Node Components
build-node: next-patch-version $(PACKAGEMODIFIED) node-build: next-patch-version $(NODE_MODULES_MODIFIED) $(NODE_PACKAGES)
$(ECHOMARKER) "Building Node Components" $(ECHOMARKER) "Building Node Components"
$(ECHO) "Version: $(PROJECT_VERSION)" $(ECHO) "Version: $(PROJECT_VERSION)"
$(ECHO) "Source Path: $(SOURCE_PATH)" $(ECHO) "Source Path: $(SOURCE_PATH)"
$(QUIET) $(JQ) '.version = "$(PROJECT_VERSION)"' $(PACKAGE_JSON) | $(SPONGE) $(PACKAGE_JSON) $(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", "name": "monster",
"version": "x.x.1", "version": "0.1.19",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "monster", "name": "monster",
"version": "x.x.1", "version": "0.1.19",
"license": "see LICENSE file", "license": "see LICENSE file",
"devDependencies": { "devDependencies": {
"@peculiar/webcrypto": "^1.4.0", "@peculiar/webcrypto": "^1.4.0",
......
{ {
"name": "monster", "name": "monster",
"version": "x.x.1", "version": "0.1.21",
"description": "monster", "description": "monster",
"repository": { "repository": {
"type": "git", "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