af3857a209
* feat(gatekeeper): add gatekeeper module feature flag * feat(gatekeeper): add workspace pricing table domain * feat(gatekeeper): add checkout session creation * feat(gatekeeper): verify stripe signature * wip(gatekeeper): checkout callbacks * feat(gatekeeper): add unlimited and academia plan types * refactor(envHelper): getStringFromEnv helper * chore(gatekeeper): add future todos * feat(gatekeeper): add productId to the subscription domain * feat(gatekeeper): add in memory repositories * feat(gatekeeper): add more errors * feat(gatekeeper): complete checkout session service * feat(gatekeeper): add stripe client implementation * feat(gatekeeper): add checkout session completion webhook callback path * feat(gendo): fix not needing env vars if gendo module is not enabled * feat(gatekeeper): require a license for billing * chore(gatekeeper): cleanup before testing * feat(gatekeeper): subscriptionData parsing model * ci: add billing integration and gatekeeper modules to test config * test(gatekeeper): add checkout service tests * feat(gatekeeper): make completeCheckout callback idempotent properly * feat(gatekeeper): move to knex based repositories * test(gatekeeper): billing repository tests * feat(gatekeeper): add yearly billing cycle toggle * feat(ci): add stripe integration context to test job * feat(billingPage): conditionally render the checkout CTAs * fix(gatekeeper): remove flaky test condition * feat(helm): add billing integration feature flag * WIP billing gql api * feat(gatekeeper): cancel checkout session api * feat(gatekeeper): handle existing checkout sessions, when trying to create a new one * feat(gatekeeper): add workspace plans gql api * feat(gatekeeper): handle cancelation and subscription updates * fix(gatekeeper): scope initialization * fix(gatekeeper): eliminate stripe client import sideeffect * fix(gatekeeper): eliminate stripe client import sideeffect 2 * fix(mainConstants): fitler gatekeeper scopes with feature flag
122 lines
3.2 KiB
JSON
122 lines
3.2 KiB
JSON
{
|
|
"name": "@speckle/shared",
|
|
"version": "2.20.0-alpha4",
|
|
"description": "Shared code between various Speckle JS packages",
|
|
"homepage": "https://speckle.systems",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/specklesystems/speckle-server.git",
|
|
"directory": "packages/shared"
|
|
},
|
|
"type": "module",
|
|
"main": "./dist/commonjs/index.js",
|
|
"types": "./dist/commonjs/index.d.ts",
|
|
"scripts": {
|
|
"build": "NODE_ENV=production tshy",
|
|
"dev": "tshy --watch",
|
|
"prepack": "yarn build",
|
|
"lint:eslint": "eslint .",
|
|
"lint:tsc": "tsc --noEmit",
|
|
"lint": "yarn lint:eslint && yarn lint:tsc",
|
|
"lint:ci": "yarn lint:tsc"
|
|
},
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"author": "AEC Systems",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"speckle",
|
|
"aec",
|
|
"3d"
|
|
],
|
|
"dependencies": {
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"type-fest": "^3.11.1"
|
|
},
|
|
"peerDependencies": {
|
|
"@tiptap/core": "^2.0.0-beta.176",
|
|
"mixpanel": "^0.17.0",
|
|
"pino": "^8.7.0",
|
|
"pino-http": "^8.0.0",
|
|
"pino-pretty": ">=8.0.0",
|
|
"ua-parser-js": "^1.0.38",
|
|
"znv": "^0.4.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@tiptap/core": "^2.0.0-beta.176",
|
|
"@types/lodash": "^4.14.184",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/ua-parser-js": "^0.7.39",
|
|
"@typescript-eslint/eslint-plugin": "^7.12.0",
|
|
"@typescript-eslint/parser": "^7.12.0",
|
|
"eslint": "^9.4.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"mixpanel": "^0.17.0",
|
|
"pino": "^8.7.0",
|
|
"pino-http": "^8.0.0",
|
|
"tshy": "^1.14.0",
|
|
"typescript": "^4.5.4",
|
|
"ua-parser-js": "^1.0.38",
|
|
"znv": "^0.4.0",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"stableVersion": "0.1.0",
|
|
"tshy": {
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
"./pinoPrettyTransport.cjs": "./pinoPrettyTransport.cjs",
|
|
"./environment": "./src/environment/index.ts",
|
|
"./observability": "./src/observability/index.ts",
|
|
"./dist/*": "./dist/*",
|
|
".": "./src/index.ts"
|
|
}
|
|
},
|
|
"imports": {
|
|
"#lodash": {
|
|
"require": "lodash",
|
|
"import": "lodash-es",
|
|
"node": "lodash",
|
|
"default": "lodash-es"
|
|
}
|
|
},
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
"./pinoPrettyTransport.cjs": "./pinoPrettyTransport.cjs",
|
|
"./environment": {
|
|
"import": {
|
|
"types": "./dist/esm/environment/index.d.ts",
|
|
"default": "./dist/esm/environment/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/environment/index.d.ts",
|
|
"default": "./dist/commonjs/environment/index.js"
|
|
}
|
|
},
|
|
"./observability": {
|
|
"import": {
|
|
"types": "./dist/esm/observability/index.d.ts",
|
|
"default": "./dist/esm/observability/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/observability/index.d.ts",
|
|
"default": "./dist/commonjs/observability/index.js"
|
|
}
|
|
},
|
|
"./dist/*": "./dist/*",
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/esm/index.d.ts",
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/commonjs/index.d.ts",
|
|
"default": "./dist/commonjs/index.js"
|
|
}
|
|
}
|
|
}
|
|
}
|