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 # Codetyper.nvim - AI coding partner files
*.coder.* *.coder.*
.coder/ .coder/
*.tgz

View File

@@ -2,6 +2,12 @@
"name": "create-strata-compile", "name": "create-strata-compile",
"version": "0.1.0", "version": "0.1.0",
"description": "Create a new Strata project", "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": { "bin": {
"create-strata-compile": "./index.js" "create-strata-compile": "./index.js"
}, },
@@ -17,7 +23,9 @@
"strata-compile", "strata-compile",
"create", "create",
"scaffold", "scaffold",
"cli" "cli",
"static-site",
"framework"
], ],
"author": "Carlos Gutierrez (CarGDev)", "author": "Carlos Gutierrez (CarGDev)",
"license": "MIT" "license": "MIT"

View File

@@ -1,82 +1,38 @@
{ {
"name": "strata", "name": "strata-compile",
"version": "0.1.0", "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": [ "keywords": [
"frontend", "frontend",
"framework", "framework",
"jamstack", "jamstack",
"islands",
"static", "static",
"typescript", "compiler",
"state-management", "template",
"microfrontends" "strata",
"build-tool"
], ],
"author": "Strata Team", "author": "Carlos Gutierrez (CarGDev)",
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/strata/strata.git" "url": "https://github.com/CarGDev/strata-compile.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"
}
}, },
"homepage": "https://github.com/CarGDev/strata-compile",
"bin": { "bin": {
"strata": "./bin/strata" "strata-compile": "./bin/strata-compile"
}, },
"files": [ "files": [
"dist",
"bin", "bin",
"runtime",
"templates" "templates"
], ],
"scripts": { "scripts": {
"build": "npm run build:runtime && npm run build:compiler", "build": "cd compiler && go build -ldflags='-s -w' -o ../bin/strata-compile ./cmd/strata",
"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",
"prepublishOnly": "npm run build", "prepublishOnly": "npm run build",
"install:local": "./scripts/install.sh", "postinstall": "node -e \"try { require('fs').chmodSync('./bin/strata-compile', '755') } catch(e) {}\""
"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"
}, },
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {},
"@types/node": "^20.10.0",
"tsup": "^8.0.0",
"typescript": "^5.3.0",
"vitest": "^1.0.0",
"eslint": "^8.55.0"
},
"peerDependencies": {},
"engines": { "engines": {
"node": ">=18.0.0" "node": ">=18.0.0"
} }