Skip to content

Commit

Permalink
refactor(builder): publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Nessunskill committed Mar 28, 2024
1 parent 96ce24d commit eb5e8d4
Show file tree
Hide file tree
Showing 17 changed files with 367 additions and 118 deletions.
17 changes: 13 additions & 4 deletions core-server/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
{
"name": "@brizy/core-server",
"version": "1.0.0",
"description": "Brizy Core for pluggable apps",
"description": "Brizy Core-server for pluggable apps",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"keywords": [
"brizy",
"core-server"
],
"author": "brizy.io",
"license": "MIT",
"homepage": "https://github.com/EasyBrizy/builder#readme",
"bugs": "https://github.com/EasyBrizy/builder/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/EasyBrizy/builder.git"
},
"scripts": {
"lint": "eslint \"src/**/!(*.d).ts*\"",
"tsc": "tsc --noEmit",
Expand All @@ -27,9 +39,6 @@
"cors": "^2.8.5",
"express": "^4.18.3"
},
"keywords": [],
"author": "",
"license": "ISC",
"files": [
"dist",
"package.json"
Expand Down
2 changes: 1 addition & 1 deletion examples/jsapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"webpack": "^5.88.2"
},
"dependencies": {
"@brizy/builder": "*",
"@brizy/builder": "latest",
"@brizy/core-client": "latest",
"http-server": "^14.1.1"
},
Expand Down
6 changes: 3 additions & 3 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@brizy/core-client": "latest",
"@brizy/cms": "*",
"@brizy/cms-client": "latest",
"@brizy/shopify": "*",
"@brizy/storage": "*",
"@brizy/builder": "*"
"@brizy/storage-client": "latest",
"@brizy/builder": "latest"
},
"devDependencies": {
"@brizy/eslint-config": "*",
Expand Down
4 changes: 2 additions & 2 deletions examples/nextjs/src/components/Brizy/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"use client";

import { Builder } from "@brizy/builder";
import { Cms } from "@brizy/cms";
import { Cms } from "@brizy/cms-client";
import { Core } from "@brizy/core-client";
import { Shopify } from "@brizy/shopify";
import { Storage } from "@brizy/storage";
import { Storage } from "@brizy/storage-client";
import { FC, useEffect, useRef } from "react";

const core = new Core({ apiUrl: process.env.NEXT_PUBLIC_API_URL ?? "" });
Expand Down
4 changes: 2 additions & 2 deletions examples/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"author": "",
"license": "ISC",
"dependencies": {
"@brizy/core-server": "*",
"@brizy/storage-server": "*",
"@brizy/core-server": "latest",
"@brizy/storage-server": "latest",
"dotenv": "^16.4.5"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit eb5e8d4

Please sign in to comment.