frontend/packages: remove compile-test-* packages
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
# compile-test-app
|
||||
|
||||
Used to try out different setups for building packages separately but supporting global watch mode.
|
||||
@@ -1,11 +0,0 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { ExampleComponent } from '../src';
|
||||
|
||||
ReactDOM.render(
|
||||
<main>
|
||||
<h1>This is the dev app</h1>
|
||||
<ExampleComponent />
|
||||
</main>,
|
||||
document.getElementById('root'),
|
||||
);
|
||||
@@ -1,4 +0,0 @@
|
||||
module.exports = {
|
||||
...require('@spotify/web-scripts/config/jest.config.js'),
|
||||
setupFilesAfterEnv: ['../jest.setup.ts'],
|
||||
};
|
||||
@@ -1 +0,0 @@
|
||||
import '@testing-library/jest-dom/extend-expect';
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"name": "compile-test-app",
|
||||
"version": "0.0.0",
|
||||
"main": "dist/cjs/index.js",
|
||||
"license": "Apache-2.0",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"build": "tsc --outDir dist/cjs --noEmit false --module CommonJS --project tsconfig.build.json",
|
||||
"start": "backstage-cli watch-deps -- backstage-cli serve",
|
||||
"lint": "web-scripts lint",
|
||||
"test": "web-scripts test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@spotify/web-scripts": "^6.0.0",
|
||||
"@spotify-backstage/cli": "^1.2.0",
|
||||
"compile-test-lib": "0.0.0"
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
import React, { FC } from 'react';
|
||||
import { getMessage } from 'compile-test-lib';
|
||||
|
||||
const ExampleComponent: FC<{}> = () => {
|
||||
return (
|
||||
<div>
|
||||
<h2>This is the ExampleComponent</h2>
|
||||
<p>{getMessage()}</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ExampleComponent;
|
||||
@@ -1,5 +0,0 @@
|
||||
describe('dummy', () => {
|
||||
it('dummy', () => {
|
||||
expect(1).toBe(1);
|
||||
});
|
||||
});
|
||||
@@ -1 +0,0 @@
|
||||
export { default as ExampleComponent } from './ExampleComponent';
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["src"]
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"include": ["dev", "src"]
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
# compile-test-lib
|
||||
|
||||
Used to try out different setups for building packages separately but supporting global watch mode.
|
||||
@@ -1,4 +0,0 @@
|
||||
module.exports = {
|
||||
...require('@spotify/web-scripts/config/jest.config.js'),
|
||||
setupFilesAfterEnv: ['../jest.setup.ts'],
|
||||
};
|
||||
@@ -1 +0,0 @@
|
||||
import '@testing-library/jest-dom/extend-expect';
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"name": "compile-test-lib-2",
|
||||
"version": "0.0.0",
|
||||
"main": "dist/cjs",
|
||||
"license": "Apache-2.0",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"build": "tsc --outDir dist/cjs --noEmit false --module CommonJS",
|
||||
"build:watch": "yarn run build --watch",
|
||||
"lint": "web-scripts lint",
|
||||
"test": "web-scripts test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@spotify/web-scripts": "^6.0.0"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
describe('dummy', () => {
|
||||
it('dummy', () => {
|
||||
expect(1).toBe(1);
|
||||
});
|
||||
});
|
||||
@@ -1,3 +0,0 @@
|
||||
export function getPartialMessage(): string {
|
||||
return '<lib2/>';
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"extends": "@spotify/web-scripts/config/tsconfig.json",
|
||||
"include": ["src"]
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
# compile-test-lib
|
||||
|
||||
Used to try out different setups for building packages separately but supporting global watch mode.
|
||||
@@ -1,4 +0,0 @@
|
||||
module.exports = {
|
||||
...require('@spotify/web-scripts/config/jest.config.js'),
|
||||
setupFilesAfterEnv: ['../jest.setup.ts'],
|
||||
};
|
||||
@@ -1 +0,0 @@
|
||||
import '@testing-library/jest-dom/extend-expect';
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"name": "compile-test-lib",
|
||||
"version": "0.0.0",
|
||||
"main": "dist/cjs/index.js",
|
||||
"license": "Apache-2.0",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"build": "tsc --outDir dist/cjs --noEmit false --module CommonJS",
|
||||
"build:watch": "yarn run build --watch",
|
||||
"lint": "web-scripts lint",
|
||||
"test": "web-scripts test"
|
||||
},
|
||||
"dependencies": {
|
||||
"compile-test-lib-2": "0.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@spotify/web-scripts": "^6.0.0"
|
||||
}
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
describe('dummy', () => {
|
||||
it('dummy', () => {
|
||||
expect(1).toBe(1);
|
||||
});
|
||||
});
|
||||
@@ -1,5 +0,0 @@
|
||||
import { getPartialMessage } from 'compile-test-lib-2';
|
||||
|
||||
export function getMessage(): string {
|
||||
return `<lib> ${getPartialMessage()} </lib>`;
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"extends": "@spotify/web-scripts/config/tsconfig.json",
|
||||
"include": ["src"]
|
||||
}
|
||||
Reference in New Issue
Block a user