@navita/adapter 0.0.0-main-20230917201540 → 0.0.2
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +19 -0
- package/package.json +2 -2
- package/CHANGELOG.md +0 -7
- package/dist/index.d.ts +0 -26
- package/dist/package.json +0 -10
package/.turbo/turbo-build.log
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
> @navita/adapter@0.0.1 test /Users/zn4rk/Projects/compass-style/packages/adapter
|
|
3
|
+
> jest
|
|
4
|
+
|
|
5
|
+
jest-haste-map: Haste module naming collision: @navita/adapter
|
|
6
|
+
The following files share their name; please adjust your hasteImpl:
|
|
7
|
+
* <rootDir>/package.json
|
|
8
|
+
* <rootDir>/dist/package.json
|
|
9
|
+
|
|
10
|
+
[0m[7m[1m[32m PASS [39m[22m[27m[0m [0m[7m[37m packages/adapter [39m[27m[0m [2mtests/src/[22m[1mindex.test.ts[22m
|
|
11
|
+
adapter
|
|
12
|
+
[32m✓[39m [2mshould return undefined without adapter (1 ms)[22m
|
|
13
|
+
[32m✓[39m [2mshould set adapter[22m
|
|
14
|
+
|
|
15
|
+
[1mTest Suites: [22m[1m[32m1 passed[39m[22m, 1 total
|
|
16
|
+
[1mTests: [22m[1m[32m2 passed[39m[22m, 2 total
|
|
17
|
+
[1mSnapshots: [22m0 total
|
|
18
|
+
[1mTime:[22m 1.139 s, estimated 2 s
|
|
19
|
+
[2mRan all test suites[22m[2m.[22m
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navita/adapter",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@navita/types": "0.0.
|
|
11
|
+
"@navita/types": "0.0.2"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "build",
|
package/CHANGELOG.md
DELETED
package/dist/index.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { StyleRule, GlobalStyleRule, CSSKeyframes, FontFaceRule } from '@navita/types';
|
|
2
|
-
|
|
3
|
-
type Adapter = {
|
|
4
|
-
generateIdentifier: typeof generateIdentifier;
|
|
5
|
-
addCss: typeof addCss;
|
|
6
|
-
addStaticCss: typeof addStaticCss;
|
|
7
|
-
addKeyframe: typeof addKeyframe;
|
|
8
|
-
addFontFace: typeof addFontFace;
|
|
9
|
-
collectResult?: typeof collectResult;
|
|
10
|
-
};
|
|
11
|
-
declare const setAdapter: (newAdapter: Adapter) => void;
|
|
12
|
-
declare function generateIdentifier(value: unknown): string;
|
|
13
|
-
declare function addCss(css: StyleRule): string;
|
|
14
|
-
declare function addStaticCss(selector: string, css: GlobalStyleRule): void;
|
|
15
|
-
declare function addKeyframe(keyframe: CSSKeyframes): string;
|
|
16
|
-
declare function addFontFace(fontFace: FontFaceRule | FontFaceRule[]): string;
|
|
17
|
-
declare function collectResult<T>(input: {
|
|
18
|
-
filePath: string;
|
|
19
|
-
index: number;
|
|
20
|
-
result: () => T;
|
|
21
|
-
identifier?: string;
|
|
22
|
-
line: number;
|
|
23
|
-
column: number;
|
|
24
|
-
}): T;
|
|
25
|
-
|
|
26
|
-
export { Adapter, addCss, addFontFace, addKeyframe, addStaticCss, collectResult, generateIdentifier, setAdapter };
|