@jay-framework/compiler-shared 0.6.6 → 0.6.7

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/index.d.ts CHANGED
@@ -75,6 +75,7 @@ declare class Imports {
75
75
  }
76
76
 
77
77
  declare const JAY_EXTENSION = ".jay-html";
78
+ declare const CSS_EXTENSION = ".css";
78
79
  declare const JAY_CONTRACT_EXTENSION = ".jay-contract";
79
80
  declare const JAY_TS_EXTENSION = ".jay-html.ts";
80
81
  declare const JAY_DTS_EXTENSION = ".jay-html.d.ts";
@@ -255,7 +256,8 @@ declare enum SourceFileFormat {
255
256
  JayHtml = "jay-html",
256
257
  JayTsx = "jay-tsx",
257
258
  JayContract = "jay-contract",
258
- TypeScript = "typeScript"
259
+ TypeScript = "typeScript",
260
+ CSS = "css"
259
261
  }
260
262
 
261
263
  interface ImportedRefsTree {
@@ -315,4 +317,4 @@ declare function prettify(code: string, options?: prettier.Options): Promise<str
315
317
  declare function prettifyHtml(html: string): string;
316
318
  declare function removeComments(code: string): string;
317
319
 
318
- export { type CompilerSourceFile, GenerateTarget, type GenericTypescriptSourceFile, Import, type ImportName, type ImportedRefsTree, Imports, ImportsFor, JAY_4_REACT, JAY_COMPONENT, JAY_CONTRACT_DTS_EXTENSION, JAY_CONTRACT_EXTENSION, JAY_DTS_EXTENSION, JAY_EXTENSION, JAY_FULLSTACK_COMPONENTS, JAY_QUERY_MAIN_SANDBOX, JAY_QUERY_MAIN_SANDBOX_TS, JAY_QUERY_PREFIX, JAY_QUERY_WORKER_SANDBOX, JAY_QUERY_WORKER_SANDBOX_TS, JAY_QUERY_WORKER_TRUSTED, JAY_QUERY_WORKER_TRUSTED_TS, JAY_RUNTIME, JAY_SECURE, JAY_TS_EXTENSION, JayArrayType, JayAtomicType, JayBoolean, JayComponentApiMember, JayComponentType, JayDate, JayElementConstructorType, JayElementType, JayEnumType, JayHTMLType, type JayImportLink, type JayImportName, JayImportedType, JayNumber, JayObjectType, JayString, type JayType, JayTypeAlias, JayTypeKind, JayUnionType, JayUnknown, type JayValidations, MAKE_JAY_4_REACT_COMPONENT, MAKE_JAY_COMPONENT, MAKE_JAY_TSX_COMPONENT, type MainRuntimeModes, REACT, type Ref, type RefsTree, RenderFragment, RuntimeMode, SourceFileFormat, TSX_EXTENSION, TS_EXTENSION, WithValidations, checkValidationErrors, equalJayTypes, getJayTsFileSourcePath, getMode, getModeFileExtension, getModeFromExtension, hasExtension, hasJayModeExtension, hasRefs, isArrayType, isAtomicType, isComponentType, isElementConstructorType, isElementType, isEnumType, isHTMLType, isImportedType, isObjectType, isTypeAliasType, isUnionType, mergeRefsTrees, mkRef, mkRefsTree, nestRefs, prettify, prettifyHtml, removeComments, resolvePrimitiveType, withOriginalTrace, withoutExtension };
320
+ export { CSS_EXTENSION, type CompilerSourceFile, GenerateTarget, type GenericTypescriptSourceFile, Import, type ImportName, type ImportedRefsTree, Imports, ImportsFor, JAY_4_REACT, JAY_COMPONENT, JAY_CONTRACT_DTS_EXTENSION, JAY_CONTRACT_EXTENSION, JAY_DTS_EXTENSION, JAY_EXTENSION, JAY_FULLSTACK_COMPONENTS, JAY_QUERY_MAIN_SANDBOX, JAY_QUERY_MAIN_SANDBOX_TS, JAY_QUERY_PREFIX, JAY_QUERY_WORKER_SANDBOX, JAY_QUERY_WORKER_SANDBOX_TS, JAY_QUERY_WORKER_TRUSTED, JAY_QUERY_WORKER_TRUSTED_TS, JAY_RUNTIME, JAY_SECURE, JAY_TS_EXTENSION, JayArrayType, JayAtomicType, JayBoolean, JayComponentApiMember, JayComponentType, JayDate, JayElementConstructorType, JayElementType, JayEnumType, JayHTMLType, type JayImportLink, type JayImportName, JayImportedType, JayNumber, JayObjectType, JayString, type JayType, JayTypeAlias, JayTypeKind, JayUnionType, JayUnknown, type JayValidations, MAKE_JAY_4_REACT_COMPONENT, MAKE_JAY_COMPONENT, MAKE_JAY_TSX_COMPONENT, type MainRuntimeModes, REACT, type Ref, type RefsTree, RenderFragment, RuntimeMode, SourceFileFormat, TSX_EXTENSION, TS_EXTENSION, WithValidations, checkValidationErrors, equalJayTypes, getJayTsFileSourcePath, getMode, getModeFileExtension, getModeFromExtension, hasExtension, hasJayModeExtension, hasRefs, isArrayType, isAtomicType, isComponentType, isElementConstructorType, isElementType, isEnumType, isHTMLType, isImportedType, isObjectType, isTypeAliasType, isUnionType, mergeRefsTrees, mkRef, mkRefsTree, nestRefs, prettify, prettifyHtml, removeComments, resolvePrimitiveType, withOriginalTrace, withoutExtension };
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ function _interopNamespaceDefault(e) {
26
26
  }
27
27
  const prettier__namespace = /* @__PURE__ */ _interopNamespaceDefault(prettier);
28
28
  const JAY_EXTENSION = ".jay-html";
29
+ const CSS_EXTENSION = ".css";
29
30
  const JAY_CONTRACT_EXTENSION = ".jay-contract";
30
31
  const JAY_TS_EXTENSION = ".jay-html.ts";
31
32
  const JAY_DTS_EXTENSION = ".jay-html.d.ts";
@@ -733,6 +734,7 @@ var SourceFileFormat = /* @__PURE__ */ ((SourceFileFormat2) => {
733
734
  SourceFileFormat2["JayTsx"] = "jay-tsx";
734
735
  SourceFileFormat2["JayContract"] = "jay-contract";
735
736
  SourceFileFormat2["TypeScript"] = "typeScript";
737
+ SourceFileFormat2["CSS"] = "css";
736
738
  return SourceFileFormat2;
737
739
  })(SourceFileFormat || {});
738
740
  function mergeRefsTrees(...trees) {
@@ -866,6 +868,7 @@ function removeComments(code) {
866
868
  (line) => !(line.includes("// @ts-expect-error ") || line.includes("// @ts-ignore") || line.includes("{/* @ts-ignore */}"))
867
869
  ).join("\n");
868
870
  }
871
+ exports.CSS_EXTENSION = CSS_EXTENSION;
869
872
  exports.GenerateTarget = GenerateTarget;
870
873
  exports.Import = Import;
871
874
  exports.Imports = Imports;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jay-framework/compiler-shared",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "author": "",
26
26
  "dependencies": {
27
- "@jay-framework/component": "^0.6.6",
28
- "@jay-framework/runtime": "^0.6.6",
29
- "@jay-framework/secure": "^0.6.6",
27
+ "@jay-framework/component": "^0.6.7",
28
+ "@jay-framework/runtime": "^0.6.7",
29
+ "@jay-framework/secure": "^0.6.7",
30
30
  "@types/js-yaml": "^4.0.9",
31
31
  "change-case": "^4.1.2",
32
32
  "js-beautify": "^1.14.11",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@caiogondim/strip-margin": "^1.0.0",
42
- "@jay-framework/dev-environment": "^0.6.6",
42
+ "@jay-framework/dev-environment": "^0.6.7",
43
43
  "@testing-library/jest-dom": "^6.2.0",
44
44
  "@types/js-beautify": "^1",
45
45
  "@types/node": "^20.11.5",