From 12dede2afff61037a0fc6ff81730491ef0eacddd Mon Sep 17 00:00:00 2001 From: Hellen Date: Mon, 22 Jul 2024 18:11:20 +0300 Subject: [PATCH] fix: change repository name (#7) --- .github/workflows/release.yml | 2 +- README.md | 8 +++----- package-lock.json | 4 ++-- package.json | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 83ebd82..29dc2b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: jobs: release: - if: github.repository == '@ydb-platform/monaco-yql-languages' + if: github.repository == 'ydb-platform/monaco-yql-languages' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index eca743d..4468bef 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -# @ydb-platform/monaco-yql-languages · [![npm package](https://img.shields.io/npm/v/@ydb-platform/monaco-yql-languages)](https://www.npmjs.com/package/@ydb-platform/monaco-yql-languages) [![CI](https://img.shields.io/github/actions/workflow/status/ydb-platform/monaco-yql-languages/.github/workflows/ci.yml?label=CI&logo=github)](https://github.com/ydb-platform/monaco-yql-languages/actions/workflows/ci.yml?query=branch:main) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/ydb-platform/monaco-yql-languages/blob/main/LICENSE) +# @ydb-platform/monaco-yql-languages · [![npm package](https://img.shields.io/npm/v/monaco-yql-languages)](https://www.npmjs.com/package/monaco-yql-languages) [![CI](https://img.shields.io/github/actions/workflow/status/ydb-platform/monaco-yql-languages/.github/workflows/ci.yml?label=CI&logo=github)](https://github.com/ydb-platform/monaco-yql-languages/actions/workflows/ci.yml?query=branch:main) ## Install ``` -npm install --save monaco-editor monaco-editor-webpack-plugin @ydb-platform/monaco-yql-languages +npm install --save monaco-editor monaco-editor-webpack-plugin monaco-yql-languages ``` ## Usage @@ -12,9 +12,7 @@ Add `customLanguages` section to monaco-editor-webpack-plugin options: ```json { - "customLanguages": [ - {"label": "yql", "entry": "@ydb-platform/monaco-yql-languages/build/monaco.contribution"} - ] + "customLanguages": [{"label": "yql", "entry": "monaco-yql-languages/build/monaco.contribution"}] } ``` diff --git a/package-lock.json b/package-lock.json index 223ee79..da65d39 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@ydb-platform/monaco-yql-languages", + "name": "monaco-yql-languages", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@ydb-platform/monaco-yql-languages", + "name": "monaco-yql-languages", "version": "1.0.0", "license": "MIT", "devDependencies": { diff --git a/package.json b/package.json index fdc3037..b666c7d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@ydb-platform/monaco-yql-languages", + "name": "monaco-yql-languages", "version": "1.0.0", "description": "YQL languages for the Monaco Editor, based on monaco-languages.", "author": "YDB", @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/ydb-platform/monaco-yql-languages" + "url": "git@github.com:ydb-platform/monaco-yql-languages.git" }, "devDependencies": { "@gravity-ui/eslint-config": "^3.1.1",