Skip to content

Commit

Permalink
feat: fallback to latest supported patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
vadson71 committed Jan 4, 2024
1 parent ab397cf commit 93823ce
Show file tree
Hide file tree
Showing 47 changed files with 1,056 additions and 576 deletions.
14 changes: 14 additions & 0 deletions .changeset/cool-days-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@ui5-language-assistant/xml-views-completion": patch
"@ui5-language-assistant/xml-views-validation": patch
"@ui5-language-assistant/xml-views-tooltip": patch
"@ui5-language-assistant/language-server": patch
"@ui5-language-assistant/test-utils": patch
"@ui5-language-assistant/semantic-model": patch
"@ui5-language-assistant/logic-utils": patch
"@ui5-language-assistant/context": patch
"vscode-ui5-language-assistant": patch
"@ui5-language-assistant/vscode-ui5-language-assistant-bas-ext": patch
---

Fallback to the latest supported patch version
19 changes: 19 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,25 @@
},
"cwd": "${workspaceFolder}/packages/xml-views-validation"
},
{
"type": "node",
"request": "launch",
"name": "XML completion: Run Current Jest File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"${fileBasenameNoExtension}",
"--coverage=false",
"--config",
"jest.config.js"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
},
"cwd": "${workspaceFolder}/packages/xml-views-completion"
},
{
"type": "node",
"request": "launch",
Expand Down
5 changes: 3 additions & 2 deletions packages/context/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import type { Manifest } from "@sap-ux/project-access";
import { FetchResponse } from "@ui5-language-assistant/logic-utils";

export const DEFAULT_UI5_FRAMEWORK = "SAPUI5";
export const DEFAULT_UI5_VERSION = "1.71.60";
export const DEFAULT_UI5_VERSION = "1.71.61";
export const DEFAULT_UI5_VERSION_BASE = "1.71";
export const UI5_VERSION_S4_PLACEHOLDER = "${sap.ui5.dist.version}";
export const UI5_FRAMEWORK_CDN_BASE_URL = {
OpenUI5: "https://sdk.openui5.org/",
Expand Down Expand Up @@ -113,4 +114,4 @@ export type CAPProjectKind = "Java" | "NodeJS";
export type ProjectKind = CAPProjectKind | "UI5";
export type Project = UI5Project | CAPProject;
export type ProjectType = typeof UI5_PROJECT_TYPE | typeof CAP_PROJECT_TYPE;
export type Fetcher = (url: string) => Promise<FetchResponse>;
export type Fetcher<T = unknown> = (url: string) => Promise<FetchResponse<T>>;
Loading

0 comments on commit 93823ce

Please sign in to comment.