@sasjs/utils 3.5.3 → 3.5.4

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/.gitattributes ADDED
@@ -0,0 +1 @@
1
+ * text=auto eol=lf
@@ -24,6 +24,9 @@ jobs:
24
24
  - name: Build Project
25
25
  run: npm run build
26
26
 
27
+ - name: Pre-publish step
28
+ run: npm run publishInit
29
+
27
30
  - name: Semantic Release
28
31
  uses: cycjimmy/semantic-release-action@v3
29
32
  env:
package/package.json CHANGED
@@ -12,13 +12,9 @@
12
12
  "typings": "./index.d.ts",
13
13
  "scripts": {
14
14
  "nodeVersionMessage": "echo \u001b[33m make sure you are running node lts version \u001b[0m",
15
- "preinstall": "npm run nodeVersionMessage",
16
- "prebuild": "npm run nodeVersionMessage",
17
- "build": "npx rimraf build && tsc",
18
- "postbuild": "npm run copy:macros",
15
+ "build": "npm run nodeVersionMessage && npx rimraf build && tsc && npm run copy:macros",
19
16
  "copy:macros": "ts-node ./scripts/copySASjsCore.ts",
20
- "prepublishOnly": "cp -r ./build/* . && rm -rf ./build && rm -rf ./src && rm jest.config.js && rm tsconfig.json",
21
- "postpublish": "git clean -fd",
17
+ "publishInit": "cp -r ./build/* . && rm -rf ./build && rm -rf ./src && rm jest.config.js && rm tsconfig.json",
22
18
  "package:lib": "npm run build && cp ./package.json build && cp README.md build && cd build && npm version \"5.0.0\" && npm pack",
23
19
  "test": "jest --config=jest.config.js --coverage",
24
20
  "lint:fix": "npx prettier --write \"{src,test}/**/*.{ts,tsx,js,jsx,html,css,sass,less,json,yml,md,graphql}\"",
@@ -62,5 +58,5 @@
62
58
  "prompts": "2.4.1",
63
59
  "valid-url": "1.0.9"
64
60
  },
65
- "version": "3.5.3"
61
+ "version": "3.5.4"
66
62
  }