@planningcenter/url 2.6.3 → 2.6.5-rc.1

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/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export declare type Environment = "production" | "staging" | "development" | "test";
2
- export declare type Product = "api" | "accounts" | "calendar" | "check-ins" | "giving" | "groups" | "publishing" | "registrations" | "services";
2
+ export declare type Product = "api" | "accounts" | "calendar" | "check-ins" | "giving" | "groups" | "login" | "people" | "publishing" | "registrations" | "services";
3
3
  declare const _default: (env: Environment) => (productName: Product) => string;
4
4
  export default _default;
package/dist/url.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"url.js","sources":["../index.ts"],"sourcesContent":["export type Environment = \"production\" | \"staging\" | \"development\" | \"test\";\nexport type Product =\n | \"api\"\n | \"accounts\"\n | \"calendar\"\n | \"check-ins\"\n | \"giving\"\n | \"groups\"\n | \"publishing\"\n | \"registrations\"\n | \"services\";\n\nexport default (env: Environment) => (productName: Product) => {\n if (!(env && productName)) return;\n\n switch (env) {\n case \"production\":\n return `https://${productName}.${domain()}`;\n case \"staging\":\n return `https://${productName}-staging.${domain()}`;\n case \"development\":\n let tld = \"test\";\n\n try {\n tld = location.hostname.match(/\\pco\\.(\\w+)$/)[1];\n } catch (error) {\n // don't show warning in Topbar's local dev env\n if (location.hostname !== \"localhost\") {\n console.error(`${location.hostname} is not a supported dev TLD`);\n }\n }\n\n return `http://${productName}.pco.${tld}`;\n case \"test\":\n return `http://${productName}.pco.test`;\n default:\n return `http://${productName}.${domain()}`;\n }\n};\n\nconst domain = () => {\n const result = location.hostname.match(/planningcenter(online)?.com/);\n\n if (result === null) {\n return \"planningcenteronline.com\";\n } else {\n return result[0];\n }\n};\n"],"names":["domain","result","location","hostname","match","env","productName","tld","error","console"],"mappings":"AAYA,IA4BMA,EAAS,WACb,IAAMC,EAASC,SAASC,SAASC,MAAM,+BAEvC,OAAe,OAAXH,EACK,2BAEAA,EAAO,4BAlCFI,mBAAsBC,GACpC,GAAMD,GAAOC,EAEb,OAAQD,GACN,IAAK,aACH,iBAAkBC,MAAeN,IACnC,IAAK,UACH,iBAAkBM,cAAuBN,IAC3C,IAAK,cACH,IAAIO,EAAM,OAEV,IACEA,EAAML,SAASC,SAASC,MAAM,gBAAgB,GAC9C,MAAOI,GAEmB,cAAtBN,SAASC,UACXM,QAAQD,MAASN,SAASC,wCAI9B,gBAAiBG,UAAmBC,EACtC,IAAK,OACH,gBAAiBD,cACnB,QACE,gBAAiBA,MAAeN"}
1
+ {"version":3,"file":"url.js","sources":["../index.ts"],"sourcesContent":["export type Environment = \"production\" | \"staging\" | \"development\" | \"test\"\nexport type Product =\n | \"api\"\n | \"accounts\"\n | \"calendar\"\n | \"check-ins\"\n | \"giving\"\n | \"groups\"\n | \"login\"\n | \"people\"\n | \"publishing\"\n | \"registrations\"\n | \"services\"\n\nexport default (env: Environment) => (productName: Product) => {\n if (!(env && productName)) return\n\n switch (env) {\n case \"production\":\n return `https://${productName}.${domain()}`\n case \"staging\":\n return `https://${productName}-staging.${domain()}`\n case \"development\":\n let tld = \"test\"\n\n try {\n tld = location.hostname.match(/\\pco\\.(\\w+)$/)[1]\n } catch (error) {\n // don't show warning in Topbar's local dev env\n if (location.hostname !== \"localhost\") {\n console.error(`${location.hostname} is not a supported dev TLD`)\n }\n }\n\n return `http://${productName}.pco.${tld}`\n case \"test\":\n return `http://${productName}.pco.test`\n default:\n return `http://${productName}.${domain()}`\n }\n}\n\nconst domain = () => {\n const result = location.hostname.match(/planningcenter(online)?.com/)\n\n if (result === null) {\n return \"planningcenteronline.com\"\n } else {\n return result[0]\n }\n}\n"],"names":["domain","result","location","hostname","match","env","productName","tld","error","console"],"mappings":"AAcA,IA4BMA,EAAS,WACb,IAAMC,EAASC,SAASC,SAASC,MAAM,+BAEvC,OAAe,OAAXH,EACK,2BAEAA,EAAO,mBAlClB,SAAgBI,GAAqB,OAAA,SAACC,GACpC,GAAMD,GAAOC,EAEb,OAAQD,GACN,IAAK,aACH,MAAA,WAAkBC,EAAeN,IAAAA,IACnC,IAAK,UACH,MAAkBM,WAAAA,cAAuBN,IAC3C,IAAK,cACH,IAAIO,EAAM,OAEV,IACEA,EAAML,SAASC,SAASC,MAAM,gBAAgB,GAC9C,MAAOI,GAEmB,cAAtBN,SAASC,UACXM,QAAQD,MAASN,SAASC,SAC3B,+BAGH,MAAA,UAAiBG,EAAjB,QAAoCC,EACtC,IAAK,OACH,MAAiBD,UAAAA,EACnB,YAAA,QACE,MAAiBA,UAAAA,MAAeN"}
@@ -1,2 +1,2 @@
1
- const t=()=>{const t=location.hostname.match(/planningcenter(online)?.com/);return null===t?"planningcenteronline.com":t[0]};export default n=>e=>{if(n&&e)switch(n){case"production":return`https://${e}.${t()}`;case"staging":return`https://${e}-staging.${t()}`;case"development":let n="test";try{n=location.hostname.match(/\pco\.(\w+)$/)[1]}catch(t){"localhost"!==location.hostname&&console.error(`${location.hostname} is not a supported dev TLD`)}return`http://${e}.pco.${n}`;case"test":return`http://${e}.pco.test`;default:return`http://${e}.${t()}`}};
1
+ var t=t=>e=>{if(t&&e)switch(t){case"production":return`https://${e}.${n()}`;case"staging":return`https://${e}-staging.${n()}`;case"development":let t="test";try{t=location.hostname.match(/\pco\.(\w+)$/)[1]}catch(t){"localhost"!==location.hostname&&console.error(`${location.hostname} is not a supported dev TLD`)}return`http://${e}.pco.${t}`;case"test":return`http://${e}.pco.test`;default:return`http://${e}.${n()}`}};const n=()=>{const t=location.hostname.match(/planningcenter(online)?.com/);return null===t?"planningcenteronline.com":t[0]};export{t as default};
2
2
  //# sourceMappingURL=url.modern.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"url.modern.js","sources":["../index.ts"],"sourcesContent":["export type Environment = \"production\" | \"staging\" | \"development\" | \"test\";\nexport type Product =\n | \"api\"\n | \"accounts\"\n | \"calendar\"\n | \"check-ins\"\n | \"giving\"\n | \"groups\"\n | \"publishing\"\n | \"registrations\"\n | \"services\";\n\nexport default (env: Environment) => (productName: Product) => {\n if (!(env && productName)) return;\n\n switch (env) {\n case \"production\":\n return `https://${productName}.${domain()}`;\n case \"staging\":\n return `https://${productName}-staging.${domain()}`;\n case \"development\":\n let tld = \"test\";\n\n try {\n tld = location.hostname.match(/\\pco\\.(\\w+)$/)[1];\n } catch (error) {\n // don't show warning in Topbar's local dev env\n if (location.hostname !== \"localhost\") {\n console.error(`${location.hostname} is not a supported dev TLD`);\n }\n }\n\n return `http://${productName}.pco.${tld}`;\n case \"test\":\n return `http://${productName}.pco.test`;\n default:\n return `http://${productName}.${domain()}`;\n }\n};\n\nconst domain = () => {\n const result = location.hostname.match(/planningcenter(online)?.com/);\n\n if (result === null) {\n return \"planningcenteronline.com\";\n } else {\n return result[0];\n }\n};\n"],"names":["domain","result","location","hostname","match","env","productName","tld","error","console"],"mappings":"AAwCA,MAAMA,EAAS,KACb,MAAMC,EAASC,SAASC,SAASC,MAAM,+BAEvC,OAAe,OAAXH,EACK,2BAEAA,EAAO,mBAlCFI,GAAsBC,IACpC,GAAMD,GAAOC,EAEb,OAAQD,GACN,IAAK,aACH,iBAAkBC,KAAeN,MACnC,IAAK,UACH,iBAAkBM,aAAuBN,MAC3C,IAAK,cACH,IAAIO,EAAM,OAEV,IACEA,EAAML,SAASC,SAASC,MAAM,gBAAgB,GAC9C,MAAOI,GAEmB,cAAtBN,SAASC,UACXM,QAAQD,SAASN,SAASC,uCAI9B,gBAAiBG,SAAmBC,IACtC,IAAK,OACH,gBAAiBD,aACnB,QACE,gBAAiBA,KAAeN"}
