snow-cms 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -63,6 +63,9 @@ cms-config/ // The path containing CMS config files. (Must be na
63
63
  |-- cms-actions.js // Additional behavior to hook into editor actions. (Optional)
64
64
  ```
65
65
 
66
+ > [!NOTE]
67
+ > This example assumes the use of a build system that allows importing css in js. But you should adapt importing of the css and js to your project's build system.
68
+
66
69
  #### cms/index.html
67
70
 
68
71
  ```html
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-cms",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A configurable CMS built with Svelte.",
5
5
  "keywords": [],
6
6
  "author": "Sammy-T",
@@ -31,6 +31,7 @@
31
31
  "@sveltejs/vite-plugin-svelte": "^3.1.1",
32
32
  "browser-fs-access": "^0.35.0",
33
33
  "dayjs": "^1.11.11",
34
+ "dotenv": "^16.4.5",
34
35
  "events": "^3.3.0",
35
36
  "js-yaml": "^4.1.0",
36
37
  "npm-run-all": "^4.1.5",
@@ -44,6 +45,7 @@
44
45
  "dev": "run-p build:watch:cms serve:site",
45
46
  "serve:site": "vite dev-site",
46
47
  "build": "vite build -c cms/vite.config.js",
47
- "build:watch:cms": "vite build --minify false --emptyOutDir -w -c cms/vite.config.js --outDir ../dev-site/cms"
48
+ "build:watch:cms": "vite build --minify false --emptyOutDir -w -c cms/vite.config.js --outDir ../dev-site/cms",
49
+ "prebuild:watch:cms": "node scripts/copy-config.js"
48
50
  }
49
51
  }