@culur/config-tsdown 1.1.0 → 1.1.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/CHANGELOG.md +9 -0
- package/LICENSE +21 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.mjs +1 -1
- package/dist/{types-BrvIhA3f.cjs → types-CFBAfxIx.cjs} +1 -1
- package/dist/{types-78D1wC2M.mjs.map → types-CFBAfxIx.cjs.map} +1 -1
- package/dist/{types-78D1wC2M.mjs → types-D3eqvzXu.mjs} +1 -1
- package/dist/{types-BrvIhA3f.cjs.map → types-D3eqvzXu.mjs.map} +1 -1
- package/package.json +11 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @culur/config-tsdown
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 📦 Update dependencies ([#514](https://github.com/culur/culur/pull/514) [`ceeed4f`](https://github.com/culur/culur/commit/ceeed4f61b124d184ce5ad0b923b0c9d6d838db9)) ([@phamhongphuc](https://github.com/phamhongphuc)):
|
|
8
|
+
- `devDependencies`:
|
|
9
|
+
- `tsdown@^0.22.1`
|
|
10
|
+
- `unrun@^0.3.0`
|
|
11
|
+
|
|
3
12
|
## 1.1.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Culur
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_types = require("./types-
|
|
2
|
+
const require_types = require("./types-CFBAfxIx.cjs");
|
|
3
3
|
//#region src/index.ts
|
|
4
4
|
const sharedConfig = require_types.defineConfigPure({
|
|
5
5
|
sourcemap: true,
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["defineConfigPure"],"sources":["../src/index.ts"],"sourcesContent":["import { defineConfigPure } from './types';\n\nexport { defineConfig } from './types';\n\nconst sharedConfig = defineConfigPure({\n sourcemap: true,\n clean: true,\n dts: true,\n entry: [\n 'src/**/*.ts', //\n '!src/**/*.test.ts',\n '!src/**/*.spec.ts',\n ] as const,\n treeshake: true,\n});\n\nexport const esm = defineConfigPure({\n ...sharedConfig,\n format: 'esm',\n});\n\nexport const cjs = defineConfigPure({\n ...sharedConfig,\n format: 'cjs',\n});\n\nexport const esm_cjs = defineConfigPure({\n ...sharedConfig,\n format: ['esm', 'cjs'] as const,\n});\n"],"mappings":";;;AAIA,MAAM,eAAeA,cAAAA,iBAAiB;CACpC,WAAW;CACX,OAAO;CACP,KAAK;CACL,OAAO;EACL;EACA;EACA;
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["defineConfigPure"],"sources":["../src/index.ts"],"sourcesContent":["import { defineConfigPure } from './types';\n\nexport { defineConfig } from './types';\n\nconst sharedConfig = defineConfigPure({\n sourcemap: true,\n clean: true,\n dts: true,\n entry: [\n 'src/**/*.ts', //\n '!src/**/*.test.ts',\n '!src/**/*.spec.ts',\n ] as const,\n treeshake: true,\n});\n\nexport const esm = defineConfigPure({\n ...sharedConfig,\n format: 'esm',\n});\n\nexport const cjs = defineConfigPure({\n ...sharedConfig,\n format: 'cjs',\n});\n\nexport const esm_cjs = defineConfigPure({\n ...sharedConfig,\n format: ['esm', 'cjs'] as const,\n});\n"],"mappings":";;;AAIA,MAAM,eAAeA,cAAAA,iBAAiB;CACpC,WAAW;CACX,OAAO;CACP,KAAK;CACL,OAAO;EACL;EACA;EACA;CACF;CACA,WAAW;AACb,CAAC;AAED,MAAa,MAAMA,cAAAA,iBAAiB;CAClC,GAAG;CACH,QAAQ;AACV,CAAC;AAED,MAAa,MAAMA,cAAAA,iBAAiB;CAClC,GAAG;CACH,QAAQ;AACV,CAAC;AAED,MAAa,UAAUA,cAAAA,iBAAiB;CACtC,GAAG;CACH,QAAQ,CAAC,OAAO,KAAK;AACvB,CAAC"}
|
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { defineConfigPure } from './types';\n\nexport { defineConfig } from './types';\n\nconst sharedConfig = defineConfigPure({\n sourcemap: true,\n clean: true,\n dts: true,\n entry: [\n 'src/**/*.ts', //\n '!src/**/*.test.ts',\n '!src/**/*.spec.ts',\n ] as const,\n treeshake: true,\n});\n\nexport const esm = defineConfigPure({\n ...sharedConfig,\n format: 'esm',\n});\n\nexport const cjs = defineConfigPure({\n ...sharedConfig,\n format: 'cjs',\n});\n\nexport const esm_cjs = defineConfigPure({\n ...sharedConfig,\n format: ['esm', 'cjs'] as const,\n});\n"],"mappings":";;AAIA,MAAM,eAAe,iBAAiB;CACpC,WAAW;CACX,OAAO;CACP,KAAK;CACL,OAAO;EACL;EACA;EACA;
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { defineConfigPure } from './types';\n\nexport { defineConfig } from './types';\n\nconst sharedConfig = defineConfigPure({\n sourcemap: true,\n clean: true,\n dts: true,\n entry: [\n 'src/**/*.ts', //\n '!src/**/*.test.ts',\n '!src/**/*.spec.ts',\n ] as const,\n treeshake: true,\n});\n\nexport const esm = defineConfigPure({\n ...sharedConfig,\n format: 'esm',\n});\n\nexport const cjs = defineConfigPure({\n ...sharedConfig,\n format: 'cjs',\n});\n\nexport const esm_cjs = defineConfigPure({\n ...sharedConfig,\n format: ['esm', 'cjs'] as const,\n});\n"],"mappings":";;AAIA,MAAM,eAAe,iBAAiB;CACpC,WAAW;CACX,OAAO;CACP,KAAK;CACL,OAAO;EACL;EACA;EACA;CACF;CACA,WAAW;AACb,CAAC;AAED,MAAa,MAAM,iBAAiB;CAClC,GAAG;CACH,QAAQ;AACV,CAAC;AAED,MAAa,MAAM,iBAAiB;CAClC,GAAG;CACH,QAAQ;AACV,CAAC;AAED,MAAa,UAAU,iBAAiB;CACtC,GAAG;CACH,QAAQ,CAAC,OAAO,KAAK;AACvB,CAAC"}
|
package/dist/types/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_types = require("../types-
|
|
2
|
+
const require_types = require("../types-CFBAfxIx.cjs");
|
|
3
3
|
exports.defineConfig = require_types.defineConfig;
|
|
4
4
|
exports.defineConfigPure = require_types.defineConfigPure;
|
package/dist/types/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as defineConfigPure, t as defineConfig } from "../types-
|
|
1
|
+
import { n as defineConfigPure, t as defineConfig } from "../types-D3eqvzXu.mjs";
|
|
2
2
|
export { defineConfig, defineConfigPure };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-CFBAfxIx.cjs","names":[],"sources":["../../types/src/define-object-factory.ts","../src/types/index.ts"],"sourcesContent":["export const defineObjectFactory =\n <TBaseObject, TAutoComplete extends boolean = false>() =>\n <TActualObject extends TBaseObject>(\n object: TAutoComplete extends true\n ? TActualObject | TBaseObject\n : TActualObject,\n ) =>\n object;\n","import type { UserConfig } from 'tsdown';\nimport { defineObjectFactory } from '../../../types/src/define-object-factory'; // external import\n\nexport const defineConfigPure = defineObjectFactory<UserConfig>();\n\nexport const defineConfig = defineObjectFactory<UserConfig, true>();\n"],"mappings":";AAAA,MAAa,6BAGT,WAIA;;;ACJJ,MAAa,mBAAmB,oBAAgC;AAEhE,MAAa,eAAe,oBAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types-
|
|
1
|
+
{"version":3,"file":"types-D3eqvzXu.mjs","names":[],"sources":["../../types/src/define-object-factory.ts","../src/types/index.ts"],"sourcesContent":["export const defineObjectFactory =\n <TBaseObject, TAutoComplete extends boolean = false>() =>\n <TActualObject extends TBaseObject>(\n object: TAutoComplete extends true\n ? TActualObject | TBaseObject\n : TActualObject,\n ) =>\n object;\n","import type { UserConfig } from 'tsdown';\nimport { defineObjectFactory } from '../../../types/src/define-object-factory'; // external import\n\nexport const defineConfigPure = defineObjectFactory<UserConfig>();\n\nexport const defineConfig = defineObjectFactory<UserConfig, true>();\n"],"mappings":";AAAA,MAAa,6BAGT,WAIA;;;ACJJ,MAAa,mBAAmB,oBAAgC;AAEhE,MAAa,eAAe,oBAAsC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@culur/config-tsdown",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Culur's tsdown configuration",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -43,11 +43,6 @@
|
|
|
43
43
|
"dist",
|
|
44
44
|
"src"
|
|
45
45
|
],
|
|
46
|
-
"scripts": {
|
|
47
|
-
"clean": "rimraf dist coverage",
|
|
48
|
-
"build": "tsdown --config-loader unrun",
|
|
49
|
-
"test": "tsc --noEmit && vitest run"
|
|
50
|
-
},
|
|
51
46
|
"volta": {
|
|
52
47
|
"extends": "../../package.json"
|
|
53
48
|
},
|
|
@@ -55,10 +50,16 @@
|
|
|
55
50
|
"node": ">=20"
|
|
56
51
|
},
|
|
57
52
|
"devDependencies": {
|
|
58
|
-
"
|
|
59
|
-
"
|
|
53
|
+
"tsdown": "^0.22.1",
|
|
54
|
+
"unrun": "^0.3.0",
|
|
55
|
+
"@culur/config-typescript": "2.0.0"
|
|
60
56
|
},
|
|
61
57
|
"peerDependencies": {
|
|
62
|
-
"tsdown": "^0.
|
|
58
|
+
"tsdown": "^0.22.1"
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"clean": "rimraf dist coverage",
|
|
62
|
+
"build": "tsdown --config-loader unrun",
|
|
63
|
+
"test": "tsc --noEmit && vitest run"
|
|
63
64
|
}
|
|
64
|
-
}
|
|
65
|
+
}
|