Fixing build

This commit is contained in:
2026-01-16 09:25:50 -05:00
parent a63a758cc5
commit 8d2277f46d
3 changed files with 23 additions and 58 deletions

1
.gitignore vendored
View File

@@ -63,3 +63,4 @@ examples/*/.strata/
# Codetyper.nvim - AI coding partner files
*.coder.*
.coder/
*.tgz

View File

@@ -2,6 +2,12 @@
"name": "create-strata-compile",
"version": "0.1.0",
"description": "Create a new Strata project",
"repository": {
"type": "git",
"url": "https://github.com/CarGDev/strata-compile.git",
"directory": "cli/create-strata"
},
"homepage": "https://github.com/CarGDev/strata-compile",
"bin": {
"create-strata-compile": "./index.js"
},
@@ -17,7 +23,9 @@
"strata-compile",
"create",
"scaffold",
"cli"
"cli",
"static-site",
"framework"
],
"author": "Carlos Gutierrez (CarGDev)",
"license": "MIT"

View File

@@ -1,82 +1,38 @@
{
"name": "strata",
"name": "strata-compile",
"version": "0.1.0",
"description": "Strata - Static Template Rendering Architecture. Fast, modern framework with static-first approach, islands architecture, and cross-tab state management.",
"description": "Strata - Static Template Rendering Architecture. Fast, modern framework with static-first approach and zero runtime overhead.",
"keywords": [
"frontend",
"framework",
"jamstack",
"islands",
"static",
"typescript",
"state-management",
"microfrontends"
"compiler",
"template",
"strata",
"build-tool"
],
"author": "Strata Team",
"author": "Carlos Gutierrez (CarGDev)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/strata/strata.git"
},
"homepage": "https://stratajs.dev",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./store": {
"import": "./dist/store.mjs",
"require": "./dist/store.js",
"types": "./dist/store.d.ts"
},
"./fetch": {
"import": "./dist/fetch.mjs",
"require": "./dist/fetch.js",
"types": "./dist/fetch.d.ts"
}
"url": "https://github.com/CarGDev/strata-compile.git"
},
"homepage": "https://github.com/CarGDev/strata-compile",
"bin": {
"strata": "./bin/strata"
"strata-compile": "./bin/strata-compile"
},
"files": [
"dist",
"bin",
"runtime",
"templates"
],
"scripts": {
"build": "npm run build:runtime && npm run build:compiler",
"build:runtime": "tsup runtime/core/strata.sts runtime/store/store.sts runtime/fetch/fetch.sts --format esm,cjs --dts",
"build:compiler": "cd compiler && go build -ldflags='-s -w' -o ../bin/strata ./cmd/strata",
"dev": "tsup --watch",
"test": "vitest",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"build": "cd compiler && go build -ldflags='-s -w' -o ../bin/strata-compile ./cmd/strata",
"prepublishOnly": "npm run build",
"install:local": "./scripts/install.sh",
"install:global": "./scripts/install.sh --global",
"uninstall": "./scripts/uninstall.sh",
"upgrade": "./scripts/upgrade.sh",
"upgrade:check": "./scripts/upgrade.sh --check",
"doctor": "./scripts/doctor.sh",
"doctor:fix": "./scripts/doctor.sh --fix",
"setup": "npm run build:compiler && npm install",
"clean": "rm -rf bin/ dist/ .strata/",
"release": "make release"
"postinstall": "node -e \"try { require('fs').chmodSync('./bin/strata-compile', '755') } catch(e) {}\""
},
"dependencies": {},
"devDependencies": {
"@types/node": "^20.10.0",
"tsup": "^8.0.0",
"typescript": "^5.3.0",
"vitest": "^1.0.0",
"eslint": "^8.55.0"
},
"peerDependencies": {},
"devDependencies": {},
"engines": {
"node": ">=18.0.0"
}