@batik-prototype/math 0.0.0 → 0.1.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/CHANGELOG.md +7 -0
- package/README.md +22 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/placeholder.ts +6 -0
package/CHANGELOG.md
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# `@batik-prototype/math`
|
|
2
|
+
|
|
3
|
+
Mathematical utilities for Batik design-system packages
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
import { PACKAGE_NAME } from '@batik-prototype/math';
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
| Export | Signature |
|
|
10
|
+
| -------------- | --------- |
|
|
11
|
+
| `PACKAGE_NAME` | `string` |
|
|
12
|
+
|
|
13
|
+
## Scripts
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
vp run build # vp pack - production build, then attw + publint + unused
|
|
17
|
+
vp run dev # vp pack --watch
|
|
18
|
+
vp test run # from the repo root, runs this package's tests too
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
[`@batik-prototype/math`](../math#readme) documents why a package in this repo is wired
|
|
22
|
+
the way it is - the tsconfig split, the two `exports` maps, and the `#/` alias.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/placeholder.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Placeholder export, so a freshly generated package builds, type checks and
|
|
4
|
+
* tests green before it has any content of its own. Delete this file and its
|
|
5
|
+
* test alongside the first real export.
|
|
6
|
+
*/
|
|
7
|
+
export declare const PACKAGE_NAME = "@batik-prototype/math";
|
|
8
|
+
//#endregion
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/placeholder.ts"],"mappings":";;;;;;qBAKa"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/placeholder.ts"],"sourcesContent":["/**\n * Placeholder export, so a freshly generated package builds, type checks and\n * tests green before it has any content of its own. Delete this file and its\n * test alongside the first real export.\n */\nexport const PACKAGE_NAME = '@batik-prototype/math';\n"],"mappings":"AAKA,MAAa,EAAe"}
|
package/package.json
CHANGED
package/src/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PACKAGE_NAME } from '#/placeholder';
|