1
+ {"version":3,"file":"url.modern.js","sources":["../index.ts"],"sourcesContent":["export type Environment = \"production\" | \"staging\" | \"development\" | \"test\"\nexport type Product =\n | \"api\"\n | \"accounts\"\n | \"calendar\"\n | \"check-ins\"\n | \"giving\"\n | \"groups\"\n | \"login\"\n | \"people\"\n | \"publishing\"\n | \"registrations\"\n | \"services\"\n\nexport default (env: Environment) => (productName: Product) => {\n if (!(env && productName)) return\n\n switch (env) {\n case \"production\":\n return `https://${productName}.${domain()}`\n case \"staging\":\n return `https://${productName}-staging.${domain()}`\n case \"development\":\n let tld = \"test\"\n\n try {\n tld = location.hostname.match(/\\pco\\.(\\w+)$/)[1]\n } catch (error) {\n // don't show warning in Topbar's local dev env\n if (location.hostname !== \"localhost\") {\n console.error(`${location.hostname} is not a supported dev TLD`)\n }\n }\n\n return `http://${productName}.pco.${tld}`\n case \"test\":\n return `http://${productName}.pco.test`\n default:\n return `http://${productName}.${domain()}`\n }\n}\n\nconst domain = () => {\n const result = location.hostname.match(/planningcenter(online)?.com/)\n\n if (result === null) {\n return \"planningcenteronline.com\"\n } else {\n return result[0]\n }\n}\n"],"names":["index","env","productName","domain","tld","location","hostname","match","error","console","result"],"mappings":"AAcA,IAAAA,EAAgBC,GAAsBC,IACpC,GAAMD,GAAOC,EAEb,OAAQD,GACN,IAAK,aACH,iBAAkBC,KAAeC,MACnC,IAAK,UACH,iBAAkBD,aAAuBC,MAC3C,IAAK,cACH,IAAIC,EAAM,OAEV,IACEA,EAAMC,SAASC,SAASC,MAAM,gBAAgB,GAC9C,MAAOC,GAEmB,cAAtBH,SAASC,UACXG,QAAQD,MAAM,GAAGH,SAASC,uCAI9B,MAAiB,UAAAJ,SAAmBE,IACtC,IAAK,OACH,MAAO,UAAUF,aACnB,QACE,gBAAiBA,KAAeC,QAItC,MAAMA,EAAS,KACb,MAAMO,EAASL,SAASC,SAASC,MAAM,+BAEvC,OAAe,OAAXG,EACK,2BAEAA,EAAO"}
@@ -1,2 +1,2 @@
1
- var t=function(){var t=location.hostname.match(/planningcenter(online)?.com/);return null===t?"planningcenteronline.com":t[0]};export default function(n){return function(e){if(n&&e)switch(n){case"production":return"https://"+e+"."+t();case"staging":return"https://"+e+"-staging."+t();case"development":var o="test";try{o=location.hostname.match(/\pco\.(\w+)$/)[1]}catch(t){"localhost"!==location.hostname&&console.error(location.hostname+" is not a supported dev TLD")}return"http://"+e+".pco."+o;case"test":return"http://"+e+".pco.test";default:return"http://"+e+"."+t()}}}
1
+ var t=function(t){return function(e){if(t&&e)switch(t){case"production":return"https://"+e+"."+n();case"staging":return"https://"+e+"-staging."+n();case"development":var o="test";try{o=location.hostname.match(/\pco\.(\w+)$/)[1]}catch(t){"localhost"!==location.hostname&&console.error(location.hostname+" is not a supported dev TLD")}return"http://"+e+".pco."+o;case"test":return"http://"+e+".pco.test";default:return"http://"+e+"."+n()}}},n=function(){var t=location.hostname.match(/planningcenter(online)?.com/);return null===t?"planningcenteronline.com":t[0]};export{t as default};
2
2
  //# sourceMappingURL=url.module.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"url.module.js","sources":["../index.ts"],"sourcesContent":["export type Environment = \"production\" | \"staging\" | \"development\" | \"test\";\nexport type Product =\n | \"api\"\n | \"accounts\"\n | \"calendar\"\n | \"check-ins\"\n | \"giving\"\n | \"groups\"\n | \"publishing\"\n | \"registrations\"\n | \"services\";\n\nexport default (env: Environment) => (productName: Product) => {\n if (!(env && productName)) return;\n\n switch (env) {\n case \"production\":\n return `https://${productName}.${domain()}`;\n case \"staging\":\n return `https://${productName}-staging.${domain()}`;\n case \"development\":\n let tld = \"test\";\n\n try {\n tld = location.hostname.match(/\\pco\\.(\\w+)$/)[1];\n } catch (error) {\n // don't show warning in Topbar's local dev env\n if (location.hostname !== \"localhost\") {\n console.error(`${location.hostname} is not a supported dev TLD`);\n }\n }\n\n return `http://${productName}.pco.${tld}`;\n case \"test\":\n return `http://${productName}.pco.test`;\n default:\n return `http://${productName}.${domain()}`;\n }\n};\n\nconst domain = () => {\n const result = location.hostname.match(/planningcenter(online)?.com/);\n\n if (result === null) {\n return \"planningcenteronline.com\";\n } else {\n return result[0];\n }\n};\n"],"names":["domain","result","location","hostname","match","env","productName","tld","error","console"],"mappings":"AAYA,IA4BMA,EAAS,WACb,IAAMC,EAASC,SAASC,SAASC,MAAM,+BAEvC,OAAe,OAAXH,EACK,2BAEAA,EAAO,4BAlCFI,mBAAsBC,GACpC,GAAMD,GAAOC,EAEb,OAAQD,GACN,IAAK,aACH,iBAAkBC,MAAeN,IACnC,IAAK,UACH,iBAAkBM,cAAuBN,IAC3C,IAAK,cACH,IAAIO,EAAM,OAEV,IACEA,EAAML,SAASC,SAASC,MAAM,gBAAgB,GAC9C,MAAOI,GAEmB,cAAtBN,SAASC,UACXM,QAAQD,MAASN,SAASC,wCAI9B,gBAAiBG,UAAmBC,EACtC,IAAK,OACH,gBAAiBD,cACnB,QACE,gBAAiBA,MAAeN"}
