@storm-software/cloudflare-tools 0.0.3
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.json +35 -0
- package/CHANGELOG.md +19 -0
- package/README.md +11 -0
- package/jest.config.ts +10 -0
- package/package.json +20 -0
- package/project.json +52 -0
- package/src/index.ts +0 -0
- package/tsconfig.json +16 -0
- package/tsconfig.lib.json +10 -0
- package/tsconfig.spec.json +14 -0
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": ["../../.eslintrc.base.json"],
|
|
3
|
+
"ignorePatterns": ["!**/*"],
|
|
4
|
+
"overrides": [
|
|
5
|
+
{
|
|
6
|
+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
7
|
+
"parserOptions": {
|
|
8
|
+
"project": ["packages/cloudflare-tools/tsconfig.*?.json"]
|
|
9
|
+
},
|
|
10
|
+
"rules": {}
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"files": ["*.ts", "*.tsx"],
|
|
14
|
+
"rules": {}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"files": ["*.js", "*.jsx"],
|
|
18
|
+
"rules": {}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"files": ["*.json"],
|
|
22
|
+
"parser": "jsonc-eslint-parser",
|
|
23
|
+
"rules": {
|
|
24
|
+
"@nx/dependency-checks": "error"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"files": ["./package.json"],
|
|
29
|
+
"parser": "jsonc-eslint-parser",
|
|
30
|
+
"rules": {
|
|
31
|
+
"@nx/nx-plugin-checks": "error"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
## 0.0.3 (2024-04-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **cloudflare-tools:** Update the package to no longer be private ([b9a71eba](https://github.com/storm-software/storm-ops/commit/b9a71eba))
|
|
7
|
+
|
|
8
|
+
- **deps:** pin dependency tslib to 2.6.2 ([135e0571](https://github.com/storm-software/storm-ops/commit/135e0571))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### ❤️ Thank You
|
|
12
|
+
|
|
13
|
+
- Patrick Sullivan
|
|
14
|
+
|
|
15
|
+
## 0.0.2 (2024-04-08)
|
|
16
|
+
|
|
17
|
+
### 🩹 Fixes
|
|
18
|
+
|
|
19
|
+
- **deps:** pin dependencies ([7406e605](https://github.com/storm-software/storm-ops/commit/7406e605))
|
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# cloudflare-tools
|
|
2
|
+
|
|
3
|
+
This library was generated with [Nx](https://nx.dev).
|
|
4
|
+
|
|
5
|
+
## Building
|
|
6
|
+
|
|
7
|
+
Run `nx build cloudflare-tools` to build the library.
|
|
8
|
+
|
|
9
|
+
## Running unit tests
|
|
10
|
+
|
|
11
|
+
Run `nx test cloudflare-tools` to execute the unit tests via [Jest](https://jestjs.io).
|
package/jest.config.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
export default {
|
|
3
|
+
displayName: "cloudflare-tools",
|
|
4
|
+
preset: "../../jest.preset.js",
|
|
5
|
+
transform: {
|
|
6
|
+
"^.+\\.[tj]s$": ["ts-jest", { tsconfig: "<rootDir>/tsconfig.spec.json" }]
|
|
7
|
+
},
|
|
8
|
+
moduleFileExtensions: ["ts", "js", "html"],
|
|
9
|
+
coverageDirectory: "../../coverage/packages/cloudflare-tools"
|
|
10
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@storm-software/cloudflare-tools",
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "github",
|
|
8
|
+
"url": "https://github.com/storm-software/storm-ops",
|
|
9
|
+
"directory": "packages/cloudflare-tools"
|
|
10
|
+
},
|
|
11
|
+
"type": "commonjs",
|
|
12
|
+
"main": "./src/index.js",
|
|
13
|
+
"typings": "./src/index.d.ts",
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"tslib": "2.6.2"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
}
|
|
20
|
+
}
|
package/project.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cloudflare-tools",
|
|
3
|
+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
4
|
+
"sourceRoot": "packages/cloudflare-tools/src",
|
|
5
|
+
"projectType": "library",
|
|
6
|
+
"targets": {
|
|
7
|
+
"build": {
|
|
8
|
+
"executor": "@nx/js:tsc",
|
|
9
|
+
"outputs": ["{options.outputPath}"],
|
|
10
|
+
"options": {
|
|
11
|
+
"outputPath": "dist/packages/cloudflare-tools",
|
|
12
|
+
"main": "packages/cloudflare-tools/src/index.ts",
|
|
13
|
+
"tsConfig": "packages/cloudflare-tools/tsconfig.lib.json",
|
|
14
|
+
"assets": [
|
|
15
|
+
"packages/cloudflare-tools/*.md",
|
|
16
|
+
{
|
|
17
|
+
"input": "./packages/cloudflare-tools/src",
|
|
18
|
+
"glob": "**/!(*.ts)",
|
|
19
|
+
"output": "./src"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"input": "./packages/cloudflare-tools/src",
|
|
23
|
+
"glob": "**/*.d.ts",
|
|
24
|
+
"output": "./src"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"input": "./packages/cloudflare-tools",
|
|
28
|
+
"glob": "generators.json",
|
|
29
|
+
"output": "."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"input": "./packages/cloudflare-tools",
|
|
33
|
+
"glob": "executors.json",
|
|
34
|
+
"output": "."
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"publish": {
|
|
40
|
+
"command": "node tools/scripts/publish.mjs cloudflare-tools {args.ver} {args.tag}",
|
|
41
|
+
"dependsOn": ["build"]
|
|
42
|
+
},
|
|
43
|
+
"test": {
|
|
44
|
+
"executor": "@nx/jest:jest",
|
|
45
|
+
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
46
|
+
"options": {
|
|
47
|
+
"jestConfig": "packages/cloudflare-tools/jest.config.ts"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"tags": []
|
|
52
|
+
}
|
package/src/index.ts
ADDED
|
File without changes
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"outDir": "../../dist/out-tsc",
|
|
5
|
+
"module": "commonjs",
|
|
6
|
+
"types": ["jest", "node"]
|
|
7
|
+
},
|
|
8
|
+
"include": [
|
|
9
|
+
"jest.config.ts",
|
|
10
|
+
"src/**/*.test.ts",
|
|
11
|
+
"src/**/*.spec.ts",
|
|
12
|
+
"src/**/*.d.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|