fisker Cheung
a67a5c2f94
Remove vendors/ ( #12377 )
2022-02-28 19:48:14 +08:00
fisker Cheung
af103ae766
Migrate src/{document,utils}/** to ES Modules ( #12345 )
2022-02-28 11:12:37 +08:00
fisker Cheung
05aa5e16d6
Migrate src/{main,common,config}/** to ES Modules ( #12344 )
2022-02-23 20:16:30 +08:00
fisker Cheung
dceb88bb3b
Migrate HTML language to ES Module ( #12343 )
2022-02-21 16:44:56 +08:00
fisker Cheung
52c9a20e2c
Merge branch 'main' into next
...
# Conflicts:
# package.json
# src/cli/index.js
# tests/config/install-prettier.js
# tests/format/yaml/block-literal/jsfmt.spec.js
# tests/integration/__tests__/file-info.js
# yarn.lock
2022-02-21 16:12:59 +08:00
fisker Cheung
54835025d5
Migrate JS language to ES Module ( #12342 )
2022-02-21 15:53:02 +08:00
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
888db50d9f
Build: Fix --compare-size ( #12323 )
2022-02-18 17:12:18 +08:00
fisker Cheung
56791a2624
Migrate src/*.js to ES Module ( #12278 )
2022-02-17 09:47:35 +08:00
dependabot[bot]
b1d8a83a82
Build(deps-dev): Bump jest from 27.5.0 to 27.5.1 in /scripts/release ( #12296 )
2022-02-16 02:07:29 +00:00
dependabot[bot]
40fde1ff86
Build(deps-dev): Bump @jest/globals in /scripts/release ( #12297 )
...
Bumps [@jest/globals](https://github.com/facebook/jest/tree/HEAD/packages/jest-globals ) from 27.5.0 to 27.5.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v27.5.1/packages/jest-globals )
---
updated-dependencies:
- dependency-name: "@jest/globals"
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-02-16 08:35:49 +08:00
dependabot[bot] and sosukesuzuki
e11ea84efe
Build(deps-dev): Bump execa from 6.0.0 to 6.1.0 ( #12301 )
...
* Build(deps-dev): Bump execa from 6.0.0 to 6.1.0
Bumps [execa](https://github.com/sindresorhus/execa ) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/sindresorhus/execa/releases )
- [Commits](https://github.com/sindresorhus/execa/compare/v6.0.0...v6.1.0 )
---
updated-dependencies:
- dependency-name: execa
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update vendors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sosukesuzuki <aosukeke@gmail.com >
2022-02-16 08:33:48 +08:00
Sosuke Suzuki and fisker Cheung
0aff39fd2b
Update docs about ./scripts/vendors ( #12300 )
...
* Update docs
* Update scripts/vendors/README.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2022-02-14 11:26:29 +09:00
Sosuke Suzuki
b14b13d2cf
Update tempy to 2.0.0 ( #12247 )
...
* Update `tempy`
* require `tempy` directly
* Fix
* Fix
* Vendors
* Remove `vendord.d.tsd`
* Fix path
2022-02-12 18:23:50 +09:00
fisker Cheung
be0739ec22
Add type:"module" to package.json ( #12272 )
2022-02-12 15:39:16 +08:00
Sosuke Suzuki
34fbd099de
Update execa to 6.0.0 ( #12245 )
...
* Update execa
* Fix
* require `execa` directly
* Run `vendors:bundle`
* Run `vendors:bundle`
* Generate dts with considering defautl export
* Remove `vendors-versions.json`
2022-02-12 12:07:22 +09: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