Commit Graph
2179 Commits
Author SHA1 Message Date
fisker Cheung 1b6388e9b1 Fix 2022-02-09 10:08:32 +08:00
fisker Cheung f0b63f3dff Merge branch 'main' into next
# Conflicts:
#	CONTRIBUTING.md
#	cspell.json
#	docs/options.md
#	package.json
#	scripts/build/bundler.mjs
#	src/language-css/loc.js
#	src/language-css/parser-postcss.js
#	src/language-css/utils/index.js
#	tests/format/js/arrows-bind/jsfmt.spec.js
#	tests/format/js/async-do-expressions/jsfmt.spec.js
#	tests/format/js/bind-expressions/jsfmt.spec.js
#	tests/format/js/classes/top-level-super/jsfmt.spec.js
#	tests/format/js/comments-pipeline-own-line/jsfmt.spec.js
#	tests/format/js/decorator-comments/jsfmt.spec.js
#	tests/format/js/decorators-export/jsfmt.spec.js
#	tests/format/js/decorators/jsfmt.spec.js
#	tests/format/js/do/jsfmt.spec.js
#	tests/format/js/export-default/escaped/jsfmt.spec.js
#	tests/format/js/export-extension/jsfmt.spec.js
#	tests/format/js/export-star/jsfmt.spec.js
#	tests/format/js/exports/jsfmt.spec.js
#	tests/format/js/invalid-code/jsfmt.spec.js
#	tests/format/js/logical-assignment/jsfmt.spec.js
#	tests/format/js/multiparser-invalid/jsfmt.spec.js
#	tests/format/js/no-semi-babylon-extensions/jsfmt.spec.js
#	tests/format/js/object-property-comment/jsfmt.spec.js
#	tests/format/js/partial-application/jsfmt.spec.js
#	tests/format/js/pipeline-operator/jsfmt.spec.js
#	tests/format/js/private-in/jsfmt.spec.js
#	tests/format/js/record/jsfmt.spec.js
#	tests/format/js/reserved-word/jsfmt.spec.js
#	tests/format/js/strings/jsfmt.spec.js
#	tests/format/js/throw_expressions/jsfmt.spec.js
#	tests/format/js/trailing-whitespace/jsfmt.spec.js
#	tests/format/js/v8_intrinsic/jsfmt.spec.js
#	tests/format/misc/errors/js/literal/jsfmt.spec.js
#	tests/format/misc/errors/js/object/jsfmt.spec.js
#	tests/format/misc/errors/js/variable-declarator/jsfmt.spec.js
#	tests/integration/__tests__/bundle.js
#	tsconfig.json
#	yarn.lock
2022-02-09 09:22:32 +08:00
fisker Cheung ed951b3167 Update test:dist-lint script (#12262) 2022-02-09 08:30:36 +08:00
fisker Cheung f5b41bf133 Remove babel-loader (#12263) 2022-02-08 23:36:48 +08:00
dependabot[bot] b1645073b8 Build(deps): Bump @babel/parser from 7.16.12 to 7.17.0 (#12241) 2022-02-07 06:15:31 +00:00
Jed Fox 98f560839c Include vendors/ when installing from GitHub (#12250) 2022-02-06 23:22:44 -05:00
dependabot[bot] 14e0997561 Build(deps-dev): Bump jest from 27.4.7 to 27.5.0 (#12240) 2022-02-07 03:18:30 +00:00
dependabot[bot] cf565c752c Build(deps-dev): Bump babel-jest from 27.4.6 to 27.5.0 (#12235)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-07 10:35:21 +08:00
Sosuke Suzuki fce558e97a Tweaks vendors (#12246)
* Add `scripts` for vendors

* Add links to README
2022-02-06 21:44:54 +09:00
dependabot[bot] 16af0908b5 Build(deps-dev): Bump esbuild from 0.14.14 to 0.14.18 (#12234) 2022-02-06 08:36:02 +00:00
dependabot[bot] c85a44e19b Build(deps): Bump flow-parser from 0.170.0 to 0.171.0 (#12233) 2022-02-06 08:35:45 +00:00
Sosuke Suzuki 0abd1907bb Bundle Pure ESM Packages into /vendors/*.js as CommonJS (#12217)
* string-width

* Add bundle script

* Update package.json

* mem

* Add version validator

* Throw error

* Change filename

* Add documents

* Generate d.ts

* Fix lint problems

* globby

* Add workflow to validate vendor versions

* Fix eslintignore

* Fix

* Fix spell

* Address review

* process.exitCode = 1

* test validation

* Revert "test validation"

This reverts commit 5a86d5f71212e0e900709238a8cc109716678864.

* Remove exists files

* Fix conflicts

* Clean

* Remove globby
2022-02-06 17:31:50 +09:00
dependabot[bot] 6d036cf895 Build(deps-dev): Bump cspell from 5.17.0 to 5.18.3 (#12236) 2022-02-06 06:58:45 +00:00
dependabot[bot] 792dbbb339 Build(deps-dev): Bump @babel/core from 7.16.12 to 7.17.0 (#12230) 2022-02-06 06:40:23 +00:00
dependabot[bot] ef4fd1467a Build(deps-dev): Bump @typescript-eslint/eslint-plugin (#12227) 2022-02-06 06:27:41 +00:00
dependabot[bot] 13f2a7c346 Build(deps-dev): Bump eslint-plugin-compat from 4.0.1 to 4.0.2 (#12239) 2022-02-06 03:42:48 +00:00
dependabot[bot] 712ede7150 Build(deps-dev): Bump @babel/types from 7.16.8 to 7.17.0 (#12232) 2022-02-06 03:37:31 +00:00
dependabot[bot] 668567cc58 Build(deps): Bump jest-docblock from 27.4.0 to 27.5.0 (#12231) 2022-02-06 03:36:45 +00:00
dependabot[bot] 0bc0059a90 Build(deps): Bump @typescript-eslint/typescript-estree (#12238) 2022-02-06 03:35:53 +00:00
dependabot[bot] dd31eb0916 Build(deps-dev): Bump core-js from 3.20.3 to 3.21.0 (#12237) 2022-02-06 03:30:33 +00:00
Bogdan Chadkin 76bb0226d5 Replace globby with fast-glob (#12223)
There is already fast-glob used in src/cli/expand-patterns.js
Here I migrate everywhere to it from globby which is a thin wrapper with
a couple of unused here features.

```
du -ck dist
```
17280 kB
17260 kB
2022-02-05 10:24:10 -03:00
dependabot[bot] 1c8324233c Build(deps-dev): Bump esbuild from 0.14.13 to 0.14.14 (#12191) 2022-01-30 12:21:11 -03:00
dependabot[bot] 3767f9d029 Build(deps-dev): Bump cspell from 5.16.0 to 5.17.0 (#12200) 2022-01-30 13:23:40 +00:00
dependabot[bot] 93a761d895 Build(deps): Bump @angular/compiler from 12.2.15 to 12.2.16 (#12196) 2022-01-30 13:15:00 +00:00
dependabot[bot] e5959668b4 Build(deps-dev): Bump esbuild-plugin-text-replace from 1.1.3 to 1.2.0 (#12194) 2022-01-30 11:54:47 +00:00
dependabot[bot] 5010ec04c4 Build(deps-dev): Bump eslint from 8.7.0 to 8.8.0 (#12192) 2022-01-30 09:08:20 +00:00
dependabot[bot] 1c789d659b Build(deps): Bump @typescript-eslint/typescript-estree (#12201) 2022-01-30 08:35:11 +00:00
dependabot[bot] b78c9465ac Build(deps-dev): Bump eslint-plugin-jest from 25.7.0 to 26.0.0 (#12197) 2022-01-30 07:59:04 +00:00
dependabot[bot] 2bfb073154 Build(deps-dev): Bump @typescript-eslint/eslint-plugin (#12198) 2022-01-30 06:41:49 +00:00
dependabot[bot] b7a6bd3191 Build(deps): Bump flow-parser from 0.169.0 to 0.170.0 (#12199) 2022-01-30 06:41:29 +00:00
fisker Cheung 9691e7bc37 Add acorn parser (#12172) 2022-01-28 15:25:30 +08:00
fisker Cheung 7e73f1cf0d Update cSpell config (#12154) 2022-01-27 15:03:49 +08:00
fisker Cheung 54e9feb2d3 Build: Add --report flag (#12159) 2022-01-27 11:16:50 +08:00
fisker Cheung d5bf36060f Exclude process shim (#12149) 2022-01-26 19:08:55 +08:00
fisker Cheung 7fbd4fcab3 Replace esbuild-plugin-browserslist with browserslist-to-esbuild (#12150) 2022-01-26 17:55:45 +08:00
dependabot[bot] 4dd195099e Build(deps): Bump typescript from 4.5.4 to 4.5.5 (#12119) 2022-01-24 12:05:25 +00:00
dependabot[bot]andfisker Cheung 7b480b1400 Build(deps-dev): Bump esbuild from 0.14.11 to 0.14.13 (#12129)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-01-24 17:29:31 +08:00
dependabot[bot]andfisker Cheung 249096c749 Build(deps): Bump @babel/parser from 7.16.8 to 7.16.12 (#12126)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-01-24 17:29:19 +08:00
dependabot[bot] 07c2158c7b Build(deps-dev): Bump node-fetch from 3.1.0 to 3.1.1 (#12135)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 15:21:21 +08:00
dependabot[bot] a67bae33a3 Build(deps): Bump @typescript-eslint/typescript-estree (#12121) 2022-01-24 03:49:04 +00:00
dependabot[bot] d914180f51 Build(deps-dev): Bump @babel/core from 7.16.7 to 7.16.12 (#12132)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.16.7 to 7.16.12.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.16.12/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-23 23:31:55 +08:00
dependabot[bot] 7c3433cbb8 Build(deps): Bump resolve from 1.21.0 to 1.22.0 (#12130) 2022-01-23 10:30:44 +00:00
dependabot[bot] 6a4bb95b18 Build(deps-dev): Bump @babel/preset-env from 7.16.8 to 7.16.11 (#12124) 2022-01-23 08:15:44 +00:00
dependabot[bot] a184c296da Build(deps-dev): Bump @typescript-eslint/eslint-plugin (#12127) 2022-01-23 08:13:43 +00:00
dependabot[bot] d35c730a29 Build(deps-dev): Bump esbuild-plugin-browserslist from 0.4.1 to 0.4.2 (#12128)
Bumps esbuild-plugin-browserslist from 0.4.1 to 0.4.2.

---
updated-dependencies:
- dependency-name: esbuild-plugin-browserslist
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-23 16:12:01 +08:00
dependabot[bot] 181109df67 Build(deps-dev): Bump cspell from 5.15.2 to 5.16.0 (#12131)
Bumps [cspell](https://github.com/streetsidesoftware/cspell) from 5.15.2 to 5.16.0.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/compare/v5.15.2...v5.16.0)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-23 13:43:12 +08:00
fisker Cheung f2033d8f31 Update postcss-less to v6 (#12082) 2022-01-17 09:19:34 +08:00
dependabot[bot] 76ae21044c Build(deps): Bump @typescript-eslint/typescript-estree (#12103) 2022-01-16 09:53:46 +00:00
dependabot[bot] 54045e38bd Build(deps-dev): Bump esbuild from 0.14.10 to 0.14.11 (#12102) 2022-01-16 09:47:39 +00:00
dependabot[bot] 9f54d2dc2f Build(deps-dev): Bump eslint-plugin-unicorn from 40.0.0 to 40.1.0 (#12107) 2022-01-16 09:13:53 +00:00