@forsakringskassan/vite-lib-config 4.7.1 → 4.8.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/README.md +7 -0
- package/bin/api-extractor.mjs +12 -0
- package/bin/build-selectors.mjs +1 -1
- package/bin/write-config.mjs +13 -0
- package/dist/{api-extractor.js → api-extractor.mjs} +176 -186
- package/dist/build-selectors.mjs +69 -0
- package/dist/write-config.mjs +663 -0
- package/package.json +15 -6
- package/tsconfig/README.md +1 -0
- package/tsconfig/tsconfig.cypress.json +18 -0
- package/tsconfig/tsconfig.lib.json +16 -0
- package/tsconfig/tsconfig.pageobjects.json +16 -0
- package/tsconfig/tsconfig.root.json +20 -0
- package/tsconfig/tsconfig.selectors.json +11 -0
- package/bin/api-extractor.js +0 -11
- package/dist/build-selectors.js +0 -102
package/README.md
CHANGED
|
@@ -6,9 +6,16 @@ Toolchain for building Vue framework libraries.
|
|
|
6
6
|
- Transpiled with Babel.
|
|
7
7
|
- Supports monorepo.
|
|
8
8
|
- Optional: build pageobjects and selectors.
|
|
9
|
+
- Optional: shared typescript configuration.
|
|
9
10
|
|
|
10
11
|
## Configuration
|
|
11
12
|
|
|
13
|
+
Use `fk-write-config` to write boilerplate configuration files to the repository:
|
|
14
|
+
|
|
15
|
+
fk-write-config
|
|
16
|
+
|
|
17
|
+
By default it assumes `vitest` is used as test runner, use `--with-jest` or `--with-vitest` to explicitly set a test runner.
|
|
18
|
+
|
|
12
19
|
### Bundled dependencies
|
|
13
20
|
|
|
14
21
|
By default all dependencies (`dependencies` and `peerDependencies`) are marked as external and not bundled in output files.
|
package/bin/build-selectors.mjs
CHANGED