This is a meta repository for Silex website builder
It includes all projects needed for Silex development as git submodules. This is the repo you need to contribute to Silex as many of the projects are dependencies of each other, so we can iterate in all at the same time and benefit from using Yarn Workspaces or npm workspaces.
There is no issue on this repo, please use the individual project's issues
Check the projects in this repo
Auto generated submodules
Name | Repo | Description |
---|---|---|
Grapesjs Ui Suggest Classes | git@github.com:silexlabs/grapesjs-ui-suggest-classes.git |
DEMO |
Symbols plugin for GrapesJS | git@github.com:silexlabs/grapesjs-sympbols.git |
This plugin adds feature to GrapesJS editor, for users to be able to reuse elements in a website and accross pages |
Eleventy Plugin Directus | git@github.com:silexlabs/eleventy-plugin-directus.git |
|
Grapesjs Fonts | git@github.com:silexlabs/grapesjs-fonts.git |
Custom Fonts plugin for grapesjs |
Grapesjs Directus Storage | git@github.com:silexlabs/grapesjs-directus-storage.git |
Directus as a backend for GrapesJS |
Grapesjs Loading | git@github.com:silexlabs/grapesjs-loading.git |
Shows a loading bar while the site is loaded or saved. By default it looks like the classic loading bar on top of the page, e.g. on github.com. |
eleventy-plugin-concat | git@github.com:silexlabs/eleventy-plugin-concat.git |
Eleventy plugin to bundle your scripts and styles |
Silex plugins | git@github.com:silexlabs/silex-plugins.git |
Environment agnostic (node.js, browser, commonjs, esnext...) open architecture (plugin system) inspired by 11ty.dev config |
GrapesJs Data Source plugin | git@github.com:silexlabs/grapesjs-data-source.git |
This GrapesJS plugin integrates various APIs into the editor. |
silex-plugin-starter | git@github.com:silexlabs/silex-plugin-starter.git |
Auto generated submodules
To contribute to Silex you need to clone this repo with its submodules, make sure you use the required nodejs version (nvm) and install its dependencies (you can replace npm
with yarn
):
$ git clone git@github.com:silexlabs/silex-meta.git --recurse-submodules -j8
$ cd silex-meta
$ nvm use
$ npm install
$ npm start
Useful commands
- Start Silex:
npm start
(or usenpm run start:debug
) - Release a package (which is in packages/$PACKAGE_NAME) and bump version of a library and all its dependents:
scripts/release-version packages/$PACKAGE_NAME $VERSION
, then you probably want togit push --follow-tags
the changed packages - Add a project:
git submodules add $PACKAGE_GIT_URL packages/$PACKAGE_NAME
- The excellent GrapesJs framework used for the front end drag/drop feature
- Typescript is used to build Silex
- GLYPHICONS library of icons and symbols (CC license) and fontawesome icons
This includes all the packages of this repo.
Auto generated count
silex-meta@1.0.0 count cloc packages --exclude-dir node_modules,doc,strapi,test,dist,mock --exclude-ext=md,xml,pug,njk,ini,css
JSON 35 0 0 65611 TypeScript 61 564 1469 6322 JavaScript 51 260 451 2184 YAML 14 30 20 1907 HTML 8 90 0 946 SCSS 9 33 13 455 INI 2 4 0 21 Dockerfile 1 3 4 8 Text 1 0 0 2
Auto generated count
Cloc's report in mar. 2021:
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JavaScript 149 9652 10733 54582
JSON 55 3 0 52723
TypeScript 178 2591 4713 21524
HTML 114 16988 380 16689
CSS 57 2142 1098 14399
SCSS 57 881 415 5444
SVG 17 0 0 4810
LESS 36 172 203 4039
YAML 38 18 46 2607
EJS 28 40 9 1627
JSX 14 160 109 1406
Markdown 42 472 0 1067
Pug 17 54 36 938
Dockerfile 1 3 3 9
Properties 1 1 0 1
-------------------------------------------------------------------------------
SUM: 804 33177 17745 181865
-------------------------------------------------------------------------------
Cloc's report in feb 2023:
$ cloc packages
515 text files.
345 unique files.
697 files ignored.
github.com/AlDanial/cloc v 1.92 T=1.00 s (345.0 files/s, 212776.0 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
JSON 22 1 0 119875
JavaScript 62 7190 7805 38240
TypeScript 142 2035 4067 17106
CSS 21 594 715 5761
YAML 23 53 39 2914
LESS 21 138 159 2234
Markdown 15 413 0 932
Pug 14 49 30 899
EJS 7 35 4 798
HTML 3 56 12 495
SVG 13 0 0 96
Dockerfile 2 9 9 13
-------------------------------------------------------------------------------
SUM: 345 10573 12840 189363
-------------------------------------------------------------------------------