ausecon 0.0.0-stage → 0.0.0

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.
package/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Jack McPherson
4
+ Copyright (c) 2018 Zoe Meers and Matt Cowgill (readabs)
5
+ Copyright (c) 2020 Matt Cowgill (readrba)
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,35 @@
1
- # Temporary Holding Version
1
+ # `ausecon`
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ `ausecon` is a command-line tool that reads Australian economic data from the
4
+ Australian Bureau of Statistics (ABS) and the Reserve Bank of Australia (RBA).
5
+ It ports the `readabs` and `readrba` R packages and uses
6
+ [`@ausecon/core`](https://www.npmjs.com/package/@ausecon/core).
7
+
8
+ ---
9
+
10
+ ## Status
11
+
12
+ The tool is in development. No release exists.
13
+
14
+ The first release reads ABS time series by catalogue number and table number,
15
+ or by series ID. The tool now runs `--help`, `--version`, and shell
16
+ completions only.
17
+
18
+ ## Install
19
+
20
+ The tool needs Node 22.18 or later.
21
+
22
+ ```shell
23
+ npm install --global ausecon
24
+ ausecon --help
25
+ ```
26
+
27
+ ## Links
28
+
29
+ - [Source and glossary](https://github.com/jackemcpherson/ausecon)
30
+ - [`readabs` R package](https://github.com/MattCowgill/readabs)
31
+ - [`readrba` R package](https://github.com/MattCowgill/readrba)
32
+
33
+ ## License
34
+
35
+ MIT. The license keeps the copyright notices of `readabs` and `readrba`.
package/dist/main.mjs ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ import { NodeRuntime, NodeServices } from "@effect/platform-node";
3
+ import { Effect } from "effect";
4
+ import { Command } from "effect/cli";
5
+ // package.json
6
+ var version = "0.0.0";
7
+ // src/commands/ausecon.ts
8
+ /** The root `ausecon` command. Subcommands attach here. */
9
+ const ausecon = Command.make("ausecon").pipe(Command.withDescription("Read Australian economic data from the ABS and RBA."));
10
+ // src/main.ts
11
+ Command.run(ausecon, { version }).pipe(Effect.provide(NodeServices.layer), NodeRuntime.runMain);
12
+ export {};
package/package.json CHANGED
@@ -1,6 +1,29 @@
1
1
  {
2
2
  "name": "ausecon",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.0",
4
+ "description": "Read Australian economic data from the ABS and RBA in your terminal.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/jackemcpherson/ausecon.git",
9
+ "directory": "packages/cli"
10
+ },
11
+ "bin": {
12
+ "ausecon": "./dist/main.mjs"
13
+ },
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "type": "module",
18
+ "scripts": {
19
+ "build": "vp pack"
20
+ },
21
+ "dependencies": {
22
+ "@ausecon/core": "0.0.0",
23
+ "@effect/platform-node": "4.0.6",
24
+ "effect": "4.0.6"
25
+ },
26
+ "engines": {
27
+ "node": ">=22.18.0"
28
+ }
29
+ }