@stencil/core 5.0.0-beta.5 → 5.0.0-beta.6
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/dist/compiler/browser.js
CHANGED
|
@@ -1832,7 +1832,7 @@ const validateComponentTag = (tag) => {
|
|
|
1832
1832
|
};
|
|
1833
1833
|
//#endregion
|
|
1834
1834
|
//#region src/version.ts
|
|
1835
|
-
const version = "5.0.0-beta.
|
|
1835
|
+
const version = "5.0.0-beta.6";
|
|
1836
1836
|
//#endregion
|
|
1837
1837
|
//#region src/compiler/events.ts
|
|
1838
1838
|
const buildEvents = () => {
|
package/dist/compiler/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as buildId, a as createPrerenderer, b as versions, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as getScopeId, h as cmpMetaToDocsComponent, i as createSystem, l as createWorkerMessageHandler, m as generateManifest, n as transpile, o as loadConfig, p as validateConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as vermoji, x as scopeCss, y as version } from "../compiler-
|
|
1
|
+
import { _ as buildId, a as createPrerenderer, b as versions, c as createWorkerContext, d as nodeRequire, f as optimizeCss, g as getScopeId, h as cmpMetaToDocsComponent, i as createSystem, l as createWorkerMessageHandler, m as generateManifest, n as transpile, o as loadConfig, p as validateConfig, r as transpileSync, s as createCompiler, t as ts, u as optimizeJs, v as vermoji, x as scopeCss, y as version } from "../compiler-D61AKA0g.mjs";
|
|
2
2
|
import { a as LOG_LEVELS, i as CustomElementsExportBehaviorOptions } from "../node-75gQKkFz.mjs";
|
|
3
3
|
export { CustomElementsExportBehaviorOptions, LOG_LEVELS, buildId, cmpMetaToDocsComponent, createCompiler, createPrerenderer, createSystem, createWorkerContext, createWorkerMessageHandler, generateManifest, getScopeId, loadConfig, nodeRequire, optimizeCss, optimizeJs, scopeCss, transpile, transpileSync, ts, validateConfig, vermoji, version, versions };
|
|
@@ -461,9 +461,9 @@ const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
|
|
|
461
461
|
};
|
|
462
462
|
//#endregion
|
|
463
463
|
//#region src/version.ts
|
|
464
|
-
const version = "5.0.0-beta.
|
|
465
|
-
const buildId = "
|
|
466
|
-
const vermoji = "
|
|
464
|
+
const version = "5.0.0-beta.6";
|
|
465
|
+
const buildId = "1788947454";
|
|
466
|
+
const vermoji = "🔈";
|
|
467
467
|
/**
|
|
468
468
|
* Get the installed version of a tool/dependency.
|
|
469
469
|
* Handles packages with exports maps that point to subdirectories.
|
|
@@ -18299,8 +18299,15 @@ const validateCollectionFields = async (config, compilerCtx, buildCtx, outputTar
|
|
|
18299
18299
|
* @param outputTarget the collection output target to validate against
|
|
18300
18300
|
*/
|
|
18301
18301
|
const validatePackageFiles = async (config, compilerCtx, buildCtx, outputTarget) => {
|
|
18302
|
-
if (!Array.isArray(buildCtx.packageJson.files)) return;
|
|
18303
18302
|
const actualDistDir = normalizePath(relative$1(config.rootDir, outputTarget.dir));
|
|
18303
|
+
if (!Array.isArray(buildCtx.packageJson.files)) {
|
|
18304
|
+
const npmignorePath = join$2(dirname$1(config.packageJsonFilePath), ".npmignore");
|
|
18305
|
+
if (!await compilerCtx.fs.access(npmignorePath)) {
|
|
18306
|
+
const msg = `package.json is missing a "files" array. Without one, "npm publish" falls back to ".gitignore" to decide what to include, which will likely exclude the distribution directory "${actualDistDir}/". Add "files": ["${actualDistDir}/"] to package.json (or add a ".npmignore").`;
|
|
18307
|
+
packageJsonWarn(config, compilerCtx, buildCtx, msg, `"files"`);
|
|
18308
|
+
}
|
|
18309
|
+
return;
|
|
18310
|
+
}
|
|
18304
18311
|
if (!buildCtx.packageJson.files.some((userPath) => {
|
|
18305
18312
|
const normalizedUserPath = normalizePath(userPath).replace(/\/$/, "").replace(/^\.\//, "");
|
|
18306
18313
|
const normalizedDistDir = actualDistDir.replace(/\/$/, "").replace(/^\.\//, "");
|
package/dist/sys/node/worker.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as createWorkerMessageHandler } from "../../compiler-
|
|
1
|
+
import { l as createWorkerMessageHandler } from "../../compiler-D61AKA0g.mjs";
|
|
2
2
|
import { t as createNodeSys } from "../../node-75gQKkFz.mjs";
|
|
3
3
|
//#region src/sys/node/node-worker-thread.ts
|
|
4
4
|
/**
|
package/dist/testing/index.mjs
CHANGED
|
@@ -32,7 +32,7 @@ import "@rollup/pluginutils";
|
|
|
32
32
|
import { createHash } from "crypto";
|
|
33
33
|
import { afterAll, vi } from "vitest";
|
|
34
34
|
//#region src/version.ts
|
|
35
|
-
const version = "5.0.0-beta.
|
|
35
|
+
const version = "5.0.0-beta.6";
|
|
36
36
|
const MEMBER_FLAGS = {
|
|
37
37
|
String: 1,
|
|
38
38
|
Number: 2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.6",
|
|
4
4
|
"description": "A Compiler for Web Components and Progressive Web Apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -125,9 +125,9 @@
|
|
|
125
125
|
"terser": "^5.50.0",
|
|
126
126
|
"tinyglobby": "^0.2.17",
|
|
127
127
|
"typescript": ">5.0.0 <7.0.0",
|
|
128
|
-
"@stencil/
|
|
129
|
-
"@stencil/
|
|
130
|
-
"@stencil/
|
|
128
|
+
"@stencil/cli": "5.0.0-beta.6",
|
|
129
|
+
"@stencil/mock-doc": "5.0.0-beta.6",
|
|
130
|
+
"@stencil/dev-server": "5.0.0-beta.6"
|
|
131
131
|
},
|
|
132
132
|
"devDependencies": {
|
|
133
133
|
"@ionic/prettier-config": "^4.0.0",
|