@code.store/arcxp-sdk-ts 1.0.0 → 1.0.1

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/.eslintrc.js CHANGED
@@ -22,5 +22,5 @@ module.exports = {
22
22
  parserOptions: {
23
23
  project: './tsconfig.json',
24
24
  },
25
- ignorePatterns: ['.eslintrc.js', 'vite.config.ts', 'scripts/*.js'],
25
+ ignorePatterns: ['.eslintrc.js', 'vite.config.ts'],
26
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code.store/arcxp-sdk-ts",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "scripts": {
@@ -8,11 +8,11 @@
8
8
  "lint": "tsc --noEmit && TIMING=1 eslint \"src/**/*.ts*\"",
9
9
  "start": "dotenv -e .env -- node ./dist/server.js",
10
10
  "test": "vitest",
11
- "publish": "node ./scripts/publish"
11
+ "publish": "npm publish --access public"
12
12
  },
13
13
  "keywords": [],
14
14
  "author": "code.store",
15
- "license": "ISC",
15
+ "license": "MIT",
16
16
  "dependencies": {
17
17
  "axios": "^1.4.0",
18
18
  "axios-rate-limit": "^1.3.0",
@@ -1,24 +0,0 @@
1
- const { exec } = require('child_process');
2
-
3
- const packageJson = require('../package.json');
4
- const packageName = packageJson.name;
5
- const packageVersion = packageJson.version;
6
- const optCode = '947810';
7
-
8
- // Publish the package
9
- function publish() {
10
- console.log(`Publishing ${packageName}@${packageVersion}...`);
11
-
12
- const publishProcess = exec(`npm publish --access public --otp=${optCode}`, (error, stdout, stderr) => {
13
- if (error) {
14
- console.error(`Error publishing ${packageName}@${packageVersion}: ${error.message}`);
15
- } else {
16
- console.log(`Successfully published ${packageName}@${packageVersion}`);
17
- }
18
- });
19
-
20
- publishProcess.stdout.pipe(process.stdout);
21
- publishProcess.stderr.pipe(process.stderr);
22
- }
23
-
24
- publish();