@mainqueueio/playground 0.1.1 → 0.1.3-next.0
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/LICENSE +21 -0
- package/dist/index.js +7 -0
- package/package.json +24 -2
- package/.bun-version +0 -1
- package/.codebeatignore +0 -12
- package/.github/CODEOWNERS +0 -15
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -27
- package/.github/workflows/lint.yml +0 -23
- package/.github/workflows/release.yml +0 -46
- package/.github/workflows/semantic.yml +0 -40
- package/.github/workflows/stale.yml +0 -53
- package/.husky/commit-msg +0 -1
- package/.husky/pre-commit +0 -0
- package/.nvmrc +0 -1
- package/.release-it.json +0 -67
- package/Brewfile +0 -1
- package/CHANGELOG.md +0 -13
- package/build.ts +0 -5
- package/bun.lock +0 -838
- package/bunfig.toml +0 -9
- package/commitlint.config.js +0 -3
- package/src/index.spec.ts +0 -25
- package/src/index.ts +0 -8
- package/tsconfig.json +0 -28
package/bunfig.toml
DELETED
package/commitlint.config.js
DELETED
package/src/index.spec.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from "bun:test";
|
|
2
|
-
|
|
3
|
-
import { helloMessage } from './index'
|
|
4
|
-
|
|
5
|
-
describe('index.ts test cases', () => {
|
|
6
|
-
it('should return default if param is not passed', () => {
|
|
7
|
-
const result = helloMessage()
|
|
8
|
-
expect(result).toBe('Hello from MainQueue Library')
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
it('should return default if param is empty', () => {
|
|
12
|
-
const result = helloMessage('')
|
|
13
|
-
expect(result).toBe('Hello from MainQueue Library')
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
it('should return default if param is null', () => {
|
|
17
|
-
const result = helloMessage(null)
|
|
18
|
-
expect(result).toBe('Hello from MainQueue Library')
|
|
19
|
-
})
|
|
20
|
-
|
|
21
|
-
it('should return message if param is passed', () => {
|
|
22
|
-
const result = helloMessage('Test')
|
|
23
|
-
expect(result).toBe('Hello Test')
|
|
24
|
-
})
|
|
25
|
-
})
|
package/src/index.ts
DELETED
package/tsconfig.json
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// Environment setup & latest features
|
|
4
|
-
"lib": ["ESNext"],
|
|
5
|
-
"target": "ESNext",
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"jsx": "react-jsx",
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
|
|
11
|
-
// Bundler mode
|
|
12
|
-
"moduleResolution": "bundler",
|
|
13
|
-
"allowImportingTsExtensions": true,
|
|
14
|
-
"verbatimModuleSyntax": true,
|
|
15
|
-
"noEmit": true,
|
|
16
|
-
|
|
17
|
-
// Best practices
|
|
18
|
-
"strict": true,
|
|
19
|
-
"skipLibCheck": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"noUncheckedIndexedAccess": true,
|
|
22
|
-
|
|
23
|
-
// Some stricter flags (disabled by default)
|
|
24
|
-
"noUnusedLocals": false,
|
|
25
|
-
"noUnusedParameters": false,
|
|
26
|
-
"noPropertyAccessFromIndexSignature": false
|
|
27
|
-
}
|
|
28
|
-
}
|