summaryrefslogtreecommitdiffstats
path: root/package-lock.json
Commit message (Collapse)AuthorAgeFilesLines
* update js dependencies (#7462)silverwind2019-07-141-135/+139
| | | this is the result of `make npm-update js css`
* Bump lodash from 4.17.11 to 4.17.14 (#7459)dependabot[bot]2019-07-141-3/+3
| | | | | | | Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14) Signed-off-by: dependabot[bot] <support@github.com>
* update dependencies and various tweaks (#7344)silverwind2019-07-021-232/+140
| | | | | | | | | - ran `make npm-update` - ran `make js`, fixed new lint issue - ran `make css`, this added back some vendor prefixes - added `engines` property to package.json to specify minimum required Node.js version - added `private` property to package.json to prevent accidential publishing to npm
* replace lesshint with stylelint (#7305)silverwind2019-06-271-91/+1377
| | | | | | | | | New CSS linter which is much more powerfull than the previous one. Configuration is default but I had to remove a few rules that were throwing too many or weird errors. More importantly, the linter will exit with code 1 on errors so now our build will fail if the CSS linter fails which should eliminate linter errors being introduced without notice.
* add 'npm' and 'npm-update' make targets and lockfile (#7246)silverwind2019-06-181-0/+4889
| | | | | | | | | | | | | | | | | | * add 'npm' and 'npm-update' make targets and lockfile - `make npm` installs and updates node_modules, triggered automatically on `make css` and `make js` as it completes reasonably fast and ensures consistent modules. - `make npm-update` updates all dependencies to their latest version, regenerates `node_modules` from scratch and updates `package-lock.json`. It uses npm modules `updates` written by yours truly to find the latest version of each dependency. * add suggested make dependencies * remove package-lock.json during npm-update * regenerate package-lock.json
* remove and disable package-lock (#6969)silverwind2019-05-161-3074/+0
| | | | | | | | | | | | | | | | * remove and disable package-lock Using exact versions in package.json has the same effect as lockfiles without all the troubles the lockfiles bring (different versions of package manager generating different lockfiles primarily). Ensured we only use exact versions in package.json and stopped generation of new lockfiles via .npmrc which is support by both the npm and yarn package managers. Fixes: https://github.com/go-gitea/gitea/issues/6967 * enable save-exact
* add make targets for js and css, add js linter (#6952)silverwind2019-05-161-12/+716
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add make targets for js,css, add javascript linter - add `make js`, deprecating `make javascripts` - add `make css`, deprecating `make generate-stylesheets` and `make stylesheets-check` - changed the unclean css check to only run on CI - add JS linting via eslint with basic configuration and fixed discovered issues - changed autoprefixer to use official `postcss-cli` avoiding the need to loop in the makefile - moved browserslist to package.json so other future tools can use it too. - update documentation for new make targets and added JS section * fix indentation * move functions used in html to 'exported' list * Run lessc binary without having to install anything to node_modules * use relative paths to node bin scripts, removing npx * Revert "use relative paths to node bin scripts, removing npx" This reverts commit 119b725525a8430b32ee7a6e6009b4ece544e39b. * fix lessc and postcss plugins * check for node_modules and use actual bin names
* Add less linter via npx (#6936)Xaver Maierhofer2019-05-141-55/+1582
|
* Add autoprefixer to css build (#6029)silverwind2019-02-111-509/+769
| | | | | | * Add autoprefixer to css build * also use autoprefixer on theme files
* Increase the version of less (#6010)zeripath2019-02-091-87/+115
|
* Update npm dependencies, regenerate CSS (#4415)silverwind2018-07-111-249/+139
|
* Add the ability to have built in themes in Gitea (#4198)techknowlogick2018-07-051-74/+74
| | | | | | | | | This makes it easier for user who want to theme but don't have the ability to know how to customize templates all that is required is a change in a config option The reason why I chose the DEFAULT_THEME as variable, as perhaps in the future we will allow users to chose their theme whon logged in just like we do with languages
* Update less.js to latest version (#3932)Lauris BH2018-05-101-188/+209
|
* lock npm packages (#3912)David Schneiderbauer2018-05-071-0/+644