@khanacademy/simple-markdown 0.11.2 → 0.11.4

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/dist/es/index.js CHANGED
@@ -2,7 +2,7 @@ import { addLibraryVersionToPerseusDebug } from '@khanacademy/perseus-core';
2
2
 
3
3
  // This file is processed by a Rollup plugin (replace) to inject the production
4
4
  const libName = "@khanacademy/simple-markdown";
5
- const libVersion = "0.11.2";
5
+ const libVersion = "0.11.4";
6
6
  addLibraryVersionToPerseusDebug(libName, libVersion);
7
7
 
8
8
  /* eslint-disable prefer-spread, no-regex-spaces, @typescript-eslint/no-unused-vars, guard-for-in, no-console, no-var */
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ var perseusCore = require('@khanacademy/perseus-core');
6
6
 
7
7
  // This file is processed by a Rollup plugin (replace) to inject the production
8
8
  const libName = "@khanacademy/simple-markdown";
9
- const libVersion = "0.11.2";
9
+ const libVersion = "0.11.4";
10
10
  perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
11
11
 
12
12
  /* eslint-disable prefer-spread, no-regex-spaces, @typescript-eslint/no-unused-vars, guard-for-in, no-console, no-var */
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Javascript markdown parsing, made simple",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "0.11.2",
6
+ "version": "0.11.4",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -18,17 +18,17 @@
18
18
  "module": "dist/es/index.js",
19
19
  "main": "dist/index.js",
20
20
  "source": "src/index.ts",
21
+ "files": [
22
+ "dist"
23
+ ],
21
24
  "scripts": {
22
25
  "test": "bash -c 'yarn --silent --cwd \"../..\" test ${@:0} $($([[ ${@: -1} = -* ]] || [[ ${@: -1} = bash ]]) && echo $PWD)'"
23
26
  },
24
27
  "dependencies": {
25
- "@khanacademy/perseus-core": "1.4.1",
26
- "@types/react": ">=16.0.0"
28
+ "@khanacademy/perseus-core": "1.4.2"
27
29
  },
