@thryveai/theme-interfaces 1.4.8-beta6 → 1.4.10

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,46 @@
1
+ # dependencies
2
+ /node_modules
3
+
4
+ # testing
5
+ /coverage
6
+
7
+ # production
8
+ /build
9
+ /build_server
10
+ /build_ts
11
+ /oidc-storage
12
+ /dist
13
+ /lib
14
+
15
+ # output files
16
+ /default-theme.interface.d.ts
17
+ /theme.interfaces.d.ts
18
+ /index.d.ts
19
+ /icons.interfaces.d.ts
20
+ /retailer-settings.interfaces.d.ts
21
+
22
+ # misc
23
+ .DS_Store
24
+ .env.local
25
+ .env.development.local
26
+ .env.test.local
27
+ .env.production.local
28
+
29
+ npm-debug.log*
30
+ yarn-debug.log*
31
+ yarn-error.log*
32
+ yarn-lock
33
+
34
+ # editor configs
35
+ .vscode
36
+ .idea
37
+
38
+
39
+ package-lock.json
40
+ /yarn.lock
41
+ .gitignore
42
+ /src
43
+
44
+ *.tgz
45
+ *.lock
46
+ *.orig
package/.eslintrc.js ADDED
@@ -0,0 +1,32 @@
1
+ module.exports = {
2
+ env: {
3
+ browser: true,
4
+ es2021: true
5
+ },
6
+ parser: '@typescript-eslint/parser',
7
+ parserOptions: {
8
+ ecmaFeatures: {
9
+ jsx: true
10
+ },
11
+ ecmaVersion: 13,
12
+ sourceType: 'module'
13
+ },
14
+ rules: {
15
+ 'sort-imports': [
16
+ 'error',
17
+ {
18
+ allowSeparatedGroups: false,
19
+ ignoreCase: false,
20
+ ignoreDeclarationSort: false,
21
+ ignoreMemberSort: false,
22
+ memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single']
23
+ }
24
+ ],
25
+ 'sort-keys': [
26
+ 'error',
27
+ 'asc',
28
+ { caseSensitive: true, minKeys: 2, natural: false }
29
+ ],
30
+ 'sort-vars': ['error', { ignoreCase: true }]
31
+ }
32
+ };
package/.prettierrc ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "singleQuote": true,
3
+ "jsxSingleQuote": true,
4
+ "trailingComma": "none",
5
+ "arrowParens": "avoid"
6
+ }
package/package.json CHANGED
@@ -1,14 +1,24 @@
1
- {
2
- "name": "@thryveai/theme-interfaces",
3
- "version": "1.4.8-beta6",
4
- "description": "Shared Interfaces for all ThryveAi storefront retailer themes.",
5
- "scripts": {
6
- "build": "tsc",
7
- "push": "npm run build && npm publish"
8
- },
9
- "author": "Simon Markey",
10
- "license": "ISC",
11
- "devDependencies": {
12
- "typescript": "4.3.5"
13
- }
14
- }
1
+ {
2
+ "name": "@thryveai/theme-interfaces",
3
+ "version": "1.4.10",
4
+ "description": "Shared Interfaces for all ThryveAi storefront retailer themes.",
5
+ "scripts": {
6
+ "build": "tsc && npm run lint && npm run format",
7
+ "push": "npm run build && npm publish",
8
+ "lint": "eslint --ignore-path .eslintignore --ext .js,.ts .",
9
+ "format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\""
10
+ },
11
+ "author": "Simon Markey",
12
+ "license": "ISC",
13
+ "devDependencies": {
14
+ "@typescript-eslint/eslint-plugin": "^5.9.1",
15
+ "@typescript-eslint/parser": "^5.9.1",
16
+ "eslint": "^7.32.0",
17
+ "eslint-config-standard": "^16.0.3",
18
+ "eslint-plugin-import": "^2.25.4",
19
+ "eslint-plugin-node": "^11.1.0",
20
+ "eslint-plugin-promise": "^5.2.0",
21
+ "prettier": "^2.5.1",
22
+ "typescript": "^4.5.4"
23
+ }
24
+ }