@autometa/events 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/.eslintignore ADDED
@@ -0,0 +1 @@
1
+ /dist
package/.eslintrc.cjs ADDED
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ root: true,
3
+ extends: ["custom"],
4
+ };
@@ -0,0 +1,29 @@
1
+
2
+ > @autometa/events@0.0.2 build /home/runner/work/autometa/autometa/packages/events
3
+ > pnpm build:code
4
+
5
+
6
+ > @autometa/events@0.0.2 build:code /home/runner/work/autometa/autometa/packages/events
7
+ > rimraf dist/ && pnpm run build:libs
8
+
9
+
10
+ > @autometa/events@0.0.2 build:libs /home/runner/work/autometa/autometa/packages/events
11
+ > tsup
12
+
13
+ CLI Building entry: src/index.ts
14
+ CLI Using tsconfig: tsconfig.json
15
+ CLI tsup v6.7.0
16
+ CLI Using tsup config: /home/runner/work/autometa/autometa/packages/events/tsup.config.ts
17
+ CLI Target: es2020
18
+ CLI Cleaning output folder
19
+ CJS Build start
20
+ ESM Build start
21
+ CJS You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin
22
+ ESM You have emitDecoratorMetadata enabled but @swc/core was not installed, skipping swc plugin
23
+ CJS dist/index.js 961.00 B
24
+ CJS ⚡️ Build success in 31ms
25
+ ESM dist/esm/index.js 75.00 B
26
+ ESM ⚡️ Build success in 31ms
27
+ DTS Build start
28
+ DTS ⚡️ Build success in 4939ms
29
+ DTS dist/index.d.ts 61.00 B
@@ -0,0 +1,4 @@
1
+
2
+ > @autometa/events@0.0.2 lint /home/runner/work/autometa/autometa/packages/events
3
+ > eslint . --max-warnings 0
4
+
@@ -0,0 +1,5 @@
1
+
2
+ > @autometa/events@0.0.2 test /home/runner/work/autometa/autometa/packages/events
3
+ > jest --passWithNoTests
4
+
5
+ No tests found, exiting with code 0
package/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # Gherkin
2
+
3
+ ## 0.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [cfc35f4]
8
+ - @autometa/dto-builder@0.7.1
9
+ - @autometa/gherkin@0.2.1
10
+ - @autometa/types@0.2.1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) undefined Ben Aherne
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Gherkin
2
+
3
+ Gherkin implementation for @autometa.
@@ -0,0 +1,5 @@
1
+ // src/index.ts
2
+ var src_default = {};
3
+ export {
4
+ src_default as default
5
+ };
@@ -0,0 +1,3 @@
1
+ declare const _default: {};
2
+
3
+ export { _default as default };
package/dist/index.js ADDED
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ default: () => src_default
24
+ });
25
+ module.exports = __toCommonJS(src_exports);
26
+ var src_default = {};
package/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './src'
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@autometa/events",
3
+ "version": "0.0.2",
4
+ "main": "index.ts",
5
+ "type": "module",
6
+ "description": "Test Events & Subscribers for Autometa",
7
+ "author": "Ben Aherne",
8
+ "license": "MIT",
9
+ "exports": {
10
+ "import": "./dist/esm/index.js",
11
+ "require": "./dist/index.js",
12
+ "default": "./dist/esm/index.js",
13
+ "types": "./dist/index.d.ts"
14
+ },
15
+ "devDependencies": {
16
+ "@cucumber/cucumber-expressions": "^16.1.2",
17
+ "@jest/globals": "^29.4.3",
18
+ "@jest/types": "^29.4.3",
19
+ "@types/node": "^18.11.18",
20
+ "@types/uuid": "^9.0.1",
21
+ "@typescript-eslint/eslint-plugin": "^5.54.1",
22
+ "@typescript-eslint/parser": "^5.54.1",
23
+ "eslint": "^8.37.0",
24
+ "eslint-config-custom": "0.5.0",
25
+ "tsconfig": "0.5.0",
26
+ "eslint-config-prettier": "^8.3.0",
27
+ "jest": "^29.4.3",
28
+ "nodemon": "^2.0.22",
29
+ "prettier": "^2.8.3",
30
+ "reflect-metadata": "^0.1.13",
31
+ "rimraf": "^4.1.2",
32
+ "ts-jest": "^29.0.5",
33
+ "ts-node": "^10.9.1",
34
+ "tsup": "^6.7.0",
35
+ "typescript": "^4.9.5",
36
+ "vitest": "^0.29.8",
37
+ "webpack": "^5.77.0",
38
+ "webpack-cli": "^5.0.1",
39
+ "webpack-node-externals": "^3.0.0"
40
+ },
41
+ "dependencies": {
42
+ "@autometa/dto-builder": "0.7.1",
43
+ "@autometa/gherkin": "0.2.1",
44
+ "@autometa/types": "0.2.1",
45
+ "@cucumber/gherkin": "^26.0.3",
46
+ "@cucumber/messages": "^21.0.1",
47
+ "@cucumber/tag-expressions": "^5.0.1",
48
+ "tsyringe": "^4.7.0",
49
+ "uuid": "^9.0.0"
50
+ },
51
+ "scripts": {
52
+ "test": "jest --passWithNoTests",
53
+ "prettify": "prettier --config .prettierrc 'src/**/*.ts' --write",
54
+ "lint": "eslint . --max-warnings 0",
55
+ "lint:fix": "eslint . --fix",
56
+ "build:libs": "tsup",
57
+ "build:code": "rimraf dist/ && pnpm run build:libs",
58
+ "build": "pnpm build:code"
59
+ },
60
+ "readme": "# Gherkin\n\nGherkin implementation for @autometa.\n"
61
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,12 @@
1
+ import type { Options } from "tsup";
2
+ export const tsup: Options = {
3
+ clean: true, // clean up the dist folder
4
+ dts: true, // generate dts files
5
+ format: ["cjs", "esm"], // generate cjs and esm files
6
+ skipNodeModulesBundle: true,
7
+ entryPoints: ["src/index.ts"],
8
+ target: "es2020",
9
+ outDir: "dist",
10
+ legacyOutput: true,
11
+ external: ["dist"],
12
+ };