cirrojs 0.0.1 → 0.0.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,25 @@
1
+ # Change Log
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
+ and this project adheres to [Semantic Versioning](http://semver.org/).
6
+
7
+ - Added: for new features.
8
+ - Changed: for changes in existing functionality.
9
+ - Deprecated: for soon-to-be removed features.
10
+ - Removed: for now removed features.
11
+ - Fixed: for any bug fixes.
12
+ - Security: in case of vulnerabilities.
13
+
14
+ ## [Unreleased]
15
+
16
+ ## [0.0.2] - 2026-06-15
17
+
18
+ ### Changed
19
+ - Renamed the package from `cirro` to `cirrojs`.
20
+
21
+ ## 0.0.1 - 2026-06-15
22
+ - initial release
23
+
24
+ [Unreleased]: https://github.com/osawa-naotaka/cirro/compare/v0.0.2...HEAD
25
+ [0.0.2]: https://github.com/osawa-naotaka/cirro/compare/v0.0.1...v0.0.2
package/dist/cli.sh CHANGED
@@ -29,12 +29,12 @@ fi
29
29
 
30
30
  case "$runtime" in
31
31
  bun)
32
- exec bun -e='import { main } from "cirro/bin"; await main(process.argv.slice(1));' "${script_args[@]}"
32
+ exec bun -e='import { main } from "cirrojs/bin"; await main(process.argv.slice(1));' "${script_args[@]}"
33
33
  ;;
34
34
  node)
35
- exec node --eval 'import { main } from "cirro/bin"; await main(process.argv.slice(1));' "${script_args[@]}"
35
+ exec node --eval 'import { main } from "cirrojs/bin"; await main(process.argv.slice(1));' "${script_args[@]}"
36
36
  ;;
37
37
  deno)
38
- exec deno eval 'import { main } from "cirro/bin"; await main(process.argv.slice(2));' "${script_args[@]}"
38
+ exec deno eval 'import { main } from "cirrojs/bin"; await main(process.argv.slice(2));' "${script_args[@]}"
39
39
  ;;
40
40
  esac
package/package.json CHANGED
@@ -1,17 +1,26 @@
1
1
  {
2
2
  "name": "cirrojs",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "React islands SSG with strict CSP (no unsafe-inline). Vite-based, MPA-first.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "files": ["dist", "README.md", "LICENSE"],
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/osawa-naotaka/cirro.git"
10
+ },
11
+ "files": [
12
+ "dist",
13
+ "README.md",
14
+ "CHANGELOG.md",
15
+ "LICENSE"
16
+ ],
8
17
  "exports": {
9
18
  ".": "./src/index.ts",
10
19
  "./vite": "./src/vite.ts",
11
20
  "./bin": "./src/cli.ts"
12
21
  },
13
22
  "bin": {
14
- "cirro": "./public/cli.sh"
23
+ "cirro": "public/cli.sh"
15
24
  },
16
25
  "publishConfig": {
17
26
  "exports": {
package/public/cli.sh CHANGED
@@ -29,12 +29,12 @@ fi
29
29
 
30
30
  case "$runtime" in
31
31
  bun)
32
- exec bun -e='import { main } from "cirro/bin"; await main(process.argv.slice(1));' "${script_args[@]}"
32
+ exec bun -e='import { main } from "cirrojs/bin"; await main(process.argv.slice(1));' "${script_args[@]}"
33
33
  ;;
34
34
  node)
35
- exec node --eval 'import { main } from "cirro/bin"; await main(process.argv.slice(1));' "${script_args[@]}"
35
+ exec node --eval 'import { main } from "cirrojs/bin"; await main(process.argv.slice(1));' "${script_args[@]}"
36
36
  ;;
37
37
  deno)
38
- exec deno eval 'import { main } from "cirro/bin"; await main(process.argv.slice(2));' "${script_args[@]}"
38
+ exec deno eval 'import { main } from "cirrojs/bin"; await main(process.argv.slice(2));' "${script_args[@]}"
39
39
  ;;
40
40
  esac