/dist
/node_modules
/npm-debug.log
+/package.json
#!/bin/bash
+set -e
+json5 -c package.json5
+rpl XXX $(git describe --tags --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@;s@%@~@g') package.json
npm run prepare
+++ /dev/null
-{
- "name": "logizomai",
- "version": "0.9.0",
- "license": "AGPL-3.0",
- "author": {
- "name": "Jay Freeman (saurik)",
- "email": "saurik@saurik.com",
- "url": "http://www.saurik.com/"
- },
- "description": "Deterministic Finalization via Reference Counting",
- "repository": {
- "type": "git",
- "url": "https://git.saurik.com/logizomai.git"
- },
- "scripts": {
- "build": "tsc",
- "lint": "tslint --project .",
- "prepare": "npm run build && npm run lint"
- },
- "main": "dist/index.js",
- "types": "dist/index.d.ts",
- "devDependencies": {
- "@types/node": "8.0.15",
- "browserify": "14.4.0",
- "tsify": "3.0.1",
- "typescript": "2.5.2"
- }
-}
--- /dev/null
+{
+ "name": "logizomai",
+ "version": "XXX",
+ "license": "AGPL-3.0",
+ "author": {
+ "name": "Jay Freeman (saurik)",
+ "email": "saurik@saurik.com",
+ "url": "http://www.saurik.com/",
+ },
+ "description": "Deterministic Finalization via Reference Counting",
+ "repository": {
+ "type": "git",
+ "url": "https://git.saurik.com/logizomai.git",
+ },
+ "scripts": {
+ "build": "tsc",
+ "lint": "tslint --project .",
+ "prepare": "npm run build && npm run lint",
+ },
+ "main": "dist/index.js",
+ "types": "dist/index.d.ts",
+ "devDependencies": {
+ "@types/node": "8.0.15",
+ "browserify": "14.4.0",
+ "tsify": "3.0.1",
+ "typescript": "2.5.2",
+ }
+}
--- /dev/null
+#!/bin/bash
+set -e
+git describe --tags --match="v*" --exact-match >/dev/null
+./make
+npm publish