fisker Cheung
34dcd96922
Build: Add a plugin to throw unexpected warnings ( #12463 )
2022-03-15 22:07:36 +08:00
fisker Cheung and Sosuke Suzuki
cae195187f
Fix diff package import ( #12462 )
...
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2022-03-15 12:36:13 +08:00
fisker Cheung
4b7a39c936
Update chalk to v5 ( #12446 )
2022-03-15 09:40:25 +08:00
fisker Cheung
541eec5b9c
Replace parent-module ( #12455 )
2022-03-15 08:57:54 +08:00
fisker Cheung
6064a88fed
Add esbuildPluginReplaceText ( #12451 )
2022-03-14 20:02:02 +08:00
fisker Cheung
92f2c29235
Build: Unset target on esbuild first run ( #12445 )
2022-03-14 00:31:03 +08:00
fisker Cheung
bd73f85332
Build: Use globalThis instead of new Function() ( #12444 )
2022-03-13 23:17:17 +08:00
fisker Cheung
5a50a0d909
Bundle bin and cli separately ( #12306 )
2022-03-13 22:47:02 +08:00
fisker Cheung
9f6c005b28
Build: Improve umd bundle output ( #12442 )
2022-03-13 20:09:21 +08:00
fisker Cheung
273d825f12
Build: Improve replaceModule plugin ( #12423 )
2022-03-13 17:04:22 +08:00
fisker Cheung
1b4b2c9205
Simplify vendors validate ( #12421 )
2022-03-13 16:55:02 +08:00
dependabot[bot]
ddff1cde6a
Build(deps): Bump node-fetch from 3.2.1 to 3.2.3 in /scripts/release ( #12439 )
2022-03-13 04:42:13 +00:00
dependabot[bot]
3f37b7f341
Build(deps): Bump string-width from 5.1.0 to 5.1.2 in /scripts/release ( #12405 )
2022-03-07 03:57:43 +00:00
dependabot[bot]
fa380feb95
Build(deps): Bump node-fetch from 3.2.0 to 3.2.1 in /scripts/release ( #12407 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 10:55:49 +08:00
fisker Cheung
9b599ccaad
Regenerate vendors ( #12386 )
2022-03-02 22:00:41 +08:00
fisker Cheung
e949a54e59
Build: Add platform: "node" ( #12375 )
2022-02-28 18:38:33 +08:00
dependabot[bot]
10a68937d2
Build(deps): Bump execa from 6.0.0 to 6.1.0 in /scripts/release ( #12337 )
2022-02-23 11:51:04 +00:00
fisker Cheung
888db50d9f
Build: Fix --compare-size ( #12323 )
2022-02-18 17:12:18 +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
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
badff2d1d6
Update esm-utils to v3 ( #12274 )
2022-02-11 18:02:04 +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