Commit Graph

20 Commits

Author SHA1 Message Date
dependabot[bot]
13e655aca5
chore(deps): bump webpack from 5.75.0 to 5.76.0 (#3761)
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 07:45:00 +01:00
Sami Mazouz
631b4c194c
chore: unify JS actions into one (rewritten flarum/action-build) (#3573)
* chore: unify JS actions into one (rewritten `flarum/action-build)`
* chore: maintain backwards compatibility
* fix: wrong default format check script

Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-08-08 14:48:43 +01:00
Alexander Skvortsov
a595665bfb
fix: Assorted Typing Fixes (#3348)
With all the commits below, we resolve all outstanding typing issues in the repo, and CI jobs run green.

* fix: Convert DashboardPage and DashboardWidget to TypeScript

* fix: fix type errors in package manager ext

* fix: Convert Post component to TypeScript

* fix: avatar typings should accept null user

* fix: convert Notification component to TypeScript

* fix: properly use `typeof` in ForumApplication

* feat: make Notification content attr generic

* chore: format Notification component

* fix: Convert DiscussionRenamedNotification to TypeScript

* fix(pusher) move shims to a location where they get applied

* fix(pusher): fix some typing errors

* fix(akismet): fix some typing issues

* chore: update core dist typings

* chore(pusher): format

* fix: anchorScroll should accept string selectors

* fix: more accurately represent ApiQueryParamsPlural

* fix: convert PostStreamState to TypeScript

* chore(core): rebuild typings

* feat: allow extending app.routes

* fix: more flexible typings for highlight.ts

* fix: use primitive `number` type for Discussion typings

* fix: convert DiscussionListItem to TypeScript

* chore: rebuild core typings

* fix: final pusher type fixes

* feat: start tags TypeScript conversion

* fix: require-dev tags in pusher for CI TypeScript purposes.

* chore(core): format

* chore(tags): build dist typings

* feat(pusher): use dist types from tags.

* feat: convert flags to TypeScript

* chore(flags): generate dist typings

* fix(akismet): last type errors

* chore: update .yarn-integrity

* chore: partially run flarum-cli audit infra --fix

The tsconfig changes from that command are ignored, since we don't yet support "replacable sections" that would let us add custom config.

* chore: use type imports

* fix: broader gitattributes

* chore: run flarum-cli audit infra --monorepo --fix

* feat: make `app.data` typings extensible

* chore(core): format

* chore: boost tags TypeScript coverage

* fix(tags): further increase type coverage.
2022-03-23 11:43:14 -04:00
Alexander Skvortsov
f2910d8763 chore: add version to core/ext package.json
This is necessary for yarn workspaces to work.
2022-03-11 19:12:11 -05:00
Alexander Skvortsov
5fc0b4963a chore: flarum-cli audit infra --fix 2022-03-11 18:02:51 -05:00
Alexander Skvortsov
6d3da9c5f2 fix: minor TS improvements 2022-01-27 16:40:49 -05:00
Alexander Skvortsov
f19461978c fix: build typings script 2022-01-20 04:25:36 -05:00
Alexander Skvortsov
85e6076553 fix: typings generation script 2022-01-20 04:13:50 -05:00
Alexander Skvortsov
5b3839a2cc chore: flarum-cli audit infra --fix 2022-01-20 03:48:49 -05:00
Rafał Całka
0ef2b3e249 Convert to Typescript (#34) 2021-12-12 14:42:37 -05:00
David Wheatley
11e10406bd chore: fix JS 2021-10-13 12:02:15 +01:00
Alexander Skvortsov
5910bd98bc Release v1.1.0 2021-10-11 21:14:35 -04:00
Franz Liedke
a719641ba8 Update Webpack 2020-05-01 11:51:15 +02:00
Franz Liedke
48973949b9 Update Webpack 2020-02-11 21:46:49 +01:00
Toby Zerner
af8e6daf02 Make npm package private, update deps, change watch to dev 2018-11-21 18:45:44 +10:30
Toby Zerner
bea231d40b Update dependencies 2018-11-17 18:53:38 +10:30
Toby Zerner
92a119f2d4 Rename package 2018-10-21 15:16:21 +10:30
Toby Zerner
a58e603728 Update dependencies 2018-09-21 10:25:47 +09:30
Toby Zerner
478181c300 Remove progress flag 2018-06-20 13:54:01 +09:30
Toby Zerner
b41b69b0bf Webpack (#14)
See https://github.com/flarum/core/pull/1367

* Replace gulp with webpack and npm scripts for JS compilation
* Set up Travis CI to commit compiled JS
* Restructure `js` directory; only one instance of npm, forum/admin are "submodules"
* Restructure `less` directory
2018-06-20 13:35:38 +09:30