@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 +2 -4
- package/index.d.ts +11 -6
- package/index.js +9 -6
- package/package.json +24 -19
package/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# @docx-sax/native-darwin-arm64
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Placeholder prerelease native payload package for `@docx-sax/node` on `darwin-arm64`.
|
|
4
4
|
|
|
5
|
-
This package
|
|
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
|
|
2
|
-
export declare const
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
declare const
|
|
6
|
-
|
|
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
|
|
2
|
-
export const
|
|
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
|
|
6
|
-
|
|
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 {
|
|
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.
|
|
4
|
-
"description": "
|
|
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
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
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
|
|
27
|
-
"test": "node -e \"import('./index.js').then(() => console.log(
|
|
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
|
}
|