git.iko.soy/rowtype-yoga/purescript-backend-optimizer
on main help sign in
Fix version AGAIN
3a50e50Nathan Faubion
backend-es/package.json+2−2
@@ -15,8 +15,8 @@
15 },
15 },
16 "scripts": {
16 "scripts": {
17 "preversion": "npm run test && npm run test:output-diff",
17 "preversion": "npm run test && npm run test:output-diff",
18− "version": "echo 'export const version = \"v'$npm_package_version'\";' > ./src/Version.js && git add ./src/Version.js",
18+ "version": "echo 'export const version = \"v'$npm_package_version'\";' > ./src/Version.js && git add .",
19− "postversion": "git commit -m \"Bump purs-backend-es version ($npm_package_version)\" && git tag purs-backend-es-v$npm_package_version && push && git push --tags",
19+ "postversion": "git commit -m \"Bump purs-backend-es version ($npm_package_version)\" && git tag purs-backend-es-v$npm_package_version && git push && git push --tags",
20 "test": "cd .. && spago test",
20 "test": "cd .. && spago test",
21 "test:output-diff": "npm run build && cd ../ && ./backend-es/index.js build --int-tags --output-dir=output-es2 && diff -r output-es output-es2 && rm -r output-es2",
21 "test:output-diff": "npm run build && cd ../ && ./backend-es/index.js build --int-tags --output-dir=output-es2 && diff -r output-es output-es2 && rm -r output-es2",
22 "build": "cd .. && spago build -u '-g corefn,js' && node ./backend-es/index.dev.js bundle-module -m Main --int-tags --platform=node --minify --to=./backend-es/bundle/index.js",
22 "build": "cd .. && spago build -u '-g corefn,js' && node ./backend-es/index.dev.js bundle-module -m Main --int-tags --platform=node --minify --to=./backend-es/bundle/index.js",