create-mun 0.0.0-stage → 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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env node
2
+
3
+ // `npm/pnpm create mun <directory>` invokes the create-mun binary with
4
+ // the directory as its first argument. Reuse the canonical CLI so both entry
5
+ // points always scaffold the same project.
6
+ process.argv = [
7
+ process.argv[0],
8
+ process.argv[1],
9
+ 'create',
10
+ ...process.argv.slice(2),
11
+ ]
12
+
13
+ let cliSpecifier
14
+ try {
15
+ cliSpecifier = import.meta.resolve('@mun-ui/ui/cli')
16
+ } catch {
17
+ // Allows the workspace source package to be exercised before pnpm creates
18
+ // its node_modules link. Published packages resolve the dependency above.
19
+ cliSpecifier = new URL('../../../bin/mun.mjs', import.meta.url).href
20
+ }
21
+
22
+ await import(cliSpecifier)
package/package.json CHANGED
@@ -1,6 +1,22 @@
1
1
  {
2
2
  "name": "create-mun",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.2.1",
4
+ "description": "Create a canonical native Mün application, with explicit Web compatibility scaffolding.",
5
+ "type": "module",
6
+ "files": [
7
+ "bin"
8
+ ],
9
+ "bin": {
10
+ "create-mun": "bin/create-mun.mjs"
11
+ },
12
+ "dependencies": {
13
+ "@mun-ui/ui": "0.2.1"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "scripts": {
19
+ "build": "node --check bin/create-mun.mjs",
20
+ "check": "node --check bin/create-mun.mjs"
21
+ }
6
22
  }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
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.