gt-next 6.0.0-alpha.21 → 6.0.0-alpha.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gt-next",
3
- "version": "6.0.0-alpha.21",
3
+ "version": "6.0.0-alpha.23",
4
4
  "description": "A Next.js library for automatic internationalization.",
5
5
  "main": "dist/index.server.js",
6
6
  "peerDependencies": {
@@ -13,15 +13,16 @@
13
13
  "CHANGELOG.md"
14
14
  ],
15
15
  "dependencies": {
16
- "@generaltranslation/supported-locales": "^2.0.11-alpha.21",
17
- "generaltranslation": "^7.0.0-alpha.21",
18
- "gt-react": "^10.0.0-alpha.21"
16
+ "@generaltranslation/supported-locales": "^2.0.11-alpha.23",
17
+ "generaltranslation": "^7.0.0-alpha.23",
18
+ "gt-react": "^10.0.0-alpha.23"
19
19
  },
20
20
  "scripts": {
21
21
  "patch": "npm version patch",
22
22
  "transpile": "tsc",
23
23
  "build": "npm run transpile",
24
24
  "build:clean": "rm -rf dist; npm run build",
25
+ "build:release": "npm run build:clean",
25
26
  "release": "npm run build:clean && npm publish",
26
27
  "release:alpha": "npm run build:clean && npm publish --tag alpha",
27
28
  "release:beta": "npm run build:clean && npm publish --tag beta",
@@ -1,5 +0,0 @@
1
- export default function getGTProp(child: any): {
2
- id: number;
3
- [key: string]: any;
4
- } | null;
5
- //# sourceMappingURL=getGTProp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getGTProp.d.ts","sourceRoot":"","sources":["../../src/utils/getGTProp.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,SAAS,CAC/B,KAAK,EAAE,GAAG,GACT;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,IAAI,CAK3C"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = getGTProp;
4
- function getGTProp(child) {
5
- var _a;
6
- if (child && typeof child === 'object' && ((_a = child.props) === null || _a === void 0 ? void 0 : _a['data-_gt'])) {
7
- return child.props['data-_gt'];
8
- }
9
- return null;
10
- }
11
- //# sourceMappingURL=getGTProp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getGTProp.js","sourceRoot":"","sources":["../../src/utils/getGTProp.ts"],"names":[],"mappings":";;AAAA,4BAOC;AAPD,SAAwB,SAAS,CAC/B,KAAU;;IAEV,IAAI,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,KAAI,MAAA,KAAK,CAAC,KAAK,0CAAG,UAAU,CAAC,CAAA,EAAE,CAAC;QACpE,OAAO,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IACjC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}