@gershy/clearing 0.0.11 → 0.0.13

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/cmp/mjs/main.d.ts CHANGED
@@ -1,2 +1,3 @@
1
+ import './sideEffects.js';
1
2
  declare const applyClearing: () => void;
2
3
  export default applyClearing;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gershy/clearing",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "Adds the features you always wish javascript had!",
5
5
  "keywords": [
6
6
  "clearing",
@@ -29,18 +29,15 @@
29
29
  "exports": {
30
30
  ".": {
31
31
  "import": "./cmp/mjs/main.js",
32
- "require": "./cmp/cjs/main.js",
33
- "types": "./cmp/types/sideEffects.d.ts"
32
+ "require": "./cmp/cjs/main.js"
34
33
  }
35
34
  },
36
- "types": "./cmp/types/sideEffects.d.ts",
37
35
  "scripts": {
38
36
  "test": "npm run ts.check && npx tsx ./src/main.test.ts",
39
37
  "ts.check": "npx tsc --noEmit",
40
38
  "build.cjs": "tsc -p ts/tsconfig.cjs.json",
41
39
  "build.mjs": "tsc -p ts/tsconfig.mjs.json",
42
- "build.types": "npx tsx ./build.ts copyGlobalTypes",
43
- "build": "npx tsx ./build.ts removeCmp && npm run build.cjs && npm run build.mjs && npm run build.types",
40
+ "build": "node ./build.js removeCmp && npm run build.cjs && npm run build.mjs && node ./build.js importSideEffects",
44
41
  "git.pub": "npm run test && git add --all && git commit -m \"automated\" && git push",
45
42
  "npm.login": "npm login",
46
43
  "npm.pub": "npm run test && npm run build && npm publish --access public"
File without changes