@codeleap/styles 4.1.0 → 4.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeleap/styles",
3
- "version": "4.1.0",
3
+ "version": "4.2.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "UNLICENSED",
@@ -10,7 +10,7 @@
10
10
  "directory": "packages/styles"
11
11
  },
12
12
  "devDependencies": {
13
- "@codeleap/config": "*",
13
+ "@codeleap/config": "4.2.1",
14
14
  "ts-node-dev": "1.1.8"
15
15
  },
16
16
  "scripts": {
@@ -19,11 +19,11 @@
19
19
  "test": "./node_modules/.bin/mocha --require ts-node/register src/tests/**/*.spec.ts",
20
20
  "run-sc": "tsnd --transpile-only",
21
21
  "test:watch": "./node_modules/.bin/mocha --require ts-node/register ./src/tests/**/*.spec.ts -w --watch-files ./src/tests/**/*.spec.ts",
22
- "createStyleSheets": "yarn run-sc src/scripts/createStyleSheets.ts"
22
+ "createStyleSheets": "bun run-sc src/scripts/createStyleSheets.ts"
23
23
  },
24
24
  "peerDependencies": {
25
- "typescript": "5.0.4",
26
- "react": "18.1.0"
25
+ "react": "18.1.0",
26
+ "typescript": "5.0.4"
27
27
  },
28
28
  "dependencies": {
29
29
  "@fastify/deepmerge": "1.3.0",
@@ -31,4 +31,4 @@
31
31
  "lz-string": "^1.5.0",
32
32
  "zustand": "4.5.0"
33
33
  }
34
- }
34
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "@codeleap/styles",
3
+ "version": "4.2.1",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
+ "license": "UNLICENSED",
7
+ "repository": {
8
+ "url": "https://github.com/codeleap-uk/internal-libs-monorepo.git",
9
+ "type": "git",
10
+ "directory": "packages/styles"
11
+ },
12
+ "devDependencies": {
13
+ "@codeleap/config": "workspace:*",
14
+ "ts-node-dev": "1.1.8"
15
+ },
16
+ "scripts": {
17
+ "build": "tsc --build",
18
+ "lint": "eslint -c .eslintrc.js --fix \"./src/**/*.{ts,tsx,js,jsx}\"",
19
+ "test": "./node_modules/.bin/mocha --require ts-node/register src/tests/**/*.spec.ts",
20
+ "run-sc": "tsnd --transpile-only",
21
+ "test:watch": "./node_modules/.bin/mocha --require ts-node/register ./src/tests/**/*.spec.ts -w --watch-files ./src/tests/**/*.spec.ts",
22
+ "createStyleSheets": "bun run-sc src/scripts/createStyleSheets.ts"
23
+ },
24
+ "peerDependencies": {
25
+ "react": "18.1.0",
26
+ "typescript": "5.0.4"
27
+ },
28
+ "dependencies": {
29
+ "@fastify/deepmerge": "1.3.0",
30
+ "js-sha256": "0.11.0",
31
+ "lz-string": "^1.5.0",
32
+ "zustand": "4.5.0"
33
+ }
34
+ }
@@ -1,6 +1,6 @@
1
1
 
2
2
  export class StaleControl {
3
- private wiperId: NodeJS.Timer = null
3
+ private wiperId: NodeJS.Timeout = null
4
4
 
5
5
  constructor(
6
6
  private staleTime: number = 60, // minutes