@codecademy/codebytes 0.0.2-alpha.ae7edb.0 → 0.0.2-alpha.d83a50.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,6 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ### 0.0.2-alpha.ae7edb.0 (2021-12-15)
6
+ ### 0.0.2-alpha.d83a50.0 (2021-12-17)
7
7
 
8
8
  **Note:** Version bump only for package @codecademy/codebytes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/codebytes",
3
- "description": "Codebytes code editor",
4
- "version": "0.0.2-alpha.ae7edb.0",
3
+ "description": "Codebytes Code Editor",
4
+ "version": "0.0.2-alpha.d83a50.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "sideEffects": [
7
7
  "**/*.css",
@@ -13,7 +13,7 @@
13
13
  "main": "./dist/index.js",
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git@github.com:Codecademy/gamut.git"
16
+ "url": "git@github.com:Codecademy/client-modules.git"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "react": ">=16.8.1",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "9640454e4775ce45d397d2288f257aae36c6ba34"
67
+ "gitHead": "3e1e0013158d73c6f50cd60cd7cc71bbfa2008a5"
68
68
  }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ declare type EditorProps = {
3
+ text: string;
4
+ onChange: (text: string) => void;
5
+ };
6
+ export declare const Editor: React.FC<EditorProps>;
7
+ export {};
package/src/index.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface CodeByteEditorProps {
3
+ text: string;
4
+ }
5
+ export declare const CodeByteEditor: React.FC<CodeByteEditorProps>;
6
+ export default CodeByteEditor;
package/tsconfig.json CHANGED
@@ -1,7 +1,4 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
- "include": ["../../typings/*.d.ts", "./src/**/*.ts", "./src/**/*.tsx"],
4
- "compilerOptions": {
5
- "outDir": "./dist"
6
- }
3
+ "include": ["../../typings/*.d.ts", "./src/**/*.ts", "./src/**/*.tsx"]
7
4
  }