flarecms 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Type declarations for the FlareCMS prefixed stylesheet.
3
+ * This allows importing the CSS file as a side-effect in TypeScript projects.
4
+ */
5
+ declare module 'flarecms/style.css' {
6
+ const content: any;
7
+ export default content;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flarecms",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "license": "MIT",
5
5
  "description": "FlareCMS Monorepo: A lightweight CsMS for the AI era.",
6
6
  "files": [
@@ -30,8 +30,7 @@
30
30
  "homepage": "https://flarecms.francy.dev",
31
31
  "scripts": {
32
32
  "build:style": "node ./scripts/prefix-css.mjs",
33
- "build:client": "bun build ./src/client/main.tsx --outfile ./dist/main.js --minify",
34
- "build:all": "bun run build:style && bun run build:client"
33
+ "build": "bun ../../scripts/build.ts"
35
34
  },
36
35
  "type": "module",
37
36
  "main": "./dist/index.js",
@@ -43,7 +42,7 @@
43
42
  "./server": "./dist/server/index.js",
44
43
  "./client": "./dist/client/index.js",
45
44
  "./style.css": {
46
- "types": "./style.css.d.ts",
45
+ "types": "./dist/style.css.d.ts",
47
46
  "default": "./dist/style.css"
48
47
  },
49
48
  "./auth": "./dist/auth/index.js",