@fougere/decorators 0.4.0-alpha.0 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,11 @@
1
1
  # @fougere/decorators
2
2
  > The configuration sugar
3
- `@config` — a decorator states a **fact**; it never changes the runtime in a
4
- non-obvious way.
3
+ `@expose` — a decorator states a **fact**; it never changes the runtime in a
4
+ non-obvious way. On a class it marks a handler as served; on a method it marks one
5
+ operation. `isExposed(cls)` and `getExposedMethods(cls)` read what was stated.
6
+
7
+ Everything it says can be said in `frond.config.ts` instead, which is why nothing in
8
+ this repository imports it.
5
9
 
6
10
  ## Installation
7
11
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fougere/decorators",
3
- "version": "0.4.0-alpha.0",
3
+ "version": "0.5.0-alpha.0",
4
4
  "description": "Configuration sugar (@config) — declarative, never hidden runtime.",
5
5
  "keywords": [
6
6
  "fougere",