@docx-sax/native-darwin-arm64 0.0.0-trusted-publishing-setup.0 → 0.1.0-rc.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.
package/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # @docx-sax/native-darwin-arm64
2
2
 
3
- Trusted-publishing bootstrap placeholder for `docx-sax`.
3
+ Placeholder prerelease native payload package for `@docx-sax/node` on `darwin-arm64`.
4
4
 
5
- This package is intentionally published as `0.0.0-trusted-publishing-setup.0` so npm trusted publishing can be configured for the package name. It is not a functional DOCX parser/runtime package yet. Do not use it in applications.
6
-
7
- The real implementation will replace this placeholder in a later alpha release.
5
+ This package exists so trusted publishing can be configured for the full native package set. It does **not** include a runtime implementation yet.
package/index.d.ts CHANGED
@@ -1,6 +1,11 @@
1
- export declare const placeholder: true;
2
- export declare const packageName: string;
3
- export declare const version: string;
4
- export declare function createNotImplementedError(): Error;
5
- declare const _default: { placeholder: true; packageName: string; version: string; createNotImplementedError: typeof createNotImplementedError };
6
- export default _default;
1
+ export declare const platform: 'darwin-arm64';
2
+ export declare const implemented: false;
3
+ export declare function unavailable(): never;
4
+
5
+ declare const defaultExport: {
6
+ platform: typeof platform;
7
+ implemented: typeof implemented;
8
+ unavailable: typeof unavailable;
9
+ };
10
+
11
+ export default defaultExport;
package/index.js CHANGED
@@ -1,9 +1,12 @@
1
- export const placeholder = true;
2
- export const packageName = "@docx-sax/native-darwin-arm64";
3
- export const version = "0.0.0-trusted-publishing-setup.0";
1
+ export const platform = 'darwin-arm64';
2
+ export const implemented = false;
4
3
 
5
- export function createNotImplementedError() {
6
- return new Error(`${packageName}@${version} is a trusted-publishing bootstrap placeholder and does not include the docx-sax runtime yet.`);
4
+ export function unavailable() {
5
+ throw new Error('@docx-sax/native-darwin-arm64 is a placeholder prerelease package for trusted-publisher/bootstrap only. It does not include a native runtime implementation yet.');
7
6
  }
8
7
 
9
- export default { placeholder, packageName, version, createNotImplementedError };
8
+ export default {
9
+ platform,
10
+ implemented,
11
+ unavailable,
12
+ };
package/package.json CHANGED
@@ -1,29 +1,34 @@
1
1
  {
2
2
  "name": "@docx-sax/native-darwin-arm64",
3
- "version": "0.0.0-trusted-publishing-setup.0",
4
- "description": "macOS arm64 native payload placeholder for trusted publishing setup.",
3
+ "version": "0.1.0-rc.0",
4
+ "description": "Placeholder native payload package for @docx-sax/node on darwin-arm64. This prerelease package is for trusted-publisher/bootstrap only and does not include a runtime implementation yet.",
5
5
  "type": "module",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/anulman/docx-sax.git",
10
- "directory": "packages/native-darwin-arm64"
11
- },
12
- "publishConfig": {
13
- "access": "public"
14
- },
15
6
  "exports": {
16
- "types": "./index.d.ts",
17
- "import": "./index.js",
18
- "default": "./index.js"
7
+ ".": {
8
+ "types": "./index.d.ts",
9
+ "import": "./index.js",
10
+ "default": "./index.js"
11
+ }
19
12
  },
20
13
  "files": [
21
- "README.md",
22
14
  "index.js",
23
- "index.d.ts"
15
+ "index.d.ts",
16
+ "README.md"
24
17
  ],
25
18
  "scripts": {
26
- "build": "node -e \"console.log(process.env.npm_package_name + ' skeleton ready')\"",
27
- "test": "node -e \"import('./index.js').then(() => console.log(process.env.npm_package_name + ' skeleton import ok'))\""
28
- }
19
+ "build": "node --check index.js",
20
+ "test": "node -e \"import('./index.js').then(() => console.log('placeholder package ok'))\""
21
+ },
22
+ "engines": {
23
+ "node": ">=20"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/anulman/docx-sax",
28
+ "directory": "packages/native-darwin-arm64"
29
+ },
30
+ "bugs": {
31
+ "url": "https://github.com/anulman/docx-sax/issues"
32
+ },
33
+ "homepage": "https://github.com/anulman/docx-sax/tree/main/packages/native-darwin-arm64#readme"
29
34
  }