1
+ {"version":3,"file":"url.module.js","sources":["../index.ts"],"sourcesContent":["export type Environment = \"production\" | \"staging\" | \"development\" | \"test\"\nexport type Product =\n | \"api\"\n | \"accounts\"\n | \"calendar\"\n | \"check-ins\"\n | \"giving\"\n | \"groups\"\n | \"login\"\n | \"people\"\n | \"publishing\"\n | \"registrations\"\n | \"services\"\n\nexport default (env: Environment) => (productName: Product) => {\n if (!(env && productName)) return\n\n switch (env) {\n case \"production\":\n return `https://${productName}.${domain()}`\n case \"staging\":\n return `https://${productName}-staging.${domain()}`\n case \"development\":\n let tld = \"test\"\n\n try {\n tld = location.hostname.match(/\\pco\\.(\\w+)$/)[1]\n } catch (error) {\n // don't show warning in Topbar's local dev env\n if (location.hostname !== \"localhost\") {\n console.error(`${location.hostname} is not a supported dev TLD`)\n }\n }\n\n return `http://${productName}.pco.${tld}`\n case \"test\":\n return `http://${productName}.pco.test`\n default:\n return `http://${productName}.${domain()}`\n }\n}\n\nconst domain = () => {\n const result = location.hostname.match(/planningcenter(online)?.com/)\n\n if (result === null) {\n return \"planningcenteronline.com\"\n } else {\n return result[0]\n }\n}\n"],"names":["index","env","productName","domain","tld","location","hostname","match","error","console","result"],"mappings":"AAcA,IAAAA,EAAA,SAAgBC,GAAqB,OAAA,SAACC,GACpC,GAAMD,GAAOC,EAEb,OAAQD,GACN,IAAK,aACH,MAAA,WAAkBC,EAAeC,IAAAA,IACnC,IAAK,UACH,MAAkBD,WAAAA,cAAuBC,IAC3C,IAAK,cACH,IAAIC,EAAM,OAEV,IACEA,EAAMC,SAASC,SAASC,MAAM,gBAAgB,GAC9C,MAAOC,GAEmB,cAAtBH,SAASC,UACXG,QAAQD,MAASH,SAASC,SAC3B,+BAGH,MAAA,UAAiBJ,EAAjB,QAAoCE,EACtC,IAAK,OACH,MAAiBF,UAAAA,EACnB,YAAA,QACE,MAAiBA,UAAAA,MAAeC,OAIhCA,EAAS,WACb,IAAMO,EAASL,SAASC,SAASC,MAAM,+BAEvC,OAAe,OAAXG,EACK,2BAEAA,EAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"url.umd.js","sources":["../index.ts"],"sourcesContent":["export type Environment = \"production\" | \"staging\" | \"development\" | \"test\";\nexport type Product =\n | \"api\"\n | \"accounts\"\n | \"calendar\"\n | \"check-ins\"\n | \"giving\"\n | \"groups\"\n | \"publishing\"\n | \"registrations\"\n | \"services\";\n\nexport default (env: Environment) => (productName: Product) => {\n if (!(env && productName)) return;\n\n switch (env) {\n case \"production\":\n return `https://${productName}.${domain()}`;\n case \"staging\":\n return `https://${productName}-staging.${domain()}`;\n case \"development\":\n let tld = \"test\";\n\n try {\n tld = location.hostname.match(/\\pco\\.(\\w+)$/)[1];\n } catch (error) {\n // don't show warning in Topbar's local dev env\n if (location.hostname !== \"localhost\") {\n console.error(`${location.hostname} is not a supported dev TLD`);\n }\n }\n\n return `http://${productName}.pco.${tld}`;\n case \"test\":\n return `http://${productName}.pco.test`;\n default:\n return `http://${productName}.${domain()}`;\n }\n};\n\nconst domain = () => {\n const result = location.hostname.match(/planningcenter(online)?.com/);\n\n if (result === null) {\n return \"planningcenteronline.com\";\n } else {\n return result[0];\n }\n};\n"],"names":["domain","result","location","hostname","match","env","productName","tld","error","console"],"mappings":"iRAwCMA,EAAS,WACb,IAAMC,EAASC,SAASC,SAASC,MAAM,+BAEvC,OAAe,OAAXH,EACK,2BAEAA,EAAO,oBAlCFI,mBAAsBC,GACpC,GAAMD,GAAOC,EAEb,OAAQD,GACN,IAAK,aACH,iBAAkBC,MAAeN,IACnC,IAAK,UACH,iBAAkBM,cAAuBN,IAC3C,IAAK,cACH,IAAIO,EAAM,OAEV,IACEA,EAAML,SAASC,SAASC,MAAM,gBAAgB,GAC9C,MAAOI,GAEmB,cAAtBN,SAASC,UACXM,QAAQD,MAASN,SAASC,wCAI9B,gBAAiBG,UAAmBC,EACtC,IAAK,OACH,gBAAiBD,cACnB,QACE,gBAAiBA,MAAeN"}
1
+ {"version":3,"file":"url.umd.js","sources":["../index.ts"],"sourcesContent":["export type Environment = \"production\" | \"staging\" | \"development\" | \"test\"\nexport type Product =\n | \"api\"\n | \"accounts\"\n | \"calendar\"\n | \"check-ins\"\n | \"giving\"\n | \"groups\"\n | \"login\"\n | \"people\"\n | \"publishing\"\n | \"registrations\"\n | \"services\"\n\nexport default (env: Environment) => (productName: Product) => {\n if (!(env && productName)) return\n\n switch (env) {\n case \"production\":\n return `https://${productName}.${domain()}`\n case \"staging\":\n return `https://${productName}-staging.${domain()}`\n case \"development\":\n let tld = \"test\"\n\n try {\n tld = location.hostname.match(/\\pco\\.(\\w+)$/)[1]\n } catch (error) {\n // don't show warning in Topbar's local dev env\n if (location.hostname !== \"localhost\") {\n console.error(`${location.hostname} is not a supported dev TLD`)\n }\n }\n\n return `http://${productName}.pco.${tld}`\n case \"test\":\n return `http://${productName}.pco.test`\n default:\n return `http://${productName}.${domain()}`\n }\n}\n\nconst domain = () => {\n const result = location.hostname.match(/planningcenter(online)?.com/)\n\n if (result === null) {\n return \"planningcenteronline.com\"\n } else {\n return result[0]\n }\n}\n"],"names":["domain","result","location","hostname","match","env","productName","tld","error","console"],"mappings":"6QAcA,IA4BMA,EAAS,WACb,IAAMC,EAASC,SAASC,SAASC,MAAM,+BAEvC,OAAe,OAAXH,EACK,2BAEAA,EAAO,WAlClB,SAAgBI,GAAqB,OAAA,SAACC,GACpC,GAAMD,GAAOC,EAEb,OAAQD,GACN,IAAK,aACH,MAAA,WAAkBC,EAAeN,IAAAA,IACnC,IAAK,UACH,MAAkBM,WAAAA,cAAuBN,IAC3C,IAAK,cACH,IAAIO,EAAM,OAEV,IACEA,EAAML,SAASC,SAASC,MAAM,gBAAgB,GAC9C,MAAOI,GAEmB,cAAtBN,SAASC,UACXM,QAAQD,MAASN,SAASC,SAC3B,+BAGH,MAAA,UAAiBG,EAAjB,QAAoCC,EACtC,IAAK,OACH,MAAiBD,UAAAA,EACnB,YAAA,QACE,MAAiBA,UAAAA,MAAeN"}
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@planningcenter/url",
3
- "type": "module",
4
- "version": "2.6.3",
3
+ "version": "2.6.5-rc.1",
5
4
  "description": "url utilities for planning center apps",
