@backendrelay/version 0.0.0-stage → 1.1.0

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.
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "compilerOptions": {
4
+ "rootDir": "../src",
5
+ "module": "nodenext",
6
+ "moduleResolution": "nodenext"
7
+ }
8
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "extends": "./build.json",
3
+ "include": [
4
+ "../src/**/*.ts",
5
+ "../src/**/*.cts",
6
+ "../src/**/*.tsx",
7
+ "../src/**/*.json"
8
+ ],
9
+ "exclude": [
10
+ "../src/**/*.mts",
11
+ "../src/package.json"
12
+ ],
13
+ "compilerOptions": {
14
+ "outDir": "../.tshy-build/commonjs"
15
+ }
16
+ }
package/.tshy/esm.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "extends": "./build.json",
3
+ "include": [
4
+ "../src/**/*.ts",
5
+ "../src/**/*.mts",
6
+ "../src/**/*.tsx",
7
+ "../src/**/*.json"
8
+ ],
9
+ "exclude": [
10
+ "../src/package.json"
11
+ ],
12
+ "compilerOptions": {
13
+ "outDir": "../.tshy-build/esm"
14
+ }
15
+ }
@@ -0,0 +1,56 @@
1
+
2
+ > @backendrelay/version@1.1.0 build /Users/orenaksakal/Projects/backendrelay-private/client/packages/version
3
+ > rm -rf dist; npm run build:tshy && npm run build:standalone && npm run check-exports
4
+
5
+ npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
6
+ npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
7
+ npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
8
+
9
+ > @backendrelay/version@1.1.0 build:tshy
10
+ > tshy
11
+
12
+ npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
13
+ npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
14
+ npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
15
+
16
+ > @backendrelay/version@1.1.0 build:standalone
17
+ > vite build
18
+
19
+ vite v7.3.7 building client environment for production...
20
+ transforming...
21
+ ✓ 2 modules transformed.
22
+ rendering chunks...
23
+ computing gzip size...
24
+ dist/standalone/index.umd.cjs 0.32 kB │ gzip: 0.24 kB
25
+ dist/standalone/index.js 0.05 kB │ gzip: 0.07 kB
26
+ ✓ built in 26ms
27
+ npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
28
+ npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
29
+ npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
30
+
31
+ > @backendrelay/version@1.1.0 check-exports
32
+ > attw --pack .
33
+
34
+
35
+ @backendrelay/version v1.1.0
36
+
37
+ Build tools:
38
+ - @arethetypeswrong/cli@^0.18.5
39
+ - typescript@^5.9.3
40
+ - vite@^7.3.6
41
+ - tshy@^3.0.2
42
+
43
+ No problems found 🌟
44
+
45
+
46
+ ┌───────────────────┬──────────────────────────────────────┬─────────────────────────┐
47
+ │ │ "@backendrelay/version/package.json" │ "@backendrelay/version" │
48
+ ├───────────────────┼──────────────────────────────────────┼─────────────────────────┤
49
+ │ node10 │ 🟢 (JSON) │ 🟢 │
50
+ ├───────────────────┼──────────────────────────────────────┼─────────────────────────┤
51
+ │ node16 (from CJS) │ 🟢 (JSON) │ 🟢 (CJS) │
52
+ ├───────────────────┼──────────────────────────────────────┼─────────────────────────┤
53
+ │ node16 (from ESM) │ 🟢 (JSON) │ 🟢 (ESM) │
54
+ ├───────────────────┼──────────────────────────────────────┼─────────────────────────┤
55
+ │ bundler │ 🟢 (JSON) │ 🟢 │
56
+ └───────────────────┴──────────────────────────────────────┴─────────────────────────┘
@@ -0,0 +1,3 @@
1
+ import { version } from './version.ts';
2
+ export { version };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.version = void 0;
4
+ const version_ts_1 = require("./version.js");
5
+ Object.defineProperty(exports, "version", { enumerable: true, get: function () { return version_ts_1.version; } });
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,6CAAuC;AAE9B,wFAFA,oBAAO,OAEA","sourcesContent":["import { version } from './version.ts';\n\nexport { version };\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,3 @@
1
+ declare const version = "v1.1.0";
2
+ export { version };
3
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,OAAO,WAAW,CAAC;AAEzB,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ // This is the shared version for all of the JS packages.
3
+ // The workspace keeps the upstream @backendrelay/* names; this tree has no
4
+ // publish pipeline. Bump the version here and in MAX_TESTED_SDK_VERSION when
5
+ // the negotiated wire feature set changes.
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.version = void 0;
8
+ const version = 'v1.1.0';
9
+ exports.version = version;
10
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,2EAA2E;AAC3E,6EAA6E;AAC7E,2CAA2C;;;AAE3C,MAAM,OAAO,GAAG,QAAQ,CAAC;AAEhB,0BAAO","sourcesContent":["// This is the shared version for all of the JS packages.\n// The workspace keeps the upstream @backendrelay/* names; this tree has no\n// publish pipeline. Bump the version here and in MAX_TESTED_SDK_VERSION when\n// the negotiated wire feature set changes.\n\nconst version = 'v1.1.0';\n\nexport { version };\n"]}
@@ -0,0 +1,3 @@
1
+ import { version } from './version.ts';
2
+ export { version };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { version } from "./version.js";
2
+ export { version };
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,EAAE,OAAO,EAAE,CAAC","sourcesContent":["import { version } from './version.ts';\n\nexport { version };\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,3 @@
1
+ declare const version = "v1.1.0";
2
+ export { version };
3
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,OAAO,WAAW,CAAC;AAEzB,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ // This is the shared version for all of the JS packages.
2
+ // The workspace keeps the upstream @backendrelay/* names; this tree has no
3
+ // publish pipeline. Bump the version here and in MAX_TESTED_SDK_VERSION when
4
+ // the negotiated wire feature set changes.
5
+ const version = 'v1.1.0';
6
+ export { version };
7
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,2EAA2E;AAC3E,6EAA6E;AAC7E,2CAA2C;AAE3C,MAAM,OAAO,GAAG,QAAQ,CAAC;AAEzB,OAAO,EAAE,OAAO,EAAE,CAAC","sourcesContent":["// This is the shared version for all of the JS packages.\n// The workspace keeps the upstream @backendrelay/* names; this tree has no\n// publish pipeline. Bump the version here and in MAX_TESTED_SDK_VERSION when\n// the negotiated wire feature set changes.\n\nconst version = 'v1.1.0';\n\nexport { version };\n"]}
@@ -0,0 +1,4 @@
1
+ const o = "v1.1.0";
2
+ export {
3
+ o as version
4
+ };
@@ -0,0 +1 @@
1
+ (function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.instant={}))})(this,(function(e){"use strict";const n="v1.1.0";e.version=n,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
package/package.json CHANGED
@@ -1,6 +1,63 @@
1
1
  {
2
2
  "name": "@backendrelay/version",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.1.0",
4
+ "description": "BackendRelay's shared version package",
5
+ "license": "Apache-2.0",
6
+ "homepage": "https://github.com/orenaksakal/backendrelay",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/orenaksakal/backendrelay.git",
10
+ "directory": "client/packages/version"
11
+ },
12
+ "type": "module",
13
+ "main": "./dist/commonjs/index.js",
14
+ "types": "./dist/commonjs/index.d.ts",
15
+ "module": "./dist/esm/index.js",
16
+ "unpkg": "standalone/index.umd.js",
17
+ "exports": {
18
+ "./package.json": "./package.json",
19
+ ".": {
20
+ "import": {
21
+ "types": "./dist/esm/index.d.ts",
22
+ "default": "./dist/esm/index.js"
23
+ },
24
+ "require": {
25
+ "types": "./dist/commonjs/index.d.ts",
26
+ "default": "./dist/commonjs/index.js"
27
+ }
28
+ }
29
+ },
30
+ "tshy": {
31
+ "selfLink": false,
32
+ "main": true,
33
+ "module": true,
34
+ "project": "./tsconfig.json",
35
+ "exports": {
36
+ "./package.json": "./package.json",
37
+ ".": "./src/index.ts"
38
+ }
39
+ },
40
+ "devDependencies": {
41
+ "@arethetypeswrong/cli": "^0.18.5",
42
+ "@types/node": "^18.11.18",
43
+ "npm-run-all": "^4.1.5",
44
+ "tshy": "^3.0.2",
45
+ "typescript": "^5.9.3",
46
+ "vite": "^7.3.6"
47
+ },
48
+ "publishConfig": {
49
+ "access": "public",
50
+ "registry": "https://registry.npmjs.org/"
51
+ },
52
+ "scripts": {
53
+ "check": "tsc --noEmit",
54
+ "check-exports": "attw --pack .",
55
+ "dev:module": "tsc --watch --preserveWatchOutput -p tsconfig.dev.json",
56
+ "dev:main": "tsc --watch --preserveWatchOutput -p tsconfig.cjs.dev.json",
57
+ "dev": "run-p dev:module dev:main",
58
+ "clean": "rm -rf dist",
59
+ "build": "rm -rf dist; npm run build:tshy && npm run build:standalone && npm run check-exports",
60
+ "build:tshy": "tshy",
61
+ "build:standalone": "vite build"
62
+ }
6
63
  }
package/src/index.ts ADDED
@@ -0,0 +1,3 @@
1
+ import { version } from './version.ts';
2
+
3
+ export { version };
package/src/version.ts ADDED
@@ -0,0 +1,8 @@
1
+ // This is the shared version for all of the JS packages.
2
+ // The workspace keeps the upstream @backendrelay/* names; this tree has no
3
+ // publish pipeline. Bump the version here and in MAX_TESTED_SDK_VERSION when
4
+ // the negotiated wire feature set changes.
5
+
6
+ const version = 'v1.1.0';
7
+
8
+ export { version };
@@ -0,0 +1,15 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "composite": true,
5
+
6
+ "module": "es2015",
7
+ "moduleResolution": "bundler",
8
+
9
+ "outDir": "./dist/commonjs",
10
+
11
+ "declaration": true,
12
+ "declarationDir": "./dist/commonjs",
13
+ "incremental": true
14
+ }
15
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "module": "es2022",
5
+ "target": "es2022",
6
+ "moduleResolution": "bundler",
7
+
8
+ "outDir": "./dist/esm",
9
+
10
+ "declaration": true,
11
+ "declarationDir": "./dist/esm",
12
+ "incremental": true
13
+ }
14
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "extends": "../../tsconfig.base.json",
3
+ "include": ["src"],
4
+ "exclude": ["node_modules", "dist"],
5
+ "compilerOptions": {
6
+ "outDir": "dist/tsc",
7
+ "rewriteRelativeImportExtensions": true,
8
+ "rootDir": "src",
9
+ "checkJs": false,
10
+ "strictNullChecks": true
11
+ }
12
+ }
package/vite.config.ts ADDED
@@ -0,0 +1,19 @@
1
+ import { defineConfig } from 'vite';
2
+ import { resolve } from 'path';
3
+
4
+ export default defineConfig({
5
+ clearScreen: false,
6
+ build: {
7
+ outDir: 'dist/standalone',
8
+ lib: {
9
+ formats: ['umd', 'es'],
10
+ // this is the file that exports our components
11
+ entry: resolve(__dirname, 'src', 'index.ts'),
12
+ name: 'instant',
13
+ fileName: 'index',
14
+ },
15
+ },
16
+ define: {
17
+ 'process.env': {},
18
+ },
19
+ });
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.