Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pyamada-atlassian committed Jul 8, 2024
1 parent 17d3ca0 commit ba269a7
Show file tree
Hide file tree
Showing 18 changed files with 610 additions and 23 deletions.
16 changes: 8 additions & 8 deletions flow-typed/npm/@swc/core_v1.x.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ declare module '@swc/core' {
* presence of the filename.
* - Options like "test", "exclude", and "ignore" require the filename
* for string/RegExp matching.
* - .swcrc files are loaded relative to the file being compiled.
* - swc.config.js files are loaded relative to the file being compiled.
* If this option is omitted, Swc will behave as if swcrc: false has been set.
*/
filename?: string,
Expand Down Expand Up @@ -353,19 +353,19 @@ declare module '@swc/core' {
envName?: string,

/**
* Defaults to searching for a default `.swcrc` file, but can
* Defaults to searching for a default `swc.config.js` file, but can
* be passed the path of any JS or JSON5 config file.
*
*
* NOTE: This option does not affect loading of .swcrc files,
* so while it may be tempting to do configFile: "./foo/.swcrc",
* it is not recommended. If the given .swcrc is loaded via the
* NOTE: This option does not affect loading of swc.config.js files,
* so while it may be tempting to do configFile: "./foo/swc.config.js",
* it is not recommended. If the given swc.config.js is loaded via the
* standard file-relative logic, you'll end up loading the same
* config file twice, merging it with itself. If you are linking
* a specific config file, it is recommended to stick with a
* naming scheme that is independent of the "swcrc" name.
*
* Defaults to `path.resolve(opts.root, ".swcrc")`
* Defaults to `path.resolve(opts.root, "swc.config.js")`
*/
configFile?: string | boolean,

Expand All @@ -374,7 +374,7 @@ declare module '@swc/core' {
*
* A swcrc value passed in the programmatic options will override one set within a configuration file.
*
* Note: .swcrc files are only loaded if the current "filename" is inside of
* Note: swc.config.js files are only loaded if the current "filename" is inside of
* a package that matches one of the "swcrcRoots" packages.
*
*
Expand Down Expand Up @@ -494,7 +494,7 @@ declare module '@swc/core' {
|};
declare export type Swcrc = Config | Config[];
/**
* .swcrc
* swc.config.js
*/
declare export type Config = {|
/**
Expand Down

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ba269a7

Please sign in to comment.