Skip to content

Commit 205de68

Browse files
committed
Rename folders to and
1 parent 844e4b0 commit 205de68

10 files changed

+11
-11
lines changed

bin/cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#! /usr/bin/env node
22

3-
var ULID = require('../lib/index.umd.js')
3+
var ULID = require('../dist/index.umd.js')
44
process.stdout.write(ULID.ulid())

lib/index.d.ts dist/index.d.ts

File renamed without changes.

lib/index.esm.js dist/index.esm.js

File renamed without changes.

lib/index.js dist/index.js

File renamed without changes.

lib/index.umd.js dist/index.umd.js

File renamed without changes.

src/index.ts lib/index.ts

File renamed without changes.

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "ulid",
33
"version": "2.2.3",
44
"description": "A universally-unique, lexicographically-sortable, identifier generator",
5-
"main": "./lib/index.umd.js",
6-
"module": "./lib/index.esm.js",
7-
"types": "./lib/index.d.ts",
8-
"esnext": "./lib/index.js",
5+
"main": "./dist/index.umd.js",
6+
"module": "./dist/index.esm.js",
7+
"types": "./dist/index.d.ts",
8+
"esnext": "./dist/index.js",
99
"repository": {
1010
"type": "git",
1111
"url": "git+https://github.com/ulid/javascript.git"
@@ -40,7 +40,7 @@
4040
},
4141
"files": [
4242
"bin",
43-
"lib"
43+
"dist"
4444
],
4545
"bin": "./bin/cli.js"
4646
}

rollup.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import compiler from 'typescript'
55

66
const defaultConfig = {
77
name: 'ULID',
8-
input: './src/index.ts',
8+
input: './lib/index.ts',
99
}
1010

1111
const defaultPlugins = [
@@ -15,7 +15,7 @@ const defaultPlugins = [
1515
const esModuleConfig = Object.assign({}, defaultConfig, {
1616
output: {
1717
format: 'es',
18-
file: './lib/index.esm.js'
18+
file: './dist/index.esm.js'
1919
},
2020
plugins: [
2121
...defaultPlugins,
@@ -26,7 +26,7 @@ const esModuleConfig = Object.assign({}, defaultConfig, {
2626
const umdConfig = Object.assign({}, defaultConfig, {
2727
output: {
2828
format: 'umd',
29-
file: './lib/index.umd.js'
29+
file: './dist/index.umd.js'
3030
},
3131
plugins: [
3232
...defaultPlugins,

test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var path = require("path")
33
var assert = require("assert")
44
var lolex = require("lolex")
55

6-
var ULID = require("./lib/index.umd.js")
6+
var ULID = require("./dist/index.umd.js")
77
var ulid = ULID.factory()
88

99
describe("ulid", function() {

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"declaration": true,
88
"target": "ES6",
99
"module": "ES6",
10-
"outDir": "./lib"
10+
"outDir": "./dist"
1111
},
1212
"compileOnSave": true,
1313
"strict": true

0 commit comments

Comments
 (0)