@stencil/core 2.18.0 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/index.cjs +275 -218
- package/cli/index.d.ts +3 -0
- package/cli/index.js +275 -218
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.d.ts +2 -2
- package/compiler/stencil.js +49510 -47947
- package/compiler/stencil.min.js +2 -2
- package/dependencies.json +1 -1
- package/dev-server/client/index.d.ts +2 -2
- package/dev-server/client/index.js +241 -241
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +3 -3
- package/dev-server/index.d.ts +1 -1
- package/dev-server/index.js +2 -2
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +1230 -1199
- package/internal/app-data/package.json +1 -1
- package/internal/client/css-shim.js +2 -2
- package/internal/client/dom.js +1 -1
- package/internal/client/index.js +619 -601
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/client/patch-esm.js +1 -1
- package/internal/client/polyfills/css-shim.js +1 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/index.js +119 -119
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.d.ts +1 -1
- package/internal/hydrate/runner.js +100 -100
- package/internal/package.json +1 -1
- package/internal/stencil-core/index.d.ts +8 -10
- package/internal/stencil-private.d.ts +104 -42
- package/internal/stencil-public-compiler.d.ts +12 -2
- package/internal/stencil-public-docs.d.ts +20 -0
- package/internal/stencil-public-runtime.d.ts +20 -4
- package/internal/testing/index.js +148 -148
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +655 -645
- package/mock-doc/index.js +655 -645
- package/mock-doc/package.json +1 -1
- package/package.json +29 -37
- package/readme.md +27 -33
- package/screenshot/index.d.ts +1 -1
- package/screenshot/index.js +3 -3
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +983 -849
- package/sys/node/autoprefixer.js +5 -5
- package/sys/node/glob.js +1 -1
- package/sys/node/graceful-fs.js +1 -1
- package/sys/node/index.d.ts +4 -0
- package/sys/node/index.js +373 -374
- package/sys/node/package.json +1 -1
- package/sys/node/prompts.js +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.d.ts +6 -6
- package/testing/index.js +468 -467
- package/testing/jest/jest-config.d.ts +1 -1
- package/testing/matchers/index.d.ts +3 -3
- package/testing/mock-fetch.d.ts +1 -1
- package/testing/mocks.d.ts +2 -2
- package/testing/package.json +1 -1
- package/testing/puppeteer/puppeteer-element.d.ts +2 -2
- package/testing/puppeteer/puppeteer-events.d.ts +1 -1
- package/testing/testing-logger.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
package/cli/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import type { ConfigFlags } from './config-flags';
|
|
|
3
3
|
/**
|
|
4
4
|
* Runs the CLI with the given options. This is used by Stencil's default `bin/stencil` file,
|
|
5
5
|
* but can be used externally too.
|
|
6
|
+
* @param init a set of initialization options needed to run Stencil from its CLI
|
|
7
|
+
* @returns an empty promise
|
|
6
8
|
*/
|
|
7
9
|
export declare function run(init: CliInitOptions): Promise<void>;
|
|
8
10
|
/**
|
|
@@ -10,6 +12,7 @@ export declare function run(init: CliInitOptions): Promise<void>;
|
|
|
10
12
|
* @param coreCompiler The core Stencil compiler to be used. The `run()` method handles loading the core compiler, however, `runTask()` must be passed it.
|
|
11
13
|
* @param config Assumes the config has already been validated and has the "sys" and "logger" properties.
|
|
12
14
|
* @param task The task command to run, such as `build`.
|
|
15
|
+
* @returns an empty promise
|
|
13
16
|
*/
|
|
14
17
|
export declare function runTask(coreCompiler: any, config: Config, task: TaskCommand): Promise<void>;
|
|
15
18
|
export declare function parseFlags(args: string[], _sys?: CompilerSystem): ConfigFlags;
|