Skip to content

Commit

Permalink
rename "Chord Charts Studio" => "Chord Chart Studio" and build
Browse files Browse the repository at this point in the history
  • Loading branch information
no-chris committed Jan 30, 2022
1 parent f48e5cb commit 245459a
Show file tree
Hide file tree
Showing 271 changed files with 65 additions and 65 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ build
SLOC
package.json
.docusaurus
packages/chord-charts-studio/src/core/getVersions.js
packages/chord-chart-studio/src/core/getVersions.js
2 changes: 1 addition & 1 deletion jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
rootDir: __dirname,

collectCoverage: true,
collectCoverageFrom: ['<rootDir>/packages/chord-charts-studio/src/**/*.js'],
collectCoverageFrom: ['<rootDir>/packages/chord-chart-studio/src/**/*.js'],
coverageDirectory: '<rootDir>/coverage',
coverageReporters: ['json', 'lcov', 'text', 'clover'],
coverageThreshold: {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "chord-charts-studio-monorepo",
"name": "chord-chart-studio-monorepo",
"private": true,
"version": "0.9.0",
"description": "The official ChordMark editor",
Expand Down Expand Up @@ -55,10 +55,10 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/no-chris/.chord-charts-studio.git"
"url": "git+https://github.com/no-chris/.chord-chart-studio.git"
},
"bugs": {
"url": "https://github.com/no-chris/chords-charts-studio/issues"
"url": "https://github.com/no-chris/chord-chart-studio/issues"
},
"scripts": {
"build": "npm run lint && npm run format && npm run test && lerna run build",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![build](https://github.com/no-chris/chords-charts-studio/actions/workflows/build.yml/badge.svg)](https://github.com/no-chris/chords-charts-studio/actions/workflows/build.yml)
[![Netlify Status](https://api.netlify.com/api/v1/badges/798258e3-e398-445f-aab0-3ebed107a749/deploy-status)](https://app.netlify.com/sites/chords-charts-studio/deploys)
[![build](https://github.com/no-chris/chord-chart-studio/actions/workflows/build.yml/badge.svg)](https://github.com/no-chris/chord-chart-studio/actions/workflows/build.yml)
[![Netlify Status](https://api.netlify.com/api/v1/badges/798258e3-e398-445f-aab0-3ebed107a749/deploy-status)](https://app.netlify.com/sites/chord-chart-studio/deploys)

# Chords Charts Studio

Expand Down
File renamed without changes.
File renamed without changes.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions packages/chord-chart-studio/build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!doctype html><html class="no-js" lang="en_EN"><head><meta charset="utf-8"><meta http-equiv="x-ua-compatible" content="ie=edge"><title>Chord Chart Studio</title><meta name="description" content="Build chord charts easily for all musicians. The official editor of ChordMark."><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Roboto+Mono:400,700" rel="stylesheet"><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><link rel="“icon”" href="”favicon.ico”" type="“image/x-icon”"><script async src="https://www.googletagmanager.com/gtag/js?id=G-EGKBT2J600"></script><script>window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-EGKBT2J600');</script><link rel="icon" href="app/favicon.ico"><script defer="defer" src="app/vendors.7a8eb226bb99dbbd948d.js"></script><script defer="defer" src="app/main.7a8eb226bb99dbbd948d.js"></script><link href="app/css/main.7a8eb226bb99dbbd948d.css" rel="stylesheet"></head><body><div id="app" class="theme-dark"></div></body></html>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ module.exports = {

rootDir: '../..',
coveragePathIgnorePatterns: [
'packages/chord-charts-studio/src/main.js',
'packages/chord-charts-studio/src/core/createGetVersions.js',
'packages/chord-chart-studio/src/main.js',
'packages/chord-chart-studio/src/core/createGetVersions.js',
],

setupFiles: ['jest-localstorage-mock'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@touffi/chords-charts-studio",
"name": "chord-chart-studio",
"version": "0.13.0",
"description": "Chords Charts Studio",
"description": "Chord Chart Studio",
"private": true,
"author": "Christophe Noël",
"license": "LicenseRef-LICENSE",
Expand All @@ -10,12 +10,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/no-chris/.chord-charts-studio.git"
"url": "git+https://github.com/no-chris/.chord-chart-studio.git"
},
"bugs": {
"url": "https://github.com/no-chris/chords-charts-studio/issues"
"url": "https://github.com/no-chris/chord-chart-studio/issues"
},
"homepage": "https://github.com/no-chris/chords-charts-studio#readme",
"homepage": "https://github.com/no-chris/chord-chart-studio#readme",
"devDependencies": {
"@testing-library/dom": "^8.11.1",
"@testing-library/jest-dom": "^5.14.1",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const packageJson = require('../../package.json');
const cmPackageJson = require('../../node_modules/chord-mark/package.json');
const fs = require('fs');

const chordChartsStudioVersion = 'v' + packageJson.version;
const chordChartStudioVersion = 'v' + packageJson.version;
const chordMarkVersion = packageJson.dependencies['chord-mark'].replace(
'^',
'v'
Expand All @@ -14,7 +14,7 @@ const chordSymbolVersion = cmPackageJson.dependencies['chord-symbol'].replace(
);

const version = {
'chord-charts-studio': chordChartsStudioVersion,
'chord-chart-studio': chordChartStudioVersion,
'chord-symbol': chordSymbolVersion,
'chord-mark': chordMarkVersion,
};
Expand Down
1 change: 1 addition & 0 deletions packages/chord-chart-studio/src/core/getVersions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default () => ({'chord-chart-studio':'v0.13.0','chord-symbol':'3.0.0','chord-mark':'v0.11.0'});
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function render(songTxt, renderOptions, useChartFormat, outputFormat) {
...renderOptions, // duh!
}),
}) +
'\n\nCreated with Chord Charts Studio (https://chord-charts-studio.netlify.app)';
'\n\nCreated with Chord Chart Studio (https://chord-chart-studio.netlify.app)';
return outputFormat === 'html' ? toHtml(ugTxt) : ugTxt;
}
}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Welcome to Chord Charts Studio!
Welcome to Chord Chart Studio!

Chord Charts Studio is the official editor of the ChordMark format.
Chord Chart Studio is the official editor of the ChordMark format.
You can use it to quickly write accurate transcription of songs made up of chords and lyrics.

A % D7.. E7..
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function Logo() {
<div className={'logo'}>
<div className={'logo-isExpanded'}>
<div className={'logo-img'}>
<img src={logoImg} alt={'Chord Charts Studio'} />
<img src={logoImg} alt={'Chord Chart Studio'} />
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import React from 'react';
import Button from '../../_components/Button';
import Icon from '../../_components/Icon.js';

const userGuideUrl = 'https://chord-charts-studio.netlify.app';
const userGuideUrl = 'https://chord-chart-studio.netlify.app';

const UserGuide = () => {
const openUserGuide = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Versions() {
return (
<div className={'versions'}>
<div className={'versions-isExpanded'}>
Chords Charts Studio {versions['chord-charts-studio']}
Chords Chart Studio {versions['chord-chart-studio']}
<br />
ChordMark {versions['chord-mark']} <br />
ChordSymbol {versions['chord-symbol']}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('renderAsHtml()', () => {

expect(rendered).toEqual(
'<span class="txtLine">[ch]A[/ch]</span><span class="txtLine">mySong</span><span class="txtLine">&nbsp;</span>' +
'<span class="txtLine">&nbsp;</span><span class="txtLine">Created with Chord Charts Studio (https://chord-charts-studio.netlify.app)</span>'
'<span class="txtLine">&nbsp;</span><span class="txtLine">Created with Chord Chart Studio (https://chord-chart-studio.netlify.app)</span>'
);
});

Expand Down Expand Up @@ -129,7 +129,7 @@ describe('renderAsText()', () => {

expect(rendered).toEqual(
'[ch]A[/ch]\nmySong\n' +
'\n\nCreated with Chord Charts Studio (https://chord-charts-studio.netlify.app)'
'\n\nCreated with Chord Chart Studio (https://chord-chart-studio.netlify.app)'
);
});

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = merge(common, {

plugins: [
new HtmlWebpackPlugin({
title: 'Chord Charts Studio',
title: 'Chord Chart Studio',
template: 'assets/index.html',
favicon: 'assets/favicon.ico',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = merge(common, {
openAnalyzer: false,
}),
new HtmlWebpackPlugin({
title: 'Chord Charts Studio',
title: 'Chord Chart Studio',
template: 'assets/index.html',
favicon: 'assets/favicon.ico',
publicPath: 'app', // subfolder of the documentation website
Expand Down
File renamed without changes.

This file was deleted.

5 changes: 0 additions & 5 deletions packages/chord-charts-studio/build/index.html

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion packages/chord-charts-studio/src/core/getVersions.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/documentation/docs/import.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import TabbedChordMark from '../src/components/TabbedChordMark';

Hitting the **Import** button will bring the following dialog:

![Chord Charts Studio](./assets/ccs2.png)
![Chord Chart Studio](./assets/ccs2.png)

Importing songs can be done:

Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/docs/interface.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CM, CCS, CS } from '../src/components/shortcuts';

# User interface

![Chord Charts Studio](./assets/ccs1.png)
![Chord Chart Studio](./assets/ccs1.png)

The primary user interface is made of four parts:

Expand Down
4 changes: 2 additions & 2 deletions packages/documentation/docs/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { CM, CCS, CS } from '../src/components/shortcuts';
# Overview

As the name says, <CCS /> is a tool to create and manage chord charts.
It is web-based and can be [freely accessed online](http://chord-charts-studio.netlify.app).
It is web-based and can be [freely accessed online](http://chord-chart-studio.netlify.app).

Chord Charts Studio will allow you to:
Chord Chart Studio will allow you to:

- Create chords chart in the ChordMark format
- Transpose songs
Expand Down
14 changes: 7 additions & 7 deletions packages/documentation/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Chord Charts Studio',
title: 'Chord Chart Studio',
tagline: 'Chord Charts made easy.',
url: 'https://chord-charts-studio.netlify.app',
url: 'https://chord-chart-studio.netlify.app',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'no-chris', // Usually your GitHub org/user name.
projectName: 'chord-charts-studio', // Usually your repo name.
projectName: 'chord-chart-studio', // Usually your repo name.

plugins: ['docusaurus-plugin-sass'],

Expand All @@ -25,7 +25,7 @@ const config = {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/no-chris/chord-charts-studio/tree/master/packages/documentation',
'https://github.com/no-chris/chord-chart-studio/tree/master/packages/documentation',
},
theme: {
customCss: require.resolve('./src/css/custom.scss'),
Expand All @@ -42,9 +42,9 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: 'Chord Charts Studio',
title: 'Chord Chart Studio',
logo: {
alt: 'Chord Charts Studio',
alt: 'Chord Chart Studio',
src: 'img/icon_whitebg.png',
},
items: [
Expand All @@ -57,7 +57,7 @@ const config = {
{
position: 'left',
label: 'Launch the app',
to: 'https://chord-charts-studio.netlify.app/app',
to: 'https://chord-chart-studio.netlify.app/app',
},
],
},
Expand Down
10 changes: 5 additions & 5 deletions packages/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "documentation",
"version": "0.13.0",
"private": true,
"description": "Chord Charts Studio documentation",
"description": "Chord Chart Studio documentation",
"author": "Christophe Noël <[email protected]>",
"homepage": "https://github.com/no-chris/chord-charts-studio/tree/main/packages/documentation#readme",
"homepage": "https://github.com/no-chris/chord-chart-studio/tree/main/packages/documentation#readme",
"license": "MIT",
"main": "lib/documentation.js",
"directories": {
Expand All @@ -16,12 +16,12 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/no-chris/chord-charts-studio.git"
"url": "git+https://github.com/no-chris/chord-chart-studio.git"
},
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start --poll",
"build": "docusaurus build && cp -rf ../chord-charts-studio/build/* build/app",
"build": "docusaurus build && cp -rf ../chord-chart-studio/build/* build/app",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
Expand All @@ -30,7 +30,7 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"bugs": {
"url": "https://github.com/no-chris/chord-charts-studio/issues"
"url": "https://github.com/no-chris/chord-chart-studio/issues"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-beta.14",
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/src/components/shortcuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import React from 'react';

export const CM = () => <span>ChordMark</span>;

export const CCS = () => <span>Chord Charts Studio</span>;
export const CCS = () => <span>Chord Chart Studio</span>;

export const CS = () => <span>ChordSymbol</span>;
2 changes: 1 addition & 1 deletion packages/documentation/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function HomepageHeader() {
<span className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="https://chord-charts-studio.netlify.app/app"
to="https://chord-chart-studio.netlify.app/app"
>
Launch the app
</Link>
Expand Down
2 changes: 1 addition & 1 deletion packages/webextension/build/popup.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/webextension/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Chord Charts Studios",
"name": "Chord Chart Studios",
"description": "Browser extension to import chords",
"version": "1.0",
"manifest_version": 2,
Expand Down
2 changes: 1 addition & 1 deletion packages/webextension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "browser-extension",
"private": true,
"version": "0.13.0",
"description": "Browser extension for Chord Charts Studio",
"description": "Browser extension for Chord Chart Studio",
"author": "Christophe Noël",
"license": "LicenseRef-LICENSE",
"main": "src/popup/popup.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/webextension/src/popup/sendToChordChartsStudio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//const CCSUrl = 'http://127.0.0.1:8084/';
const CCSUrl = 'https://chord-charts-studio.netlify.app/app';
const CCSUrl = 'https://chord-chart-studio.netlify.app/app';

export default function sendToChordChartsStudio(message) {
console.log('sendToChordChartsStudio');
Expand Down

0 comments on commit 245459a

Please sign in to comment.