6
5
  "source": "index.ts",
7
6
  "main": "./dist/url.js",
@@ -10,8 +9,8 @@
10
9
  "unpkg": "./dist/url.umd.js",
11
10
  "types": "./dist/index.d.ts",
12
11
  "amdName": "PLANNINGCENTER.url",
13
- "repository": "https://github.com/planningcenter/design.git",
14
- "author": "Michael Chan <mijoch@gmail.com>",
12
+ "repository": "https://github.com/planningcenter/url.git",
13
+ "author": "Front End Systems Engineering <frontend@planningcenter.com>",
15
14
  "license": "MIT",
16
15
  "files": [
17
16
  "dist"
@@ -19,18 +18,30 @@
19
18
  "scripts": {
20
19
  "build": "microbundle",
21
20
  "dev": "microbundle watch",
22
- "pretest": "npm run build",
23
- "prepublish": "npm run build",
21
+ "prepublishOnly": "yarn run build",
24
22
  "test": "jest"
25
23
  },
26
24
  "bugs": {
27
- "url": "https://github.com/planningcenter/design/issues"
25
+ "url": "https://github.com/planningcenter/url/issues"
28
26
  },
29
- "homepage": "https://github.com/planningcenter/design/blob/master/packages/url/README.md",
27
+ "homepage": "https://github.com/planningcenter/url",
30
28
  "private": false,
31
- "gitHead": "1016c9981f8b48a077dd95db8e1d0098b16a2a38",
32
29
  "devDependencies": {
33
- "jest": "^26.6.3",
34
- "microbundle": "^0.13.0"
30
+ "@types/jest": "^27.4.1",
31
+ "@typescript-eslint/eslint-plugin": "^5.20.0",
32
+ "@typescript-eslint/parser": "^5.20.0",
33
+ "eslint": "^8.13.0",
34
+ "eslint-import-resolver-typescript": "^2.7.1",
35
+ "eslint-plugin-import": "^2.26.0",
36
+ "eslint-plugin-simple-import-sort": "^7.0.0",
37
+ "eslint-plugin-sort-keys-fix": "^1.1.2",
38
+ "eslint-plugin-typescript-sort-keys": "^2.1.0",
39
+ "jest": "^27.5.1",
40
+ "microbundle": "^0.13.0",
41
+ "prettier": "^2.6.2",
42
+ "ts-jest": "^27.1.4",
43
+ "ts-loader": "^9.2.8",
44
+ "ts-node": "^10.7.0",
45
+ "typescript": "^4.6.3"
35
46
  }
36
47
  }
package/CHANGELOG.md DELETED
@@ -1,29 +0,0 @@
1
- # 2.6.2
2
-
3
- - Export types `Environment` and `Product`
4
-
5
- # 2.6.1
6
-
7
- - Fix types linking in package.json
8
-
9
- # 2.6.1
10
-
11
- - Remove extranious dependencies
12
-
13
- # 2.6.0
14
-
15
- - Add TypeScript definitions and types
16
- - Clarify test coverage
17
- - Remove reduncandancy
18
- - Add nested descriptions
19
- - Add missing tests
20
- - Add section for smoke tests and critical paths
21
- - Remove ableist language from `package.json` description
22
-
23
- # 2.5.0
24
-
25
- - Add `planningcenter.com` support
26
-
27
- # 2.4.0
28
-
29
- - Add `.codes` support for `pco-box`
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2017-2019 Planning Center
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.