28
30
  "devDependencies": {
29
- "@types/react-dom": ">=16.0.0",
30
- "perseus-build-settings": "^0.3.0",
31
- "typescript": "^3.6.4"
31
+ "perseus-build-settings": "^0.3.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "16.14.0",
package/.eslintrc.js DELETED
@@ -1,12 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-var-requires */
2
- /* eslint-disable import/no-commonjs */
3
- const path = require("path");
4
-
5
- module.exports = {
6
- rules: {
7
- "import/no-extraneous-dependencies": [
8
- "error",
9
- {packageDir: [__dirname, path.join(__dirname, "../../")]},
10
- ],
11
- },
12
- };
package/CHANGELOG.md DELETED
@@ -1,126 +0,0 @@
1
- # @khanacademy/simple-markdown
2
-
3
- ## 0.11.2
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [[`1f4e17ba`](https://github.com/Khan/perseus/commit/1f4e17ba77e1491523813655af18a70285a25989), [`8857950b`](https://github.com/Khan/perseus/commit/8857950bdeeb6e13bc3766b1c6545289b21cbe2a)]:
8
- - @khanacademy/perseus-core@1.4.1
9
-
10
- ## 0.11.1
11
-
12
- ### Patch Changes
13
-
14
- - [#814](https://github.com/Khan/perseus/pull/814) [`105d2060`](https://github.com/Khan/perseus/commit/105d20603d935d35cff237b17f0bfb57ca751e4c) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Minor build change to how we provide Typescript type definitions (should be no change to build output).
15
-
16
- - Updated dependencies [[`a91c84fe`](https://github.com/Khan/perseus/commit/a91c84fe53827ff4333220777a9918882b7fe9f0), [`105d2060`](https://github.com/Khan/perseus/commit/105d20603d935d35cff237b17f0bfb57ca751e4c)]:
17
- - @khanacademy/perseus-core@1.4.0
18
-
19
- ## 0.11.0
20
-
21
- ### Minor Changes
22
-
23
- - [#802](https://github.com/Khan/perseus/pull/802) [`57e0e18b`](https://github.com/Khan/perseus/commit/57e0e18bd3729cde2e35cfa4ec40b67a5700049c) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Remove unused dependencies: size-limit and uglify-js
24
-
25
- * [#802](https://github.com/Khan/perseus/pull/802) [`57e0e18b`](https://github.com/Khan/perseus/commit/57e0e18bd3729cde2e35cfa4ec40b67a5700049c) Thanks [@jeremywiebe](https://github.com/jeremywiebe)! - Remove unused dependencies: size-limit and uglify-js
26
-
27
- ## 0.10.4
28
-
29
- ### Patch Changes
30
-
31
- - Updated dependencies [[`79403e06`](https://github.com/Khan/perseus/commit/79403e06eedb597d7818d6c858bbba6f51ff3fe1)]:
32
- - @khanacademy/perseus-core@1.3.0
33
-
34
- ## 0.10.3
35
-
36
- ### Patch Changes
37
-
38
- - Updated dependencies [[`376eb0e4`](https://github.com/Khan/perseus/commit/376eb0e4aaaa4c7a90fd6107a84bb74d382b077c)]:
39
- - @khanacademy/perseus-core@1.2.0
40
-
41
- ## 0.10.2
42
-
43
- ### Patch Changes
44
-
45
- - Updated dependencies [22a9c408]
46
- - @khanacademy/perseus-core@1.1.2
47
-
48
- ## 0.10.1
49
-
50
- ### Patch Changes
51
-
52
- - 55d4cd00: Print package name and version when loaded in the page
53
- - Updated dependencies [55d4cd00]
54
- - @khanacademy/perseus-core@1.1.1
55
-
56
- ## 0.10.0
57
-
58
- ### Minor Changes
59
-
60
- - 0993a46b: Don't generate Flow types
61
-
62
- ### Patch Changes
63
-
64
- - afb14cff: Add eslint rule to make type imports consistent
65
- - ce5e6297: Upgrade wonder-blocks deps to package versions without Flow types
66
-
67
- ## 0.9.3
68
-
69
- ### Patch Changes
70
-
71
- - 22c5d564: Remove the use of React.FC<> and use types named Props/State in more components
72
-
73
- ## 0.9.2
74
-
75
- ### Patch Changes
76
-
77
- - 77391aa8: Fix issue with generated Flow types
78
-
79
- ## 0.9.1
80
-
81
- ### Patch Changes
82
-
83
- - 1f062e98: Bump all package versions since the build settings have been updated
84
-
85
- ## 0.9.0
86
-
87
- ### Minor Changes
88
-
89
- - 53fd3768: Migrate source code to TypeScript
90
-
91
- ## 0.8.6
92
-
93
- ### Patch Changes
94
-
95
- - f567f660: Update the eslint config to look at both the package.json for the package and the one from the root
96
- - eeaa9010: Add more Flow typing to passage and passage-markdown widgets
97
-
98
- ## 0.8.5
99
-
100
- ### Patch Changes
101
-
102
- - bf180fe1: Fix our use of import/no-extraneous-dependencies
103
-
104
- ## 0.8.4
105
-
106
- ### Patch Changes
107
-
108
- - 98d283ff: Fix storybook
109
-
110
- ## 0.8.3
111
-
112
- ### Patch Changes
113
-
114
- - 3921a385: Error when rule returns incorrect `parse` result
115
-
116
- ## 0.8.2
117
-
118
- ### Patch Changes
119
-
120
- - a15b0e86: Add 'perseus-build-settings' as a dev dep to packages that were missing it
121
-
122
- ## 0.8.1
123
-
124
- ### Patch Changes
125
-
126
- - ca76baa3: Move simple-markdown into perseus repo