fisker Cheung
c5fd728273
Migrate Handlebars language to ES Module ( #12340 )
2022-02-21 14:46:56 +08:00
fisker Cheung
1caec5de69
Migrate CSS language to ES Module ( #12341 )
2022-02-21 14:22:51 +08:00
fisker Cheung
b05812737d
Migrate YAML language to ES Module ( #12339 )
2022-02-21 13:49:08 +08:00
fisker Cheung
0040204e2c
Migrate GraphQL language to ES Module ( #12321 )
2022-02-21 10:25:39 +08:00
fisker Cheung
15781c91d4
Migrate Markdown language to ES Module ( #12303 )
2022-02-20 23:57:53 +08:00
fisker Cheung
56791a2624
Migrate src/*.js to ES Module ( #12278 )
2022-02-17 09:47:35 +08:00
fisker Cheung
be0739ec22
Add type:"module" to package.json ( #12272 )
2022-02-12 15:39:16 +08:00
fisker Cheung
dc80e12fd8
Merge branch 'main' into next
2022-02-11 21:11:23 +08:00
fisker Cheung
badff2d1d6
Update esm-utils to v3 ( #12274 )
2022-02-11 18:02:04 +08:00
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
b1e59dd70a
Save vendor licenses for build script ( #12258 )
2022-02-08 10:33:09 +08:00
Jed Fox
98f560839c
Include vendors/ when installing from GitHub ( #12250 )
2022-02-06 23:22:44 -05:00
fisker Cheung
ac348c1dbb
Build: Add --compare-size flag ( #12187 )
2022-02-07 12:00:43 +08:00
fisker Cheung
717e6d8cb7
Follow up work for flow-parser@0.171.0 ( #12252 )
2022-02-07 11:24:32 +08:00
dependabot[bot]
fa615fa95f
Build(deps-dev): Bump jest from 27.4.7 to 27.5.0 in /scripts/release ( #12243 )
...
Bumps [jest](https://github.com/facebook/jest ) from 27.4.7 to 27.5.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/compare/v27.4.7...v27.5.0 )
---
updated-dependencies:
- dependency-name: jest
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-02-07 08:16:30 +08:00
Sosuke Suzuki
6819dc91f6
Add an esbuild plugin to add @ts-nocheck annotation for vendors ( #12248 )
...
* Enable prettier
* Add `esbuildPluginTsNocheck`
* Run build
* Update cspell.json
2022-02-06 23:25:29 +09:00
dependabot[bot]
2e03077563
Build(deps-dev): Bump @jest/globals in /scripts/release ( #12242 )
2022-02-06 08:37:11 +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
fisker Cheung
4ff9461a29
Improve build script ( #12190 )
2022-02-05 22:51:17 +08: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
fisker Cheung
8886e6310a
Build: Add --clean ( #12186 )
2022-02-02 11:23:51 +09:00
fisker Cheung
e3efd11401
Drop color support for standalone build ( #12182 )
2022-01-28 18:27:27 +08:00
fisker Cheung
08da4e55b0
Build: Remove define on second run ( #12183 )
2022-01-28 16:31:48 +08:00
fisker Cheung
9691e7bc37
Add acorn parser ( #12172 )
2022-01-28 15:25:30 +08:00
fisker Cheung
350c05330e
Build: Minor tweak to the umd plugin ( #12179 )
2022-01-28 10:34:59 +08:00
fisker Cheung
02052fd6ce
Build: Verbose text report ( #12178 )
2022-01-28 10:11:35 +08:00
fisker Cheung
9106e7ea13
Remove esm/doc.mjs ( #12166 )
2022-01-27 21:14:31 +08:00
fisker Cheung
e73ee65d97
Reduce size of inherits module in parser-markdown.js ( #12175 )
2022-01-27 21:14:05 +08:00
Sosuke Suzuki
893f43a599
Remove unused api at build time ( #12171 )
2022-01-27 19:24:36 +09:00
fisker Cheung
c9543b9fef
Build: More reporter format ( #12165 )
2022-01-27 16:53:07 +08:00
fisker Cheung
950196fb88
Replace tslib entry when bundling parser-yaml.js ( #12169 )
2022-01-27 16:52:43 +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
b08b79cc87
Update build script ( #12157 )
2022-01-27 09:37:55 +08:00
fisker Cheung
f2ab2f9306
Remove useless TypeScriptServices from parser-typescript.js ( #12155 )
2022-01-26 22:27:10 +08:00
fisker Cheung
f265e584df
Build: Add --no-babel flag ( #12153 )
2022-01-26 20:33:15 +08:00
fisker Cheung
93af7641c9
Remove ts.sys in parser-typescript.js ( #12151 )
2022-01-26 19:38:03 +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
fisker Cheung
2c5839b4ac
Exclude assert shim ( #12147 )
2022-01-26 08:56:44 +08:00
dependabot[bot] and fisker 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]
15c4815f26
Build(deps): Bump node-fetch from 3.1.0 to 3.2.0 in /scripts/release ( #12133 )
2022-01-24 03:45:06 +00:00
fisker Cheung
53da86c34d
Fix some lgtm alerts ( #12084 )
2022-01-17 09:19:50 +08:00
dependabot[bot]
abf96e387e
Build(deps): Bump string-width from 5.0.1 to 5.1.0 in /scripts/release ( #12104 )
2022-01-16 05:16:17 +00:00
fisker Cheung
16aa669141
Update rollup-plugin-license ( #12081 )
2022-01-16 10:21:29 +08:00
fisker Cheung
8b87407343
Linting
2022-01-14 16:53:01 +08:00
fisker Cheung
852619b8f9
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/build/build.mjs
# scripts/build/bundler.mjs
# scripts/build/shims/path.mjs
# yarn.lock
2022-01-14 16:07:45 +08:00
fisker Cheung
cc6856ae20
Build: Switch to esbuild (backport #12052 and #10006 ) ( #12055 )
2022-01-14 15:58:13 +08:00