Commit graph

28 commits

Author SHA1 Message Date
Faris Ansari
e5e39af9b9 fix: Support single file builds in build.json 2020-09-28 17:18:54 +05:30
Gavin D'souza
f53fe3e854 feat: Ship Built Assets 2020-09-07 15:14:37 +05:30
barredterra
8398b8b6d8 feat: add autoprefixer 2020-08-27 18:11:29 +02:00
Faris Ansari
5b54cba2cb fix: Remove all traces of Tailwind from codebase😢 2020-05-11 16:44:45 +05:30
Faris Ansari
b8a50f063f Merge branch 'develop' of https://github.com/frappe/frappe into page-builder-tailwind-blurred-images 2020-04-27 13:06:40 +05:30
Sagar Vora
4d80b592e2 fix: merge conflict 2020-04-26 20:48:21 +05:30
Sagar Vora
44b78e7fb2 fix: proper sass mapping and always failing test 2020-04-26 20:47:11 +05:30
Faris Ansari
ebf0e04e5e style: Fix linting errors 2020-04-25 00:15:31 +05:30
Faris Ansari
caa068932c Merge branch 'develop' of https://github.com/frappe/frappe into page-builder-tailwind 2020-04-24 23:48:29 +05:30
Sagar Vora
c2f566163e feat: source maps for css/scss/less files! 2020-04-22 01:56:58 +05:30
Faris Ansari
6ac3fe4ed7 chore: Add postcss-nested plugin 2020-04-19 16:17:41 +05:30
Faris Ansari
1632653a39 chore: Log full warning 2020-04-19 12:58:35 +05:30
Faris Ansari
2431767fdf feat: Page Builder based on Tailwind
- Website Theme based on: Bootstrap 4, Tailwind
- Web Page: Page Builder
- Web Template: Create templates for web pages
- Added some common Web Templates
- Components: Standard components directly usable in Jinja
- Purge Tailwind Classes in Production
- PostCSS Config to support tailwind
2020-04-18 15:02:56 +05:30
Faris Ansari
c07944c2c4 fix(rollup): Use terser instead of uglify 2019-04-26 15:52:58 +05:30
Faris Ansari
698bf208ab fix: Common scss options for theme generator and rollup scss 2019-02-19 18:04:56 +05:30
Faris Ansari
d1c5c263b5 fix(Quill): Use a local copy of quill-mention
quill-mention's distribution copy is built with webpack
so it doesn't work with rollup
2018-10-22 16:12:17 +05:30
Faris Ansari
6316917274 fix(rollup): Add message to indicate addition of new dependency 2018-10-05 13:04:31 +05:30
Faris Ansari
10534276e5 Quill editor (#6159)
* feat(Text Editor): Quill Editor

* fix: Add imageDrop module

- prevent default events

* refactor(Comment): Comment is now frappe control

- Use quill's bubble theme for comment control

* feat: Support @mentions in comment area

- Uses quill-mention package

* fix: Use setContents to fix autofocus bug

* fix: Spaces to Tabs

* fix: Missing semicolon

* fix: Fix style

* fix: Remove all of summernote

- Remove comment.js (use fieldtype: 'Comment')
- Add quill styles to webform.css

* fix: Replace color/background with indent/outdent
2018-09-30 21:08:40 +05:30
Nabin Hait
b4c063e96c fix(syntax): rollup config 2018-09-12 18:13:55 +05:30
Faris Ansari
91d3731a60 feat(rollup): Ability to import assets from any app
To import a js file from the frappe app into any app
```
import 'frappe/public/js/frappe/ui/comment.js';
```
2018-09-11 11:38:10 +05:30
Faris Ansari
86ff0851a0 style: fix linting issues (#6026) 2018-08-29 12:43:57 +05:30
Prateeksha Singh
2b672d2ee7 Add Vue Support (#6025)
* [frappe][build] Add Vue

* chore(rollup): add node_modules path for all apps

- also remove rollup-plugin-alias

* feat: Add EventEmitter

Usage:

```
frappe.utils.make_event_emitter(obj);

obj.trigger('event');
obj.on('event', fn);
```

* chore: Update rollup

* fix: add comment_when to frappe.datetime

* feat: Add img-loading class

* feat: Add .vue files for translation extraction

* [frappe][build] Add Vue

* chore(rollup): add node_modules path for all apps

- also remove rollup-plugin-alias

* feat: Add EventEmitter

Usage:

```
frappe.utils.make_event_emitter(obj);

obj.trigger('event');
obj.on('event', fn);
```

* chore: Update rollup

* fix: add comment_when to frappe.datetime

* feat: Add img-loading class
2018-08-29 12:03:27 +05:30
Faris Ansari
32b4977596 Create a moment bundle and include it in webform 2018-07-12 16:23:25 +05:30
Faris Ansari
a70d56fd04 Website related fixes (#5660)
* bench build --app app_name

* Use highlight.js as npm package

* Add fenced-code-blocks to markdown compiler

* Support for next-prev links
2018-06-07 11:14:25 +05:30
Faris Ansari
00ebc34d39
[build] Don't minify css files if they are part of project (#5405)
- fixes the email.css problem
2018-04-08 12:59:52 +05:30
Faris Ansari
5a4334a35a Add error logs in rollup watch (#5385)
* Add error logs in rollup watch

* Show frame when it is available
2018-04-05 16:32:46 +05:30
Faris Ansari
9f5a129333
Rollup Fixes (#5232)
- Use PostCSS instead of Less plugin
- Fixes CSS append problem
- Show which css file changed instead of rollup.manifest.css
- Minify CSS in production
- Cannot import less/css files in js files, put them in build.json
- Let's avoid major changes in Frappe Framework now :)
2018-03-20 13:51:53 +05:30
Faris Ansari
55e5b473d0 Better messages for build commands (#5117)
* Better rollup messages in console

* Remove 'docs folder not found' warning

* Show production message

* fix codacy
2018-03-05 22:07:55 +05:30