@empathyco/x-adapter-platform 0.1.1-alpha.1 → 0.1.1-alpha.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/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # x-adapter-platform
2
2
 
3
- `x-adapter-platform` is a library to ease the communication with `empathy.co platform search API's`.
3
+ `x-adapter-platform` is a library to ease the communication with
4
+ **[empathy.co](https://empathy.co/)** Platform API.
4
5
 
5
6
  ### Contributing
6
7
 
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
File without changes
package/package.json CHANGED
@@ -1,24 +1,50 @@
1
1
  {
2
2
  "name": "@empathyco/x-adapter-platform",
3
- "version": "0.1.1-alpha.1",
4
- "description": "A search client for empathy.co's platform search API",
3
+ "version": "0.1.1-alpha.2",
4
+ "description": "A search client for the Empathy Platform API",
5
5
  "author": "Empathy Systems Corporation S.L.",
6
6
  "license": "Apache-2.0",
7
- "homepage": "https://github.com/empathyco/x/tree/main/packages/x-adapter#readme",
7
+ "homepage": "https://github.com/empathyco/x/tree/main/packages/x-adapter-platform#readme",
8
8
  "keywords": [
9
9
  "search",
10
10
  "adapter",
11
11
  "client",
12
12
  "fetch"
13
13
  ],
14
+ "main": "dist/cjs/index.js",
15
+ "module": "dist/esm/index.js",
16
+ "types": "dist/types/index.d.ts",
17
+ "files": [
18
+ "dist"
19
+ ],
14
20
  "repository": {
15
21
  "type": "git",
16
22
  "url": "git+https://github.com/empathyco/x.git",
17
23
  "directory": "packages/x-adapter-platform"
18
24
  },
19
- "scripts": {},
25
+ "scripts": {
26
+ "prebuild": "rimraf ./dist ./*.tgz",
27
+ "build": "concurrently \"npm run build:*\"",
28
+ "build:cjs": "tsc --project tsconfig.cjs.json",
29
+ "build:esm": "tsc --project tsconfig.esm.json",
30
+ "test": "jest --passWithNoTests",
31
+ "postbuild": "npm pack",
32
+ "prepublishOnly": "npm run build"
33
+ },
34
+ "dependencies": {
35
+ "@empathyco/x-adapter-next": "^0.2.0-alpha.14",
36
+ "tslib": "~2.3.0"
37
+ },
38
+ "devDependencies": {
39
+ "@types/jest": "~27.0.3",
40
+ "concurrently": "~7.0.0",
41
+ "jest": "~27.3.1",
42
+ "rimraf": "~3.0.2",
43
+ "ts-jest": "~27.0.7",
44
+ "typescript": "~4.6.2"
45
+ },
20
46
  "publishConfig": {
21
47
  "access": "public"
22
48
  },
23
- "gitHead": "fc23e6ad9d61be10fd1c56545902ef349de2e57c"
49
+ "gitHead": "0574e350dc49e35894bf72fa987d470b08a1ce05"
24
50
  }
package/CHANGELOG.md DELETED
@@ -1,12 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file. See
4
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ### [0.1.1-alpha.1](https://github.com/empathyco/x/compare/@empathyco/x-adapter-platform@0.1.1-alpha.0...@empathyco/x-adapter-platform@0.1.1-alpha.1) (2022-03-31)
7
-
8
- **Note:** Version bump only for package @empathyco/x-adapter-platform
9
-
10
- ### 0.1.1-alpha.0 (2022-02-16)
11
-
12
- **Note:** Version bump only for package @empathyco/x-adapter-platform
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "noEmit": true
5
- },
6
- "exclude": []
7
- }
package/tsconfig.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es2019",
4
- "module": "commonjs",
5
- "outDir": "./dist",
6
- "moduleResolution": "node",
7
- "strict": true,
8
- "esModuleInterop": true,
9
- "types": ["node", "jest"],
10
- "lib": ["esnext"]
11
- },
12
- "include": ["src/**/*.ts"],
13
- "exclude": ["node_modules"]
14
- }