mobx-state-tree 5.4.1 → 6.0.0-pre.1

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.
Files changed (1) hide show
  1. package/package.json +14 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobx-state-tree",
3
- "version": "5.4.1",
3
+ "version": "6.0.0-pre.1",
4
4
  "description": "Opinionated, transactional, MobX powered state container",
5
5
  "main": "dist/mobx-state-tree.js",
6
6
  "umd:main": "dist/mobx-state-tree.umd.js",
@@ -16,20 +16,20 @@
16
16
  "sideEffects": false,
17
17
  "scripts": {
18
18
  "clean": "shx rm -rf dist && shx rm -rf lib",
19
- "build": "yarn clean && tsc && cpr lib dist --filter=\\.js$ && rollup -c",
19
+ "build": "bun run clean && tsc && cpr lib dist --filter=\\.js$ && rollup -c",
20
20
  "jest:perf": "jest --testPathPattern=/__tests__/perf/",
21
- "test:perf": "yarn build && yarn jest:perf && TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' /usr/bin/time node --expose-gc --require ts-node/register __tests__/perf/report.ts",
22
- "test": "yarn test:dev && yarn test:prod",
23
- "test:dev": "cross-env NODE_ENV=development JEST_JUNIT_OUTPUT=./test-results/dev.xml yarn jest",
24
- "test:prod": "cross-env NODE_ENV=production JEST_JUNIT_OUTPUT=./test-results/prod.xml yarn jest",
25
- "test:all": "yarn test && yarn test:dev && yarn test:prod && yarn size && yarn coverage",
21
+ "test:perf": "bun run build && bun run jest:perf && TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' /usr/bin/time node --expose-gc --require ts-node/register __tests__/perf/report.ts",
22
+ "test": "bun run test:dev && bun run test:prod",
23
+ "test:dev": "cross-env NODE_ENV=development JEST_JUNIT_OUTPUT=./test-results/dev.xml bun run jest",
24
+ "test:prod": "cross-env NODE_ENV=production JEST_JUNIT_OUTPUT=./test-results/prod.xml bun run jest",
25
+ "test:all": "bun run test && bun run test:dev && bun run test:prod && bun run size && bun run coverage",
26
+ "typecheck": "tsc --noEmit",
26
27
  "size": "size-limit",
27
- "coverage": "yarn jest --coverage",
28
+ "coverage": "bun run jest --coverage",
28
29
  "tag-new-version": "yarn version && git push --tags",
29
- "deduplicate": "yarn-deduplicate -s fewer yarn.lock",
30
- "build-docs": "yarn run fix-typedoc && shx rm -rf ./docs/API && typedoc --options ./typedocconfig.js",
31
- "publish-docs": "yarn build-docs && cd ./website && GIT_USER=jamonholmgren USE_SSH=true yarn run publish-gh-pages",
32
- "start": "cd website && yarn start",
30
+ "build-docs": "bun run fix-typedoc && shx rm -rf ./docs/API && typedoc --options ./typedocconfig.js",
31
+ "publish-docs": "bun run build-docs && cd ./website && GIT_USER=jamonholmgren USE_SSH=true bun run publish-gh-pages",
32
+ "start": "cd website && bun run start",
33
33
  "prepare": "husky install",
34
34
  "lint": "tslint -c ./tslint.json 'src/**/*.ts'",
35
35
  "fix-typedoc": "shx rm -rf ./node_modules/typedoc/node_modules/typescript",
@@ -77,7 +77,7 @@
77
77
  "rollup-plugin-terser": "^6.1.0",
78
78
  "shx": "^0.3.2",
79
79
  "size-limit": "^5.0.3",
80
- "spec.ts": "^1.1.3",
80
+ "ts-essentials": "^9.4.1",
81
81
  "ts-jest": "^26.1.1",
82
82
  "ts-node": "^8.10.2",
83
83
  "tslib": "^2.0.0",
@@ -85,7 +85,7 @@
85
85
  "tslint-config-prettier": "^1.18.0",
86
86
  "typedoc": "0.15.8",
87
87
  "typedoc-plugin-markdown": "2.2.11",
88
- "typescript": "^3.8.3",
88
+ "typescript": "^5.3.3",
89
89
  "yarn-deduplicate": "^3.1.0"
90
90
  },
91
91
  "peerDependencies": {