@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @navita/adapter@0.0.0-main-20230917201540 build /home/runner/work/navita/navita/packages/adapter
2
+ > @navita/adapter@0.0.1 build /Users/zn4rk/Projects/compass-style/packages/adapter
3
3
  > build
4
4
 
5
5
  Building @navita/adapter.
@@ -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
+  PASS   packages/adapter  tests/src/index.test.ts
11
+ adapter
12
+ ✓ should return undefined without adapter (1 ms)
13
+ ✓ should set adapter
14
+
15
+ Test Suites: 1 passed, 1 total
16
+ Tests: 2 passed, 2 total
17
+ Snapshots: 0 total
18
+ Time: 1.139 s, estimated 2 s
19
+ Ran all test suites.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navita/adapter",
3
- "version": "0.0.0-main-20230917201540",
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.0-main-20230917201540"
11
+ "@navita/types": "0.0.2"
12
12
  },
13
13
  "scripts": {
14
14
  "build": "build",
package/CHANGELOG.md DELETED
@@ -1,7 +0,0 @@
1
- # @navita/adapter
2
-
3
- ## 0.0.0-main-20230917201540
4
-
5
- ### Patch Changes
6
-
7
- - d2af2ad: Initial public release
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 };
package/dist/package.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@navita/adapter",
3
- "version": "0.0.0-main-20230917201540",
4
- "exports": {
5
- ".": {
6
- "types": "./index.d.ts",
7
- "default": "./index.cjs"
8
- }
9
- }
10
- }