Skip to content
Myr

package.json

This file

Path

package.json

104 lines · 3.1 KiB · JSON

Last changed by

fix: Add "types" to exports for TypeScript 4.7 (#946)Tomas Carneckybefore adoption85ce6b7

History of this file

Take it

The walk stopped after 200 commits: lines older than ef8990b point at it.

chore: verify build during testMichel Weststratebefore adoptionef8990b

lines 1–2why, one step back
1{
2 "name": "immer",

feature: Improved typescript typesMichel Weststratebefore adoption2c2f30e

line 3why, one step back
3 "version": "9.0.0-beta.1",

chore: verify build during testMichel Weststratebefore adoptionef8990b

line 4why, one step back
4 "description": "Create your next immutable state by mutating the current one",

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

line 5why, one step back
5 "main": "dist/index.js",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

line 6why, one step back
6 "module": "dist/immer.esm.js",

feature: support importing ES module from Node.js (#901) (#921)Candid Dauthbefore adoptionb2db62b

lines 7–9why, one step back
7 "exports": {
8 ".": {9 "import": "./dist/immer.esm.mjs",

fix: Add "types" to exports for TypeScript 4.7 (#946)Tomas Carneckybefore adoption85ce6b7

lines 10–11why, one step back
10 "require": "./dist/index.js",
11 "types": "./dist/immer.d.ts"

feature: support importing ES module from Node.js (#901) (#921)Candid Dauthbefore adoptionb2db62b

lines 12–14why, one step back
12 },
13 "./*": "./*"14 },

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

lines 15–17why, one step back
15 "umd:main": "dist/immer.umd.production.min.js",
16 "unpkg": "dist/immer.umd.production.min.js",17 "jsdelivr": "dist/immer.umd.production.min.js",

fix: Use .esm.js module for backwards compatibility with old build tools (#939)Candid Dauthbefore adoptiond30d219

lines 18–19why, one step back
18 "jsnext:main": "dist/immer.esm.js",
19 "react-native": "dist/immer.esm.js",

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

lines 20–33why, one step back
20 "source": "src/immer.ts",
21 "types": "./dist/immer.d.ts",22 "typesVersions": {23 ">=3.7": {24 "*": [25 "./*"26 ]27 },28 ">=3.1": {29 "*": [30 "compat/pre-3.7/*"31 ]32 }33 },

fix: mark immer as sideEffect free module (although effects will be limited for now)Michel Weststratebefore adoption21c1597

line 34why, one step back
34 "sideEffects": false,

chore: verify build during testMichel Weststratebefore adoptionef8990b

line 35why, one step back
35 "scripts": {

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

lines 36–39why, one step back
36 "test": "jest && yarn test:build && yarn test:flow",
37 "test:perf": "cd __performance_tests__ && babel-node add-data.js && babel-node todo.js && babel-node incremental.js",38 "test:flow": "yarn flow check __tests__/flow",39 "test:build": "yarn build && NODE_ENV='production' yarn jest --config jest.config.build.js",

chore: verify build during testMichel Weststratebefore adoptionef8990b

lines 40–42why, one step back
40 "watch": "jest --watch",
41 "coverage": "jest --coverage",42 "coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage",

feature: support importing ES module from Node.js (#901) (#921)Candid Dauthbefore adoptionb2db62b

line 43why, one step back
43 "build": "rimraf dist/ && tsdx build --name immer --format esm,cjs,umd && cp dist/immer.esm.js dist/immer.esm.mjs && yarn build:flow",

fix: Flow failed to find the Immer typingsMichel Weststratebefore adoptionc2ae050

line 44why, one step back
44 "build:flow": "cpx 'src/types/index.js.flow' dist -v",

chore: fixes with docusaurus2 setupMichel Weststratebefore adoptione3dfdcd

line 45why, one step back
45 "publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn docusaurus deploy",

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

lines 46–48why, one step back
46 "start": "cd website && yarn start",
47 "test:size": "yarn build && yarn import-size --report . produce enableES5 enableMapSet enablePatches enableAllPlugins",48 "test:sizequick": "tsdx build --name immer --format esm && yarn import-size . produce"

chore: verify build during testMichel Weststratebefore adoptionef8990b

lines 49–75why, one step back
49 },
50 "husky": {51 "hooks": {52 "pre-commit": "pretty-quick --staged"53 }54 },55 "repository": {56 "type": "git",57 "url": "https://github.com/immerjs/immer.git"58 },59 "keywords": [60 "immutable",61 "mutable",62 "copy-on-write"63 ],64 "author": "Michel Weststrate",65 "license": "MIT",66 "funding": {67 "type": "opencollective",68 "url": "https://opencollective.com/immer"69 },70 "bugs": {71 "url": "https://github.com/immerjs/immer/issues"72 },73 "homepage": "https://github.com/immerjs/immer#readme",74 "files": [75 "dist",

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

line 76why, one step back
76 "compat",

chore: verify build during testMichel Weststratebefore adoptionef8990b

lines 77–79why, one step back
77 "src"
78 ],79 "devDependencies": {

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

lines 80–82why, one step back
80 "@babel/core": "^7.8.4",
81 "@babel/node": "^7.8.4",82 "@types/jest": "^25.1.2",

chore: verify build during testMichel Weststratebefore adoptionef8990b

line 83why, one step back
83 "coveralls": "^3.0.0",

chore: fix cpx usageMichel Weststratebefore adoptionb314b19

line 84why, one step back
84 "cpx2": "^3.0.0",

chore: verify build during testMichel Weststratebefore adoptionef8990b

line 85why, one step back
85 "deep-freeze": "^0.0.1",

fix: improve flow typesMichel Weststratebefore adoption427040c

line 86why, one step back
86 "flow-bin": "^0.123.0",

chore: verify build during testMichel Weststratebefore adoptionef8990b

lines 87–88why, one step back
87 "husky": "^1.2.0",
88 "immutable": "^3.8.2",

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

lines 89–90why, one step back
89 "import-size": "^1.0.2",
90 "jest": "^25.1.0",

chore: verify build during testMichel Weststratebefore adoptionef8990b

lines 91–97why, one step back
91 "lodash": "^4.17.4",
92 "lodash.clonedeep": "^4.5.0",93 "prettier": "1.19.1",94 "pretty-quick": "^1.8.0",95 "redux": "^4.0.5",96 "rimraf": "^2.6.2",97 "seamless-immutable": "^7.1.3",

fix: attempt to fix locally not reproducible build issueMichel Weststratebefore adoptionf91bcbb

line 98why, one step back
98 "semantic-release": "^17.0.2",

chore: verify build during testMichel Weststratebefore adoptionef8990b

line 99why, one step back
99 "spec.ts": "^1.1.0",

Merge pull request #536 from immerjs/multi-bundleMichel Weststratebefore adoption0d87fc8

lines 100–101why, one step back
100 "ts-jest": "^25.2.0",
101 "tsdx": "^0.12.3",

chore: Remove old shizzleMichel Weststratebefore adoptiona607d6c

line 102why, one step back
102 "typescript": "^4.2.3"

chore: verify build during testMichel Weststratebefore adoptionef8990b

lines 103–104why, one step back
103 }
104}