mirror of
https://github.com/SrIzan10/util-utils.git
synced 2026-06-27 19:12:36 +00:00
chore: tf
This commit is contained in:
@@ -1 +1 @@
|
||||
export { randomString } from './utils/randomString.js';
|
||||
export { randomString } from './utils/randomString.ts';
|
||||
@@ -1,4 +1,4 @@
|
||||
import { randomString } from '../src/index.js'
|
||||
import { randomString } from '../src/index.ts'
|
||||
|
||||
describe('randomString', () => {
|
||||
it('should return a random string with the length of 10', () => {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
||||
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
||||
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
||||
// "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
|
||||
"allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
|
||||
// "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
|
||||
// "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
|
||||
// "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
|
||||
|
||||
57
workflows/jest.yml
Normal file
57
workflows/jest.yml
Normal file
@@ -0,0 +1,57 @@
|
||||
---
|
||||
resources:
|
||||
- name: repo
|
||||
type: git
|
||||
icon: github
|
||||
source:
|
||||
uri: https://github.com/srizan10/util-utils.git
|
||||
|
||||
- name: node-image
|
||||
type: registry-image
|
||||
source:
|
||||
repository: node
|
||||
tag: lts-alpine
|
||||
|
||||
jobs:
|
||||
- name: test
|
||||
public: true
|
||||
plan:
|
||||
- get: node-image
|
||||
- get: repo
|
||||
trigger: true
|
||||
- task: install
|
||||
image: node-image
|
||||
config:
|
||||
inputs:
|
||||
- name: repo
|
||||
outputs:
|
||||
- name: dependencies
|
||||
path: repo/node_modules
|
||||
platform: linux
|
||||
run:
|
||||
path: yarn
|
||||
dir: repo
|
||||
- task: build
|
||||
image: node-image
|
||||
config:
|
||||
inputs:
|
||||
- name: repo
|
||||
- name: dependencies
|
||||
path: repo/node_modules
|
||||
platform: linux
|
||||
run:
|
||||
path: yarn
|
||||
args: ["build"]
|
||||
dir: repo
|
||||
- task: test
|
||||
image: node-image
|
||||
config:
|
||||
inputs:
|
||||
- name: repo
|
||||
- name: dependencies
|
||||
path: repo/node_modules
|
||||
platform: linux
|
||||
run:
|
||||
path: yarn
|
||||
args: ["test"]
|
||||
dir: repo
|
||||
Reference in New Issue
Block a user