Commit graph

17 commits

Author SHA1 Message Date
Pavel Djundik
fc1c9568e2 Rename helpers folder, move some vue filters 2019-11-25 20:12:58 +02:00
Pavel Djundik
5b3399f95a Use postcss to optimize css 2019-11-01 13:47:18 +02:00
Pavel Djundik
67abcb03c2 Replace Greenkeeper with Renovate 2018-05-15 09:56:23 +03:00
Jérémie Astori
75dda78b9c
Do not publish Webpack config for test env 2018-02-21 01:19:16 -05:00
Jérémie Astori
33d82287be
Do not statically serve the index template prior to rendering it
Without this, going to `https://thelounge.example.com/index.html` would return the raw file. This now excludes it from the `public` folder so it cannot be rendered as is.
Renaming the file is for good measure, to indicate that this HTML file must be templated. Because it is a straight rename with no modification, rebasing PRs on it should not be to painful, as git re-applies changes on renamed files.
2018-01-14 13:02:27 -05:00
Jérémie Astori
827f1dab96
Deprecate LOUNGE_HOME env var in favor of THELOUNGE_HOME, .lounge_home file in favor of .thelounge_home
This is one more step towards uniformization of lounge/thelounge due with The Lounge v3.
2017-11-21 00:36:26 -05:00
Pavel Djundik
0402554563 Move cleanIrcMessage to a separate file 2017-11-19 18:19:52 +02:00
Jérémie Astori
56fbc1197c
Make sure entire client folder is ignored on release, except findLink.js
This was tested using `npm pack`.
2017-11-12 12:54:51 -05:00
Pavel Djundik
4888ffea3b
Fix #1703 - Keep findLinks file in npm builds 2017-11-12 12:11:24 +02:00
Pavel Djundik
3f2a017583 Create public folder with webpack 2017-10-18 21:20:12 +03:00
Pavel Djundik
bdf93481e6 Do not ignore .lounge_home in npm releases 2017-09-29 20:10:57 +03:00
Pavel Djundik
58b2d8c788 Ignore all dotfiles in npmignore 2017-06-29 12:49:07 +03:00
Jérémie Astori
0b9c8a3432 Add nyc and Webpack config files to the files ignored when releasing
Comparing https://unpkg.com/thelounge@2.1.0/ and https://unpkg.com/thelounge@2.2.0/, these have slipped in.
2017-01-31 21:20:35 -05:00
Pavel Djundik
fb87bd3a58 Webpack 2016-12-27 19:15:30 +02:00
Jérémie Astori
f9c7255d0b Ignore unnecessary files at release time
- `client/views/` contains templates whose built version is provided
  with each releases
- `.gitignore` doesn't appear in our releases, but I'm not sure if this
  comes from npm itself or Travis CI publishing for us. Adding it here
  for completeness.
- Surprisingly, `.npmignore` itself is not ignored...
- All other files and directories are for development purposes only
2016-07-13 23:57:56 -04:00
Jérémie Astori
053e8a0e36 Add code coverage 2016-06-19 13:07:42 -04:00
Jérémie Astori
fe6da75854 Remove compiled assets and generate them at prepublish time
- Remove minified libs and compiled templates
- Add a `prepublish` script to build assets, that run on `npm install`
  and right before publishing
  See https://docs.npmjs.com/misc/scripts
- Include these compiled assets to the `.gitignore` file
- Add an empty .npmignore to make sure the compiled assets are not
  ignored when publishing
  https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package
- Update the README to reflect changes in development

Note that the Travis CI configuration does not need any tweaking
because it cleans up all extra and changed files, up to publishing on
npm. That is, right before `prepublish` gets run.
See https://docs.travis-ci.com/user/deployment/npm#Releasing-build-artifacts
2016-02-18 06:01:37 +00:00