fougere 0.1.0-alpha.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 +21 -0
- package/README.md +15 -0
- package/dist/bin.d.ts +13 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +13 -0
- package/dist/bin.js.map +1 -0
- package/package.json +28 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Fougere contributors
|
|
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.
|
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# fougere
|
|
2
|
+
|
|
3
|
+
> The Fougere CLI, under its unscoped name
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx fougere new shop # compose a workspace
|
|
7
|
+
npx fougere serve blog # run one frond in its own process
|
|
8
|
+
npx fougere call Post.list # call an operation
|
|
9
|
+
npx fougere check # read the model, report what a split would break
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Same binary as [`@fougere/cli`](https://www.npmjs.com/package/@fougere/cli) — this
|
|
13
|
+
package holds no code, only the name. Install either one.
|
|
14
|
+
|
|
15
|
+
**[Documentation →](https://chok.github.io/fougere/)**
|
package/dist/bin.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* `fougere` — the CLI under its unscoped name.
|
|
4
|
+
*
|
|
5
|
+
* It holds nothing. `@fougere/cli` already installs a `fougere` binary; this
|
|
6
|
+
* package exists so that `npx fougere` and `npm i -g fougere` reach it, because
|
|
7
|
+
* an unscoped name is first-come-first-served and a scope does not reserve it.
|
|
8
|
+
*
|
|
9
|
+
* Importing the bin runs it — it is a script, not a module with an entry point,
|
|
10
|
+
* and `argv` travels untouched.
|
|
11
|
+
*/
|
|
12
|
+
import '@fougere/cli/bin';
|
|
13
|
+
//# sourceMappingURL=bin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../src/bin.ts"],"names":[],"mappings":";AACA;;;;;;;;;GASG;AACH,OAAO,kBAAkB,CAAC"}
|
package/dist/bin.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* `fougere` — the CLI under its unscoped name.
|
|
4
|
+
*
|
|
5
|
+
* It holds nothing. `@fougere/cli` already installs a `fougere` binary; this
|
|
6
|
+
* package exists so that `npx fougere` and `npm i -g fougere` reach it, because
|
|
7
|
+
* an unscoped name is first-come-first-served and a scope does not reserve it.
|
|
8
|
+
*
|
|
9
|
+
* Importing the bin runs it — it is a script, not a module with an entry point,
|
|
10
|
+
* and `argv` travels untouched.
|
|
11
|
+
*/
|
|
12
|
+
import '@fougere/cli/bin';
|
|
13
|
+
//# sourceMappingURL=bin.js.map
|
package/dist/bin.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.js","sourceRoot":"","sources":["../src/bin.ts"],"names":[],"mappings":";AACA;;;;;;;;;GASG;AACH,OAAO,kBAAkB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fougere",
|
|
3
|
+
"version": "0.1.0-alpha.0",
|
|
4
|
+
"description": "The Fougere CLI, under its unscoped name — compose a workspace, serve a frond, call an operation.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/chok/fougere.git",
|
|
9
|
+
"directory": "packages/fougere"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"bin": {
|
|
13
|
+
"fougere": "dist/bin.js"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@fougere/cli": "0.1.0-alpha.1"
|
|
20
|
+
},
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "rm -rf dist && tsc && chmod +x dist/bin.js",
|
|
26
|
+
"typecheck": "tsc --noEmit"
|
|
27
|
+
}
|
|
28
|
+
}
|