@atomicsmash/compiler 3.0.0-beta.1 → 3.0.0-beta.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/dist/config.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import type { SCSSAliases } from "@atomicsmash/smash-config";
1
2
  import type { PathData } from "webpack";
2
3
  import DependencyExtractionWebpackPlugin from "@wordpress/dependency-extraction-webpack-plugin";
3
4
  import CopyPlugin from "copy-webpack-plugin";
@@ -9,7 +10,6 @@ import webpack from "webpack";
9
10
  import { WebpackAssetsManifest } from "webpack-assets-manifest";
10
11
  import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
11
12
  import { BlocksPlugin } from "./BlocksPlugin.js";
12
- import { SCSSAliases } from "./index.js";
13
13
  export declare function config(options: {
14
14
  /**
15
15
  * The directory where the source files can be found. Relative to cwd.
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAe,MAAM,SAAS,CAAC;AAUpE,OAAO,iCAAiC,MAAM,iDAAiD,CAAC;AAEhG,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAE7C,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,OAAO,kBAAkB,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,OAAO,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,wBAAsB,MAAM,CAAC,OAAO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AE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;CACrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAyM4B,QAAQ;;;;;;;;;;;;;;;qCAeV,QAAQ;;;;;;;;;;sCA9PA,CAAC;;;;;;;;;;;;;;;;;;;;;;;GAybnC"}
package/dist/config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { sep as pathSeparator, extname, resolve as resolvePath, relative, join, } from "node:path";
2
2
  import { pathToFileURL } from "node:url";
3
- import { getSmashConfig } from "@atomicsmash/cli";
3
+ import { getSmashConfig } from "@atomicsmash/smash-config";
4
4
  import DependencyExtractionWebpackPlugin from "@wordpress/dependency-extraction-webpack-plugin";
5
5
  import browserslistToEsbuild from "browserslist-to-esbuild";
6
6
  import CopyPlugin from "copy-webpack-plugin";
package/dist/index.d.ts CHANGED
@@ -1,6 +1,2 @@
1
- import type { Options } from "sass";
2
- export type SCSSAliases = {
3
- loadPaths?: Options<"async">["loadPaths"];
4
- importers?: Options<"async">["importers"];
5
- };
1
+ export {};
6
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAIpC,MAAM,MAAM,WAAW,GAAG;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC;CAC1C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
package/dist/index.js CHANGED
@@ -1 +1,3 @@
1
1
  export {};
2
+ // export { config } from "./config";
3
+ // export { config as default } from "./config";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomicsmash/compiler",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.1",
4
+ "version": "3.0.0-beta.3",
5
5
  "description": "A universal compiler for all Atomic Smash projects.",
6
6
  "keywords": [
7
7
  "cli",
@@ -47,6 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@atomicsmash/date-php": "^2.1.0",
50
+ "@atomicsmash/smash-config": "^1.0.0-beta.0",
50
51
  "@wordpress/dependency-extraction-webpack-plugin": "^6.35.0",
51
52
  "browserslist-to-esbuild": "^2.1.1",
52
53
  "copy-webpack-plugin": "^12.0.2",
@@ -81,8 +82,5 @@
81
82
  },
82
83
  "engines": {
83
84
  "node": "^20 || >=22"
84
- },
85
- "peerDependencies": {
86
- "@atomicsmash/cli": "^10.0.0-beta.0"
87
85
  }
88
86
  }