jssm 5.66.0 → 5.68.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 +44 -46
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/package.json +9 -6
- package/typedoc-options.js +13 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jssm",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.68.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.0.0"
|
|
6
6
|
},
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"description": "A Javascript finite state machine (FSM) with a terse DSL and a simple API. Most FSMs are one-liners. Fast, easy, powerful, well tested, typed with TypeScript, and visualizations. MIT License.",
|
|
24
24
|
"main": "dist/jssm.es5.cjs.js",
|
|
25
25
|
"module": "dist/es6/jssm.js",
|
|
26
|
+
"browser": "dist/jssm.es5.iife.js",
|
|
26
27
|
"types": "./jssm.d.ts",
|
|
27
28
|
"scripts": {
|
|
28
29
|
"jest-spec": "jest -c jest-spec.config.js --color --verbose",
|
|
@@ -39,19 +40,19 @@
|
|
|
39
40
|
"make_iife": "rollup -c rollup.config.iife.js",
|
|
40
41
|
"typescript": "tsc --build tsconfig.json && cp dist/es6/*.d.ts .",
|
|
41
42
|
"makever": "node src/buildjs/makever.js",
|
|
42
|
-
"make": "npm run clean && npm run makever && npm run peg && npm run typescript && npm run make_iife && npm run make_cjs && npm run minify && npm run min_iife && npm run min_cjs",
|
|
43
|
+
"make": "npm run clean && npm run makever && npm run peg && npm run typescript && npm run make_iife && npm run make_cjs && npm run minify && npm run min_iife && npm run min_cjs && rm ./dist/es6/*.nonmin.js",
|
|
43
44
|
"eslint": "eslint --color src/ts/jssm.ts src/ts/jssm_types.ts src/ts/tests/*.ts",
|
|
44
45
|
"audit": "text_audit -r -t major MAJOR wasteful WASTEFUL any mixed fixme FIXME checkme CHECKME testme TESTME stochable STOCHABLE todo TODO comeback COMEBACK whargarbl WHARGARBL -g ./src/ts/**/*.{js,ts}",
|
|
45
46
|
"vet": "npm run eslint && npm run audit",
|
|
46
47
|
"benny": "node ./src/buildjs/benchmark.js",
|
|
47
|
-
"build": "npm run vet && npm run test && npm run site && npm run changelog && npm run docs
|
|
48
|
-
"
|
|
48
|
+
"build": "npm run vet && npm run test && npm run site && npm run changelog && npm run docs",
|
|
49
|
+
"clean_bench": "npm run test && npm run benny",
|
|
49
50
|
"qbuild": "npm run test",
|
|
50
51
|
"ci_build": "npm run vet && npm run test",
|
|
51
52
|
"minify": "mv dist/es6/jssm-dot.js dist/es6/jssm-dot.nonmin.js && terser dist/es6/jssm-dot.nonmin.js > dist/es6/jssm-dot.js",
|
|
52
53
|
"min_iife": "mv dist/jssm.es5.iife.js dist/jssm.es5.iife.nonmin.js && terser dist/jssm.es5.iife.nonmin.js > dist/jssm.es5.iife.js",
|
|
53
54
|
"min_cjs": "mv dist/jssm.es5.cjs.js dist/jssm.es5.cjs.nonmin.js && terser dist/jssm.es5.cjs.nonmin.js > dist/jssm.es5.cjs.js",
|
|
54
|
-
"site": "cp src/site/* docs/",
|
|
55
|
+
"site": "cp src/site/* docs/ && cp -r src/assets docs/assets/",
|
|
55
56
|
"docs": "typedoc src/ts/jssm.ts --options typedoc-options.js",
|
|
56
57
|
"changelog": "rm -f CHANGELOG.md && rm -f ./src/doc_md/CHANGELOG.md && better_git_changelog -b && cp CHANGELOG.* ./src/doc_md/"
|
|
57
58
|
},
|
|
@@ -84,6 +85,8 @@
|
|
|
84
85
|
"moore-machine",
|
|
85
86
|
"graphviz",
|
|
86
87
|
"viz.js",
|
|
88
|
+
"fsl",
|
|
89
|
+
"finite-state-language",
|
|
87
90
|
"flowchart",
|
|
88
91
|
"visualization",
|
|
89
92
|
"TypeScript",
|
|
@@ -124,7 +127,7 @@
|
|
|
124
127
|
"typescript": "^4.6.4"
|
|
125
128
|
},
|
|
126
129
|
"dependencies": {
|
|
127
|
-
"better_git_changelog": "^1.6.
|
|
130
|
+
"better_git_changelog": "^1.6.1",
|
|
128
131
|
"reduce-to-639-1": "^1.0.4"
|
|
129
132
|
}
|
|
130
133
|
}
|
package/typedoc-options.js
CHANGED
|
@@ -11,25 +11,31 @@ module.exports = {
|
|
|
11
11
|
source: './src/doc_md/',
|
|
12
12
|
pages: [
|
|
13
13
|
{ title: 'Tutorials', childrenDir: './', children: [
|
|
14
|
-
{ title: '
|
|
14
|
+
{ title: 'What are state machines?', source: 'WhatAreStateMachines.md' },
|
|
15
|
+
{ title: '☕ Quick Start', source: 'GettingStarted.md' },
|
|
15
16
|
{ title: 'Language reference', source: 'todo.md' },
|
|
16
17
|
{ title: 'API reference', source: 'todo.md' },
|
|
17
18
|
{ title: 'Example machines', source: 'todo.md' },
|
|
18
|
-
{ title: 'Howtos and Recipes',
|
|
19
|
+
{ title: 'Howtos and Recipes', childrenDir: './', children: [
|
|
20
|
+
{ title: 'Environments', source: 'todo.md' },
|
|
21
|
+
{ title: 'Bundling', source: 'todo.md' },
|
|
22
|
+
{ title: 'Publishing', source: 'todo.md' }
|
|
23
|
+
] },
|
|
24
|
+
{ title: 'Comparisons', childrenDir: './', children: [
|
|
25
|
+
{ title: 'Feature comparison', source: 'FeatureComparison.md' },
|
|
26
|
+
{ title: 'LOC Shootout', source: 'Shootout.md' }
|
|
27
|
+
] },
|
|
19
28
|
] },
|
|
20
29
|
{ title: 'Tools', childrenDir: './', children: [
|
|
21
|
-
{ title: 'Live Editor', source: '
|
|
30
|
+
{ title: 'Live Editor', source: 'live_editor.md' },
|
|
22
31
|
{ title: 'Github Action', source: 'todo.md' }
|
|
23
32
|
] },
|
|
24
33
|
{ title: 'VIRTUAL', childrenDir: './', children: [
|
|
25
34
|
{ title: 'Community', source: 'community.md' }
|
|
26
35
|
] },
|
|
27
36
|
{ title: 'VIRTUAL', childrenDir: './', children: [
|
|
28
|
-
{ title: 'Changelog', source: 'CHANGELOG.md' }
|
|
37
|
+
{ title: 'Changelog', source: 'CHANGELOG.long.md' }
|
|
29
38
|
] },
|
|
30
|
-
// { title: 'VIRTUAL', childrenDir: '../', children: [
|
|
31
|
-
// { title: 'Changelog', source: 'CHANGELOG.md' },
|
|
32
|
-
// ] },
|
|
33
39
|
// { title: '@knodes/typedoc-plugin-code-blocks', source: 'readme-extras.md', children: [
|
|
34
40
|
// { title: 'Using options', source: 'options.md' },
|
|
35
41
|
// ] },
|