@seethruhead/cra-payroll 0.2.0 → 0.2.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 (2) hide show
  1. package/dist/cra-payroll.js +46 -2
  2. package/package.json +12 -4
@@ -79560,9 +79560,53 @@ var calculateYearly = async (service, config2, headless = false) => {
79560
79560
  // src/updater.ts
79561
79561
  import { execSync as execSync2 } from "child_process";
79562
79562
  import { existsSync as existsSync3, renameSync, unlinkSync, chmodSync } from "fs";
79563
+ // package.json
79564
+ var package_default = {
79565
+ name: "@seethruhead/cra-payroll",
79566
+ version: "0.2.1",
79567
+ description: "Calculate Canadian payroll deductions using CRA's Payroll Deductions Online Calculator",
79568
+ type: "module",
79569
+ bin: {
79570
+ "cra-payroll": "dist/cra-payroll.js"
79571
+ },
79572
+ files: [
79573
+ "dist/cra-payroll.js"
79574
+ ],
79575
+ scripts: {
79576
+ dev: "bun run src/cli.ts",
79577
+ build: "bun build --compile src/cli.ts --outfile cra-payroll --external electron",
79578
+ "build:npm": "bun build src/cli.ts --outfile dist/cra-payroll.js --target=node",
79579
+ release: "bash release.sh",
79580
+ test: "bun test src/unit.test.ts",
79581
+ "test:integration": "bun test src/integration.test.ts --timeout 120000 --max-concurrency 1",
79582
+ "test:all": "bun test --timeout 120000 --max-concurrency 1"
79583
+ },
79584
+ keywords: [
79585
+ "canada",
79586
+ "payroll",
79587
+ "cra",
79588
+ "tax",
79589
+ "deductions",
79590
+ "calculator",
79591
+ "pdoc",
79592
+ "rrsp"
79593
+ ],
79594
+ author: "",
79595
+ license: "MIT",
79596
+ dependencies: {
79597
+ neverthrow: "^8.2.0",
79598
+ "puppeteer-core": "^24.37.2",
79599
+ remeda: "^2.33.6"
79600
+ },
79601
+ devDependencies: {
79602
+ "@types/bun": "^1.3.8",
79603
+ typescript: "^5.9.3"
79604
+ }
79605
+ };
79606
+
79607
+ // src/updater.ts
79563
79608
  var REPO = "SeeThruHead/cra-payroll";
79564
- var VERSION = "0.2.0";
79565
- var currentVersion = () => VERSION;
79609
+ var currentVersion = () => package_default.version;
79566
79610
  var getTarget = () => {
79567
79611
  const os9 = process.platform;
79568
79612
  const arch = process.arch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seethruhead/cra-payroll",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Calculate Canadian payroll deductions using CRA's Payroll Deductions Online Calculator",
5
5
  "type": "module",
6
6
  "bin": {
@@ -13,13 +13,21 @@
13
13
  "dev": "bun run src/cli.ts",
14
14
  "build": "bun build --compile src/cli.ts --outfile cra-payroll --external electron",
15
15
  "build:npm": "bun build src/cli.ts --outfile dist/cra-payroll.js --target=node",
16
- "prepublishOnly": "bun run build:npm && cp README.md README.md.bak && cp npm-README.md README.md",
17
- "postpublish": "mv README.md.bak README.md",
16
+ "release": "bash release.sh",
18
17
  "test": "bun test src/unit.test.ts",
19
18
  "test:integration": "bun test src/integration.test.ts --timeout 120000 --max-concurrency 1",
20
19
  "test:all": "bun test --timeout 120000 --max-concurrency 1"
21
20
  },
22
- "keywords": ["canada", "payroll", "cra", "tax", "deductions", "calculator", "pdoc", "rrsp"],
21
+ "keywords": [
22
+ "canada",
23
+ "payroll",
24
+ "cra",
25
+ "tax",
26
+ "deductions",
27
+ "calculator",
28
+ "pdoc",
29
+ "rrsp"
30
+ ],
23
31
  "author": "",
24
32
  "license": "MIT",
25
33
  "dependencies": {