Skip to content

Commit 6993c53

Browse files
feat(overmind-statechart): move statechart to own project
BREAKING CHANGE: statehcart moved to own project
1 parent 981c020 commit 6993c53

File tree

8 files changed

+1363
-0
lines changed

8 files changed

+1363
-0
lines changed

.cz-config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ module.exports = {
3535
{ name: 'overmind-devtools-client' },
3636
{ name: 'overmind-devtools-vscode' },
3737
{ name: 'overmind-graphql' },
38+
{ name: 'overmind-statechart' },
3839
{ name: 'overmind-react' },
3940
{ name: 'overmind-vue' },
4041
{ name: 'overmind-angular' },
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
src
2+
jest.config.js
3+
tsconfig.json
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# overmind-statehart
2+
3+
Read the guide at [https://overmindjs.org](https://overmindjs.org) for more information.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
collectCoverage: true,
3+
collectCoverageFrom: ['src/**/*.{t,j}s?(x)', '!src/**/*.d.ts'],
4+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
5+
transform: {
6+
'^.+\\.tsx?$': 'ts-jest',
7+
},
8+
testRegex: '\\.test\\.tsx?$',
9+
testPathIgnorePatterns: [
10+
'/coverage/',
11+
'/dist/',
12+
'/es/',
13+
'/lib/',
14+
'<rootDir>/node_modules/',
15+
],
16+
transformIgnorePatterns: ['<rootDir>/node_modules/'],
17+
coveragePathIgnorePatterns: ['<rootDir>/node_modules/'],
18+
haste: {
19+
// This option is needed or else globbing ignores <rootDir>/node_modules.
20+
providesModuleNodeModules: ['overmind-statechart'],
21+
},
22+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "overmind-statechart",
3+
"version": "1.0.0-alpha1",
4+
"description": "Functional actions",
5+
"author": "Christian Alfoni <[email protected]>",
6+
"license": "MIT",
7+
"repository": "git+https://github.com/cerebral/overmind.git",
8+
"main": "lib/index.js",
9+
"module": "es/index.js",
10+
"types": "lib/index.d.ts",
11+
"scripts": {
12+
"build": "npm run build:lib & npm run build:es",
13+
"build:lib": "tsc --outDir lib --module commonjs",
14+
"build:es": "tsc --outDir es --module es2015",
15+
"clean": "rimraf es lib coverage",
16+
"typecheck": "tsc --noEmit",
17+
"test": "jest --runInBand",
18+
"test:watch": "jest --watch --updateSnapshot --coverage false",
19+
"prebuild": "npm run clean",
20+
"postbuild": "rimraf {lib,es}/**/__tests__",
21+
"posttest": "npm run typecheck"
22+
},
23+
"keywords": [
24+
"state",
25+
"sideeffects",
26+
"app",
27+
"framework"
28+
],
29+
"files": [
30+
"lib",
31+
"es"
32+
],
33+
"dependencies": {
34+
"overmind": "next"
35+
},
36+
"devDependencies": {
37+
"@types/node": "^12.11.6",
38+
"tslib": "^1.10.0"
39+
}
40+
}

0 commit comments

Comments
 (0)