diff --git a/packages/core/package.json b/packages/core/package.json index 121ad4c..94b4368 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -14,6 +14,7 @@ "build": "NODE_PATH=./node_modules webpack --config ./build/webpack.config.js --mode production", "clean": "rm -rf dist node_modules yarn.lock && yarn", "lint": "NODE_PATH=./node_modules eslint --config ./build/.eslintrc.js --format codeframe --ext mjs,js .", + "postversion": "cp package.json dist", "test": "npm run build && mocha -t 10000 --reporter min --colors ./dist/test.js" }, "files": [ diff --git a/packages/create-app/package.json b/packages/create-app/package.json index 812a848..8b71608 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -11,6 +11,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/create-fleck/package.json b/packages/create-fleck/package.json index d70b726..223f20d 100644 --- a/packages/create-fleck/package.json +++ b/packages/create-fleck/package.json @@ -11,6 +11,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/create-fleck/template/package.json.extraneous b/packages/create-fleck/template/package.json.extraneous index 78c54ee..4744766 100644 --- a/packages/create-fleck/template/package.json.extraneous +++ b/packages/create-fleck/template/package.json.extraneous @@ -1,10 +1,10 @@ { "version": "1.0.0", - "main": "index.js", "scripts": { "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/db/package.json b/packages/db/package.json index d40c973..21fc62b 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -8,6 +8,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/docker/package.json b/packages/docker/package.json index 6c24171..af1aa21 100644 --- a/packages/docker/package.json +++ b/packages/docker/package.json @@ -9,6 +9,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/fleck/package.json b/packages/fleck/package.json index d89f0c1..cb244bc 100644 --- a/packages/fleck/package.json +++ b/packages/fleck/package.json @@ -12,6 +12,7 @@ "scripts": { "build": "flecks build", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/governor/package.json b/packages/governor/package.json index daf872d..ace0292 100644 --- a/packages/governor/package.json +++ b/packages/governor/package.json @@ -9,6 +9,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/http/package.json b/packages/http/package.json index 990603c..a6ccad5 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -9,6 +9,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/react/package.json b/packages/react/package.json index b28b5e4..2576419 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -9,6 +9,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "postinstall": "node src/fake-context.js", "test": "flecks test" }, diff --git a/packages/redis/package.json b/packages/redis/package.json index 132dbf0..9b65929 100644 --- a/packages/redis/package.json +++ b/packages/redis/package.json @@ -8,6 +8,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/redux/package.json b/packages/redux/package.json index 0653fbd..5acee3b 100644 --- a/packages/redux/package.json +++ b/packages/redux/package.json @@ -9,6 +9,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/repl/package.json b/packages/repl/package.json index d9f3551..0036701 100644 --- a/packages/repl/package.json +++ b/packages/repl/package.json @@ -8,6 +8,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/server/package.json b/packages/server/package.json index e92c0ee..94b5e38 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -10,6 +10,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/socket/package.json b/packages/socket/package.json index 1a226f8..ab04c0e 100644 --- a/packages/socket/package.json +++ b/packages/socket/package.json @@ -9,6 +9,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [ diff --git a/packages/user/package.json b/packages/user/package.json index 1667985..5fccc34 100644 --- a/packages/user/package.json +++ b/packages/user/package.json @@ -9,6 +9,7 @@ "build": "flecks build", "clean": "flecks clean", "lint": "flecks lint", + "postversion": "cp package.json dist", "test": "flecks test" }, "files": [